GPU3 FOLDING guide
GPU3
1) downlowed Ubuntu 64 bit 9.10 here:
http://releases.ubuntu.com/karmic/ubuntu-9.10-desktop-amd64.iso 2) make a cd from the iso image and reboot
3) disconnect your windows hard drive and put in an unused hard drive (after ubuntu installs you can connect both up then just chose which drive to boot in bios whether it be windows hd or ubuntu hd)
3a)
I did not let ubuntu update I also unpluged the ethernet cord while ubuntu installed. 4) after ubuntu installs open the terminal and type :
sudo apt-get install build-essential
5)
download some files download 256.35 drivers from here:
http://us.download.nvidia.com/XFree86/Linux-x86_64/256.35/NVIDIA-Linux-x86_64-256.35.run download the cudatoolkit 3.0 32bit from here:
http://www.nvidia.com/object/thankyou.html?url=/compute/cuda/3_0/toolkit/cudatoolkit_3.0_linux_32_ubuntu9.04.run place the two files that you downloaded on your desktop
6)
clearing a few things first now type in the terminal
sudo apt-get purge nvidia-*
and hit ENTER
the terminal will ask you:
"After this operation, 418kB disk space will be freed.
Do you want to continue [Y/n]?"
hit y and ENTER
the teminal should look like the picture below
7) make Two empty documents on your desktop
click on the first one and rename it "
nvidia-graphics-drivers.conf " double click on nvidia-graphics-drivers.conf and add these lines:
blacklist vga16fb
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidiafb
click on the save icon and exit
select the secound document and rename it "
xorg.conf "
now before we add anything to the xorg.conf file
in the terminal type
lspci
hit ENTER
scroll till use see your graphics card(s)
mine are:
0
2:00.0 VGA compatible controller: nVidia Corporation GT200b [
GeForce GTX 285] (rev a1)
0
5:00.0 VGA compatible controller: nVidia Corporation GT200b [
GeForce GTX 285] (rev a1)
0
6:00.0 VGA compatible controller: nVidia Corporation G92 [
GeForce 9800 GT] (rev a2)
0
7:00.0 VGA compatible controller: nVidia Corporation GT200b [
GeForce GTX 285] (rev a1)
red highlight are your bus id, blue highlight is your Identifier name below is what my xorg.conf will look like:
I added these lines:
Section "Device"
Identifier "GeForce GTX 285"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "2:0:0"
Option "coolbits" "1"
EndSection
Section "Device"
Identifier "GeForce GTX 285"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "5:0:0"
Option "coolbits" "1"
EndSection
Section "Device"
Identifier "GeForce 9800 GT"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "6:0:0"
Option "coolbits" "1"
EndSection
Section "Device"
Identifier "GeForce GTX 285"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "7:0:0"
Option "coolbits" "1"
EndSection
I have 4 video cards so 4 sections
if I only had 1 card it would look like this:
Section "Device"
Identifier "GeForce GTX 285"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "2:0:0"
Option "coolbits" "1"
EndSection
hope I havent lost ya....yuppers this is pita on steriods
8) double click on the xorg.conf file ad add your lines (please dont enter my lines edit your card and bus id found when you entered lspci
then click the save icon and exit
9) now in the terminal type:
cd ~/Desktop
hit ENTER
in the termnal type:
sudo mv nvidia-graphics-drivers.conf /etc/modprobe.d/
hit enter
(everytime you type sudo it will ask you for your password) 10) now in the terminal type:
sudo mv xorg.conf /etc/X11/
hit ENTER
now if you look on your desktop both files are gone.
11) get a pen/pencile and write the following lines down:
sudo sh ~/Desktop/NVIDIA*.run (enter this line to install the drivers)
sudo service gdm start (enter this line after the drivers have installed)
keep them handy you will need them momentarily
(we are going to install the drivers the screen will go blank
you will enter your username
and your password) 12) in the terminal type:
sudo service gdm stop
then hit ENTER (by-by)
check your nvidia x server settings. the 256 drivers should be installed 13) now to the cuda tool kit
open the terminal and type:
sudo sh ~/Desktop/cuda*.run
and hit ENTER
the terminal will ask
"Enter install path (default /usr/local/cuda, '/cuda' will be appended):"
just hit ENTER
thats done lets let Ubuntu know where the cuda file are
in the terminal type;
sudo sh -c "echo PATH=/usr/local/cuda/bin:$PATH > /etc/profile.d/cuda.sh"
hit ENTER
then type:
sudo sh -c "echo /usr/local/cuda/lib > /etc/ld.so.conf.d/cuda.conf"
hit ENTER
then type:
sudo ldconfig
hit ENTER
14
now reboot open the terminal and type:
sudo apt-get install wine
hit ENTER
the terminal will ask:
"After this operation, 221MB of additional disk space will be used.
Do you want to continue [Y/n]?"
hit y then hit ENTER
goto applications>>wine>>configure wine
configure wine so that windows version is windows xp
(note: I am currently using vista once updated) click apply
then ok
Lets update wine
goto system>>administration>>software sources and left click
you will have to enter your password once it pops up click on "other software" tab
click on the add icon
then enter this line:
ppa:ubuntu-wine/ppa after you enter click add source
Click close to finish, and then
reload the package information when prompted. If you have Wine installed, the system's update manager will now inform you of the latest Wine beta release and prompt you to upgrade.
or if nothing esle fails got to the update maneger and check for update (
This is important) (this method only works for Ubuntu 9.10 and above) goto system>>Administration>>update manager and left click
and now you can install all the updates, just make sure wine is updated; go ahead and install all the wine "goodies"...in case you doing more than folding, but the science is what is important
note: every time you update your kernal you have to redo you graphics driver. just start in low graphics mode, and in the terminal{keep your graphics driver on your desktop at all times.}KEEP your piece of paper handy. type:
sudo service gdm stop
by-by agian
and reinstall the drivers...no problem
15) download the gpu3 client here:
http://www.stanford.edu/~...e-Win32-GPU_XP-631.zip XP version
http://www.stanford.edu/~friedrim/.Fold ... ta-631.zip vista version
im using vista
extract it to your GPU0 folder in your home folder
(all commands from the terminal will be in the GPU0 directory)
in the terminal type:
cd ~/GPU0
hit ENTER
in the terminal type:
rm *.dll
16) now lets get some wrappers
In the terminal type:
wget http://mysite.verizon.net/vzeq1z17/temp/FAH/cudart3/cudart_gpu3.dll.so
then hit ENTER
In the terminal type:
wget http://mysite.verizon.net/vzeq1z17/temp/FAH/cufft3/cufft_gpu3.dll.so
17) now lets link some stuff
in the terminal type:
ln -s cudart_gpu3.dll.so cudart32_30_14.dll
hit ENTER
in the terminal type:
ln -s cufft_gpu3.dll.so cufft32_30_14.dll
hit ENTER
in the terminal type:
ln -s cudart_gpu3.dll.so cudart.dll
hit ENTER
in the terminal type:
ln -s cudart_gpu3.dll.so nvcuda.dll
hit ENTER
just to make sure everything is in order
in the terminal type:
ldd cufft32_30_14.dll
then hit ENTER
(if you see any not found's something is not linked right) In the terminal type:
ldd cudart32_30_14.dll
(if you see any not found's something is not linked right)
18) lets get F@H going
in the terminal type:
(200 series)
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80
(400 series)
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_fermi
then hit enter
I have (4) 200 series cards these are the lines I use:
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 0
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 1
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 2
wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 -gpu 3
( I tried nice -n 19 wine ./Folding@home-Win32-GPU.exe -forcegpu nvidia_g80 , but it was so slow)
here we go
(now when you config your gpu when asked fo advanced methothds answer no, if you answer yes it will use 100% cpu usage and only give you core 11)
source
http://foldingforum.org/viewtopic.php?f=54&t=14673&start=150
post edited by Tasmac - 2010/11/12 18:30:06