Alex Deucher wrote:

On 12/10/05, Erik <[EMAIL PROTECTED]> wrote:
The first time I am logged in to the system after startup, I do not have
permission to open DRM:

What I did was:
1. Turn on computer.
2. Log in as root.
3. star KDM: /etc/init.d/xdm start
4. Log in as normal user.
5. Open Konsole.
6. Run glxgears. Now I get:
libGL error: open DRM failed (Operation not permitted)
7. Log out.
8. Log in (session restored).
9. Run glxgears. It runs with 3D-acceleration.

My xorg.conf contains:
Section "dri" # from http://dri.freedesktop.org/wiki/Building
       Group "dri" # from http://dri.freedesktop.org/wiki/Building
       Mode 0660   # from http://dri.freedesktop.org/wiki/Building
EndSection    # from http://dri.freedesktop.org/wiki/Building

This is reproductible. I tried several power cycles.


your system probably uses udev to change permissions on devices on the
fly.  make sure your user is in the video group (or whatever group
your distro uses for it).

Yes, that was the workaround! I added my normal username to the video group and changed the part of xorg.conf to:
Section "dri"   # from http://dri.freedesktop.org/wiki/Building
       Group "video" # from http://dri.freedesktop.org/wiki/Building
       Mode 0660     # from http://dri.freedesktop.org/wiki/Building
EndSection      # from http://dri.freedesktop.org/wiki/Building

But I still consider it a bug that I cannot use any groupname. At least it must be a bug in the documentation at http://dri.freedesktop.org/wiki/Building to not say that I have to use one particular groupname ("video").


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to