You are not logged in.
My GL system broke recently. This is the error I get when running glxinfo or any other GL-dependent program:
name of display: :0
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r600_dri.so
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
Segmentation fault (core dumped)
My GPU is a Radeon "Turks" HD 6570. It used to work just fine with Arch but today it gave up. I dual-boot and the card works fine with Windows.
My initial troubleshooting attempts included reinstalling xf86-video-ati, libdrm, ati-dri, as well as doing a full system upgrade. No luck.
Most of the google results for my problem are in connection with a specific program, usually a game which bundles its own stdc++ or other libraries. But my problem is with the system-wide openGL installation.
I'll provide more information as requested, any help is appreciated.
Last edited by jforberg (2013-10-07 15:23:04)
Offline
I solved the problem myself shortly after posting the topic:
Something has changed in the permissions policy, which now requires that you are a member of the video group if you want to run libGL. So a simple
# usermod -aG video myuser
followed by an X restart, is sufficient.
Hopefully this will help others with the same problem.
Offline