I’d need to buy a CUDA enabled (version 4+) laptop for my work at around 1000 eu. I was interested in Dell XPS 15 with GeForce® GT 540M 2GB with Optimus but I read in many posts that Optimus is a big problem, not easily handable. Is it true?
Could you suggest me the best (stable) laptop solution up to you?
I’ve got a Dell XPS 14z that I run on LinuxMint 11 (based on Ubuntu 11.04) and I use it for cuda dev and test (moderately since the gpu is only a GT520M). But it works.
Thanks to the Optimus technology not supported on Linux, I can’t use the GPU for visualisation at all (OK, Bumblebee works but it’s not very convenient to say the least), but fortunately enough, the Intel GPU integrate into the Sandy Bridge CPU is far sufficient for my visualisation needs. So the NVIDIA GPU only serves me for GPU computing, and all the video rendering is done on the SB.
I guess it’s ok as long as I don’t try to mix CUDA and OpenGL…
HTH
Yes I have CUDA toolkit. My installation was a little unorthodox. I tried at the beginning to use the latest nvidia driver from the web, but it did not play nice with me. Eventually I reinstalled Ubuntu and installed bumblebee ( http://www.ivegotavirus.com/blog/2012/01/23/installing-bumblebee-3-0-tumbleweed-on-ubuntu/ ) , which gives optimus support. I follow the tutorial and inside it there were instructions how to install the nvidia driver from repository. It works for me now. One very important thing is not to install the restricted drivers Ubuntu is offering immediately after the installation, because they are not good for CUDA and it is very hard to get rid of them.
Hi, could you be a bit more specific please? I’m really interested here.
So far I managed to get cuda 4.0 and 4.1 working on my optimus laptop, with the dev driver 285.05.33 (the one coming with cuda 4.1).
However, AFAICT this driver is nowhere proposed on a Ubuntu repository or ppa. The one I currently have is 270.41.06. I don’t think it permits to run neither cuda 4.0 nor cuda 4.1 codes (although it should permit to run cuda 3.2 codes I guess).
So ultimately, whenever I compile a cuda code, I can run it without any trouble since it automatically loads the dev drivers upon starting. I can likewise run video-demanding applications using bumblebee with “optirun” (provided the dev driver has been unloaded from the kernel if ever). But I can’t run graphics+cuda code since only bumblebee gives me access to the NVIDIA card, but only with a unsuitable driver.
So ultimately, the question summarises in: how can I install the dev driver in a way that allows bumblebee to take it into account?
NB: TBH, since I don’t really develop graphics+cuda codes, this issue is far from critical for me, but having a cleaner install would be nice.
EDIT:
I followed the link you gave and installed the ppa for ubuntu-x-swat/x-updates. I gave me access to driver version 295.20 that do work with cuda 4.1. Now, I can run the nbody example with otirun! So my problem is solved. Cool! I’ll uninstall the 285.05.33 dv driver since I don’t need it any more.
If you manage to install bumblebee you can proceed yo install cudatoolkit. You have to use optirun ./cuda_program to run your examples. The compiling will work just as normal.
Yes I use 4.1. (I thought that I wrote that tin my previous post, but I see now that I did not.) Also Gilles_C just confirmed that he updated from 4.0 to 4.1. I have a Acer 4830tg.