Hello! After trying the Fedora experience on my old laptop for a while, I finally decided to dual boot Fedora KDE on my main desktop alongside Windows.
The installation went smoothly and everything was working fine with the nouveau driver, but after installing the proprietary Nvidia drivers as instructed in the RPM Fusion Docs, the system started acting all choppy and sluggish. Even the animation to find the cursor is lagging badly. It’s almost like the CPU (without iGPU) is doing all the work.
I tried reinstalling the drivers with the following commands, but with no avail:
sudo dnf reinstall kernel kernel-modules-core kernel-modules-extras akmod-nvidia`
sudo akmods --force --rebuild
sudo dracut -f --regenerate-all
Since it was a fresh install, I even tried a full reinstall, but I got to the same point the next boot after the installation of the drivers (of course I updated all the packages and rebooted before proceeding).
Another strange thing I noticed is that the system detected a third dummy monitor Unknown-1 (1024x768)
. This persisted even after a reboot of the system, and it actually set itself as primary, giving me some trouble on how to get into the settings to disable it.
Since there are many posts regarding issues with the Nvidia drivers, I already gathered the info that is often asked in these cases.
Secure Boot is enabled, and I followed the guide on how to deal with it.
sudo dmesg | grep -i secure
[ 0.000000] secureboot: Secure boot enabled
[ 0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[ 0.003282] secureboot: Secure boot enabled
I thought that maybe I had both nouveau and nvidia modules loaded at the same time, but it doesn’t look like it.
lspci -k | grep -A 2 -i 'vga'
2b:00.0 VGA compatible controller: NVIDIA Corporation AD104 [GeForce RTX 4070] (rev a1)
Subsystem: NVIDIA Corporation Device 17ff
Kernel driver in use: nvidia
lsmod | grep -iE 'nouveau|nvidia'
nvidia_drm 135168 34
nvidia_modeset 1617920 3 nvidia_drm
nvidia_uvm 6815744 0
nvidia 61018112 40 nvidia_uvm,nvidia_modeset
video 81920 1 nvidia_modeset
Here are some logs from dmesg
:
sudo dmesg | grep -iE 'nouveau|nvidia|secure'
[ 0.000000] Command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-6.11.3-200.fc40.x86_64 root=UUID=2ab9243b-270b-4fef-9cf3-54608140af27 ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 0.000000] secureboot: Secure boot enabled
[ 0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[ 0.003282] secureboot: Secure boot enabled
[ 0.035938] Kernel command line: BOOT_IMAGE=(hd2,gpt2)/vmlinuz-6.11.3-200.fc40.x86_64 root=UUID=2ab9243b-270b-4fef-9cf3-54608140af27 ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 5.212863] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input11
[ 5.212922] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input12
[ 5.212978] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input13
[ 5.213030] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:2b:00.1/sound/card0/input14
[ 5.817154] nvidia: loading out-of-tree module taints kernel.
[ 5.817159] nvidia: module license 'NVIDIA' taints kernel.
[ 5.817163] nvidia: module license taints kernel.
[ 6.183318] nvidia-nvlink: Nvlink Core is being initialized, major device number 234
[ 6.184569] nvidia 0000:2b:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 6.234281] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 UTC 2024
[ 6.290411] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 6.390371] nvidia-uvm: Loaded the UVM driver, major device number 510.
[ 6.432578] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 555.58.02 Tue Jun 25 01:10:21 UTC 2024
[ 6.438147] [drm] [nvidia-drm] [GPU ID 0x00002b00] Loading driver
[ 7.904747] [drm] Initialized nvidia-drm 0.0.0 for 0000:2b:00.0 on minor 1
[ 58.756477] [drm] [nvidia-drm] [GPU ID 0x00002b00] Framebuffer memory not appropriate for scanout
[ 58.756611] [drm] [nvidia-drm] [GPU ID 0x00002b00] Framebuffer memory not appropriate for scanout
[ 66.760914] [drm] [nvidia-drm] [GPU ID 0x00002b00] Framebuffer memory not appropriate for scanout
[ 66.761054] [drm] [nvidia-drm] [GPU ID 0x00002b00] Framebuffer memory not appropriate for scanout
And finally, this is my system info:
inxi -Fzxx
System:
Kernel: 6.11.3-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-37.fc40
Desktop: KDE Plasma v: 6.2.0 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
Distro: Fedora Linux 40 (KDE Plasma)
Machine:
Type: Desktop Mobo: Micro-Star model: MPG B550 GAMING PLUS (MS-7C56) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 1.I0
date: 07/13/2024
CPU:
Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3+
rev: 2 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB
Speed (MHz): avg: 550 min/max: 550/4951 boost: enabled cores: 1: 550
2: 550 3: 550 4: 550 5: 550 6: 550 7: 550 8: 550 9: 550 10: 550 11: 550
12: 550 13: 550 14: 550 15: 550 16: 550 17: 550 18: 550 19: 550 20: 550
21: 550 22: 550 23: 550 24: 550 bogomips: 177601
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA AD104 [GeForce RTX 4070] driver: nvidia v: 555.58.02
arch: Lovelace pcie: speed: 5 GT/s lanes: 16 ports: active: none
off: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 2b:00.0 chip-ID: 10de:2786
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.3
compositor: kwin_wayland driver: N/A d-rect: 3968x2232 display-ID: 0
Monitor-1: DP-1 pos: top-right res: 2048x1152 size: N/A
Monitor-2: HDMI-A-1 pos: bottom-l res: 1920x1080 size: N/A
API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
surfaceless: drv: nvidia wayland: drv: swrast x11: drv: swrast
inactive: gbm,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.1.7 glx-v: 1.4
direct-render: yes renderer: llvmpipe (LLVM 18.1.6 256 bits)
device-ID: ffffffff:ffffffff display-ID: :0.0
API: Vulkan v: 1.3.290 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: N/A device-ID: 10de:2786 device: 1 type: cpu
driver: N/A device-ID: 10005:0000
Audio:
Device-1: NVIDIA AD104 High Definition Audio driver: snd_hda_intel v: kernel
pcie: speed: 16 GT/s lanes: 16 bus-ID: 2b:00.1 chip-ID: 10de:22bc
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
lanes: 16 bus-ID: 2d:00.4 chip-ID: 1022:1487
Device-3: Samson Meteor condenser microphone
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 bus-ID: 3-3:2 chip-ID: 17a0:0310
API: ALSA v: k6.11.3-200.fc40.x86_64 status: kernel-api
Server-1: PipeWire v: 1.0.8 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168
IF: enp42s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 3.18 TiB used: 5.85 GiB (0.2%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN850X HS
1000GB size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter>
temp: 46.9 C
ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 EVO Plus 500GB
size: 465.76 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
ID-3: /dev/sda vendor: Seagate model: ST2000DM008-2FR102 size: 1.82 TiB
speed: 6.0 Gb/s serial: <filter>
Partition:
ID-1: / size: 464.17 GiB used: 5.48 GiB (1.2%) fs: btrfs dev: /dev/nvme1n1p3
ID-2: /boot size: 973.4 MiB used: 366.2 MiB (37.6%) fs: ext4
dev: /dev/nvme1n1p2
ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
dev: /dev/nvme1n1p1
ID-4: /home size: 464.17 GiB used: 5.48 GiB (1.2%) fs: btrfs
dev: /dev/nvme1n1p3
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 53.8 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 32 GiB available: 31.26 GiB used: 5.27 GiB (16.9%)
Processes: 464 Power: uptime: 9m wakeups: 0 Init: systemd v: 255
target: graphical (5) default: graphical
Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: gcc: 14.2.1
Shell: Bash v: 5.2.26 running-in: konsole inxi: 3.3.36
I really hope some of you have any idea on how to solve this issue, beacuse I really liked using Fedora on my laptop in these past few months, and I’m thinking of making the switch from Windows for daily use (unfortunately, I will still need to keep it around in order to play games with kernel anticheat, or run software not compatible with Wine).
(I had to write this post directly on Fedora in order to be able to easily copy all the command outputs, and these 15 minutes were pretty painful to witness )