What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

Jon Smirl jonsmirl at gmail.com
Thu Oct 28 08:56:41 PDT 2004

On Thu, 28 Oct 2004 15:11:26 +0200, Roland Scheidegger
<rscheidegger_lists at hispeed.ch> wrote:
> Jon Smirl wrote:
> > I just changed DRM to alternative between zero and POLLIN.... This
> > will make the DRM poll() function work like the kernel expects it to
> > and still work with existing X servers. Can someone please get this
> > incorrect code out of the X server?
> I got some mysterious server crashes since some time (week or so), about
> once per day, so it looks like the alternate polling isn't working. Just
> as Felix I got the "WaitForSomething(): select: errno=22" error message.
> The corresponding bugzilla entry is here:
> http://freedesktop.org/bugzilla/show_bug.cgi?id=1505.
> This is with the radeon DDX (rv250), and Xorg cvs (10 days old currently).
> I've switched back to the non-core drm version for now and will see if
> this indeed fixes that crash.

I just changed this to always return the broken response of zero. When
this gets fixed in the Xserver we can use a DRM interface version
number to control returning the correct response. Meanwhile I guess
the kernel developers are going to have to live with Xserver/DRM
making up their own rules for how poll() works.

Jon Smirl
jonsmirl at gmail.com

More information about the xorg mailing list