Jump to content

Non-root GLX problems 10.1 CE? [SOLVED]


JClosed
 Share

Recommended Posts

I am using an FX9500 card in Mandrake 10.1 CE.

 

After downloading the NVIDIA drivers (66.29) the installation went without any problem. Starting X works fine and "glxgears" shows hardware acceleration works as expected.

 

That is - as long as you are logged in as root.

 

Logged in as normal user starting X also went good, but when i try to start "glxgears" it gives the error:

 

Error: Could not open /dev/nvidiactl because the permissions

are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS

section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps

to correct.

 

After reading the doc, i made the suggested change the /etc/security/console.perms file by outcommenting the lines that contains references to "<dri>". The doc also suggests to do the following command:

 

chmod 0666 /dev/nvidia* chown root /dev/nvidia*

 

And thats where i got in trouble. This command gives the error:

 

Unknown file "chown", Unknown file "root".

 

So - i am without any clues what to do next. Only commenting out those lines does not work. And change te permissions in the bottom line in console.perms does not seems to be the answer.

 

How do i resolve this problem?

 

I am still a newbe with Linux, so any suggestion here would be very welcome.

Link to comment
Share on other sites

Allright - i officially delclare myself to be an idiot.

 

I sould not do "chmod 0666 /dev/nvidia* chown root /dev/nvidia*"

 

But:

"chmod 0666 /dev/nvidia*"

"chown root /dev/nvidia*"

 

That did the trick.

 

Still there is only one problem left. After a restart of Mandrake both settings seem to be vanished. How do i keep this settings "locked"?

 

Any suggestions?

Link to comment
Share on other sites

Still there is only one problem left. After a restart of Mandrake both settings seem to be vanished. How do i keep this settings "locked"?

 

Add this line to the file /etc/udev/permissions.d/00-udev.permissions

nvidia*:root:video:0666

 

When the nvidia kernel driver module is loaded entries will be created in /dev/ for the nvidia devices. The udev/hotplug subsystems will be notified of the new devices and the udev scripts will automatically change the device file permissions.

Link to comment
Share on other sites

Well - adding this line does not work. However - you pointed me in de right direction.

 

Alfer inspecting the file i found the section "dri devices" herein.

 

I changed the permissons in the four lines in this section from 0660 to 0666 and the problem was solved.

 

Great!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...