About nVidia proprietary driver software

ID     | Command line                                     | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------------------------------
    21 | --refresh remove kernel-rc-desktop kernel-rc-des | 2023-01-14 20:06 | Removed        |    2   
    20 | --refresh in btop                                | 2023-01-14 20:01 | Install        |    1   
    19 | in kernel-rc-desktop kernel-rc-desktop-devel     | 2023-01-14 18:15 | Install        |    2 EE
    18 | in libnotify                                     | 2023-01-14 18:11 | Install        |    1   
    17 |                                                  | 2023-01-14 17:06 | Install        |    5   
    16 | --refresh in libudev-devel                       | 2023-01-14 16:52 | Install        |    2   
    15 | --refresh in lib64pci-devel                      | 2023-01-14 16:32 | Install        |    1   
    14 | --refresh in git-core                            | 2023-01-14 16:26 | Install        |    1   
    13 | install --assumeyes task-devel task-c-devel task | 2023-01-14 16:26 | Install        |   58 EE
    12 | --refresh in libpciaccess-devel                  | 2023-01-14 16:24 | Install        |    2   
    11 | install --assumeyes steam                        | 2023-01-14 16:22 | Install        |  132   
    10 | --refresh in firefox                             | 2023-01-14 16:09 | Install        |    2   
     9 | in nvidia-dkms-kmod                              | 2023-01-14 15:59 | Install        |   18 EE
     8 | in kernel-desktop-devel                          | 2023-01-14 15:53 | Install        |   13   
     7 | --refresh in power-profiles-daemon               | 2023-01-14 15:44 | Install        |    1   
     6 | --refresh --allowerasing distro-sync             | 2023-01-14 15:33 | I, O, U        |  427 EE
     5 | --disablerepo=* -C -y remove console-setup       | 2023-01-14 15:22 | Removed        |    3 EE
     4 | --disablerepo=* -C -y remove calamares           | 2023-01-14 15:22 | Removed        |    7   
     3 | --disablerepo=* -C -y remove virtualbox-guest-ad | 2023-01-14 15:22 | Removed        |    2   
     2 | --disablerepo=* -C -y remove kpat                | 2023-01-14 15:22 | Removed        |    5  <
     1 | install -y --refresh --releasever=rolling --forc | 2023-01-03 00:29 | Install        | 2370 >E
[lao@openmandriva-x8664 ~]$ dnf info kernel-headers
OpenMandriva Rolling - Unsupported - znver1                            2.9 kB/s | 4.3 kB     00:01    
Available Packages
Name         : kernel-headers
Epoch        : 1
Version      : 6.1.4
Release      : 1
Architecture : znver1
Size         : 1.4 M
Source       : kernel-6.1.4-1.src.rpm
Repository   : rolling-znver1
Summary      : Linux kernel header files mostly used by your C library
URL          : http://www.kernel.org
License      : GPLv2
Description  : C header files from the Linux kernel. The header files define
             : structures and constants that are needed for building most
             : standard programs, notably the C library.
             : 
             : This package is not suitable for building kernel modules, you
             : should use the 'kernel-devel' package instead.

[lao@openmandriva-x8664 ~]$ sudo dnf --refresh in kernel-headers
OpenMandriva Rolling - znver1                                          1.2 kB/s | 4.3 kB     00:03    
OpenMandriva Rolling - znver1                                           96 kB/s | 632 kB     00:06    
OpenMandriva Rolling - Unsupported - znver1                            4.0 kB/s | 4.3 kB     00:01    
OpenMandriva Rolling - Restricted - znver1                             3.9 kB/s | 4.3 kB     00:01    
OpenMandriva Rolling - Non-free - znver1                               3.0 kB/s | 4.2 kB     00:01    
OpenMandriva Rolling - Non-free - znver1                                16 kB/s |  62 kB     00:03    
Package kernel-rc-headers-1:6.2.0-0.rc2.1.znver1 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[lao@openmandriva-x8664 ~]$ 

This is from my bare-metal OM Rome install. Top output is from a dnf history, which seems to have gone missing.

Very much appreciate your help testing this.

