Thursday, April 20, 2017

Can CUDA and Gnome work together on an optimus laptop?



Here it goes,



I have a laptop with an Nvidia GT520M card and I am running ubuntu 11.10. When I first installed ubuntu on my pc, I was able to use gnome3 and all was well (I suppose my laptop was using the intel card instead of the Nvidia one).



Because I wanted to develop some things in CUDA from my own machine, I started to look around on what I could do, so that I could use the discrete card just for CUDA and leave the other one to handle gnome. By installing nvidia's current drivers and bumblebee, I am now able to run programs in CUDA using optirun but my machine uses the simple version of gnome, without any effects whatsoever. Of course, when I removed nvidia's drivers, optirun couldn't run CUDA programs and stopped with :




[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)


Is there something I can do so that I can have both worlds?



Getting both cards to work is highly problematic as stated in this question with 4000 views. One of the answers to that question references this one which has a bounty attached and over 26000 views.



So I do believe your question is mostly answered as "No, there is no documented way for this to work well at this point." in the previous questions.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...