CUDA & MSI GT60 with Optimus enabled GTX670M?
Posted
by
user1076693
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user1076693
Published on 2012-07-29T22:25:08Z
Indexed on
2012/08/29
3:50 UTC
Read the original article
Hit count: 282
nvidia-optimus
|cuda
I have a MSI GT60 Laptop with an Optimus enabled GTX 670M GPU, and I have been trying to get CUDA going in Ubuntu 12.04 environment. I realize that Optimus is not supported in Linux, but I have read the following post suggesting that CUDA works for hybrid GPUs.
I installed the NVIDIA driver via
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current
The resulting driver version is 302.17, and supposedly GTX 670M is supported since 295.59. I also downloaded CUDA 4.2 from the NVIDIA site, and compiled it against nvidia-current libraries.
Unfortunately, when I run deviceQuery in the CUDA SDK, I get the following output
cudaGetDeviceCount returned 38
-> no CUDA-capable device is detected
Checking /proc/driver/nvidia/gpus/0/information gives the following
Model: GeForce GTX 670M
IRQ: 16
GPU UUID: GPU-????????-????-????-????-????????????
Video BIOS: ??.??.??.??.??
Bus Type: PCI-E
DMA Size: 32 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01.00.0
Here is the output of "lspci | grep VGA"
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1213 (rev ff)
So... what am I doing wrong?
Thanks!
© Ask Ubuntu or respective owner