1 Like

I am pleased to help as far as I can.
I will carry on using dkms, so let me know if you need me to do more specific tests.

1 Like

Re-installation of the nvidia-dkms-kmod drivers. One warning, an error, but completed okay.

[lao@openmandriva-x8664 ~]$ supergfxctl -g
hybrid
[lao@openmandriva-x8664 ~]$ supergfxctl -S
suspended
[lao@openmandriva-x8664 ~]$ lsmod | grep nvidia
nvidia_uvm           1679360  0
nvidia_drm             73728  3
nvidia_modeset       1515520  2 nvidia_drm
nvidia              61435904  310 nvidia_uvm,nvidia_modeset
drm_kms_helper        212992  4 drm_display_helper,amdgpu,nvidia_drm
drm                   671744  42 gpu_sched,drm_kms_helper,drm_display_helper,nvidia,drm_buddy,amdgpu,drm_ttm_helper,nvidia_drm,ttm
video                  57344  3 asus_wmi,amdgpu,nvidia_modeset
i2c_core              114688  13 i2c_designware_platform,videodev,i2c_hid,i2c_designware_core,drm_kms_helper,i2c_algo_bit,drm_display_helper,nvidia,amdgpu,i2c_hid_acpi,i2c_piix4,i2c_dev,drm
[lao@openmandriva-x8664 ~]$ sudo dnf reinstall nvidia-dkms-kmod
[sudo] password for lao: 
Last metadata expiration check: 0:03:21 ago on Sun 15 Jan 2023 17:17:57 GMT.
Dependencies resolved.
=======================================================================================================
 Package                   Architecture    Version              Repository                        Size
=======================================================================================================
Reinstalling:
 nvidia-dkms-kmod          znver1          525.78.01-1          rolling-znver1-non-free          117 M

Transaction Summary
=======================================================================================================

Total download size: 117 M
Installed size: 260 M
Is this ok [y/N]: y
Downloading Packages:
nvidia-dkms-kmod-525.78.01-1-omv2301.znver1.rpm                        4.5 MB/s | 117 MB     00:26    
-------------------------------------------------------------------------------------------------------
Total                                                                  4.5 MB/s | 117 MB     00:26     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                               1/1 
  Reinstalling     : nvidia-dkms-kmod-525.78.01-1.znver1                                           1/2 
  Running scriptlet: nvidia-dkms-kmod-525.78.01-1.znver1                                           1/2 
Warning: I do not know how to handle 525.78.01.
Error! Arguments <module> and <module-version> are not specified
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

Creating symlink /var/lib/dkms/nvidia/525.78.01/source ->
                 /usr/src/nvidia-525.78.01

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j2 module SYSSRC=/lib/modules/6.1.4-desktop-1omv2301/build IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 IGNORE_CC_MISMATCH=1........................................
/sbin/dkms: line 1452: /var/lib/dkms/nvidia/525.78.01///module/symvers.gz: No such file or directory
cleaning build area...

DKMS: build completed.

nvidia.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/kernel/drivers/video/nvidia/nvidia.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-modeset.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/kernel/drivers/video/nvidia/nvidia-modeset.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-drm.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/kernel/drivers/video/nvidia/nvidia-drm.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-uvm.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/kernel/drivers/video/nvidia/nvidia-uvm.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-peermem.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/kernel/drivers/video/nvidia/nvidia-peermem.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

depmod...

DKMS: install completed.

  Running scriptlet: nvidia-dkms-kmod-525.78.01-1.znver1                                           2/2 

-------- Uninstall Beginning --------
Module:  nvidia
Version: 525.78.01
Kernel:  6.1.4-desktop-1omv2301 (znver1)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.1.4-desktop-1omv2301/extra/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-modeset.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.1.4-desktop-1omv2301/extra/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-drm.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.1.4-desktop-1omv2301/extra/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-uvm.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.1.4-desktop-1omv2301/extra/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-peermem.ko.zst:
 - Uninstallation
   - Deleting from: /lib/modules/6.1.4-desktop-1omv2301/extra/
 - Original module
   - Archived original module found in the DKMS tree
   - Moving it to: /lib/modules/6.1.4-desktop-1omv2301/extra/
