During the weekend, I was so busy that I poured out a half-dead copy (broken) into Ubuntu10.04LTS. The first installation of NVIDIACUDA failed, but it was quite a hit. I followed the instructions on the Internet and installed CUDA on the first thing after the new installation and system update. For more information, see Ubuntu10.04 and CUDA. Step 1: Install gcc-4.3, g ++-4.3. This is because CUDA supports g
During the weekend, I spent some time stealing and poured a half-dead copy (disfigured) into Ubuntu 10.04 LTS.
The first time nvidia cuda was installed, it was a hit.
I followed the instructions on the Internet and installed CUDA on the first thing after the new installation and system update.
Reference: Ubuntu 10.04 and CUDA by Lam Yi Hin
Go straight to the topic.
Step 1: Install gcc-4.3, g ++-4.3. This is because the gcc version supported by CUDA is limited.
Command Line: sudo apt-get install gcc-4.3 g ++-4.3
Step 2: download the latest NVIDIA driver. I need to run BOINC scientific operations, so
Download:
Developer Drivers for Linux: devdriver_3.20.linux_64_256.40.run
And
CUDA Toolkit for Ubuntu Linux: cudatoolkit_3.20.linux_64_ubuntu9.10.run
Step 3:
Command Line: sudo apt-get purge nvidia -*
Step 4: edit the file. Nano is an editor in the command line. As I am not used to it, I changed nano TO THE gedit window editor.
Command Line: sudo nano/etc/modprobe. d/nvidia-graphics-drivers.conf
Add the following text:
Blacklist vga16fb
Blacklist nouveau
Blacklist lbm-nouveau
Blacklist nvidia-173
Blacklist nvidia-96
Blacklist nvidia-current
Blacklist nvidiafb
Join now.
Step 5: edit/etc/X11/xorg. conf
Command Line: sudo nano/etc/X11/xorg. conf
Add the following text:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Join now.
Step 6: edit/etc/modprobe. d/blacklist. conf
Command Line: sudo nano/etc/modprobe. d/blacklist. conf
Add the following text:
Blacklist vga16fb
Blacklist nouveau
Blacklist rivafb
Blacklist nvidiafb
Blacklist rivatv
Join now.
Step 7: edit/etc/modprobe. d/blacklist-framebuffer.conf
Command Line: sudo nano/etc/modprobe. d/blacklist-framebuffer.conf
Add the "#" sign before blacklist vesafb to comment it out.
Add the following text:
Blacklist vgafb16
Join now.