Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-15-03, 01:03 PM   #1
ellianef
Registered User
 
Join Date: Dec 2003
Posts: 6
Angry Nvidia driver & mdk 9.2

Updated:
Advanced a little bit: just removing the /dev/nvidiactl directory let startx run quitly.
Now the question: why this directory stays there at shutdown or is not cleaned at bootup ?
__________________________________________________ ____________
I'm trying to move to mdk9.2. I did a fresh install and can't get the nvidia driver working nice. (worked nice with 9.1)
At bootup I have to:
-log as user
-su
-delete the directory /dev/nvidiactl
-install the driver
-exit su
-startx
Then all is working until next boot.
The card is a FX 5200 and the diver is at the latest level:
NVIDIA-Linux-x86-1.0-4496-pkg2.run

If I don't delete the /dev/nvidiactl, then the install driver goes fine but startx breacks with a problem accessing the /dev/nvidiactl.
I suspect some rights problem for the directory or with devfs.
How could I solve this problem ?

This is solid and repetitive at each bootup.
Many thanks for help.
__________________
Ellianef

Last edited by ellianef; 12-16-03 at 01:37 PM.
ellianef is offline   Reply With Quote
Old 12-17-03, 07:12 AM   #2
guigouz
Registered User
 
Join Date: Aug 2003
Posts: 8
Default

Maybe you're dealing with permissions problems (I've had them sometimes, don't know why)... try

chmod -R 777 /dev/nvidiactl
guigouz is offline   Reply With Quote
Old 12-17-03, 01:17 PM   #3
ellianef
Registered User
 
Join Date: Dec 2003
Posts: 6
Default Nvidia driver & mdk 9.2

Nope, changing rights does nothing. The only way is to rd /dev/nvidiactl.
Thanks for any idea.
__________________
Ellianef
ellianef is offline   Reply With Quote
Old 12-17-03, 07:32 PM   #4
bjoernP
Registered User
 
Join Date: Dec 2003
Posts: 2
Default

/dev/nvidiactl is a directory? Sure?
Could you please post
$ ls -l /dev/nvidia*
and
$ ls -l /lib/dev-state/nvidia*

My guess is either the backup in dev-state being reloaded by devfsd on boot and | or file permissions ( msec is a mess... )
bjoernP is offline   Reply With Quote
Old 12-17-03, 10:40 PM   #5
iplayfast
Riva 128, Gforce 4
 
Join Date: Jul 2003
Posts: 10
Default Same problem here

I'm using a sis motherboard, with a nvidia gforce 4 graphics. When I ssh to the machine, top shops 99% of cpu time is spent doing X. X seems stalled at the dm (login prompt).
iplayfast is offline   Reply With Quote
Old 12-18-03, 04:05 AM   #6
ellianef
Registered User
 
Join Date: Dec 2003
Posts: 6
Default

Hello bjoernP,
Here are the info:
Sure it's a directory, that's nvidia complains about when trying to start.

At bootup in console mode ie: state after shutdow:
ls -l /dev/nvid*
Total 0.
ls -al /dev/nvid*
drwxr-xr-x 1 root root 0 déc 18 2003 ./
drwxr-xr-x 1 root root 0 jan 1 1970 ../

ls -l /lib/dev-state/nvid*
Total 0
ls -al /lib/dev-state/nvid*
drwxr-xr-t 2 root root 4096 déc 14 00.04 ./
drwxr-xr-t 15 root root 4096 déc 15 19.10 ../

After removing the /dev/nvidiactl, startx and kde in su mode:

[root@rominet jm]# ls -l /dev/nvid*
crw-rw-rw- 1 root root 195, 0 jan 1 1970 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 jan 1 1970 /dev/nvidiactl
[root@rominet jm]# ls -al /dev/nvid*
crw-rw-rw- 1 root root 195, 0 jan 1 1970 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 jan 1 1970 /dev/nvidiactl
[root@rominet jm]# ls -l /lib/dev-state/nvid*
total 0
[root@rominet jm]# ls -al /lib/dev-state/nvid*
total 8
drwxr-xr-t 2 root root 4096 déc 14 00:04 ./
drwxr-xr-x 15 root root 4096 déc 15 19:10 ../

Lots of differences about rights, note also the "déc" with an accent .... and the dates.
Thanks.
__________________
Ellianef
ellianef is offline   Reply With Quote
Old 12-18-03, 11:07 PM   #7
iplayfast
Riva 128, Gforce 4
 
Join Date: Jul 2003
Posts: 10
Default

I got mine working. In order to do it I had to turn off agp.
I think the syntax was in the section modules (the same one as nvidia driver):

Load "AGP" "0"
iplayfast is offline   Reply With Quote
Old 12-19-03, 05:12 AM   #8
bjoernP
Registered User
 
Join Date: Dec 2003
Posts: 2
Default

Youre right, seems there is a directory there, which is not supposed to be there. Directories are a typical devfs-thing but the nvidia-driver does not support devfs, AFAIK, does it the old style...

So, you could try to delete the nvidia*-stuff in /lib/dev-state, I guess it's being backupped from there on demand by devfsd or something like that.

Permissions look fine, you need to rw- as user to run glx-things in X. To hinder msec from overriding perms there I have the following set in perm.local:

[root@blackbox root]# cat /etc/security/msec/perm.local
/dev/nvidia0 root.games 4660
/dev/nvidiactl root.games 4660

where games is a group \me lives in. "current" would tell it not to touch these things, if I remember right. I do not exactly remember what the magic 4660 mean, but... works.

/dev/nvidia* looks like this here:

$ ll /dev/nvidia*
crw-rw---- 1 root games 195, 0 Dez 19 2003 /dev/nvidia0
crw-rw---- 1 root games 195, 255 Dez 19 2003 /dev/nvidiactl

1970 dates are a trace to devfs, it's the beginning of time on Unix-Systems, devfs|d will set this date on dev-nodes it creates dynamically.


goodLuck, have a nice Xmas!

-bjoernP
bjoernP is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver quality decrease? legluondunet NVIDIA Linux 17 06-26-12 10:03 AM
NVIDIA Driver Installation flores.facundo NVIDIA Linux 2 06-24-12 08:37 AM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM

All times are GMT -5. The time now is 01:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.