What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-12 Thread Felix Kühling
While investigating rare Xserver (errno=22 in select) and X client (losing X connection) crashes that seem to be related to the new linux-core drm I found this in savage_dri.c and several other DDX drivers: ...driverSwapMethod = DRI_HIDE_X_CONTEXT; This seems to indicate that the Xserver is so

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Keith Whitwell
Felix Kühling wrote: While investigating rare Xserver (errno=22 in select) and X client (losing X connection) crashes that seem to be related to the new linux-core drm I found this in savage_dri.c and several other DDX drivers: ...driverSwapMethod = DRI_HIDE_X_CONTEXT; This seems to indicate tha

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Jon Smirl
On Wed, 13 Oct 2004 10:13:50 +0100, Keith Whitwell <[EMAIL PROTECTED]> wrote: > Felix Kühling wrote: > I think the reason that you are experiencing failures is because the X server > is trying to read or poll the drm filehandle, but Jon has recently changed the > behaviour of that filehandle to ret

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Keith Whitwell
Jon Smirl wrote: On Wed, 13 Oct 2004 10:13:50 +0100, Keith Whitwell <[EMAIL PROTECTED]> wrote: Felix Kühling wrote: I think the reason that you are experiencing failures is because the X server is trying to read or poll the drm filehandle, but Jon has recently changed the behaviour of that filehand

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Jon Smirl
On Wed, 13 Oct 2004 16:39:27 +0100, Keith Whitwell <[EMAIL PROTECTED]> wrote: > So, it's not really an unimplemented poll() function, but the > backwards-compatible ghost of a real communications channel which is still > polled, but never written to. One way to fix this would be to alternately ret

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Jon Smirl
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? On Wed, 13 Oct 2004 16:39:27 +0100, Keith Whitwell <[EMAIL

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Felix Kühling
Am Mi, den 13.10.2004 schrieb Jon Smirl um 18:53: > 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?

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Keith Whitwell
Felix Kühling wrote: Am Mi, den 13.10.2004 schrieb Jon Smirl um 18:53: 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 th

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-13 Thread Michel Dänzer
On Wed, 2004-10-13 at 19:42 +0200, Felix KÃhling wrote: > Am Mi, den 13.10.2004 schrieb Jon Smirl um 18:53: > > 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

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-16 Thread Felix Kühling
Am Mi, den 13.10.2004 schrieb Michel Dänzer um 22:57: > On Wed, 2004-10-13 at 19:42 +0200, Felix Kühling wrote: > > Am Mi, den 13.10.2004 schrieb Jon Smirl um 18:53: > > > I just changed DRM to alternative between zero and POLLIN This > > > will make the DRM poll() function work like the kernel

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-28 Thread Roland Scheidegger
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

Re: What is driverSwapMethod = DRI_HIDE_X_CONTEXT?

2004-10-28 Thread Jon Smirl
On Thu, 28 Oct 2004 15:11:26 +0200, Roland Scheidegger <[EMAIL PROTECTED]> 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 someon