Fedora 18 nVidia Drivers Install / Uninstall Guide

Nvidia LogoLooking Fedora 20 “Heisenbug” nVidia Drivers Install guide?

This is guide, howto install nVidia proprietary drivers on Fedora 18 “Spherical Cow” and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500 series cards (and currently also with GeForce 6/7). Later you might need different version of nVidia drivers if you use GeForce 6/7 card.

Fedora 18 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.

1. Before nVidia drivers installation

1.1 Check is your nVidia card supported

List of Supported NVIDIA GPU Products, your card should found before 173.14.xx driver section. I upgrade this guide later when drivers are updated 313.xx version.

1.2 NVIDIA Optimus Technology

If your lspci |grep -i VGA output looks like following:

Or you know that your computer have NVIDIA Optimus Technology, and it is impossible to turn Intel Graphics / NVDIDIA Optimus off in the BIOS then this guide is not working on your system. Check If !1 0 forums user Viger guide instead Fedora 18 for NVIDIA Optimus users (with Bumblebee/Primus rpm).

2. Install nVidia proprietary drivers on Fedora 18 “Spherical Cow” and disable the nouveau driver

2.1 Change root user

2.2 Make sure that you are running latest kernel and have latest SELinux policy packages

If not then update kernel and reboot

2.3 Add RPMFusion Repositories (Free and Non-Free)

32-bit and 64-bit

2.4 Install nVidia proprietary drivers for GeForce 8/9/200/300/400/500 (and currently GeForce 6/7) series cards

Select akmod, kmod or kmod-PAE from following.

akmod-nvidia

Extra package for kernel-PAE users

or

kmod-nvidia

or

kmod-nvidia-PAE and kernel-PAE-devel

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.

2.5 All is done and then just reboot

2.6 VDPAU/VAAPI support

To enable video acceleration support for your player (Note: you need Geforce 8 or later).

3. Uninstall nVidia proprietary drivers on Fedora 18 “Spherical Cow” and enable the nouveau driver

I assume that you installed nVidia driver with this guide, then do following.

3.1 Change root user

3.2 Uninstall nVidia Driver Packages

3.4 Then Reboot System

Share this post