depmod...

Removing original_module from DKMS tree for kernel 6.1.4-desktop-1omv2301 (znver1)

DKMS: uninstall completed.
egrep: warning: egrep is obsolescent; using grep -E

------------------------------
Deleting module version: 525.78.01
completely from the DKMS tree.
------------------------------
Done.

  Cleanup          : nvidia-dkms-kmod-525.78.01-1.znver1                                           2/2 
  Verifying        : nvidia-dkms-kmod-525.78.01-1.znver1                                           1/2 
  Verifying        : nvidia-dkms-kmod-525.78.01-1.znver1                                           2/2 

Reinstalled:
  nvidia-dkms-kmod-525.78.01-1.znver1                                                                  

Complete!
[lao@openmandriva-x8664 ~]$ 

Very weird result now. Having done sudo dnf remove nvidia-dkms-kmod and rebooting, I am left here:

[lao@openmandriva-x8664 ~]$ supergfxctl -g
hybrid
[lao@openmandriva-x8664 ~]$ supergfxctl -S
active
[lao@openmandriva-x8664 ~]$ supergfxctl -S
active
[lao@openmandriva-x8664 ~]$ lsmod | grep nvidia
nvidia_uvm           1679360  0
nvidia_drm             73728  1
nvidia_modeset       1515520  1 nvidia_drm
nvidia              61435904  2 nvidia_uvm,nvidia_modeset
drm_kms_helper        212992  4 drm_display_helper,amdgpu,nvidia_drm
drm                   671744  42 gpu_sched,drm_kms_helper,drm_display_helper,nvidia,drm_buddy,amdgpu,drm_ttm_helper,nvidia_drm,ttm
video                  57344  3 asus_wmi,amdgpu,nvidia_modeset
i2c_core              114688  13 i2c_designware_platform,videodev,i2c_hid,i2c_designware_core,drm_kms_helper,i2c_algo_bit,drm_display_helper,nvidia,amdgpu,i2c_hid_acpi,i2c_piix4,i2c_dev,drm
[lao@openmandriva-x8664 ~]$ sudo dnf remove nvidia-dkms-kmod
No match for argument: nvidia-dkms-kmod
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[lao@openmandriva-x8664 ~]$ supergfxctl -S
active

It doesnā€™t think that the nvidia dkms package is installed, but I have nvidia modules loaded, and the dGPU wonā€™t suspend. If I canā€™t fix the dGPU suspending, then Iā€™ll have to re-install. :frowning:

EDIT: That could be supergfxctl loading the kernel modules, so maybe not so weird.

Giving it a bash with the nvidia-legacy drivers. Installation -

[lao@openmandriva-x8664 ~]$ sudo dnf --refresh in nvidia-legacy-dkms-kmod
OpenMandriva Rolling - znver1                                                                                                                                                     4.3 kB/s | 4.3 kB     00:00    
OpenMandriva Rolling - Unsupported - znver1                                                                                                                                       6.0 kB/s | 4.3 kB     00:00    
OpenMandriva Rolling - Restricted - znver1                                                                                                                                        5.7 kB/s | 4.3 kB     00:00    
OpenMandriva Rolling - Non-free - znver1                                                                                                                                          4.1 kB/s | 4.2 kB     00:01    
Dependencies resolved.
==================================================================================================================================================================================================================
 Package                                                   Architecture                          Version                                             Repository                                              Size
==================================================================================================================================================================================================================
Installing:
 nvidia-legacy-dkms-kmod                                   znver1                                470.161.03-5                                        rolling-znver1-non-free                                 78 M
