Hello forums, I meet some troubles when I install the nvidia driver, the command output message says that: “No devices were found”. The following message may be helpful to determine the question:
- GPU: 5060ti 16G gpu
- OS: Fedora Linux 42 (KDE Plasma Desktop Edition)
- Kernel: Linux 6.14.6-300.fc42.x86_64
- Driver version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 570.153.02 Tue May 13 16:34:43 UTC 2025
- GCC version: gcc version 15.1.1 20250425 (Red Hat 15.1.1-1) (GCC)
I also observe some strange results:
After running lspci | grep -e VGA
, I get:
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2d04 (rev a1)
Is that reasonable to get this result?
The dmesg generates some errors after running nvidia-smi:
[ 17.623703] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[ 17.623892] [drm:nv_drm_register_drm_device [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
and
[ 53.521254] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2d04)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 53.521277] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 53.522357] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 120.711958] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2d04)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 120.711980] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 120.713174] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[ 1131.828515] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:2d04)
NVRM: installed in this system requires use of the NVIDIA open kernel modules.
[ 1131.828538] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x22:0x56:884)
[ 1131.830450] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
Besides, the commands I install the nvidia driver refer to the rpmfusion, which are:
sudo dnf update -y # and reboot if you are not on the latest kernel
sudo dnf install akmod-nvidia # rhel/centos users can use kmod-nvidia instead
sudo dnf install xorg-x11-drv-nvidia-cuda #optional for cuda/nvdec/nvenc support
nvidia-bug-report.log.gz (102.2 KB)