Kubuntu 22.04 cannot upgrade/install nvidia driver after kernel update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kubuntu-driver-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After the automatic upgrade of the kernel to 5.17.0-1020-oem, the nvidia driver became unavailable:
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Trying to install any nvidia drivers using kubuntu-
Traceback (most recent call last):
File "/usr/lib/
modules_
TypeError: Expected a string or a pair of strings
Traceback (most recent call last):
File "/usr/lib/
modules_
TypeError: Expected a string or a pair of strings
Trying to manually install any nvidia drivers from command line doesn't produce any changes (no Nvidia driver detected) and it requires /usr/lib/
Trying to revert back to a previous Kernel version doesn't fix the issue.
KDE Plasma version: 5.25.2
KDE Frameworks Version: 5.98.0
QT Version: 5.15.3
Kernel Version: 5.17.0-1020-oem (64 bit)
-display
description: VGA compatible controller
product: GA103M [GeForce RTX 3080 Ti Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
resources: iomemory:600-5ff iomemory:640-63f memory:
I also ran into this very same issue. Same kernel, same error messages.
KDE Plasma version: 5.24.6
KDE Frameworks Version: 5.92.0
QT Version: 5.15.3
Kernel Version: 5.17.0-1020-oem (64 bit)
VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GA104 [GeForce RTX 3070]
Flags: bus master, fast devsel, latency 0, IRQ 158
Memory at 52000000 (32-bit, non-prefetchable) [size=16M]
Memory at 40000000 (64-bit, prefetchable) [size=256M]
Memory at 50000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at 53000000 [disabled] [size=512K]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau