linux-modules-nvidia-* is not automatically installed; no working kernel module

Bug #2061738 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-535 (Ubuntu)
New
Undecided
Unassigned
nvidia-graphics-drivers-550 (Ubuntu)
New
Undecided
Unassigned

Bug Description

After installing and uninstalling Nvidia drivers once or twice, they stop functioning completely. Seems nvidia.ko is no longer installed, and linux-modules-nvidia-* needs to be manually installed.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: nvidia-driver-550 550.67-0ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Tue Apr 16 15:26:32 2024
InstallationDate: Installed on 2024-01-04 (103 days ago)
InstallationMedia: Ubuntu 24.04 "Noble Numbat" - Daily amd64 (20231127)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: nvidia-graphics-drivers-550
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm now 470 is failing with the same problem. I think my installation is broken in some other way.

Changed in nvidia-graphics-drivers-550 (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I fixed it by purging all nvidia-related packages and rebooting. After that, Nvidia drivers installed correctly again.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe it's bug 1975650 which I've seen other people reporting for some time.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Just ran into this again. The solution was to:

  sudo apt install linux-modules-nvidia-535-`uname -r`

Changed in nvidia-graphics-drivers-550 (Ubuntu):
status: Incomplete → New
importance: Critical → Undecided
summary: - Nvidia driver 550 fails to install any kernel module on Noble
+ linux-modules-nvidia-* is not automatically installed; no working kernel
+ module
description: updated
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.