I have a strange problem that happens when I start and then quickly close an
app that enables direct rendering. If I close it quickly enough, the app will
end with the following error:

        "(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 in
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
DRM_IOCTL_SET_VERSION.

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:
https://bugs.freedesktop.org/show_bug.cgi?id=3031

Any info, help, or pointers would be appreciated.

Thanks,
Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to