Summary: | Can't start opengl applications using nvidia drivers (/dev/nvidiactl and /dev/nvidia0 require write permissions) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Demchenko <root> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | foontala |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch for /etc/security/console.perms
Patch for /etc/group Patch for /etc/group |
Description
Nick Demchenko
2004-08-08 13:44:38 UTC
Created attachment 37060 [details, diff]
Patch for /etc/security/console.perms
I've yet chosen the group name 'nvidia' because it isn't common for other
devices/drivers as far as I know,
Created attachment 37061 [details, diff]
Patch for /etc/group
This patch adds the group name nvidia with the ID number 34 (might require a
change). Don't forget to add your username to the group.
Created attachment 37062 [details, diff]
Patch for /etc/group
Just realized the previously submitted patch for /etc/group wouldn't work due
to different membrs of the group 'games'
andrew@asteroid andrew $ ls -l /dev/nvidia* crw-rw---- 1 root video 195, 0 Aug 9 23:23 /dev/nvidia0 crw-rw---- 1 root video 195, 255 Aug 9 23:23 /dev/nvidiactl andrew@asteroid andrew $ groups lp wheel audio video games users portage The 'video' group all ready does this out of the box. How are your devices created? devfs or udev?? I use devfs, but I guess it's due to PAM nulling the group. /dev/nvidia* were all (both) set 0700 root:root (worked fine before, though). And I can't remind of a change done to that other than updating the drivers. Check your DevFS conf file for the default permissions it assigns devices, it should be 660 not 600 which it is from that above comment. In futherance you can manually chmod the devices and the changes should be persistant over reboots IIRC (going from memory here though); if they arent just add the chmod commands to /etc/conf.d/local.start and they'll be run each restart for you automatically. closing. Don't know in how far it can be considered invalid since it didn't happen on purpose, but no matter. |