Installing dependencies:
 dkms                                                      noarch                                2.8.4-3                                             rolling-znver1                                          63 k
 lib64gdk-x11_2.0_0                                        znver1                                2.24.33-1                                           rolling-znver1                                         367 k
 lib64gtk-x11_2.0_0                                        znver1                                2.24.33-1                                           rolling-znver1                                         1.9 M
 lib64nvidia-egl-wayland1                                  znver1                                1.1.11-1                                            rolling-znver1                                          36 k
 nvidia-legacy                                             znver1                                470.161.03-5                                        rolling-znver1-non-free                                 51 M
 nvidia-legacy-kmod-common                                 noarch                                470.161.03-5                                        rolling-znver1-non-free                                8.4 k
 nvidia-legacy-kmod-desktop                                znver1                                470.161.03-5_6.1.4_1                                rolling-znver1-non-free                                 34 M
 nvidia-legacy-kmod-headers                                znver1                                470.161.03-5                                        rolling-znver1-non-free                                 78 M

Transaction Summary
==================================================================================================================================================================================================================
Install  9 Packages

Total download size: 244 M
Installed size: 732 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): dkms-2.8.4-3-omv4090.noarch.rpm                                                                                                                                             32 kB/s |  63 kB     00:01    
(2/9): lib64gdk-x11_2.0_0-2.24.33-1-omv4090.znver1.rpm                                                                                                                            178 kB/s | 367 kB     00:02    
(3/9): lib64gtk-x11_2.0_0-2.24.33-1-omv4090.znver1.rpm                                                                                                                            810 kB/s | 1.9 MB     00:02    
(4/9): lib64nvidia-egl-wayland1-1.1.11-1-omv4090.znver1.rpm                                                                                                                        31 kB/s |  36 kB     00:01    
(5/9): nvidia-legacy-kmod-common-470.161.03-5-omv2301.noarch.rpm                                                                                                                  3.4 kB/s | 8.4 kB     00:02    
(6/9): nvidia-legacy-470.161.03-5-omv2301.znver1.rpm                                                                                                                              2.6 MB/s |  51 MB     00:19    
(7/9): nvidia-legacy-kmod-desktop-470.161.03-5_6.1.4_1-omv2301.znver1.rpm                                                                                                         1.0 MB/s |  34 MB     00:34    
(8/9): nvidia-legacy-dkms-kmod-470.161.03-5-omv2301.znver1.rpm                                                                                                                    1.7 MB/s |  78 MB     00:47    
(9/9): nvidia-legacy-kmod-headers-470.161.03-5-omv2301.znver1.rpm                                                                                                                 1.7 MB/s |  78 MB     00:46    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                             3.6 MB/s | 244 MB     01:07     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                          1/1 
  Installing       : lib64gdk-x11_2.0_0-2.24.33-1.znver1                                                                                                                                                      1/9 
  Installing       : lib64gtk-x11_2.0_0-2.24.33-1.znver1                                                                                                                                                      2/9 
  Installing       : nvidia-legacy-kmod-headers-470.161.03-5.znver1                                                                                                                                           3/9 
  Installing       : lib64nvidia-egl-wayland1-1.1.11-1.znver1                                                                                                                                                 4/9 
  Running scriptlet: dkms-2.8.4-3.noarch                                                                                                                                                                      5/9 
Preinstalling packages needed for building kernel modules. Please wait... 

  Installing       : dkms-2.8.4-3.noarch                                                                                                                                                                      5/9 
  Running scriptlet: dkms-2.8.4-3.noarch                                                                                                                                                                      5/9 
Failed to try-restart loadmodules.service: Unit loadmodules.service not found.

  Installing       : nvidia-legacy-470.161.03-5.znver1                                                                                                                                                        6/9 
  Installing       : nvidia-legacy-kmod-desktop-470.161.03-5_6.1.4_1.znver1                                                                                                                                   7/9 
  Installing       : nvidia-legacy-kmod-common-470.161.03-5.noarch                                                                                                                                            8/9 
  Running scriptlet: nvidia-legacy-kmod-common-470.161.03-5.noarch                                                                                                                                            8/9 
