Install of linux-modules-nvidia requires a reboot before nvidia-smi recognizes driver

Bug #1841827 reported by Pat Viafore
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-restricted-modules (Ubuntu)
New
Undecided
Unassigned

Bug Description

When installing linux-modules-nvidia-418-generic using apt, I expect the nvidia driver to be available immediately after the install completes. However, I must reboot before nvidia-smi returns driver information.

AS a side note: sudo udevadm control --reload && sudo udevadm trigger does not cause the driver to appear before the reboot.

I was testing this on Disco.

System information found in attachment.

Revision history for this message
Pat Viafore (patviafore) wrote :
Steve Langasek (vorlon)
summary: - Install of linux-modules-nviida requires a reboot before nvidia-smi
+ Install of linux-modules-nvidia requires a reboot before nvidia-smi
recognizes driver
Revision history for this message
Pat Viafore (patviafore) wrote :

So after doing a little more digging:

A modprobe -r nouveau will fix this. After issuing this command, an install does not require a reboot for nvidia-smi to find the driver.

We are planning on blacklisting the module in our cloud images to address this.

Revision history for this message
Pat Viafore (patviafore) wrote :

Nouveau was blacklisted in our images, so I am no longer seeing this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.