Nvidia on Ubuntu: Difference between revisions

m remove stray characters
Add ubuntu-drivers command section and subpage
Line 49: Line 49:


<tt>'''modinfo'''</tt> tells us details about the kernel module, including the dependencies.
<tt>'''modinfo'''</tt> tells us details about the kernel module, including the dependencies.


{{Collapsible
{{Collapsible
Line 589: Line 586:


=== Denylist ===
=== Denylist ===
I tried #1 and it didn't work.
I tried denylisting the nouveau driver and preventing it from doing modesetting by creating [[disable-nouveau.conf]] however I was unsuccessful in installing Nvidia drivers even with that in place, and performing operations from a recovery console.


I've looked at the initramfs and don't see where it is loading nouveau. Although I do see where the temporary '''[[disable-nouveau.conf]]''' file I created is read in.
I've looked at the initramfs and don't see where it is loading nouveau. Although I do see where the temporary '''[[disable-nouveau.conf]]''' file I created is read in.


=== Modify Initial Ram Disk ===
=== Modify Initial Ram Disk ===
The initial ram disk is a gzipped CPIO archive
The initial ram disk is a gzipped [[wp:Cpio|CPIO]] archive
<pre>
<pre>
file /boot/initrd.img-6.8.0-62-generic  
file /boot/initrd.img-6.8.0-62-generic  
Line 700: Line 697:
=== 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.
=== [[{{PAGENAMEE}}/ubuntu-drivers|ubuntu-drivers (command)]] ===