Generating grub configuration file ...
Found theme: /boot/grub2/themes/OpenMandriva/theme.txt
Found background: /boot/grub2/themes/OpenMandriva/background.png
Found linux image: /boot/vmlinuz-6.1.4-desktop-1omv2301
Found initrd image: /boot/initrd-6.1.4-desktop-1omv2301.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found linux image: /boot/vmlinuz-6.1.1-desktop-1omv2290
Found initrd image: /boot/initrd-6.1.1-desktop-1omv2290.img
fgrep: warning: fgrep is obsolescent; using grep -F
Found memtest image: /boot/memtest.bin
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Fedora Linux 37 (KDE Plasma) on /dev/nvme0n1p3
Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for EFI firmware configuration
done

  Installing       : nvidia-legacy-dkms-kmod-470.161.03-5.znver1                                   9/9 
  Running scriptlet: nvidia-legacy-dkms-kmod-470.161.03-5.znver1                                   9/9 
Warning: I do not know how to handle 470.161.03.
Error! Arguments <module> and <module-version> are not specified
Usage: add <module>/<module-version> or
       add -m <module>/<module-version> or
       add -m <module> -v <module-version>

Creating symlink /var/lib/dkms/nvidia/470.161.03/source ->
                 /usr/src/nvidia-470.161.03

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j2 module SYSSRC=/lib/modules/6.1.4-desktop-1omv2301/build IGNORE_XEN_PRESENCE=1 IGNORE_PREEMPT_RT_PRESENCE=1 IGNORE_CC_MISMATCH=1.....................................................
/sbin/dkms: line 1452: /var/lib/dkms/nvidia/470.161.03///module/symvers.gz: No such file or directory
cleaning build area...

DKMS: build completed.

nvidia.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/extra/nvidia.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-modeset.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/extra/nvidia-modeset.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-drm.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/extra/nvidia-drm.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-uvm.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/extra/nvidia-uvm.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

nvidia-peermem.ko.zst:
Running module version sanity check.
 - Original module
   - Found /lib/modules/6.1.4-desktop-1omv2301/extra/nvidia-peermem.ko
   - Storing in /var/lib/dkms/nvidia/original_module/6.1.4-desktop-1omv2301/znver1/
   - Archiving for uninstallation purposes
 - Installation
   - Installing to /lib/modules/6.1.4-desktop-1omv2301/extra/

depmod...

DKMS: install completed.

  Verifying        : dkms-2.8.4-3.noarch                                                           1/9 
  Verifying        : lib64gdk-x11_2.0_0-2.24.33-1.znver1                                           2/9 
  Verifying        : lib64gtk-x11_2.0_0-2.24.33-1.znver1                                           3/9 
  Verifying        : lib64nvidia-egl-wayland1-1.1.11-1.znver1                                      4/9 
  Verifying        : nvidia-legacy-470.161.03-5.znver1                                             5/9 
  Verifying        : nvidia-legacy-dkms-kmod-470.161.03-5.znver1                                   6/9 
  Verifying        : nvidia-legacy-kmod-common-470.161.03-5.noarch                                 7/9 
  Verifying        : nvidia-legacy-kmod-desktop-470.161.03-5_6.1.4_1.znver1                        8/9 
  Verifying        : nvidia-legacy-kmod-headers-470.161.03-5.znver1                                9/9 

Installed:
  dkms-2.8.4-3.noarch                                                                                  
  lib64gdk-x11_2.0_0-2.24.33-1.znver1                                                                  
  lib64gtk-x11_2.0_0-2.24.33-1.znver1                                                                  
  lib64nvidia-egl-wayland1-1.1.11-1.znver1                                                             
  nvidia-legacy-470.161.03-5.znver1                                                                    
  nvidia-legacy-dkms-kmod-470.161.03-5.znver1                                                          
  nvidia-legacy-kmod-common-470.161.03-5.noarch                                                        
  nvidia-legacy-kmod-desktop-470.161.03-5_6.1.4_1.znver1                                               
  nvidia-legacy-kmod-headers-470.161.03-5.znver1                                                       

Complete!
[lao@openmandriva-x8664 ~]$ 

Going for a reboot to testā€¦ :crossed_fingers:

EDIT: ā€¦aaaand weā€™re back!

