|
|
#1 | |
|
Registered User
Join Date: Oct 2003
Posts: 9
|
I am trying to get my NVidia driver setup under my new install of Linux Mandrake 10.0.
I've got my system configured usign the NV driver. I downloaed and installed 5336 driver version. It went through compiling the kernel module and everything. I changed my XFree config to use nvidia instead of nv and now I get "No screens found" or unusable configuration. I'm using respectable screen resolutions (800x600) and my Xwindows worked with the NV driver so I'm kinda at a loss right now. I'm including my dmesg and XFree config file. Please help!! |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Dec 2002
Posts: 6
|
Yea, I got the same error with Mandrake 9.0,
"No usable screens found" Tried to edit resolutions but didn't work. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr 2004
Posts: 3
|
Joe Petsche, huh? Send me an email or something at japicken@adelphia.net, haven't talked to you in a while ;p And to answer your question you should reformat, and install Slackware
![]() |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Apr 2004
Posts: 5
|
What happens if you add the following in every "Display" subsection of the "Screen" section :
Modes "1024x768" "800x600" "640x480" FFF |
|
|
|
|
|
|
#5 |
|
GeForce FX5600 (1.0-5336)
Join Date: Sep 2003
Location: uk
Posts: 164
|
also is the nvidia module actually loaded ?
try lsmod as root to check |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Oct 2003
Posts: 9
|
I though I saw the module right when I installed it. However now I don't see anything related to nvidia from 'lsmod'. I found /lib/modules/2.6.3-4mdk/kernel/drivers/video/nvidia.ko and insmod'd it. it looks something like this:
Module Size Used by nvidia 2068232 0 I run startx and it still says no usable screens found. I also modified my lines to include Modes "1024x768" "800x600" "640x480" I even removed the Virtual lines to see what happens. Currently I'm running with my nv driver without Virtual and with the Modes lines and that's working. Any other ideas??? |
|
|
|
|
|
|
#7 |
|
GeForce FX5600 (1.0-5336)
Join Date: Sep 2003
Location: uk
Posts: 164
|
if lsmod does not list nvidia then try
modprobe nvidia before startx |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Apr 2004
Posts: 5
|
I have exactly the same problem...also from a clean install of Mandrake 10.0. I had it working for a short time, though I can't for the life of me remember what I changed. It was definitely NOT in the XF86Config-4 file. Though now something I installed must have reverted my changes, cause it no longer works again. This is really frustrating.
|
|
|
|
|
|
#9 | |
|
Registered User
Join Date: Apr 2004
Posts: 5
|
This may have been what did it for me...it's from another post in these forums, for Mandrake 9.2 (Should still apply, though). I will test when I get home today.
Quote:
|
|
|
|
|
|
|
#10 |
|
Registered User
Join Date: Apr 2004
Posts: 5
|
Ok...so I found the solution, as it seems. (at least in my case)
I noticed that performing a "modprobe nvidia" before loading "startx" made it work! So now the question was how to get it to load automatically. I tried adding all kinds of things to /etc/modules and so on, to no avail. Then I searched Google for "mandrake modprobe nvidia", and sure enough, found this link: http://www.linuxquestions.org/questi...hreadid=164833 Note that the solution mentions kernel 2.5 and higher do not use the /etc/modules files! As Mandrake 10.0 is one of the first distros with the new 2.6 kernel, it seems to make sense that we couldn't just follow the README to get this working. So, as the solution says: Solution: Putting an entry for the module in `/etc/modprobe.preload` is required for kernels 2.5 and above. I was making the entry in /etc/modules, but kernel 2.6.x does not read that... This is what the file looks like on mdk 10.0 on my system now... # /etc/modprobe.preload: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored. # this file is for module-init-tools (kernel 2.5 and above) ONLY # for old kernel use /etc/modules scsi_hostadapter intel-agp nvidia Hope this works for other people as well! |
|
|
|
|
|
#11 |
|
Registered User
Join Date: Oct 2003
Posts: 9
|
So I've tried all this stuff... the modules.preload, this Option "NVApg" "0" under the screens section. Still the same result. no screens found.
I've verified nvidia module is loaded (it's loaded at boot now). I can't figure out the problem. Anyone with it working wanna post up your XF86Config-4 or something? I'm out of ideas -Joe |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Apr 2004
Posts: 5
|
Here's mine, though I seriously think it might not have anything to do with the XF86 file. Seems that most times, the problem lies elsewhere. Don't forget to check the troubleshooting of the NVidia README one more time. I found there was alot of stuff in there, that wasn't mentioned in the install instructions, but could be completely required! Specifically, when trying to run glxgears, for instance, I got:
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. This is in the README as well. Should be fixed by: It is likely that a security module for the PAM system may be changing the permissions on the NVIDIA device files. In most cases this security system works, but it can get confused. To correct this problem it is recommended that you disable this security feature. Different Linux distributions have different files to control this; please consult with your distributor for the correct method of disabling this security feature. As an example, if your system has the file /etc/security/console.perms then you should edit the file and remove the line that starts with "<dri>" (we have also received reports that additional references to <dri> in console.perms must be removed, but this has not been verified by NVIDIA). If instead your system has the file /etc/logindevperms then you should edit the file and remove the line that lists /dev/nvidiactl. The above steps will prevent the PAM security system from modifying the permissions on the NVIDIA device files. Next, you will need to reset the permissions on the device files back to their original permissions and owner. You can do that with the following commands: chmod 0666 /dev/nvidia* chown root /dev/nvidia* NOTE: There are _two_ references in the console.perms file to <dri>...remove them _both_, or you will get nasty-looking boot problems. Hope all that helps! |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mandrake Linux 9.0 (Dolphin) now available | comments? | volt | General Linux | 10 | 10-19-02 10:13 PM |
| no screens found + BusID ?? | orion | NVIDIA Linux | 2 | 08-24-02 08:34 AM |