I want gdm to be started automatically on startup so I put /opt/gnome/bin/gdm at the end of my /etc/rc.multi. The problem is, when gdm is started this way, direct rendering isn't working. glxinfo says this:
libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering
The radeon driver itself initializes correctly, dri module detto. When I manually log in as root and start the gdm from console, direct rendering works, so the problem really seems to be in permissions, but I don't know where and what to set. I already have these lines in my /etc/X11/xorg.conf:
Section "DRI" Mode 0666 EndSection
Thanks anyone for help!
Add your user to video group:
gpasswd -a USERNAME video
You should also add it to audio and optical groups to get sound and access to cd/dvd drive.
Did the trick, thanks a lot! should've thought about it myself. I've already added my user to audio and optical groups, but there was no video group so I just forgot about it...