[lao@openmandriva-x8664 ~]$ ./8w
[sudo] password for lao: 
Sucessfully set stapm_limit to 8000
Sucessfully set fast_limit to 12000
Sucessfully set slow_limit to 10000
Sucessfully enable power_saving
[lao@openmandriva-x8664 ~]$ supergfxctl -g
hybrid
[lao@openmandriva-x8664 ~]$ supergfxctl -S
active
[lao@openmandriva-x8664 ~]$ lsmod | grep nvidia
nvidia_uvm           1503232  0
nvidia_drm             65536  3
nvidia_modeset       1478656  2 nvidia_drm
nvidia              40108032  319 nvidia_uvm,nvidia_modeset
drm_kms_helper        212992  4 drm_display_helper,amdgpu,nvidia_drm
drm                   671744  43 gpu_sched,drm_kms_helper,drm_display_helper,nvidia,drm_buddy,amdgpu,drm_ttm_helper,nvidia_drm,ttm
video                  57344  3 asus_wmi,amdgpu,nvidia_modeset
i2c_core              114688  13 i2c_designware_platform,videodev,i2c_hid,i2c_designware_core,drm_kms_helper,i2c_algo_bit,drm_display_helper,nvidia,amdgpu,i2c_hid_acpi,i2c_piix4,i2c_dev,drm
[lao@openmandriva-x8664 ~]$ supergfxctl -S
suspended
[lao@openmandriva-x8664 ~]$ vkcube
Selected GPU 1: NVIDIA GeForce GTX 1650 with Max-Q Design, type: DiscreteGpu

Working! Also, the dGPU is suspending correctly again, so I donā€™t have to nuke this install from orbit :wink:

For testing install nvidia driver with dkms from control center module (GUI)
clone repo at
GitHub - OpenMandrivaSoftware/om-control-center at nvtest
and start the testing instance with command

htmlscript -s 1020x600 -i /usr/share/icons/openmandriva.svg index.sh.htm 2> /dev/null;

Credits @LaoTsu for providing the new modules.

1 Like

I donā€™t know if it may be relevant or useful is some way, but I just wanted to let you know that after installing dkms nvidia drivers my system log shows the following messages at boot. These messages were not present when I installed drivers in the standard way.

|16/01/23 06:50|systemd-udevd|/usr/lib/udev/rules.d/60-nvidia.rules:2 Invalid value /usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255' for RUN (char 61: invalid substitution type), ignoring.|
|---|---|---|
|16/01/23 06:50|systemd-udevd|/usr/lib/udev/rules.d/60-nvidia.rules:3 Invalid value /usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done' for RUN (char 28: invalid substitution type), ignoring.|
|16/01/23 06:50|systemd-udevd|/usr/lib/udev/rules.d/60-nvidia.rules:4 Invalid value /usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254' for RUN (char 66: invalid substitution type), ignoring.|
|16/01/23 06:50|systemd-udevd|/usr/lib/udev/rules.d/60-nvidia.rules:5 Invalid value /usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0' for RUN (char 62: invalid substitution type), ignoring.|
|16/01/23 06:50|systemd-udevd|/usr/lib/udev/rules.d/60-nvidia.rules:6 Invalid value /usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm-tools c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 1' for RUN (char 68: invalid substitution type), ignoring.|

Moderator: Changed post to show code as code. This makes it easier to read as you can see. How to do that is here.

Where are you seeing these errors? I have the same udev rules in 60-nvidia.rules in both OM Rome and Fedora 37.

I found those errors by opening KSystemLog.
They are shown quite early in boot, just after:

16/01/23 17:04 systemd Reached target local-fs-pre.target - Preparation for Local File Systems.
16/01/23 17:04 systemd Finished systemd-udev-trigger.service - Coldplug All udev Devices.
16/01/23 17:04 systemd Finished systemd-journal-flush.service - Flush Journal to Persistent Storage.

and before:

16/01/23 17:04 systemd Started systemd-udevd.service - Rule-based Manager for Device Events and Files.
16/01/23 17:04 systemd-udevd event_source: Failed to get device name: No such file or directory
16/01/23 17:04 systemd Starting modprobe@configfs.service - Load Kernel Module configfsā€¦
16/01/23 17:04 systemd Found device dev-zram0.device - /dev/zram0.
16/01/23 17:04 systemd modprobe@configfs.service: Deactivated successfully.
16/01/23 17:04 systemd Finished modprobe@configfs.service - Load Kernel Module configfs.

