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

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-17-04, 10:29 PM   #1
SAFX
Registered User
 
Join Date: Oct 2004
Posts: 2
Default Mandrake 10.1 CE/GeForce 4600 Ti: Fatal server error "no screens found"

I'm running the following configuration...

Mandrake 10.1 CE
Kernel 2.6.8.1-10mdksmp
Ge Force Ti 4600 128Mb


I installed the NVIDIA driver and used the installer to compile my kernel successfully. Once the installer was doen, it sent me back to bash, after which executed startx to get back into KDE. I can see the NVIDIA logo screen, and I can also access the NVIDIA Control Panel settings by executing nvidia-settings from a shell window from KDE.

The problem now is that when I reboot my computer I am getting the following error, and KDE does not load up.

(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable coniguration.

Fatal server error:
no screens found


For the install, here is what I did..

1) Downloaded the NVIDIA driver.
2) Downloaded the kernel source files for my kernel. To make sure I had the correct kernel source I executed...

rpm -qa | grep kernel

..I see the following in the output...

kernel-smp-2.6.8.1.10mdk-1-1mdk
kernel-source-stripped-2.6-2.6.8.1-10mdk


3) Ran the installer using...

sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --kernel-source-path /usr/src/linux-2.6.8.1-10mdk

The installer fails when attempting to compile the kernel.

4) So I search the web and find this website that details instructions updating an NVIDIA source file nv.c at NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.

5) I extract the contents of the NVIDIA driver and update nv.c according to the instructions at the website.

6) This time I run the installer using...

nvidia-installer --kernel-source-path /usr/src/linux-2.6.8.1-10mdk

This time the installer compiles the kernel successfully and the installer completes and drops me back to the command line.

7) According to the README file that comes with the NVIDIA driver, the XF86Config files needs to be updated with the following settings...

Load "glx"
Driver "nvidia"


So I edited the file (shown below) and saved a back up copy.

8) I execute startx to load KDE and I immediately see the NVIDIA log screen, after which KDE loads up no problem. Also, if I open a shell window and type nvidia-settings, the NVIDIA control panel opens allowing me to configure the video card settings.

9) After rebooting, I can't get the nvidia module to load properly, and I keep getting the error displayed above at the beginning of this post. I checked to see if the rivafb module was loaded since the installer mentioned that it will cause conflicts with the NVIDIA module. But I confrmed that is was not loaded by executing lsmod.

Here is the contents of my XF86Config file (text in red is where I added the new settings)...

Code:
Section "Files"
     FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    AllowMouseOpenFail
 
EndSection

Section "Module"
    Load "dbe" 
    Load "v4l"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "en_US"
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 30-92
    VertRefresh 55-65
   
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848
    
    ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103
    
    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync
    
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia"
    BoardName "NVIDIA GeForce4 (generic)"
    Driver "nvidia"
    Option "DPMS" 
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1600 1200
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1600 1200
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection
So basically I was able to get the NVIDIA module to load successfully, but only after it was installed without rebooting. Once I reboot, I get the rror
SAFX is offline   Reply With Quote
Old 10-17-04, 11:39 PM   #2
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default Re: Mandrake 10.1 CE/GeForce 4600 Ti: Fatal server error "no screens found"

modprobe nvidia

will load the kernel module, lsmod lists loaded modules.

Put nvidia in /etc/modprobe.preload.
whig is offline   Reply With Quote
Old 10-18-04, 08:41 AM   #3
SAFX
Registered User
 
Join Date: Oct 2004
Posts: 2
Default Re: Mandrake 10.1 CE/GeForce 4600 Ti: Fatal server error "no screens found"

Quote:
Originally Posted by whig
modprobe nvidia

will load the kernel module, lsmod lists loaded modules.

Put nvidia in /etc/modprobe.preload.
HOLY CRAP! That worked! But seriously, why is this crucial piece of info not in the README file, or anywhere else, or perhaps I just missed it.

Should I remove the following line from my XF86Config?

Driver "nvidia"
SAFX is offline   Reply With Quote
Old 10-19-04, 02:43 AM   #4
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default Re: Mandrake 10.1 CE/GeForce 4600 Ti: Fatal server error "no screens found"

Quote:
Originally Posted by SAFX
Should I remove the following line from my XF86Config?

Driver "nvidia"
No, that line is necessary for X. FYI alternative drivers are "nv" and "vesa".
whig is offline   Reply With Quote
Old 10-19-04, 02:59 AM   #5
vincoof
Registered User
 
Join Date: Sep 2004
Location: France
Posts: 104
Send a message via ICQ to vincoof Send a message via AIM to vincoof
Default Re: Mandrake 10.1 CE/GeForce 4600 Ti: Fatal server error "no screens found"

Quote:
Originally Posted by SAFX
HOLY CRAP! That worked! But seriously, why is this crucial piece of info not in the README file, or anywhere else, or perhaps I just missed it.
Mandrake Linux 10.1 was released after the latest NVIDIA driver release, so at the time the driver was packaged it was impossible to know which problems would occur on Mandrake Linux 10.1 ; this also explains why you had to edit the source file nv.c (in your step 4).
vincoof 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


All times are GMT -5. The time now is 07:25 AM.


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