Edit Info Other
Login

NVIDIA"

Differences between revisions 8 and 10 (spanning 2 versions)
Revision 8 as of 2009-11-03 21:40:54
Size: 4656
Comment: Add F12 specific steps for fixing the initrd
Revision 10 as of 2009-11-22 06:25:34
Size: 5274
Editor: MattGillen
Comment: Add option for easier way to disable nouveau
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
Line 12: Line 13:
== Installing the drivers ==
=== Fedora 10 and 11 ===
Please remember that once the drivers are installed, they will configure your xorg.conf automatically and changes will take effect after a full reboot. There is no need to run nvidia-xconfig or other tools.

==== GeForce 6 and higher ====
{{{
yum install kmod-nvidia-PAE (or kmod-nvidia if not using kernel-PAE)
}}}
==== GeForce 5 (FX series) ====
{{{
yum install kmod-nvidia-173xx
}}}
==== GeForce 2 through GeForce 4 ====
{{{
yum install kmod-nvidia-96xx
}}}
==== Older ====
Unfortunately, nVidia has not yet released a 71.xx legacy driver compatible with Fedora 10.
Line 32: Line 15:
=== Fedora 8 and 9 ===
==== GeForce 6 and higher ====
== Fedora version notes ==
<<Anchor(fedora_version_notes)>>
=== Fedora 12 ===
Note: nVidia currently doesn't support cards older than Geforce6 on the xorg-x11-server used by Fedora 12.
Please verify that the nouveau driver will fit your needs while upgrading.

