Comment 6 for bug 370249

Revision history for this message
sdowney717 (sdowney717) wrote : Re: No Nvidia direct rendering unless root user

same here for me as well
I only get direct rendering now if i run something as root using the nvidia driver 185
google earth is zooming as root with direct rendering yes, normal user very very slow. so anyone know how to fix so user gets direct rendering?

Quote:
scott@scott-desktop:~$ glxinfo | grep direct
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
scott@scott-desktop:~$ LIBGL_DEBUG=verbose

scott@scott-desktop:~$ sudo glxinfo | grep direct
[sudo] password for scott:
direct rendering: Yes
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
scott@scott-desktop:~$ gksudo googleearth

this forum thread descirbed something similar but my groups look ok
http://ubuntuforums.org/showthread.php?t=77376

scott@scott-desktop:~$ grep video /etc/group
video:x:44:vdr,scott

scott@scott-desktop:~$ grep group /etc/nsswitch.conf
group: compat
netgroup: nis

scott@scott-desktop:~$ ls -al /dev/nvidia*
crw-rw---- 1 root video 195, 0 2009-10-31 09:42 /dev/nvidia0
crw-rw---- 1 root video 195, 255 2009-10-31 09:42 /dev/nvidiactl

scott@scott-desktop:~$ grep video /etc/group
video:x:44:vdr,scott
scott@scott-desktop:~$