Features of DRI 2.2 and above are broken in an xcb-less system. They cause crashes (intel) or X to fully use one core (radeon), and no rendering in either case. Since we're still avoiding xcb for this cycle, claim only DRI 2.1. diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c index af3bcae..b3242c3 100644 --- a/hw/xfree86/dri2/dri2.c +++ b/hw/xfree86/dri2/dri2.c @@ -1115,19 +1115,19 @@ DRI2ScreenInit(ScreenPtr pScreen, DRI2InfoPtr info) ds->DestroyBuffer = info->DestroyBuffer; ds->CopyRegion = info->CopyRegion; - if (info->version >= 4) { +/* if (info->version >= 4) { ds->ScheduleSwap = info->ScheduleSwap; ds->ScheduleWaitMSC = info->ScheduleWaitMSC; ds->GetMSC = info->GetMSC; cur_minor = 3; - } else { + } else {*/ cur_minor = 1; - } +/* } if (info->version >= 5) { ds->AuthMagic = info->AuthMagic; } - +*/ /* * if the driver doesn't provide an AuthMagic function or the info struct * version is too low, it relies on the old method (using libdrm) or fail