Personal tools
You are here: Home Team Members Dave Riches Configuring an nVidia Card and Kernel Modules - mesa-dri-drivers-experimental

Configuring an nVidia Card and Kernel Modules - mesa-dri-drivers-experimental

by Dave Riches last modified Dec 22, 2010 03:47 PM
— filed under:

New in Fedora 13 is nouveau 3D support, it is preferable to try the experimental drivers before installing kmod-nvidia. This howto discusses the installation and configuration of mesa-dri-drivers-experimental in conjunction with nouveau

Applicable to Fedora Versions

Requirements

  1. Fedora 13 or 14

Doing the Work

 

1. Check to see what kernel module you are using:

rpm -qa \*kmod-nvidia\*

If a result is returned, you have kmod-nvidia installed, you should continue with step 2, otherwise you can skip and go straight to step 7. 

2. Remove kmod-nvidia (Skip this step if you do not have kmod-nvidia installed)

su -c "rpm -qa \*kmod-nvidia\* | xargs yum -y remove"

3. Remove any rdblacklist from /boot/grub/grub.conf

su -c "sed -i 's/rdblacklist=nouveau//g' /boot/grub/grub.conf"

 4. Backup initramfs

su -c 'mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nvidia.img'

 5. Commit changes to initramfs

su -c 'dracut /boot/initramfs-$(uname -r).img $(uname -r)'

 6. Backup xorg.conf

su -c 'mv /etc/X11/xorg.conf /etc/X11/xorg.conf.nvidia'
7. Install mesa-dri-drivers-experimental
su -c "yum install mesa-dri-drivers-experimental"

 8. Reboot the machine

Troubleshooting

How to test


  1. Run the following command in a terminal
  2. glxinfo | grep -q "Gallium" && echo "Hardware 3D" || echo "Software 3D"

    If successful, you should get:

    Hardware 3D

     

Common problems and fixes


None found as yet, if you encounter any problems, please come and ask in #fedora (freenode), with the following fpaste (may need installing) results:
(rpm -qa *\kmod-nvidia\* ; lsmod ; ls -lh /boot ; lspci | grep VGA ; glxinfo | grep render ; cat /var/log/Xorg.0.log ;) | fpaste

If you are still encountering problems, try the kmod-nvidia package at http://fedorasolved.org/video-solutions/nvidia-yum-kmod

More Information

Disclaimer

We test this stuff on our own machines, really we do. But you may run into problems, if you do, come to #fedora on irc.freenode.net

Document Actions
Log in


Forgot your password?
New user?