vi and XF86Config-4


Recommended Posts

Small problem....

I'm just installing NVIDIA Geforce Drivers onto My Mandrake 9.1 Install

I changed to Runlevel 3

Opeded VI with the XF86... File

Used "i" to insert the change

Driver "vesa"
to
driver "nvidia"

Now the problem is i cant remember the comand to save & quit out of VI ?? :blush: *getting ready to kick myself*

Thanks Scott

Link to comment
Share on other sites

OK discovered tht "ZZ" saves and closes VI

onto the next problem now

the system boots up fine using

Driver "vesa"

but when

Driver "nvidia"
is used my system boots up into a shell

I logged in as root and typed "X" to start X and got the following error

(EE) Nvidia(0): Falied to initiade Nvidia Kernal Module

(EE) Nvidia(0): *** Aborting ***

(EE) Screen(s) : Found, but none have usuable configuration

Fatal Error:

No Screns Found

Any ideas... it works fine when i change the driver back to vesa...

Thanks Scott

Link to comment
Share on other sites

Newish to linux....

I followed the instrctions in the nvidia install notes..... and for some reason the X windows thing doesnt start...

I'll play around with it some more and see wht happens

Link to comment
Share on other sites

Not sure if this will help..

I think you need to install the kernel headers which should be in one of your installation cds..

the file shld be something like "kernel-2.6.2-12mdk.rpm"

so..

# rpm -ivh /mnt/cdrom/path/to/kernel-headers-2.6.2-12mdk.rpm

shld do the trick

Link to comment
Share on other sites

yeh i have all the kernal files installed on my system, I believe its the Nvidia kernal module thats casuing the problem.... i'm going to update my kernal files and see if that does the trick. 150mb download though, which is 40 ~50 min download....

o yeh i'm only running kernal 2.4.21-0.19 (not sure about the -bit but its something like tht)..... havnt picked up the guts to kill my 9.1 install trying to upgrade to 2.6 yet :p

*needs to do some reading on how to upgrade the kernal first :p*

Link to comment
Share on other sites

I was using 1.0 community... but there was tons of problems arising... so i jus put my 9.1 copy on. I'm waiting for the Official release of 10.0 to come out before i think about upgradeing

Link to comment
Share on other sites

Well it was the kernal module as i thought... once i upgraded my kernal from 2.4.1.0.13 to 2.4.1.0.29 the nivida installer compiled the kernal modules and once the xf86config-4 file was editied it work

Thanks anyway!

Link to comment
Share on other sites

Not sure where you are at on this, but here goes...

Relevant part of my /etc/X11/XF86Config file:

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "Videocard vendor"
        BoardName   "nVidia GeForce 2 Go"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     16
        Option      "NoLogo" "on"
        SubSection "Display"
                Depth     16
                Modes    "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

(note the use of Option "NoLogo" "on" to get rid of the annyoing nVidia splash every time you change resolutions in X.

And, if you are in runlevel 3 (text mode), you can use startx to start X, as was previously mentioned. Or you can issue an "init 5" to switch to runlevel 5, which should start up X for you, if everything else is set up properly.

If you are stuck somewhere, just post what is happening....

Link to comment
Share on other sites

Yeh thanks.... i had already managed it.. for some reason the nvidia installer handnt installed the nvidia kernal module properly... but after a kernal update it managed to compile the module fine.

P.s Thanks for the noLogo tip

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.