Fedora 15 nVidia Drivers Install Guide (disable nouveau driver)

Nvidia LogoLooking Fedora 19 “Schrödinger’s Cat” nVidia Drivers Install guide?

This is guide, howto install nVidia proprietary drivers on Fedora 15 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300 series cards and also with GeForce FX cards.

Fedora 15 nVidia driver installation is not much different from previous Fedora versions. I have tested this guide with a couple computers, so let me know, if you have some problems.

Install nVidia proprietary drivers on Fedora 15 and disable the nouveau driver

1. Change root user

su -
## OR ##
sudo -i

2. Make sure that you are running latest kernel

If not then update kernel and reboot

yum update kernel*
reboot

3. Add RPMFusion Repositories (Free and Non-Free)

32-bit and 64-bit

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

4. Install nVidia proprietary drivers

Select 4a. (GeForce 6/7/8/9/200/300/400/500) or 4b. (GeForce FX) depending on your card

4a. Install nVidia proprietary drivers for GeForce 6/7/8/9/200/300/400/500 series cards

Select kmod, kmod-PAE or akmod from following.

kmod-nvidia

yum install kmod-nvidia xorg-x11-drv-nvidia-libs

or

kmod-nvidia-PAE and PAE-kernel devel

yum install kernel-PAE-devel kmod-nvidia-PAE

or

akmod-nvidia

yum install akmod-nvidia xorg-x11-drv-nvidia-libs

akmod is good option and easy way avoid problems on kernel updates and is best and only option if you use:

  • self-compiled kernel
  • older Fedora kernel
  • quickly changing kernels from updates-testing/rawhide

Full spec of kmod and akmod differences, check this.

4b. Install nVidia proprietary drivers for GeForce FX cards

Select kmod, kmod-PAE or akmod from following.

kmod-nvidia

yum install kmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686

or

kmod-nvidia-PAE and PAE-kernel devel

yum install kernel-PAE-devel kmod-nvidia-173xx-PAE

or

akmod-nvidia

yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686

akmod is good option and easy way avoid problems on kernel updates and is best and only option if you use:

  • self-compiled kernel
  • older Fedora kernel
  • quickly changing kernels from updates-testing/rawhide

Full spec of kmod and akmod differences, check this.

5. Check /boot/grub/grub.conf file (Optional step)

This is optional, but butter check before reboot, because missing rdblacklist=nouveau nouveau.modeset=0 is the most common reason which causes black screen / blank screen on boot with nVidia drivers. So it’s good to check following also. ;)

Open /boot/grub/grub.conf file and check that the kernel row have following parameters rdblacklist=nouveau nouveau.modeset=0:

