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

lspci |grep -i VGA
## Example output ##
01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce G210] (rev a2)

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:

00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation GF106 [GeForce GT 555M SDDR3] (rev a1)

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

su -
## OR ##
sudo -i

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

If not then update kernel and reboot

yum update kernel* selinux-policy*

2.3 Add RPMFusion Repositories (Free and Non-Free)

32-bit and 64-bit

yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm
## OR ##
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm
yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm

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.


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

Extra package for kernel-PAE users

yum install kernel-PAE-devel



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


kmod-nvidia-PAE and kernel-PAE-devel

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

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).

yum install vdpauinfo libva-vdpau-driver libva-utils

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

su -
## OR ##
sudo -i

3.2 Uninstall nVidia Driver Packages

yum remove xorg-x11-drv-nvidia\* nvidia-settings nvidia-xconfig

3.4 Then Reboot System

Follow If Not True Then False Updates!


  1. I noticed that you didn’t do the

    mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
    dracut /boot/initramfs-$(uname -r).img $(uname -r)

    that you did with f17. Doesnt this keep the nouveau driver?

    • Hi Patrick,

      Yes, nouveau driver is not removed, because based on my tests, this is “step” not needed anymore. RPMFusion nvidia drivers disable nouveau driver nicely. If you have some problems and you can’t get rid of nouveau (still loading on boot), then you can do:

      mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
      dracut /boot/initramfs-$(uname -r).img $(uname -r)
      • I got the same issue but I searched and all the findings advice to do this command but I couldn’t find a way to do it.
        How to run this ?
        I mean I can’t login into the terminal plus the fedora is not running at all !!

  2. i run an nvidia8400 with an acer aspire desktop, which utilizes nv-card hd output. if anyone has issues with the desktop refusing to display the actual monitor’s resolution, do ~#: nvidia-xconfig then edit /etc/X11/xorg.conf Display Sub-Section Modes “1360×768″ ##insert your values here(example). as usual,
    You Rock, dude!

    • Hi dfowensby,

      And thanks for this info! :)

  3. Hi, I followed this guide but I can’t get a 1360×768 resolution (maybe the dfowensby’s comment is the solution, but I don’t understand it n_nU).

    $ lspci | grep -i
    01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

    Any ideas?

    • Hi Shiro,

      Add inside Section “screen”:

         SubSection     "Display"
              Depth       24
              Modes      "1360x768" "1280x768" "1024x768" "800x600" "640x480"

      Or just:

         SubSection     "Display"
              Depth       24
              Modes      "1360x768"
      • Heh, thanks! My fedora now looks better :D

        • Excellent! :D

  4. Thanks for your help and your work ! It was a great help for me !


  5. I used this instructions for my ASUS K53SM, nVdia GeForce GT 630M. now the X Server is not loading.. :(. Please help. Is my card usng Optimus Technology, and is it whether i dint do for that particular Technlology?

    • Hi Sirajul,

      Could you post output of following command:

      lspci |grep -i VGA
  6. Hi JR,

    I followed your guide and nvidia driver works quite perfectly on MacBook Pro 5,5rev, although I don’t have LCD backlight control anymore. Once with nouveau BL control was working out of the box like it does on macosx (continuous dimmer and all). But after akmod-nvidia-1:304 not even a get my link to brightness settings on /sys/class/backlight. There is nothing there! Well my system settings are

    # uname -r
    # lspci | grep -i vga
    02:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)

    • Hi GaboVaz,

      Try to add Option “RegistryDwords” “EnableBrightnessControl=1″ to /etc/X11/xorg.conf:

      Section "Device"
      Identifier "Videocard0"
      Driver "nvidia"
      Option "RegistryDwords" "EnableBrightnessControl=1"EndSection
      • I tryed that first time I installed the kmod package, and it didn’t changed much. I don’t if there is another step after changing xorg entries. So I uninstalled it completely cuz I’m trying to use nouveau again, but it keeps randomly freezing).
        I was read to try again kmod-nvidia but fedora automatically installed latest kernel version this morning..

        Guessing I have to wait for compatible kmod-nvidia..or is it safe to install:
        kmod-nvidia-3.7.8-202.fc18.x86_64-304.64-6.fc18.2.x86_64.rpm ??

        Anyway, guess u noticed I’m really noob at fedora..

        Thanks a lot anyway!!

        • Actually you can use akmod instead kmod and then you shouldn’t have problems when you update kernel and there is not matching kmod yet.

          But if you tested this on xorg.conf, then it’s possible that this is not working on MacBook Pro.

          Next you can try modify your kernel entry on Grub2 (when you boot) and add acpi_osi=Linux acpi_backlight=vendor on linux line, like following:

          linux   /vmlinuz-3.7.9-201.fc18.x86_64 ... LANG=en_US.UTF-8 acpi_osi=Linux acpi_backlight=vendor

          Then just boot and test is backlight control working then?

  7. Hello what version of nvidia drivers it install with the lastest ? thx

    • Hi alazldl,

      Latest packages from rpmfusion repos are:

  8. I followed your guide (as I have for previous Fedora Releases) and all seemed to go well on reboot. However I get the graphical background, but no interface (still new to Linux and Fedora, sorry about the terminology). The mouse works, I get the little ripple if I move it to the top left, but no menus top or bottom or sides. It’s as if I am zoomed in on the middle of the screen and cannot get to the edges. I can get to a text terminal (cntr-alt-Fx) and the text looks perfect (with nouveau, it was scrambled video). Not sure how to fix this. It is on my laptop, HP dv6000 with an Nvidia Geforce/Nforce 7150m/630m. I feel like I am so close since the video seems to be working but I just don’t have the “interface” part of the gui. Thank you in advance. (Oh, and uninstalling works just fine but I am back to nouveau with so-so graphics, slow, and scrambled text video in terminals.


    • Hi Cash,

      Could you tell little bit more what desktop you are using? Did it work with nouveau drivers, were you able to log in?

      • Yes, the desktop is GNOME, Fedora 18 fresh install. No customizations except trying to load the nvidia driver (where I start since it is the most tricky for me). The desktop works fine (icons, top and side menus, shortcuts etc) with nouveau but it is lower resolution, brightness, and slower than what I expect from the nvidia drivers. I have a desktop running Fedora 16 with the nvidia drivers and it was a huge performance difference on that machine. This is a laptop (HP DV6000) with AMD/Nvidia 7150m/630m chipset. Like I said the nvidia driver loads, it boots, no errors noticed except I just have a full screen with the background (blue with bubbles I think) which looks great, but I can’t get to anything as there are no dropdown menus, side quicklaunch bar, or anything. I don’t know any keyboard shortcuts to get to a windowed command prompt or anything to try and run something from within the gui to try to change resolution or test anything. I can use cntrl-alt-Fx) to get to a full screen text terminal and everything seems great there (the text looks perfect, where on nouveau it was scrambled). At a loss here as to what is going wrong. Thank you for all that you do and help here for us nubes.

        • This sounds some kind of bug, one thing what you could try first, is update your system and try again. First change another virtual console and log in as root, then:

          yum update

          Select newest kernel and see what happens then?

          • Unfortunately there was no difference. Updated everything and still get the background with no GUI interface. I’m stumped on this. May try going through the hassle of installing the Nvidia proprietary drivers and see if they work. But not really looking forward to that in the long run.


  9. I have been running fc17 and a recent s/w update has disabled my login. See following for details:

    Unfortunately they are now calling this a BUG with fc17.

    My question is; should I just go ahead and install Fedora 18 ?


    • Hi JValeck,

      I checked that thread and looks like you got this partially resolved, but Fedora 18 is of course nice option.

    • Just installed fc18 and followed the instructions on this page for installing the nvidia drivers.

      All looks great ! :-)

      I copied all the terminal commands and system responses to a text file if anyone should require that kind of detail.


  10. On Fedora 18, I use GTS 450. Il follow your process three days ago, and everything was right. There was this morning a new update of kmod-nvidia-3.7.9-201 for 304.64 driver and I made the upgrade, since the sound disappears. In sound settings I have only fake/dummy ouput (‘sortie factice’ in french language). After several hours of turn aroound, I give up, some help please


    • Hi Marcel,

      Did you updated any other packages, than kmod-nvidia?

      Is it working if you boot with older kernel?

      • Hello JR,
        I come back with good news …
        Of course I try with old built kernel. the Current one is 3.7.9
        I tried with 3.7.8 no differences it didn’t work
        With 3.7.7 it hangs and didn’t start
        After this failure I restart with 3.7.9 I have sound and CUDA GTS 450 was Ok! but a systematic conflict appears with udisks2-2.0.1
        So I authorize access to Fedora rawhide and I install fedora 19 / udisks2-2.0.91 . I restart twice eveything seems OK! Chopin and the old swedish Abba group are back
        But once more thank for your help for Nvidia Install
        Thank for your interest and your time … I will make a follow-up!

        • Hello Marcel,

          You are welcome! Excellent to hear that you got it working and thanks for sharing this info, what happened.

  11. Much appreciated JR, as always. Is there a possibility to reactivate the graphical boot-loader?

    And another question a little off topic here. I can’t get the audio via HDMI to work. I am running F18 KDE and set the master audio channel to HDA NVidia HDMI, but it doesn’t work.

    Thanks in advance.

    • Hi milo,

      Try following to restore graphical boot-loader,

      open /etc/default/grub add splash to GRUB_CMDLINE_LINUX row.

      Then run:

      grub2-mkconfig -o /boot/grub2/grub.cfg


      Audio via HDMI might be more complicated.

      Could you tell more specific which nVidia card you have?

      Example output of:

      lspci |grep -i VGA
      • Thanks, that certainly gave me back graphical boot … BUT :D at the end of boot I get this plymouth error, which says:

        “Failed to start Wait for Plymouth Boot Screen to Quit”

        And it stays there indefinitely. No chance of doing anything. With CTRL+ALT+F2 I can login as root, but I haven’t found a solution to this problem… should have just accepted the ugly boot… :D

        • Look the other posts made by me. splash didnt work for me too but other methods worked.

  12. is possible to use the nice fedora bootsplash with nvidia driver on fedora 18 too?

    • Hi Rafael,

      Try following,

      open /etc/default/grub add splash to GRUB_CMDLINE_LINUX row.

      Then run:

      grub2-mkconfig -o /boot/grub2/grub.cfg


      • I made some modifications on GRUB_CMDLINE_LINUX to add “acpi_osi=Linux”, so my brighness control works. And I couldnt boot anymore. I needed to uninstall nvidia driver and install again to work. Is safe to just add splash?

        • Could you tell more specific what happened when you try to boot your system with acpi_osi=Linux?

          You can always test/modify these parameters directly from Grub2. Here is guide howto modify Grub2 entry, change runlevel to splash.

          • linux loaded up, but X doesnt start. I could unsintall nvidia driver changing to other console (ctrl+alt+numberOfTerminal), so system isnt freezed.

          • I add splash editing grub on bootup (pressing e) and but it doesnt work. It always complain about gfxpayload should be set as


            if you need more details or my explanations were confusing, I would be happy to help.

            • Check Arch wiki for more information, howto set framebuffer resolution (gfxpayload).

              You can also set this modifying Grub2 entry, if you want just test it.

              • Thanks.

                I could use a nice bootsplash adding to /etc/default/grub


                then run

                grub2-mkconfig -o /boot/grub2/grub.cfg

                to choose proper resolution, on grub cmd run vbeinfo and grab the closest to your monitor native resolution.

                • Hi Rafael,

                  Nice to hear that you got it working with setting gfxmode and gfxpayload.

  13. If anyone cant adjust screen brightness. I could fix it doing this steps BEFORE installing nvidia driver. Doing it after doesnt work.

    in /etc/default/grub add to GRUB_CMDLINE_LINUX


    and later do

    grub2-mkconfig -o /boot/grub2/grub.cfg

    than reboot.

    After that you can see that nouveau brightness control is working fine.
    So install nvidia driver and after that add to /etc/X11/xorg.conf

    Option "RegistryDwords" "EnableBrightnessControl=1"

    and reboot.

  14. Thanks a lot… This solved my issue with gnome-shell taking up to 200% cpu.

    Laptop: Dell Precision M6700
    Graphics card: NVIDIA Corporation GK104 [Quadro K4000M]
    Kernel: 3.7.9-205.fc18.i686

    • Thanks Jette,

      You are welcome! It’s always nice to hear computer and graphics card model, when you get drivers installed and working. :)

  15. Hey, thanks for this guide.

    I have followed these instructions and once I reboot I just get a blank screen. It works again after I remove the nvidia drivers and revert back to nouveau drivers.

    lspci |grep -i VGA

    Outputs :

    01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570 HD] (rev a1)

    Using akmod driver, with no PAE kernel.

    Kernel : 3.8.2-206.fc18.x86_64

    Hope you can help :)

    • Hi Andrei,

      Could you post output of following command when you have booted using nVidia drivers:

      uname -a
      lsmod |grep -e nouv -e nvidia
      rpm -qa \*nvidia\* kenrel\* |sort
  16. 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
    NVIDIA Corporation G80 [GeForce 8800 GTS] (rev a2)

    • Hi patrick,

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

      • 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.

        • 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

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

  17. 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)

    • 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. :)

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

  19. 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


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

    What can I try next?

    • Hi Mark,

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

      modprobe nvidia

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

      lsmod | grep -e nouv -e nvidia
      • 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
        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.

        • 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. :)

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

  21. 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 ?

  22. Sorry i meant GT540 in this laptop.

    • Hi odysiuss,

      Could you post output of following commands:

      lspci |grep -i VGA
      uname -a
      lsmod |grep -e nouv -e nvidia
      rpm -qa \*nvidia\* kenrel\* |sort
      • 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

        core i7
        ram 8gb
        nvidia geforce GT525

        thanks a lot

        sorry my english is bad

  23. 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:

    lspci |grep -i VGA
    lsmod | grep -e nouv -e nvidia

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


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

    • Hi Luis Klar,

      Yes this should work with Geforce 610m card too.

  25. 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 :

    yum install xorg-x11-drv-nvidia-libs.i686

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


  26. 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
    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 :(

    • 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 :)

  27. 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.

  28. Hi

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

    Output of # lspci | grep VGA:

    01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9500 GT] (rev a1)

    Does not give me any HDMI audio devices listed.

    Output of # lsmod | grep nvidia

    nvidia 10681847 40
    nvidiafb 42032 0
    fb_ddc 1631 1 nvidiafb
    i2c_algo_bit 5935 1 nvidiafb
    vgastate 9157 1 nvidiafb
    i2c_core 31084 5 i2c_i801,nvidia,nvidiafb,fb_ddc,i2c_algo_bit

    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.

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>