Find the answer to your Linux question:
Results 1 to 10 of 10
Hello! As Mr. OZAR said in the past "Dont hesitate to post your questions", now its time for my new question... I want to install the nVidia "official" drivers instead ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5

    nvidia drivers question


    Hello!

    As Mr. OZAR said in the past "Dont hesitate to post your questions", now its time for my new question... I want to install the nVidia "official" drivers instead of those of X. how can i shut down the X server (runlevel 1 but how???) and what else should i do??

    thanx in advance!

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,042
    Does this help ? Gentoo Linux Documentation -- Gentoo Linux nVidia Guide

    Edit: thanks ozar ... but you were posting the previous message while I was typing at snail pace !

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    When the GRUB menu pops up, highlight the OS you want to boot, then press e to edit. Highlight the kernel line, and press e again and add single to the end of the line, then press ENTER, then b to boot into single mode.

    Check this Gentoo HowTo for actually installing the nvidia drivers.

    Edit: ah... jonathan is faster than me today!
    oz

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    hello again!

    i cant boot in runlevel 1. i edit the the boot option in grub by adding single at the end of the "kernel" line. i also tried adding 1 instead of single. in any case, it boots in runlevel 3. anyone knows why????

  5. #5
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    You could just type as root:

    Code:
    init 1
    (Or change the number to whatever run level you want to go into)

    Why do you want to use run level 1? I usually use 3 to install NVIDIA drivers.
    Linux User #453176

  6. #6
    Just Joined!
    Join Date
    Jan 2008
    Posts
    5
    i cant install the nvidia drivers while running in 3. i get an error that i have to exit X before installing the drivers. how did you do it???

  7. #7
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    Reading through Runlevel - Gentoo Linux Wiki it appears that runlevels 3, 4 and 5 are all the same. So you will need runlevel 1 as you were trying.

    So as root type:

    Code:
    init 1
    and your gui should dissapear and will be replaced with a text prompt. Just install the drivers there and then go back into runlevel 5 by typing:

    Code:
    init 5
    Linux User #453176

  8. #8
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Errr.... you guys are making this harder than it actually is. It doesn't have to be in a certain runlevel, but just as long as the x server isn't running (because gentoo uses a named runlevel setup instead of numbered).

    do this:
    If you are in an X server, then hit ctrl-alt-f1 all at the same time. If you aren't in x, skip that step.

    Next, you will want to type this as root:
    Code:
    /etc/init.d/xdm stop
    and make sure it stops. Now, you can install your nvidia-drivers:
    Code:
    emerge nvidia-drivers
    then, if all went well, you will want to:
    Code:
    modprobe nvidia
    then, you will want to tell X to use the nvidia opengl implementation:
    Code:
    eselect opengl set nvidia
    you should then be able to use the nvidia drivers for X (assuming you have a working xorg.conf and told it to use the "nvidia" drivers for your video card)
    Code:
    /etc/init.d/xdm start
    All of these instructions assume that you used the handbook to install gentoo.

    Linux User #376741
    Code is Poetry

  9. #9
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Except for the fact that:

    1.- if it is the first time you install this driver, then you need to setup your xorg.conf to use nvidia instead of vesa, nv or whatever it is using right now.

    2.- if it is not the first time, but an update, you need to rmmod nvidia before modprobe nvidia. Otherwise it will refuse to load since the old driver is still loaded.

    You can shut down xdm or do init 1, that is irrelevant.

    Since I just boot on console and use startx, I just need to close X to do this. And only to unload the old driver and load the new one, you can compile and install it within X. Just make sure you are not using any opengl app, or it might crash your system to an unrecoverable state (that is, needing a hard-reboot probably).

  10. #10
    Linux Enthusiast gruven's Avatar
    Join Date
    Dec 2004
    Location
    Arkansas
    Posts
    541
    Post removed.

    Linux User #376741
    Code is Poetry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •