Can someone please reply? This is very easy to fix, you just need to be sure nvidia_drm is also unloaded.
In the future, NVIDIA may add new modules however that will break this again - so it needs a better solution. The OP contains a way the bumblebee project has dealt with this issue. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to ubuntu-drivers-common in Ubuntu. https://bugs.launchpad.net/bugs/1615058 Title: gpu-manager fails to unload NVIDIA modules Status in ubuntu-drivers-common package in Ubuntu: New Bug description: I am using Ubuntu 16.04.1 LTS on a Clevo P65XSE-A with a Intel HD 5500 (I think!?) and a GTX 970m When using a new NVIDIA driver from the graphics ppa https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa I noticed when switching back to the Intel card via "sudo prime-select intel", the NVIDIA card stays on. When launching gpu-manager via terminal it tells me it can't unload nvidia_modeset and nvidia_drm modules. Should probably use libkmod2 like bumblebee https://github.com/Bumblebee-Project/Bumblebee/pull/762 Unloading nvidia-uvm with "no" parameters rmmod: ERROR: Module nvidia_uvm is not currently loaded Unloading nvidia-modeset with "no" parameters rmmod: ERROR: Module nvidia_modeset is in use by: nvidia_drm Unloading nvidia with "no" parameters rmmod: ERROR: Module nvidia is in use by: nvidia_modeset To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1615058/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp