From: Dave Kavanagh <dumuzix@gm...> - 2006-03-27 18:43:48
I have a strange problem that happens when I start and then quickly close a=
app that enables direct rendering. If I close it quickly enough, the app wi=
end with the following error:
=09"(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI."
The next time I run an app that requires direct rendering, it will fail to
load i915_dri.so. Instead, it will use Mesa indirect rendering. The next
app I run after this will correctly enable DRI and use i915_dri.so.
Running glxinfo causes the problem 99% of the time. I believe it's because
it runs so quickly.
I have been looking through the code trying to figure out what fails when I
close an app quickly. So far, I have traced it to the point where drm_ioctl
(in drm/linux-core/drm_drv.c) handles DRM_IOCTL_SET_VERSION. There's code i=
this function that checks to see if priv->master is set. If it is not then
the function returns an error (EACCES) instead of calling the handler for
I am using the following versions:
- Xorg 6.9.0
- Mesa 6.4
- libdrm 1.0.5
I applied the patches listed here to add vblank sync:
Any info, help, or pointers would be appreciated.
Get latest updates about Open Source Projects, Conferences and News.