Hello, I recently updated my laptop to F42, and I’m not able to install the drivers for NVIDIA.
My laptop is an Acer Predator PH315-51.
Processor is i7 8th gen
NVIDIA Card is GTX 1060 6gb
NVIDIA-SMI shows this output:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
When running
sudo dmesg | grep -i nvidia
I got this output.
[ 0.000000] Command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.14.2-300.fc42.x86_64 root=UUID=34799f52-c770-47e4-9215-95b9c7f7abec ro rootflags=subvol=root rd.luks.uuid=luks-914901be-e1e4-4602-ae01-21c4d7312a64 rhgb quiet mitigations=off i915.modeset=1 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau video=vesafb:mtrr:3
[ 0.048489] Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.14.2-300.fc42.x86_64 root=UUID=34799f52-c770-47e4-9215-95b9c7f7abec ro rootflags=subvol=root rd.luks.uuid=luks-914901be-e1e4-4602-ae01-21c4d7312a64 rhgb quiet mitigations=off i915.modeset=1 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau video=vesafb:mtrr:3
[ 10.206099] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 10.207840] nvidia 0000:01:00.0: enabling device (0106 → 0107)
[ 10.208035] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 10.208057] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c20)
NVRM: nvidia.ko because it does not include the required GPU
NVRM: www.nvidia.com.
[ 10.208173] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 10.208196] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 10.208197] NVRM: None of the NVIDIA devices were initialized.
[ 10.208512] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 10.256770] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input27
[ 10.256850] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input28
[ 10.256887] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input29
[ 10.256920] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input30
[ 10.553149] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 10.553898] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 10.553915] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c20)
NVRM: nvidia.ko because it does not include the required GPU
NVRM: www.nvidia.com.
[ 10.553979] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 10.553993] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 10.553994] NVRM: None of the NVIDIA devices were initialized.
[ 10.554121] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 11.435106] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 11.436608] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 11.436634] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c20)
NVRM: nvidia.ko because it does not include the required GPU
NVRM: www.nvidia.com.
[ 11.436754] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 11.436779] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 11.436780] NVRM: None of the NVIDIA devices were initialized.
[ 11.437096] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 19.076361] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 19.077307] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 19.077327] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c20)
NVRM: nvidia.ko because it does not include the required GPU
NVRM: www.nvidia.com.
[ 19.077391] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 19.077412] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 19.077413] NVRM: None of the NVIDIA devices were initialized.
[ 19.077629] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 19.372752] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 19.373855] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 19.373898] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:1c20)
NVRM: nvidia.ko because it does not include the required GPU
NVRM: www.nvidia.com.
[ 19.374003] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 19.374031] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 19.374033] NVRM: None of the NVIDIA devices were initialized.
[ 19.374250] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 19.678743] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 19.679681] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
note: This is show a lot of times, but I cut the main message to not show a lot of lines.
For the install I did run this commands:
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