Iā€™m getting errors also. journalctl -b 0 -u systemd-udevd gives this:

Jan 16 18:17:23 openmandriva-x8664 systemd-udevd[709]: /usr/lib/udev/rules.d/60-nvidia.rules:2 Invalid value "/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'" for RUN (char 61: invalid substitution type), ignoring.
Jan 16 18:17:23 openmandriva-x8664 systemd-udevd[709]: /usr/lib/udev/rules.d/60-nvidia.rules:3 Invalid value "/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'" for RUN (char 28: invalid substitution type), ignoring.
Jan 16 18:17:23 openmandriva-x8664 systemd-udevd[709]: /usr/lib/udev/rules.d/60-nvidia.rules:4 Invalid value "/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254'" for RUN (char 66: invalid substitution type), ignoring.
Jan 16 18:17:23 openmandriva-x8664 systemd-udevd[709]: /usr/lib/udev/rules.d/60-nvidia.rules:5 Invalid value "/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0'" for RUN (char 62: invalid substitution type), ignoring.
Jan 16 18:17:23 openmandriva-x8664 systemd-udevd[709]: /usr/lib/udev/rules.d/60-nvidia.rules:6 Invalid value "/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidia-uvm-tools c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 1'" for RUN (char 68: invalid substitution type), ignoring.

The same command after booting Fedora 37 gives no errors.

This should get a bug report. If you and @Marco both include your information there that makes it even better and makes it a confirmed bug or maybe bugs report.

Unfortunate Yā€™all are seeing these errors. This is exactly why we needed users testing, with information like this there is a chance of getting some issues fixed, making things better for folks with nvidia hardware.

I just opened a new case #2874 named ā€œnVidia drivers with DKMS produce errors at early boot stageā€

Iā€™ve added my errors as a comment on the issue. Github nickname is m0nk3h. :wink:

The weird thing is, there doesnā€™t seem (on my system at least) any missing functionality with the dkms drivers. Iā€™ve tried poking around in the various folders mentioned in the error, but no eureka moment.

I do not know if it is somehow related to dkms nvidia drivers, but my system cannot boot in console or maintenance mode. The screen shows the boot background image and wonā€™t change.
The same happens if I change runlevel to 1 in bash.
Iā€™d like to perform a file system check, but I am stuck at the moment.

@Marco
Cooker?

It should not matter since video/graphic part of system should not be started.

Anyway an easy way to boot to maintenance mode:
When you get to grub2 menu while on the ā€œnormalā€ boot line press ā€˜eā€™ for edit. Navigate down to the Linux line, press ā€˜endā€™ key to go to end of line. Type a space and ā€˜3ā€™. (For run level 3.) Then press F-10 to boot.

Let us know if that works and the other stuff needs to be investigated but I am not sure how to do that.

no, not cooker; just rolling.

1 Like

I just did as you suggested, but no way; I canā€™t get a shell.
It looks like bash is not responding or is not available yet.

Edit: As far as we know this is related to either the nvidia dkms packages or nvidia packages somehow. But we need to confirm that somehow perhaps by removing the nivdia stuff and seeing if maintenance mode, console mode, or run level ā€˜3ā€™ works.

I just checked my ROME with AMD graphics so no nvidia anything. Booting to console mode works but there is a delay before it will login to root. Booting to run level 3 works and logs in to root right away. Booting to recovery mode boots to graphical desktop which seems wrong but not sure.

So this should get a bug report. This would be a pretty significant bug.

To get logs of this you need to get logs of previous boot. To get the log of last boot before current boot:

$ sudo journalctl -b -1

In other words 0 would be current boot, -1 previous, -2 the one before -1 and so on. We can hope those log will show something useful.

Edit: You can see this more clearly with this command:

$ sudo journalctl --list-boots

Any user interested in know more about journal logs can read this. Or you can find other articles about Linux journal online with your own search.