Nvidia on Ubuntu: Difference between revisions

No edit summary
Module Signing: new article
Line 222: Line 222:
=== Module Signing ===
=== Module Signing ===
On systems with Secure Boot enabled (mine), you most likely need to sign the module. See [https://download.nvidia.com/XFree86/Linux-x86_64/570.153.02/README/installdriver.html#modulesigning Signing NVIDIA Kernel Module]. However, I didn't get an explicit message that signing was a problem; and I did see that the installation process signs the module with a generated key. I assume that the MOK process hooks into the trust system somehow.
On systems with Secure Boot enabled (mine), you most likely need to sign the module. See [https://download.nvidia.com/XFree86/Linux-x86_64/570.153.02/README/installdriver.html#modulesigning Signing NVIDIA Kernel Module]. However, I didn't get an explicit message that signing was a problem; and I did see that the installation process signs the module with a generated key. I assume that the MOK process hooks into the trust system somehow.
When troubleshooting keeps turning up mysteries, you have to check your assumptions.<syntaxhighlight lang="text">
sudo modprobe nvidia
modprobe: ERROR: could not insert 'nvidia': Key was rejected by service
</syntaxhighlight>See [[Nvidia on Ubuntu/Kernel modules|Kernel modules]]


== Tools and Troubleshooting ==
== Tools and Troubleshooting ==