| Summary: | Nvidia Drivers fail to update using DKMS from 460.67 to 460.80 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Zombie Ryushu <zombie_ryushu> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | davidwhodgins |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | nvidia460 | CVE: | |
| Status comment: | |||
|
Description
Zombie Ryushu
2021-06-09 11:18:09 CEST
On one of my Mageia 8 installs ... # dkms status|grep nv nvidia-current, 460.84-1.mga8.nonfree, 5.10.41-server-1.mga8, x86_64: installed What is the output of dkms status|grep nv on that install? CC:
(none) =>
davidwhodgins
Dave Hodgins
2021-06-09 13:34:18 CEST
Assignee:
bugsquad =>
kernel Okay, so here is the output you requested: dkms status|grep nv nvidia-current, 460.84-1.mga8.nonfree, 5.10.30-desktop-1.mga8, x86_64: installed Now here is the output of dmesg: [ 1113.183355] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 460.67 Thu Mar 11 00:11:45 UTC 2021 [ 1114.335509] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 460.67 Thu Mar 11 00:03:18 UTC 2021 even after uninstallation of nvidia-current entirely from the system, files still remain. /usr/lib/modules/5.10.20-desktop-2.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz /usr/lib/modules/5.10.25-desktop-1.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz /usr/lib/modules/5.10.27-desktop-1.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz /usr/lib/modules/5.10.30-desktop-1.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz # rpm -q --whatprovides /usr/lib/modules/5.10.30-desktop-1.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz file /usr/lib/modules/5.10.30-desktop-1.mga8/dkms/drivers/char/drm/nvidia-current.ko.xz is not owned by any package ]# ls -l /usr/lib/modules/5.10.30-desktop-1.mga8/dkms/drivers/char/drm/ total 23460 -rw-r--r-- 1 root root 23141004 Apr 18 23:43 nvidia-current.ko.xz -rw-r--r-- 1 root root 21876 Apr 18 23:43 nvidia-drm.ko.xz -rw-r--r-- 1 root root 520928 Apr 18 23:43 nvidia-modeset.ko.xz -rw-r--r-- 1 root root 331364 Apr 18 23:43 nvidia-uvm.ko.xz After manual removal of the remaining files. the nvidia module was now found to be installed here. /usr/lib/modules/5.10.30-desktop-1.mga8/updates/dkms/nvidia-current.ko.xz DKMS Isn't cleaning up after itself. Please also include the output of "rpm -qa|grep -e dkms -e kernel -e nvidia|sort". dkms-2.0.19-41.mga8 dkms-minimal-2.0.19-41.mga8 dkms-nvidia-current-460.84-1.mga8.nonfree kernel-desktop-5.10.16-1.mga8-1-1.mga8 kernel-desktop-5.10.20-2.mga8-1-1.mga8 kernel-desktop-5.10.25-1.mga8-1-1.mga8 kernel-desktop-5.10.27-1.mga8-1-1.mga8 kernel-desktop-5.10.30-1.mga8-1-1.mga8 kernel-desktop-devel-5.10.16-1.mga8-1-1.mga8 kernel-desktop-devel-5.10.20-2.mga8-1-1.mga8 kernel-desktop-devel-5.10.25-1.mga8-1-1.mga8 kernel-desktop-devel-5.10.27-1.mga8-1-1.mga8 kernel-desktop-devel-5.10.30-1.mga8-1-1.mga8 kernel-firmware-20201218-1.mga8 kernel-firmware-nonfree-20210426-1.mga8.nonfree kernel-userspace-headers-5.12.10-2.mga8 lib64nvidia-egl-wayland1-1.1.5-3.mga8 nvidia-current-cuda-opencl-460.84-1.mga8.nonfree nvidia-current-doc-html-460.84-1.mga8.nonfree nvidia-current-utils-460.84-1.mga8.nonfree x11-driver-video-nvidia-current-460.84-1.mga8.nonfree Sorry that took so long. The unit is attempting to against my will, revert back to Nouveau every boot. X.org also gave me a warning dialogue that it was changing back to the module 'nvidia' because it couldn't find the module 'nvidia' (What?!) copying the files like so: # cp /usr/lib/modules/5.10.30-desktop-1.mga8/updates/dkms/nvidia-* /usr/lib/modules/5.10.30-desktop-1.mga8/dkms/drivers/char/drm/ works around this issue. the computer no longer wants to switch back to Noeavu. This is an installation path issue. you have either used the nvidia installer directly or a package not provided by Mageia to install the nvidia driver that has placed the driver in /updates/dkms/nvidia-* the Mageia rpms _always_ installs the driver in /dkms/drivers/char/drm/ to fix it up, you probably need to remove all nvidia-current packages from your system, run dracut -f to remove the module from initrd. then reboot and use drakx to reconfigure the system for nvidia-current Resolution:
(none) =>
INVALID |