Nvidia, sucks – issues related with the official GPU driver and CUDA on Linux (Fedora 18)

Nvidia, you SUCK! If you are planning to install the latest official GPU driver for your latest Linux, which means most probably you wanna try CUDA, then please BE WARE! I had installed the 310.xx version of Nvidia Linux driver, which would cause the system hang after image loading if the kernel > 3.7.8. The more frustrating thing is the CUDA’s tight dependency on version of kernel, gcc and glibc. Finally, I have removed the Nvidia’s driver and come back to Nouveau, which is an open source Nvidia driver for Linux and supports the latest kernel (3.7.9-205) smoothly! Again, Nvidia, you SUCK!

0. If CUDA is your target, make sure your GPU card is capable for it.

1. If you really wanna install Nvidia’s GPU driver…
vi /etc/default/grub
old stuffs: GRUB_CMDLINE_LINUX="....quiet rhgb"
after changes: GRUB_CMDLINE_LINUX="quiet rhgb rdblacklist=nouveau nouveau.modeset=0"
grub2-mkconfig -o /boot/grub2/grub.cfg
init 3

2. Even you have that driver bitch installed, you are NOT gonna succeed in CUDA…

**  The CUDA development environment relies on tight integration with the host 
development environment, including the host compiler and C runtime libraries, and is 
therefore only supported on distribution versions that have been qualified for this 
CUDA Toolkit release. 

**  Distributions Currently Supported  

    Distribution       32 64  Kernel                 GCC         GLIBC        
    -----------------  -- --  ---------------------  ----------  -------------
    Fedora 16          X  X   3.1.0-7.fc16           4.6.2       2.14.90      
    ICC Compiler 12.1     X                                                   
    OpenSUSE 12.1         X   3.1.0-1.2-desktop      4.6.2       2.14.1       
    Red Hat RHEL 6.x      X   2.6.32-131.0.15.el6    4.4.5       2.12         
    Red Hat RHEL 5.5+     X   2.6.18-238.el5         4.1.2       2.5          
    SUSE SLES 11 SP2      X   3.0.13-0.27-pae        4.3.4       2.11.3       
    SUSE SLES 11.1     X  X      4.3.4       2.11.1       
    Ubuntu 11.10       X  X   3.0.0-19-generic-pae   4.6.1       2.13         
    Ubuntu 10.04       X  X   2.6.35-23-generic      4.4.5       2.12.1       

**  Distributions No Longer Supported 

    Distribution       32 64  Kernel                 GCC         GLIBC        
    -----------------  -- --  ---------------------  ----------  -------------
    Fedora 14          X  X            4.5.1       2.12.90      
    ICC Compiler 11.1     X                                                   
    OpenSUSE 11.2      X  X           4.4.1       2.10.1       
    Red Hat RHEL 6.x   X      2.6.32-131.0.15.el6    4.4.5       2.12         
    Red Hat RHEL 5.5+  X      2.6.18-238.el5         4.1.2       2.5          
    Ubuntu 11.04       X  X   2.6.38-8-generic       4.5.2       2.13

3. Yep, sweet, time to remove that Nvidia bitch and back to Nouveau!
Recall the changes within the /etc/default/grub and grub2-mkconfig again and then reboot

About daveti

Interested in kernel hacking, compilers, machine learning and guitars.
This entry was posted in Linux Distro and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.