In order to keep [[#nouveau|compatibility with nouveau]], you either need to recreate the initrd manually after the driver has been installed, or add a command line option to the kernel. To recreate the initrd:
Line 35: Line 23:
yum install kmod-nvidia su -
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
Line 37: Line 27:
==== GeForce 5 (FX series) ==== To use the default initrd, but disable the nouveau driver, edit /etc/grub.conf and add the following to the end of the line(s) starting with 'kernel':
Line 39: Line 29:
yum install kmod-nvidia-173xx
}}}
==== GeForce 2 through GeForce 4 ====
{{{
yum install kmod-nvidia-96xx
}}}
==== Older ====
{{{
yum install kmod-nvidia-legacy
  rdblacklist=nouveau
Line 50: Line 32:
=== Special notes ===
==== x86_64 (64bit) users ====
If you wish to have 3D acceleration in 32bit packages such as Wine, be sure to install the xorg-x11-drv-nvidia-libs.i386 package for your driver variant. For example, if you installed kmod-nvidia then you will require xorg-x11-drv-nvidia-libs.i386, but if you install kmod-nvidia-'''96xx''', you will need xorg-x11-drv-nvidia-'''96xx'''-libs.i386.
==== PAE (Physical Address Extension) kernel users ====
If you are on a 32bit (i686) system and have the PAE kernel installed to access more RAM, please append '''-PAE''' to all the "kmod" pacakges above. For example, '''kmod-nvidia-PAE''' or '''kmod-nvidia-96xx-PAE'''. This will install the kernel module for the PAE kernel instead of the regular 32bit kernel. Please note that this step is not required for any 64bit (x64_64) users.
Before using the driver, you need to lower your system protection so SElinux doesn't prevent the driver to load.
{{{
setsebool -P allow_execstack on
}}}
Line 56: Line 37:
==== Akmods ====
An [[Package/akmod|akmod]] is a new type of package similar to dkms. As you start your computer, the akmod system will check if there are any missing kmods and if so, rebuild a new kmod for you. Akmods have more overhead than regular kmod packages as they require a few development tools such as gcc and automake in order to be able to build new kmods locally. If you think you'd like to try akmods, simply replace '''kmod''' with '''akmod''' in the instructions above and run them again. For example, kmod-nvidia-96xx becomes '''a'''kmod-nvidia-96xx. Akmods are fully compatible with regular kmods, so you can switch between the two or even use both at once without any problems.

==== Nouveau compatibility ====
As nouveau is enabled by default starting with Fedora 11, you may experience problem which is caused by the nouveau kernel module being present in the initrd image. To avoid such problem, after you have installed the right series of the nvidia driver for your hardware, execute the following commands:

'''Fedora 11'''
{{{
=== Fedora 11 ===
In order to keep [[#nouveau|compatibility with nouveau]], you need to recreate the initrd manually after the driver has been installed.
{{{
Line 70: Line 46:
'''Fedora 12'''
{{{
su -
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
reboot
=== Fedora 10 ===
Unfortunately, nVidia has not released a driver for card older than Geforce 2 that is compatible with Fedora 10 and beyond.



== Installing the drivers ==
Please remember that once the driver is installed, it will configure your xorg.conf automatically and changes will take effect after a full reboot on the newest kernel. Using nvidia-xconfig or nvidia-settings before the reboot will garanty you problems.

=== GeForce 6 and newer ===
{{{
yum install kmod-nvidia-PAE (or kmod-nvidia if not using kernel-PAE)
Line 77: Line 58:

=== GeForce 5 (FX series) ===
{{{
yum install kmod-nvidia-173xx
}}}
=== GeForce 2 through GeForce 4 ===
{{{
yum install kmod-nvidia-96xx
}}}
=== Older ===
For Fedora 9 and older, you can do:
{{{
yum install kmod-nvidia-legacy
}}}


== Special notes ==
=== x86_64 (64bit) users ===
If you wish to have 3D acceleration in 32bit packages such as Wine, be sure to install the xorg-x11-drv-nvidia-libs.i386 package for your driver variant. For example, if you installed kmod-nvidia then you will require xorg-x11-drv-nvidia-libs.i386, but if you install kmod-nvidia-'''96xx''', you will need xorg-x11-drv-nvidia-'''96xx'''-libs.i386.
=== PAE (Physical Address Extension) kernel users ===
If you are on a 32bit (i686) system and have the PAE kernel installed to access more RAM, please append '''-PAE''' to all the "kmod" pacakges above. For example, '''kmod-nvidia-PAE''' or '''kmod-nvidia-96xx-PAE'''. This will install the kernel module for the PAE kernel instead of the regular 32bit kernel. Please note that this step is not required for any 64bit (x64_64) users.

=== Akmods ===
An [[Packaging/KernelModules/Akmods|akmod]] is a type of package similar to dkms. As you start your computer, the akmod system will check if there are any missing kmods and if so, rebuild a new kmod for you. Akmods have more overhead than regular kmod packages as they require a few development tools such as gcc and automake in order to be able to build new kmods locally. If you think you'd like to try akmods, simply replace '''kmod''' with '''akmod''' in the instructions above and run them again. For example, kmod-nvidia-96xx becomes '''a'''kmod-nvidia-96xx. Akmods are fully compatible with regular kmods, so you can switch between the two or even use both at once without any problems.

=== Nouveau compatibility ===
<<Anchor(nouveau)>>
As nouveau is enabled by default starting with Fedora 11, you may experience problem which is caused by the nouveau kernel module being present in the initrd image. To avoid such problem, after you have installed the right series of the nvidia driver for your hardware and execute the [[#fedora_version_notes|commands specifics]] for a given Fedora version:
Line 82: Line 91:

==== Race condition with drivers 180.xx and 185.xx ====
If you've experienced hangs with these version, you should consider to add this line to the device section of the xorg.conf file:
{{{
 Option "ConstantFrameRateHint" "True"
}}}
This problem was initilialy reported in our bugzilla as [[http://bugzilla.rpmfusion.org/show_bug.cgi?id=671|potential race condition(?) in binary nvidia 180.xx and 185.xx drivers]]. This will probably be added as a default option unless fixed in a future nvidia driver release.
Line 100: Line 102:
== Bug Report ==
If you still cannot make the driver to work, you can either report a problem to nVidia or to rpmfusion packager team.
Please read: [[http://www.nvnews.net/vbulletin/showthread.php?t=46678|How to report a problem about the nVidia proprietary driver]]

About this Howto

This howto will help you install the correct nVidia driver for your graphics card as well as troubleshoot common driver problems.

Determining your card model

nVidia has several driver series, each of which has different hardware support. To determine which driver you need to install, you'll first need to find your graphics card model.

If you don't know it, open a Terminal (Applications > System Tools > Terminal) and type:

/sbin/lspci | grep VGA

Fedora version notes

Fedora 12

Note: nVidia currently doesn't support cards older than Geforce6 on the xorg-x11-server used by Fedora 12. Please verify that the nouveau driver will fit your needs while upgrading.

In order to keep compatibility with nouveau, you either need to recreate the initrd manually after the driver has been installed, or add a command line option to the kernel. To recreate the initrd:

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

To use the default initrd, but disable the nouveau driver, edit /etc/grub.conf and add the following to the end of the line(s) starting with 'kernel':

  rdblacklist=nouveau

Before using the driver, you need to lower your system protection so SElinux doesn't prevent the driver to load.

setsebool -P allow_execstack on

Fedora 11

In order to keep compatibility with nouveau, you need to recreate the initrd manually after the driver has been installed.

su - 
mv /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r)-nouveau.img
mkinitrd /boot/initrd-$(uname -r).img $(uname -r)
reboot

Fedora 10

Unfortunately, nVidia has not released a driver for card older than Geforce 2 that is compatible with Fedora 10 and beyond.

Installing the drivers

Please remember that once the driver is installed, it will configure your xorg.conf automatically and changes will take effect after a full reboot on the newest kernel. Using nvidia-xconfig or nvidia-settings before the reboot will garanty you problems.

GeForce 6 and newer

yum install kmod-nvidia-PAE (or kmod-nvidia if not using kernel-PAE)

GeForce 5 (FX series)

yum install kmod-nvidia-173xx

GeForce 2 through GeForce 4

yum install kmod-nvidia-96xx

Older

For Fedora 9 and older, you can do:

yum install kmod-nvidia-legacy

Special notes

x86_64 (64bit) users

If you wish to have 3D acceleration in 32bit packages such as Wine, be sure to install the xorg-x11-drv-nvidia-libs.i386 package for your driver variant. For example, if you installed kmod-nvidia then you will require xorg-x11-drv-nvidia-libs.i386, but if you install kmod-nvidia-96xx, you will need xorg-x11-drv-nvidia-96xx-libs.i386.

PAE (Physical Address Extension) kernel users

If you are on a 32bit (i686) system and have the PAE kernel installed to access more RAM, please append -PAE to all the "kmod" pacakges above. For example, kmod-nvidia-PAE or kmod-nvidia-96xx-PAE. This will install the kernel module for the PAE kernel instead of the regular 32bit kernel. Please note that this step is not required for any 64bit (x64_64) users.

Akmods

An akmod is a type of package similar to dkms. As you start your computer, the akmod system will check if there are any missing kmods and if so, rebuild a new kmod for you. Akmods have more overhead than regular kmod packages as they require a few development tools such as gcc and automake in order to be able to build new kmods locally. If you think you'd like to try akmods, simply replace kmod with akmod in the instructions above and run them again. For example, kmod-nvidia-96xx becomes akmod-nvidia-96xx. Akmods are fully compatible with regular kmods, so you can switch between the two or even use both at once without any problems.

Nouveau compatibility

As nouveau is enabled by default starting with Fedora 11, you may experience problem which is caused by the nouveau kernel module being present in the initrd image. To avoid such problem, after you have installed the right series of the nvidia driver for your hardware and execute the commands specifics for a given Fedora version:

After the reboot, this command should not output anything:

lsmod |grep nouveau

Troubleshooting

If you're experiencing problems with the drivers (in particular, lack of 3D after using nvidia-xconfig or nvidia-settings), try executing these commands:

nvidia-config-display disable
nvidia-config-display enable

This will re-configure xorg.conf for use with the RPM Fusion drivers.

Bug Report

If you still cannot make the driver to work, you can either report a problem to nVidia or to rpmfusion packager team. Please read: How to report a problem about the nVidia proprietary driver


CategoryHowto

Howto/NVIDIA (last edited 2024-04-14 22:17:36 by Sérgio Basto)