My laptop has a NVIDIA GeForce GT650M GPU and a Intel HD 4000 GPU, and uses the optimus technology so I can’t disable the intergrated graphic. My OS is ubuntu 11.10, I try to install cuda5.0 on my laptop.
First of all, I blacklisted the nouveau by
'~$ gedit /etc/modprobe.d/blacklist-nouveau.conf
options nouveau modeset=0
then I rebooted, and install g++,freeglut3,libxi,libxmu,mpi.
Does the blacklist-nouveau.conf really work?
Then, I followed the instruction in the ‘CUDA Getting Started Guide For linux’ step by step, so I used the command :
‘~$ sudo sh cuda_5.0.35_linux_32_ubuntu11.10-1.run’ --optimus
to install cudatoolkit.
During the installation process I didn’t meet any problems and I got this :
‘Driver : Installed
Toolkit?Installed in /usr/local/cuda-5.0
Samples: Installed in …(ignored)’
Is this mean that I install cuda successfully?
After this, I add PATH and LD_LIARARY_PATH to my environment.
The I make all the samples and run deviceQuery as a root but I got this :
‘no cuda-capable device was detected’
Then I created a startup script just as the guide’s said.
after that I can find nvidia0 nvidiaac1 in /dev .
So I ran deviceQuery again but I got this :
‘Invaild device ordinal’.
Is this mean I didn’t install driver successfully? I couldn’t figure out what was wrong.How I can solve this problem? Please, help me!