The permissions of the /dev/nvidia files cause errors when processes are launched with non-root privileges on my 64-bit 9.04 desktop system.
In my case I get Direct Rendering errors when launching a XP VM inside VMware Server, but running glxinfo or glxgears without sudo shows the error:
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
I have found many other posts with the same issue, and here is my current workaround since reinstalling the 180 driver package did not fix it:
gksudo gedit /etc/rc.local
Add the following before "exit 0":
chmod 666 /dev/nvidia* &
ProblemType: Bug Architecture: amd64 DistroRelease: Ubuntu 9.04 NonfreeKernelModules: vmmon nvidia Package: nvidia-glx-180 180.44-0ubuntu1 ProcEnviron: LANG=en_AU.UTF-8 SHELL=/bin/bash ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 SourcePackage: nvidia-graphics-drivers-180 Uname: Linux 2.6.28-11-generic x86_64
The permissions of the /dev/nvidia files cause errors when processes are launched with non-root privileges on my 64-bit 9.04 desktop system.
In my case I get Direct Rendering errors when launching a XP VM inside VMware Server, but running glxinfo or glxgears without sudo shows the error:
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
I have found many other posts with the same issue, and here is my current workaround since reinstalling the 180 driver package did not fix it:
gksudo gedit /etc/rc.local
Add the following before "exit 0":
chmod 666 /dev/nvidia* &
ProblemType: Bug dules: vmmon nvidia graphics- drivers- 180
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelMo
Package: nvidia-glx-180 180.44-0ubuntu1
ProcEnviron:
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009
SourcePackage: nvidia-
Uname: Linux 2.6.28-11-generic x86_64