This one time, at band camp, Mark Whaite said:
> I am running into a few problems with X. As root I have find
> preformance with open gl, glxinfo reports:
> direct rendering: Yes
>
> as a user I get:
> libGL error: failed to open DRM: Operation not permitted
> libGL error: reverting to (slow) indirect rendering
>
> I did a few searches on the internet (including this list) and found
> references that I should look for a README.dri file somewhere in the
> /usr/share/doc/xserver-xfree86/ directory. Since that file does not
> seem to exist on my sarge install I am a bit on the bothered side. Any
> input would be appreciated.
> Mark Whaite
The last several lines of your /etc/X11/XF86Config-4 should be:
Section "DRI"
Mode 0666
EndSection
That will enable non-root users to use DRI.
HTH,
Steve
--
Only two groups of people fall for flattery -- men and women.
Attachment:
pgpEwdvZIRvVP.pgp
Description: PGP signature