This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigate to the SDK dir | |
cd NVIDIA_GPU_Computing_SDK | |
# Compile the examples | |
sudo make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grab the latest version of the CUDA Toolkit (4.1) | |
wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/toolkit/cudatoolkit_4.1.28_linux_64_ubuntu11.04.run | |
# Install the toolkit | |
sudo sh cudatoolkit_4.1.28_linux_64_ubuntu11.04.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stop the lightDM service | |
sudo service lightdm stop | |
# Start the driver installation | |
sudo sh NVIDIA-Linux-x86_64-285.05.33.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the grub options in the nano editor | |
sudo nano /boot/grub/grub.cfg | |
# An example entry with the nomodeset appended | |
linux /boot/vmlinuz-3.0.0-14-... ro quiet splash vt.handoff=7 nomodeset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grab the latest NVIDIA driver | |
wget http://developer.download.nvidia.com/compute/cuda/4_1/rel/drivers/NVIDIA-Linux-x86_64-285.05.33.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
W=window;D=document;C=D.createElement("canvas");a=C.getContext("2d");w=W.innerWidth;h=W.innerHeight;C.width=w;C.height=h;D.documentElement.style.overflow="hidden";Z=D.body;Z.style.margin=0;C.style.display="block";Z.appendChild(C);q=[];m=Math;function c(){b=s;b.x=w/2;b.y=h/2;b.a=m.random()*10-5;b.b=m.random()*10-5}for(z=200;z--;)s={},c(),q.push(s);setInterval(function(){G=a.createRadialGradient(w/2,h/2,w,w/2,h/2,1);G.addColorStop(.8,"#fff");G.addColorStop(1,"#000");a.fillRect(0,0,w,h);for(i=200;i--;)s=q[i],a.beginPath(),a.strokeStyle=G,a.moveTo(s.x,s.y),a.lineTo(s.x+s.a,s.y+s.b),a.closePath(),a.stroke(),s.x+=s.a,s.y+=s.b,s.a+=s.a*.01,s.b+=s.b*.01,(s.x<0||s.x>w||s.y>h||s.y<0)&&c()},25) |
NewerOlder