Bumblebee-Project/Bumblebee — Issue #142: Nvidia module cannot be unloaded
Author: extremis11
Created: 2011-10-26 17:43:12+00:00
State: open

I have a Lenovo Z570A laptop with Intel HD3000 internal graphics and Nvidia 520M discrete card and i am running Ubuntu 11.10. Bumblebee is working fine and i can run Cuda programs, the only problem is that Nvidia card seems always on. I have enabled power management, but the Nvidia module cannot be unloaded neither at start nor later:

[ 922.91] Unloading driver 'nvidia' on start...
[ 922.98] rmmod nvidia, wait=no
[ 922.98] ERROR: Removing 'nvidia': Device or resource busy
[ 922.98] The driver could not be unloaded on start.

[ 921.14] Unloading driver...
[ 921.21] rmmod nvidia, wait=no
[ 921.21] ERROR: Removing 'nvidia': Device or resource busy
[ 921.21] The driver could not be unloaded.
[ 921.22] Perhaps another program is using it.

lsmod reports

nvidia 11919283 0 [permanent]

Is there any way to solve this?

Thanks in advance and congratulations to everyone involved in Bumblebee project.