Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Ubuntu, "modprobe nvidia" does not work if there is no such alias. Previously this code ran "rmmod nvidia", but that broke since the introduction of nvidia-uvm. This patch attempts to map "nvidia" to "nvidia-304" by querying the configuration and is not foolproof (e.g. when nouveau is configured instead). As a workaround, you can create a modprobe.conf file containing: alias nvidia nvidia-304
- Loading branch information
edd81b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want this to be merged or prefer the shipping of modprobe rules?
edd81b0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ll drop this branch in favor of #762.