74 Comments

  1. Have a problem with latest kernel 3.8.3-203. When starting X (startx) screen goes blank and system freezes. Have not done any in-depth analysis on it. Just rebooted and started with previous kernel 3.8.3-201 which works fine. Eviro is:

    HP Pavilion d4890y w/ RAID1
    kernel-PAE-3.8.3-201.fc18.i686
    kmod-nvidia-3.8.3-201.fc18.i686.PAE-304.64-7.fc18.2.i686
    akmod-nvidia-304.64-7.fc18.i686
    xorg-x11-drv-nvidia-libs-304.64-5.fc18.i686
    NVIDIA Corporation G80 [GeForce 8800 GTS] (rev a2)

    Reply
    • Hi patrick,

      Could you try is it working with latest 3.8.4-202 kernel?

      Reply
      • I’d try if I could but I don’t have it available… I’m just waiting on the next kernel release and hoping that it will magically fix.

        Reply
        • OK I had a chance to do a little testing and confirm. Here’s the results:

          kernel-3.8.4-202 -> works
          kernel-3.8.3-203 -> does not work as described above
          kernel-3.8.4-201 -> works

          Reply
          • Thanks for testing. This is strange and interesting, but best news is that the it works with kernel-3.8.4-202. :)

            Reply
  2. Brilliant instructions, just works fine.

    My experience so far…(in case if it is going to be useful for someone)

    HP xw6200 Workstation
    Nvidia Quadro 450
    3 monitors

    Linux kernel : 3.8.3-203.fc18.x86_64
    Went for akmod option

    Had issues with Gnome desktop. Hence, switched to KDE Spin that is just fine.

    While configuring 3 monitors:
    1. Configured the first 2 monitors with ‘TwinView’ with monitor-1 being primary, absolute and monitor-2 positioned ‘right of’ monitor-1.
    2. Configured monitor-3 as ‘Separate X screen’
    3. Enabled ‘Xinerama’
    4. Resolution left to ‘Auto’

    Not sure, if the above is the best way of configuring 3 monitors. But it works just fine except that the first 2 monitors are treated as a ‘display’ seeamlessly. (i.e., if I maximize any window, it spreads across both monitors)

    Reply
    • Hi Murali,

      Thanks for posting your experience and this 3 monitors configuration. For me it’s looks very nice way to configure it. I normally use only 2 monitors. :)

      Reply
  3. Without a doubt Fedora is the best Linux distro I’ve ever experienced. The instructions for installing the nvidia driver worked like a charm!

    Reply
  4. I seem to be struggling to get my Asus G75VW-AH71 laptop to use the nvidia driver.
    I have followed the above instructions and it boots to a certain point and then stops.
    If I hit escape to watch the boot process the last thing I see is:
    OK – Started GNOME Display Manager
    OK – Started Builds and install new kmods from akmod packages

    Nothing shows after that. I can ctrl/alt f2 to get to a terminal screen and login as root

    The Asus has a Nvidia GTX 660M. Doesn’t appear to be using any optimus.
    lspci shows:
    01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd4 (rev a1)

    Kernel/nvidia info:
    Linux localhost.localdomain 3.8.4-202.fc18.x86_64 #1 SMP Thu Mar 21 17:02:20 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

    akmod-nvidia-304.64-7.fc18.x86_64
    kmod-nvidia-3.8.4-202.fc18.x86_64-304.64-7.fc18.x86_64
    nvidia-settings-1.0-26.fc18.x86_64
    nvidia-xconfig-1.0-25.fc18.x86_64
    xorg-x11-drv-nvidia-304.64-5.fc18.x86_64
    xorg-x11-drv-nvidia-libs-304.64-5.fc18.x86_64

    lsmod | grep -e nouv -e nvidia returns nothing so I’m guessing the nvidia is not loaded.

    What can I try next?

    Reply
    • Hi Mark,

      Everything looks good, but yes nvidia driver is not loaded, you can try following on command line (as root):

      Do you get some error? If not then check following output again:

      Reply
      • JR, figured it out. I had left secure boot mode enabled in bios/uefi on my Asus. Turned it off and nvidia loaded.

        Only other odd thing I have seen is when I make any changes to grub2 via grub2-mkconfig it breaks nvidia. I then have to:
        yum remove xorg-x11-drv-nvidia\* nvidia-settings nvidia-xconfig
        reboot
        yum install akmod-nvidia xorg-x11-drv-nvidia-libs

        to get it working again. Luckily I don’t make changes to grub2 often.
        Thank you for your help in this forum.
        Mark

        Reply
        • Hi Mark,

          You are welcome and nice to hear that you got it working.

          If you want me to check that grub2-mkconfig problem, then I need more information what changes you do/did? And maybe grub2 config before and after grub2-mkconfig command. :)

          Reply
  5. De lo más útil este sitio. Muchisimas gracias. :D

    Reply
  6. This totally screwd up my laptop.i follow the tutorial to the letter.
    I have acer aspire with nvidia GT480 .
    The error from the xorg log was :
    fatal error cannot find device.
    And cannot find monitor .
    I tried with the kmod and akmod .
    I updated the whole system with the kernel .
    Any ideas ?

    Reply
  7. Sorry i meant GT540 in this laptop.

    Reply
    • Hi odysiuss,

      Could you post output of following commands:

      Reply
      • hi JR

        i was followed your instruction about installing nvidia driver
        it’s work, just fine, but when i look on lspci | grep VGA
        i got this message

        NVIDIA Corporation Device 0dec (rev a1)

        why this can’t change to Geforce GT525

        specification
        core i7
        ram 8gb
        nvidia geforce GT525

        thanks a lot

        sorry my english is bad

        Reply
  8. Hi JR.. Thanks for the tutorial very clear and organized… :D
    Sry about this but I’ve started use fedora this week…
    I have some problems installing the nvidia driver of GT 650M…
    I follow the steps but when I rebooted the screen frezzed…
    I tried to start by startx and get screen not found..
    Could you give me some advices..
    I have already checked:

    The lsmod pointed out 3 modules…
    and the lspci list my VGA as compatible..

    Thx

    Reply
  9. Hey is this guide also functioning for mobile version of a geforce – card (610m) ?

    Reply
    • Hi Luis Klar,

      Yes this should work with Geforce 610m card too.

      Reply
  10. Hello,

    your commands works perfectly, But after follwing this tutorial I get an error :
    error [105] err:d3d_caps:WineD3D_CreateFakeGLContext Can’t find a suitable iPixelFormat.
    And it seems this broke the wine game settings (such as WoW or Lotro ).
    I’ve found the solution and it’s to execute :

    then everything works fine and my fps rate is just amazing unsign this new nvidia driver.

    thanks.

    Reply
  11. I’ve tried this tutorial on Fedora 18… after a reboot graphics doesn’t start anymore.
    If you have the same problem you can do this:
    boot Fedora, also if boots only a first part, and then press ctrl+alt+F2
    now you should open a shell, ok remove packets with:
    sudo yum remove packets-name
    example:
    sudo yum remove akmod-nvidia xorg-x11-drv-nvidia-libs

    reboot. Unfortunately the graphics starts, but with the incorrect resolution and at the moment I can’t change this resolution :(

    Reply
    • Ok, I’ve found a solution! I’ve boot with a previus kernel version and I uninstalled and then reinstalled the last kernel version, so now I’ve the right resolution of the screen :)

      Reply
  12. I just wanted to comment on the Nvidia uninstall / re-enabling of nouveau. Simply removing the Nvidia drivers leaves the nouveau driver disabled in Grub, so, you’re left with only the Visa driver or worse. The trick to repair this is, after removing the Nvidia driver, reboot and….

    yum remove kernel
    yum install kernel
    (yum reinstall kernel…?)
    shutdown -r now

    Since the Nvidia drivers are gone when your box comes back up the latest kernel will be re-installed with a nouveau configuration proper. Of course your procedure will vary depending on if you’re using a non-default kernel.

    Reply
  13. Hi

    I have a Nvidia Geforce 9500 GT installed in a machine running CentOS 6.5.

    Output of # lspci | grep VGA:

    Does not give me any HDMI audio devices listed.

    Output of # lsmod | grep nvidia

    No HDMI audio devices show up but the default sound card is available.

    The TV works with HDMI audio. I do not know if the machine has ever output audio through HDMI previously, but I think so. It used to be running Windows Server 2008.

    Don’t know what else to try now.

    Reply

Submit 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 class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">