I have an acer aspire V5-573G which comes with a NVIDIA OPTIMUS chipset and 750M gfx card. I have a fairly fresh install of 14.04 and I have tried a number of things to install driver and CUDA. In the end nothing seems to work. I will give you a list of things I have done
Install nvidia-340 driver which comes with prime. Then install CUDA toolkit without NVIDIA's proprietary driver. This works fine for once until you logout/restart. Anytime you switch to your NVIDIA card of prime, display goes black. I have tried a few things :
i. Comment our the gpu-manager.conf file and make the intel gfx card modsetting. Make xorg.conf not wrieable through chattr. This still gives me a black screen.This method is outlined here.
ii. Try to install the driver that comes with the CUDA toolkit. This always end up with the toolkit and samples being installed and not the driver. It is due to a linux header issue. I installed the headers but it still didn't solve the issue.
Install bumblbee. Installing bumblebee with the driver and then purging prime led to the NVIDIA gfx card working with optirun of glxspheres64. But CUDA doesn't work. Whenever I run
sudo optirun ./deviceQueryit gives me an error and tells me that nvidia-uvm isn't found
This led me to believe I don't have the
nvidia-340-uvmkernel module. So I used
modeprobeto add it to the kernel and it says
could not insert nvidia_340_uvm: No such device
This means I don't have 'nvidia'-340-uvm' right? WRONG. I try to install it via synaptic and it's already there part of the 340 probably part of the 340 driver.
So if anyone has got CUDA working with a optimus latop (especially a 700M series or above PLEASE HELP ME)
I am not sure about using nvidia-331 and CUDA 5.5 because 14.04 might not work with CUDA 5.5