You are not logged in.

#1 2005-06-03 18:45:25

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Restrictive permission on NVIDIA.

I have this little problem that my normal user can't use the nvidia driver. 'glxinfo' says this:

[mikkel@matrix ~]$ glxinfo
name of display: :0.0
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.
Segmentation fault

So I have looked in the Readme for this problem, and I have found out that I should change '/etc/security/console.perms' or '/etc/logindevperms', but I can't find those files. Where are they? And what should I edit?


Arch - It's something refreshing

Offline

#2 2005-06-03 18:50:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Restrictive permission on NVIDIA.

add the user to the "video" group

Offline

#3 2005-06-03 19:31:30

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Restrictive permission on NVIDIA.

But I don't hace a group called "video".


Arch - It's something refreshing

Offline

#4 2005-06-03 19:45:02

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Restrictive permission on NVIDIA.

Did you install nvidia drivers using pacman?

Offline

#5 2005-06-03 19:54:15

droog
Member
Registered: 2004-11-18
Posts: 877

Re: Restrictive permission on NVIDIA.

Then create the group video and add your user to that group. You should check your udev rules too.

Or

Downgrade udev

Offline

#6 2005-06-03 20:13:31

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Restrictive permission on NVIDIA.

'/etc/udev/rules.d/udev.rules' says this:

# video devices
SUBSYSTEM="video4linux", GROUP="video"
KERNEL="dvb*",          PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c", GROUP=
"video"
KERNEL="nvidia*",       GROUP="video"
KERNEL="card[0-9]*",    NAME="dri/%k", GROUP="video"
KERNEL="3dfx*",         NAME="%k", GROUP="video"

so I should have the "video" group, but I don't?

P.S. Yes, I am using Udev.


Arch - It's something refreshing

Offline

#7 2005-06-03 21:06:21

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Restrictive permission on NVIDIA.

  # groupadd video
  # gpasswd -a whargoul video

that might work..

Offline

#8 2005-06-03 21:38:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Restrictive permission on NVIDIA.

whargoul wrote:

so I should have the "video" group, but I don't?

agreed... the audio and optical groups are auto created... but the video one doesn't seem to (post it to the bug tracker).

just do what iBertus said, and you'll be fine

Offline

Board footer

Powered by FluxBB