NVIDIA Permission Prblems In Application
every time i run America's army, I get this Crazy error, I am a newbie, any advice on how to fix the permission?
[frog@localhost armyops]$ ./armyops NV: could not open control device /dev/nvidiactl (Permission denied) Error: Could not open /dev/nvidiactl because the permissions are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps to correct. [frog@localhost armyops]$ |
and did you read what it told you to read?
i know i easily found it in that file :: Quote:
|
Just a reminder...
The file permissions for /dev/nvidiactl and /dev/nvidia0 must be set every time you re-install the kernel. ( I'm posting that because I was confused as to why it wasn't working for me after a kernel/nVidia driver update).
|
You can change the permissions on the /dev/nvidiactl and /dev/nvidia*, but rather than doing this, go into /dev and type:
ls -l | grep nvidia Look at the file's group, if it's "root", than just change the permissions, but if it's something else like say "video" (what mine is), then instead of changing the permission, just open up /etc/group and find the line that starts with the group name (in my case, video) and at the very end (After the last ":" on that line) add your username.. eg. video:x:12:tom You'll now be part of the video group, and can use it without allowing just anybody access to your video card. This may not seem important, but if you use tools like nvclock, a malicious hacker could very easily kill your card as a regular user, which makes hackers not only a headache, but an actual expense. You should also do this if you use Udev which auto adds devices as they are detected, as opposed to always being there. |
oh thank you so much for the
chmod 0666 /dev/nvidia* chown root /dev/nvidia* i dont know what that is but it was the last thing i had to do to get cedega working now ill play some Cube!:D |
huh hi that thing from above worked but only for one boot
next time i boot mandraka i would still get the same permissions error wtf? |
Hey, does your mandrake use Udev? Check if the directory /etc/udev exists. If your mandrake uses Udev you can set up the permissions the device is given. In /etc/udev open up udev.conf, inside this file you should have a line like this
udev_permissions="/etc/udev/permissions.d/" The path may be different. It should be a directory or maybe a file. If it's a directory, go to that directory, if a file, open up the file. If it was a directory create a file with a .permissions extension... ex. nvidia.permissions Or just edit a file already in there. Now add this line (either in the new file, or an existing one in the permissions directory): nvidia*:root:root:0666 Or if a file already has an entry with nvidia* you can just edit to look like that. Everytime it boots up, it should have proper permissions. Oh ya.... man udev |
All times are GMT -5. The time now is 09:09 AM. |