Ask Your Question
1

F18 how to install nvidia drivers [closed]

asked 2013-01-29 05:12:25 -0500

Natherul gravatar image

Hey all, anyone got any guide on how to install Nvidia drivers for Fedora 18 to a linux newb?

(have a Nvidia Geforce GTX 260)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Natherul
close date 2013-05-17 18:43:52.470115

3 Answers

Sort by ยป oldest newest most voted
4

answered 2013-01-29 10:25:30 -0500

hhlp gravatar image

With a fresh install of Fedora, among the first things users do is install the appropriate drivers for your video card.

Checking if our nVidia graphics card is supported

Open a terminal and run the following command (the output looks similar to the example):

lspci |grep -i VGA

Example :

00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2)

Knowing the model of your graphics card nVidia should check if you are in the list of supported cards (check only those pertenescan to 6/7/8/9/200/300/400/500 GeForce series): nVidia.

Installing

  1. Root to login
su -
  1. update the kernel :
yum update kernel* selinux-policy*
  1. 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
  1. Install nVidia proprietary drivers

Read the following before continuing: To install the nVidia drivers from rpmfusion repositories there are three possible commands. You should run only one of them, but to know that it is important that you read the following information:

 **akmod** is a good choice and an easy way to avoid problems with kernel
 updates (this is the best option in my opinion)

 **kmod** save some disk space but will have problems with every kernel
 update and therefore you will have to reinstall the drivers with each new
 kernel.
**Kernel PAE (Physical Address Extension)**. If you're on a 32-bit
(i686) and have installed the PAE kernel to access more RAM. In that
case the termination is added to the packet-PAE "kmod". For example,
kmod-nvidia-PAE. This will install the kernel module for the PAE kernel
instead of the normal 32-bit kernel.

Note: if you are a member of a 32-bit (i686) and if you have 4GB of RAM or more, you probably have a PAE kernel, so you have two options: (1) using "akmod-nvidia" and install the additional package "kernel-PAE-devel", or (2) use "kmod-nvidia-PAE" next to "kernel-PAE-devel '. On the other hand if a member of a 64-bit (x86_64), kernel PAE is not your case, so just choose akmod or kmod.

a) Using akmod-nvidia (Kernel i386, i686 y x86_64)

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

Note : Install additional package ONLY if you use kernel-PAE (omit this if you are using Fedora 64-bit):

yum install kernel-PAE-devel

b) Using kmod-nvidia (Kernel i386, i686 y x86_64)

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

c) Using kmod-nvidia-PAE y kernel-PAE-devel

yum install kernel-PAE-devel kmod-nvidia-PAE
  1. Remove Nouveau from initramfs :

We ensure that the Nouveau driver is removed from initramfs, for it still runs as root and type the following two commands one by one:

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
  1. Configure xorg.conf

    nvidia-xconfig

  2. VDPAU/VAAPI support

To enable video acceleration ... (more)

edit flag offensive delete link more

Comments

1

There's one inaccuracy in this: you don't need to manually re-install kmod-nvidia for every new kernel. Most of the time, you get the new one at the same time as the kernel, but occasionally, there's a slight delay. Having akmod installed means that the first time you boot to a new kernel it creates the kmod for you so you don't have to worry. Personally, I have both; most of the time I get the new kmod with the kernel, but once in a while the akmod takes care of it for me.

sideburns gravatar imagesideburns ( 2013-01-29 15:53:34 -0500 )edit
1

this is for enable video acceleration in your player, for example in mplayer you have a way how to enable and setup vdpau support ., see preference -> video -> and select vdpau.. see also this link -> VDPAU

hhlp gravatar imagehhlp ( 2013-01-31 10:29:20 -0500 )edit

@Natherul , welcome to askfedora you should ask a new question about google chrome and provide all necessary information for example screen shot, you can also open a terminal and execute -> google-chrome and provide also this information. you have to check if you have a 64 bits or 32 bits you can check with open a terminal -> uname -r provide this to and add only the specific repo to your system.

hhlp gravatar imagehhlp ( 2013-02-08 05:54:22 -0500 )edit

@hhlp Any chance you can redo this guide and revert back to normal without any nvidia drivers, seems like that is preventing any type of graphics drawing at ALL?

Natherul gravatar imageNatherul ( 2013-03-21 09:49:07 -0500 )edit

nvidia-xconfig and reboot should probably be in code areas - I missed them the first time while skimming

ghost303 gravatar imageghost303 ( 2013-06-18 09:38:00 -0500 )edit
1

answered 2013-01-29 05:53:45 -0500

_nobody_ gravatar image

updated 2013-01-29 05:56:52 -0500

edit flag offensive delete link more
1

answered 2013-01-29 05:30:15 -0500

pyluyten gravatar image

updated 2013-01-29 05:54:06 -0500

Fedora does not include proprietary drivers since it's not open source. However if you really need these you might have a look at rpmfusion repository which offers this kind of packages.

rpmfusion actually handles two different sets: * packages which are still open source, but could not be included in main repository for some reason. * packages which are really not open source. Nvidia are included in rpmfusion non-free.

To enable these, visit http://rpmfusion.org/Configuration and click on the F18 links (or open a terminal and enter the suggested command line)

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2013-01-29 05:12:25 -0500

Seen: 28,535 times

Last updated: Jan 29 '13