Google Plus

How to install nVIDIA and AMD drivers in Fedora 17

Written by Panos Georgiadis on . Posted in Fedora, Hardware Linux

Enough with Ubuntu craziness around these days, so I think it’s time to say something different about other distros. My favorite second distribution is Fedora, and that’s this article is all about. In a matter of fact it is a complete tutorial that guides you step-by-step how to install your proprietary drivers, either nVIDIA or AMD.

So let’s talk Fedorian . . .

 

nVIDIA Drivers section

First off you need to verify that your GPU is supported by the new nVIDIA Unified Driver. So please check if your card’s in the list. Supposing your graphics card is officially supported, then proceed:

STEP 1: Update your kernel and reboot

su
yum update kernel\* selinux-policy\*
reboot

or, in case you use PAE kernel:

su
yum install kernel-PAE-devel

STEP 2: After restarting your PC, install the drivers using akmod. Using this method you won’t have problems when a new kernel is released.

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i686

or, in case you use PAE kernel:

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-PAE

Some of you might have old hardware, such as an old nVIDIA Geforce FX, GeForce 4 Ti or MX, GeForce 3 Ti etc. Otherwise, skip to STEP 3 and ignore the rest of the STEP 2.

if you have an old GeForce FX model

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia-173xx xorg-x11-drv-nvidia-173xx-libs.i686

or, in case you use PAE kernel:

yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-173xx-PAE

if you have a very old GeForce 4 or even older

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-nvidia-96xx xorg-x11-drv-nvidia-96xx-libs.i686

or, in case you use PAE kernel:

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-nvidia-96xx-PAE xorg-x11-drv-nvidia-96xx-libs.i686

STEP 3: Remove Open Source driver (aka nouveau)

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

STEP 4: Reboot

By the way, notice that if you have both embedded and discrete graphics card, you have to use Bumblebee Project in order to enable GPU switching (like nVIDIA Optimus).

AMD Radeon HD drivers section

STEP 1: First off, make sure your card’s supported by AMD Catalyst Proprietary Driver. In case you have a Radeon HD4000, Radeon HD3000 or Radeon HD3000 you have to wait, because currently there is no support for Legacy AMD Driver.

According to AMD’s press release:

AMD has moved to the AMD Radeon™ HD 4000, AMD Radeon HD 3000, and AMD Radeon HD 2000 Series new driver support model.  These updates will focus on resolving application specific issues and critical updates. The reason for the shift in support policy is largely due to the fact that the AMD Radeon HD 4000, AMD Radeon HD 3000, and AMD Radeon HD 2000 Series have been optimized to their maximum potential from a performance and feature perspective.

So guys, if you own one of them . . . .

AMD Radeon HD 4000 Series
AMD Radeon HD 3000 Series
AMD Radeon HD 2000 Series
AMD Radeon HD Series AGP
AMD Mobility Radeon HD 4000 Series
AMD Mobility Radeon HD 3000 Series
AMD Mobility Radeon HD 2000 Series

. . . you have no support yet, because AMD Legacy Driver is incompatible with X-Server 1.13. Thus you need to downgrade down to X-Server 1.12 in order to use Legacy driver. So, just stay with the Open Source Radeon drivers and don’t install any proprietary yet until they fix it.

Anyway, for the rest and lucky ones, here it is the next step.

STEP 2: In case you already installed this driver using the binary package provided by AMD-ATI, you must un-install it, then repair Mesa:

su
yum reinstall mesa-libGL
su
yum update kernel

or, in case you use PAE kernel:

su
yum install kernel-PAE-devel

STEP 3: Install RPM Fusion driver using akmod. Using this method you won’t have problems when a new kernel is released.

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install akmod-catalyst xorg-x11-drv-catalyst xorg-x11-drv-catalyst-libs.i686

or, in case you use PAE kernel:

su
yum --nogpgcheck install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install kmod-catalyst-PAE xorg-x11-drv-catalyst-libs.i686 xorg-x11-drv-catalyst

STEP 4: Remove open source drivers (aka Radeon) from initramfs

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

STEP 5: Reboot

In case you want to enable GPU Switching, take a look at PowerXpress via Catalyst Control Center. PowerXpress is a part of ATI Hybrid Graphics and allows seamless switching between integrated graphics and discrete graphics for notebooks. It’s designed to increase battery life for notebooks while still delivering maximum graphics performance when on AC power.

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Panos Georgiadis

Panos is studying Control Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites. In his free time, he plays guitar and drinks beer with friends. Contact: drpaneas (at) gmail (dot) com
  • diannagara

    hi, nice to know unixmen wrote articles other than ubuntu distro :)
    FYI, for you how use laptop with optimus technology inside, just read this excelent blog https://duxyng.wordpress.com/2012/01/26/finally-working-nvidia-optimus-on-fedora-16/ to know how to make you nvidia graphic card work on your laptop. chers.

  • Side-Show-K

    amazing .. the first time i have nvidia driver installed . many thanks . i will try this method on the old laptop .

  • Ruben

    Hi, thanx. Something is missing tho, i have a GeForce FX and it is still not loading during boot :-( what did i do wron!?!?!?

  • Kadaj

    Perfect, it works for my Geforce GT 555M. I got this error at step 2:
    “GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-18-x86_64″
    but this fixed it:
    “yum –nogpgcheck update *release*”
    Many thanks for the install guide :-)

  • http://www.yourcyberguide.com/ divyansh

    is amd 7650 HD radeon supported on fedora 18 ?

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Pat L

|

I tried it and it works with a regular zip file, but if you password-protect the .zip file it does NOT work.

SK

|

Yes we can. What kind of help you need? We are doing outsourcing and technical support for Linux and Open source worldwide. To know more about the details visit here.

ClintB

|

After install as above, run shell script /opt/Citrix/ICAClient/wfica.sh manually and note lib errors still occur. I had the x64 motif loaded but had to manually install the x86 too. Got that from http://rpmfind.net/linux/rpm2html/search.php?query=libXm.so.4 Even after that, I still had to do a “yum install alsa-lib.i686 alsa-lib.x86_64″ to resolve any additional libasound.so.2 errors. Once those two lib issues were resolved, Citix Web Interface launched apps fine by telling browser to open launch.ica using /opt/Citrix/ICAClient/wfica.sh. Good luck Ernesto!

AD

|

I need some Help on Linux,can you guide me ?

Edson Carlos

|

In debian no found. I need link download install in linux debian

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .