[ubuntu] NVIDIA CUDA developer drivers + Optimus?

view story

http://ubuntuforums.org – OK, I have a pretty specific Optimus/CUDA/drivers question: I'm running Ubuntu 12.04 on an Acer Aspire 5750G. This laptop has a CUDA-capable GT540M GPU, but it also has Optimus, so in order to make use of it I need to use bumblebee Following these instructions I installed more recent NVIDIA drivers from ppa:ubuntu-x-swat/x-updates, then installed bumblebee I can now run stuff on the GPU just fine (optirun glxspheres works as expected) However, I'm trying to compile something (OpenCV-2.4.2) with CUDA runtime support, and I hit a compiler error that seems to be to do with not having the NV (Hardware)