gpu-manager fails to unload NVIDIA modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Xenial |
Triaged
|
Medium
|
Alberto Milone |
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:/
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:/
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
description: | updated |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
assignee: | nobody → Alberto Milone (albertomilone) |
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.