title Fedora (2.6.38.6-26.rc1.fc15.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.38.6-26.rc1.fc15.x86_64 .... rdblacklist=nouveau nouveau.modeset=0
        initrd /initramfs-2.6.38.6-26.rc1.fc15.x86_64.img

6. All is done and then just reboot

reboot

Please let me know if you have some problems with nVidia drivers installation. You could also tell you if you got the drivers installed using this guide and what graphics card you have?

Follow If Not True Then False Updates!

125 Comments

  1. Hi’!
    I have nvidia GeForce 8M (8600M GS, if I recall right).
    I tried installing drivers from other blogs, but I was missing the “nouveou in the blacklist” check, so it didn’t start X after rebooting. Now it seems ok. If anything else I’ll let you know.
    THANK YOU!!! :D

  2. I have a Nvidia geforce GTX 560M card. Which option should I use to install
    of the two you gave, that is, 4a or 4b

    • Hi Dan,

      You should select 4a. :)

      • I followed the 4a option using the “yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686″ I also checked the /boot/grub/grub.conf file before rebooting. The boot now stalls at
        Started SYSV: Enable monthly update of Smolt. . I am booting with the kernel 2.6.40.6-0.fc15.x86_64. The previous kernel,
        2.6.38.6-26.rc1.f15.x86_64 stalls at the same place. Any suggestions would be appreciated.

        • Hi Dan,

          Actually 4a. nVidia proprietary drivers for GeForce 6/7/8/9/200/300/400/500 series cards options is not 173xx legacy drivers 4a packages installation is just following command:

          yum install akmod-nvidia xorg-x11-drv-nvidia-libs
          • You are correct and I copy the wrong one into the comment. However, I did install yum install akmod-nvidia xorg-x11-drv-nvidia-libs and the boot still stalls. No idea why.

            • Ok good to hear that you installed right version. :)

              Could you change another virtual console using ALT+F2, ALT+F3, ALT+F4…when it stops?

              • Stops or stalls aT;
                Started SYSV: Enable monthly update of Smolt. .

                • Ok, but could you change another virtual console?

                  • I bit of a newbie with regards to Linux so I’m not sure what you mean by virtual console?

                    • When it stalls, what happen if you press ALT+F2, ALT+F3…? Do you see console login screen?

                    • Nothing happens. I get a white band across the screen with Fedora 15 on it. This with the 2.6.40.6-0.fc15.x86_64 kernel. With the earlier kernel I get the drop shape with the f at an angle in white and in blue a figure 8 at an angle. The keyboard has no control over anything.

                    • Using a FC15 DVD image and using the rescue option I mounted the sysimage and I then “yum remove akmod-nvidia xorg-x11-drv-nvidia-libs” and was able to boot fully into Gnome and KDE. I then updated the system and rebooted. The system came back up again and I did another yum update but there was nothing that needed updating. I then reinstalled using “yum install akmod-nvidia xorg-x11-drv-nvidia-libs”. Can’t boot again. So the problem is in one of these files. It maybe that even though nvidia has released drivers for my Nvidia geforce GTX 560M card they aren’t in the rpmfusion releases yet.

  3. Works fine (Fedora 15 – GTS 250)
    But what about Fedora 16?
    thanx

    • Hi matheus,

      I’m actually writing Fedora 16 nVidia install guide, but currently you can use rpmfusion Fedora 16 repo to install nVidia drivers on Fedora 16.

  4. Hi Dan,

    I continue here, because comment reply’s is limited on 10 level deep… :)

    One thing what you could try is use kmod-nividia instead of akmod-nvidia.

    You could boot to runlevel 3 with following procedure:

    1. Access Grub boot menu
    2. Press “e” (edit)
    3. Select kernel line and press “e” (edit) again
    4. Add [space] and runlevel (1,3,5) end of line
    5. Press Enter
    6. Press “b” (boot) and boot with modified kernel line

    Now you should see just terminal with login and then loging and you could remove akmod-nvidia and install kmod-nvidia instead?

    • Will do, but it will have to wait until after the 29th of Nov. I had to leave town today on business.

      Thanks and I will let you know what happens.

      • Okey, let’s try to solve the problem then, and have a nice trip! :)

  5. Hello. I am having a problem during booting.

    When the booting bar finished almost near the end. It starts flashing and stops loading or do anything else thereafter.

    I am currently using the recovery mode, but I am sure I have updated it to the latest kernel.

    I have followed the exact steps. Is there something wrong? Please help. I am using the 5200FX model.

    • Hi Jitski,

      Boot with normal system (not recovery mode) and when it stops then change another virtual console with ALT+F2, ALT+F3…and login as root user.

      Then please post output of following commands here:

      lsmod |grep nvidia
      lsmod |grep nouveau

      And output of following command:

      rpm -qa *nvidia* *kernel*
  6. Tried the five steps above, using 4a.

    Got blue screen & balloon on reboot, followed by text showing boot messages so far. Last one was “Started Display Manager”. Then it just hangs there.
    Tried akmod with the same results.
    Tried the dracut line, same results. alt-f2 puts me in text mode.
    lspci | grep -i nvidia yields: 01:00.o VGA compatible controller: nVidia Corporation GF106 [GeForce GT 555M SDDR3] (rev a1).
    lsmod | grep nvidia yields:
    nvidia 11693770 0
    i2c_core 25728 nvidia,12c_i801,videodev,i915,drm_kms_helper,drm,i2c_algo_bit

    What should I try next?

    • Hi Greta,

      Could you post also output of following commands:

      lsmod | grep nouveau
       
      rpm -qa *nvidia* *kernel*
  7. There’s no output from lsmod | grep nouveau. “rpm -qa …” shows that the versions match.

    Also did upgrade to F16, tried the same things, as that seemed to work for someone else who asked for help. Unfortunately, it did not work for me.

    When I looked on the nvidia driver website, the one that apparently is for my computer is NVIDIA-Linux-x86_64-290.10.run. the 290.10 matches what I see in the rpm output for F16. Is it possible I have some window manager settings that need to be altered?

  8. Looked in /var/log/Xorg.0.log and found the following:
    Fatal server error: no screens found.

    Should I move my question over to the Fedora 16 page,as I have updated?

    • Hi Greta,

      Yes, if could please move your question to Fedora 16 nVidia page and please tell as much as you can, about your current situation, because it’s everything what I have. :) Thanks!

  9. Thanks for your website — easy to follow; however . . . . I’ve got a problem . . .

    I installed kmod-nvidia on Fedora 15 but when I rebooted, it just hangs blue boot-up screen endlessly so I never get to login and therefore, I can’t uninstall the driver that appears to be causing the problem. I have a dual boot system with Mint 11 and Fedora 15 using Grub2 and my video card is GeForce 8400GS.

    When I press ‘e’ on boot up on the Fedora entry, how exactly do I add an entry for runlevel 3 to allow me to boot up and get a terminal login?

    Was I wrong to use kmod-nvidia? Should I have used one of the other options?

    Any help to get my Fedora system up and running again would be most helpful.

    Thanks in advance.

    Great site, by the by.

    • You can boot to runlevel 3, with pressing ‘e’ on Fedora kernel line and then found line which starts, with linux … add number 3 to end of line and then boot.

      kmod-nvidia should work, but you could remove and try akmod-nvidia instead, because it should work with any kernel version.

  10. Thanks JR. Tried what you said but even after removing kmod-nvidia it still wouldn’t boot. It was pretty much a fresh install, so I reinstalled this time with Fedora 16. I’ll give akmod-nvidia try when I have a minute and see how I get on. Cheers.

    • Hi again Brad,

      Good choice to change Fedora 16. :)

      Use Fedora 16 nVidia Drivers Install Guide when you try to install nVidia drivers on Fedora 16.

      And please let me know, if you have some problems still with Fedora 16 and let’s try to get nVidia drivers working…

  11. This worked like a charm, the first time. Thanks a million!

    I bought a second-hand Dell minitower at Deseret Industries for $35. spent $89 to get a refurbished 8400 GS and 2G of RAM at Tigerdirect. Already had a cheapo AOC 931 monitor.

    Used your instructions after booting, and now I have a really slick system running FC15, and everything “just works”.

    I’m a happy camper. :-)
    peace, and happy new (almost) year of the Dragon!
    vince

  12. After installing nvidia driver using akmod in 4a and reboot the system, gnome shell is not responding to mouse and keyboard, what’s the problem?

    My card is: GeForce Go 7300

    • Hi Kamal,

      Could you change to another virtual console and post output of following commands:

      lsmod |grep nvidia
       
      lsmod |grep nouveau
       
      rpm -qa *nvidia* *kernel*
  13. I am getting

    Fatal server error
    no screens found error

    when I use startx command

    (EE) [drm] failed to open device
    Refusing ot touch device with a bound kernel driver
    (EE) open /dev/fb0: no such device
    (EE) Screen(s) found but none have a usable configuration

    I updated kernel as you described abovem, My spec is DELL workstation T3500 with Quadro 1800 GPU

    I will be grateful if you can help
    best regards

    also the other lsmod information you asked is below

    lsmod | grep nouveau

    nouveau 754292 0
    ttm 61533 1 nouveau
    drm_kms_helper 30277 1 nouveau
    rrm 213647 3 nouveau,ttm,drm_kms_helper
    i2c_algo_bit 5572 1 nouveau
    i2c_core 28203 6 nvidia,i2c_i801,nouveau,drm_kms_helper,drm,i2c_a
    lgo_bit
    mxm_wmi 1741 1 nouveau
    video 12388 1 nouveau

    rpm -qa *nvidia*
    xorg-x11-drv-nvidia-173xx-173.14.31-1.fc15.x86_64
    kernel-2.6.41.10-3.fc15.x86_64
    nvidia-xconfig-1.0-9.fc15.x86_64
    kmod-nvidia-173xx-2.6.41.10-3.fc15.x86_64-173.14.31-1.fc15.x86_64
    kernel-devel-2.6.38.6-26.rc1.fc15.x86_64
    kernel-headers-2.6.41.10-3.fc15.x86_64
    kernel-2.6.38.6-26.rc1.fc15.x86_64
    abrt-addon-kerneloops-2.0.2-5.fc15.x86_64
    kernel-devel-2.6.10.3.fc15.x86_64
    xorg-x11-drv-nvidia-173xx-libs-173.14.31-1.fc15.x86_64
    nvidia-settings-1.0-11.fc15.x86_64
    xorg-x11-drv-nvidia-173xx-libs-173.14.31-1.fc15.i686
    akmod-nvidia-173xx-173.14.31-1.fc15.x86_64

    lsm0d | grep nvidia
    nvidia 8100306 0
    i2c_core 28203 6 nvidia,i2c_i801,nouveau,drm_kms_helper,drm,i2c_a
    lgo_bit

    • Hi yalcin,

      Please check that you have blacklisted nouveau, because based on your lsmod outputs, looks like both nouveau and nvidia modules are loaded…

      • Hi,

        Actually I edited grub.conf as you described above.

        Anyway I started with a fresh install. This time I didnot update kernel. When I checked grub.conf, the blacklist was added automatically(when I updated kernel it wasnot added). And it works now.

        Thank you very much :)

        Note: Is there an alternative to kpackagekit, can I use synaptic package manager?

        Kindest regards
        yalcin

        • Okay, excellent to hear that you got it working! :)

          You could try example yumex (Yum Extender).

          Installation:

          yum install yumex
  14. Thank you!
    It worked on my Fedora 16.

  15. I would like to say thank you for this guide. I did this with Fedora 17 nVidia gtx 560ti.

    Note: when i installed the nVidia drivers it added the blacklist automatically to my grub.cfg

Add Comment Register



Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks/Pingbacks

  1. Kernel panic after update, fedora 15 64 bits - [...] installed the nDivia nouveau as well. So I forced the system to use the original nDivia, see here http://www.if-not-true-then-false.co...install-guide/ …