Skip to content

nvidia_modeset, nvidia_uvm handling #719

@ArchangeGabriel

Description

@ArchangeGabriel

Per #565 and #699 we need to handle the existence of nvidia-modeset and nvidia-uvm.

The unloading of nvidia module failing because of dependencies of above mentioned modules. Very common problem, results in card staying ON.

Part of the fix is using modprobe -r instead of rmmod, but this also needs some aliases file. But at this point, we have one issue: a line as remove nvidia rmmod nvidia-uvm nvidia-modeset nvidia seems to be causing issue if one of them isn’t loaded. This happen for instance when running optirun --no-xorg, where nvidia-modeset do not get loaded. Also, nvidia-uvm does not seems to be automatically loaded anymore with recent versions of the driver.

The second point is who should ship this file: us, or the driver? Finally, is their another fix possible that doesn’t imply explicitly coding the removal of this driver in bumblebee?

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions