During installing nvidia driver NVIDIA-Linux-x86_64-515.65.01.run, it pops up a message “unable to load the ‘nvidia-drm’ kernel module” and the install fails. The end of the install log shows as follows:
Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d
-> Searching for conflicting files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (515.65.01):
executing: '/sbin/ldconfig'...
executing: '/usr/bin/systemctl daemon-reload'...
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
-> done.
ERROR: Unable to load the 'nvidia-drm' kernel module.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Some sources of web search suggest that this is caused by UEFI with secure boot and the solution is to disable the secure boot on BIOS. I used to have my Linux installed on the legacy settings and in recent days I just moved over to UEFI with secure boot enabled on BIOS, it took me some efforts getting things done eventually for Leap 15.4 on UEFI with secure boot enabled. But now I need to disable the secure boot? WTH! And good advice on this Nvidia-drm issue? Thanks in advance.