Fedora 39 barely if not at all booting from Live USB and Hard Disk installation with two monitors connected

Hi everyone!
Recently i’ve decided to try out Linux again and wanted to try something new so i landed here at Fedora, however i’ve had the following issue which makes the system unusable.

When both of my monitors are connected the boot will always hang on Starting initrd-switch-root.service - Switch Root… . The only way to then still boot into the system is by pressing the Escape key twice but even then the problems are still not over. Sometimes when it’s loading in Plasma it still manages to freeze (the cog just stops spinning and nothing else happens, sometimes that doesn’t even fully load in freezing when Plasma by KDE is barely shown).

If i have my second monitor unplugged i can boot into the system perfectly with not a single issue.

The exact same problem occurs on both a Live USB environment and an installation on a hard disk.

My computer specs:
CPU: AMD Ryzen 5 5600X
GPU: NVIDIA GeForce RTX 3060TI
Motherboard: Gigabyte B550 AORUS ELITE AX V2 (On latest BIOS update)
RAM: 32GB 3200Mhz
ISO used: Fedora-KDE-Live-x86_64-39-1.5.iso

I see that you have an NVIDIA gpu - it is possible that it isn’t well supported by the open-source driver “nouveau”.

Have you already installed the proprietary from rpmfusion? See Howto/NVIDIA - RPM Fusion

I have yes, this still has the same issue of the initrd / plasma stuck in loading.

Oh yeah and i almost forgot to mention but having Secure Boot and/or CSM enabled or disabled doesn’t make a difference.

On every post I recall where this happened the cause has been the nvidia drivers not loading properly or not installed.
Please post the outputs of inxi -Fzxx and dnf list installed \*nvidia\* and nvidia-smi as preformatted text using the </> button on the toolbar.

My sincerest apologies as for some reason the system now does load in properly. However the system is extremely laggy once again making it barely usable. But since this is a different problem i’ll mark this thread as solved and create a new one for the new problem.

The fact it boots with 2 monitors may be solved but the laggy performance may still be related to the nvidia driver. The info I requested may provide a clue about that as well.

In fact, the comment you made above

does point toward the nvidia drivers not loading properly since there certainly should be a difference between secure boot enabled or disabled with the nvidia drivers.

In that case here is the information from the commands:

System:
  Kernel: 6.6.2-201.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11
    wm: kwin_wayland dm: SDDM Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE AX V2 v: x.x
    serial: <superuser required> UEFI: American Megatrends LLC. v: F17g
    date: 09/20/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 3765 high: 4641 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 4641 3: 3712 4: 3704 5: 2200 6: 4640 7: 3709 8: 4637 9: 3706
    10: 3689 11: 3710 12: 4641 bogomips: 88634
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: ASUSTeK
    driver: nvidia v: 545.29.06 arch: Ampere pcie: speed: 16 GT/s lanes: 16
    ports: active: none off: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2,DP-3
    bus-ID: 07:00.0 chip-ID: 10de:2489
  Device-2: Logitech HD Webcam C525 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:3 chip-ID: 046d:0826
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.2
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: nouveau gpu: nvidia d-rect: 3840x1080 display-ID: 0
  Monitor-1: HDMI-A-1 pos: primary,left res: 1920x1080 size: N/A
  Monitor-2: HDMI-A-2 pos: right res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: nvidia device-ID: 10de:2489 device: 1 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 07:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 09:00.4 chip-ID: 1022:1487
  Device-3: Logitech HD Webcam C525 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:3 chip-ID: 046d:0826
  Device-4: Texas Instruments PCM2902C Audio CODEC
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-1:2 chip-ID: 08bb:29c2
  API: ALSA v: k6.6.2-201.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.0 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 RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8125
  IF: eno1 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: N/A pcie: speed: 5 GT/s
    lanes: 1 bus-ID: 06:00.0 chip-ID: 14c3:0608
Bluetooth:
  Device-1: MediaTek [] driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:5 chip-ID: 0e8d:0608
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 17.97 TiB used: 30.9 GiB (0.2%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T1X0E-00AFY0
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 41.9 C
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WD Blue SN570 2TB
    size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
  ID-3: /dev/sda vendor: Toshiba model: HDWG480 size: 7.28 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdb vendor: Toshiba model: HDWG180 size: 7.28 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-5: /dev/sdc vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-6: /dev/sde vendor: Western Digital model: WD2500BVVT-28A26Y1
    size: 232.89 GiB type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 231.28 GiB used: 30.64 GiB (13.2%) fs: btrfs dev: /dev/sde4
  ID-2: /boot size: 973.4 MiB used: 243.8 MiB (25.0%) fs: ext4
    dev: /dev/sde3
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/sde2
  ID-4: /home size: 231.28 GiB used: 30.64 GiB (13.2%) fs: btrfs
    dev: /dev/sde4
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.9 C mobo: 30.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 385 Uptime: 9m Memory: total: 32 GiB available: 31.24 GiB
  used: 3.05 GiB (9.8%) Init: systemd v: 254 target: graphical (5)
  default: graphical Compilers: gcc: 13.2.1 Packages: pm: rpm pkgs: N/A
  note: see --rpm pm: flatpak pkgs: 29 Shell: Bash v: 5.2.21
  running-in: konsole inxi: 3.3.31

Installed Packages
akmod-nvidia.x86_64                                  3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
kmod-nvidia-6.6.2-201.fc39.x86_64.x86_64             3:545.29.06-1.fc39             @@commandline
nvidia-gpu-firmware.noarch                           20231111-1.fc39                @updates
nvidia-modprobe.x86_64                               3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                           3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
nvidia-settings.x86_64                               3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                           3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64                      3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.i686                   3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64                 3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                   3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686                        3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                      3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64                     3:545.29.06-1.fc39             @rpmfusion-nonfree-updates
Wed Dec 13 17:37:27 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 Ti     Off | 00000000:07:00.0  On |                  N/A |
|  0%   46C    P8              16W / 200W |    601MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1661      G   /usr/bin/kwalletd5                            2MiB |
|    0   N/A  N/A      1939      G   /usr/bin/kwin_wayland                       142MiB |
|    0   N/A  N/A      2002      G   /usr/bin/Xwayland                             3MiB |
|    0   N/A  N/A      2033      G   /usr/bin/ksmserver                            2MiB |
|    0   N/A  N/A      2035      G   /usr/bin/kded5                                2MiB |
|    0   N/A  N/A      2085      G   /usr/bin/plasmashell                        110MiB |
|    0   N/A  N/A      2119      G   ...5/polkit-kde-authentication-agent-1        2MiB |
|    0   N/A  N/A      2121      G   /usr/libexec/xdg-desktop-portal-kde           2MiB |
|    0   N/A  N/A      2284      G   /usr/libexec/kdeconnectd                      2MiB |
|    0   N/A  N/A      2315      G   /usr/bin/kaccess                              2MiB |
|    0   N/A  N/A      2320      G   /usr/libexec/DiscoverNotifier                 2MiB |
|    0   N/A  N/A      2350      G   /usr/bin/kalendarac                           2MiB |
|    0   N/A  N/A      2640      G   /usr/bin/akonadi_control                      2MiB |
|    0   N/A  N/A      2829      G   /usr/lib64/firefox/firefox                  198MiB |
|    0   N/A  N/A      2837      G   /usr/bin/akonadi_akonotes_resource            2MiB |
|    0   N/A  N/A      2842      G   /usr/bin/akonadi_archivemail_agent            2MiB |
|    0   N/A  N/A      2843      G   /usr/bin/akonadi_birthdays_resource           2MiB |
|    0   N/A  N/A      2856      G   /usr/bin/akonadi_contacts_resource            2MiB |
|    0   N/A  N/A      2857      G   .../bin/akonadi_followupreminder_agent        2MiB |
|    0   N/A  N/A      2858      G   /usr/bin/akonadi_ical_resource                2MiB |
|    0   N/A  N/A      2873      G   /usr/bin/akonadi_indexing_agent               2MiB |
|    0   N/A  N/A      2884      G   /usr/bin/akonadi_maildir_resource             2MiB |
|    0   N/A  N/A      2896      G   /usr/bin/akonadi_maildispatcher_agent         2MiB |
|    0   N/A  N/A      2916      G   /usr/bin/akonadi_mailfilter_agent             2MiB |
|    0   N/A  N/A      2928      G   /usr/bin/akonadi_mailmerge_agent              2MiB |
|    0   N/A  N/A      2930      G   /usr/bin/akonadi_migration_agent              2MiB |
|    0   N/A  N/A      2946      G   /usr/bin/akonadi_newmailnotifier_agent        2MiB |
|    0   N/A  N/A      2955      G   /usr/bin/akonadi_sendlater_agent              2MiB |
|    0   N/A  N/A      2965      G   /usr/bin/akonadi_unifiedmailbox_agent         2MiB |
|    0   N/A  N/A      3079      G   /usr/bin/dolphin                              2MiB |
|    0   N/A  N/A      3413      G   ...bin/plasma-browser-integration-host        2MiB |
|    0   N/A  N/A      3621      G   /usr/bin/konsole                              2MiB |
+---------------------------------------------------------------------------------------+

Thank you for the information.
All the drivers seem to be functioning, but you are behind in upgrades.
So that we are working on a current version of everything please update to the latest software with
sudo dnf upgrade --refresh just in case the problem you are seeing is already fixed by updated software. Please wait 5 minutes after the upgrade before rebooting.

Let us know the results and if the problems continue we can then address it with the latest versions of the software.

One thing that is potentially of issue is the large number of akonadi processes running on that GPU. I have not used akonadi and am unfamiliar with what it is. I also have never seen any related processes running with previous posts here.

Hi there! Sorry for the delay the hard drive my install was on failed so i had to reinstall to a new SSD. I did still run all the commands again (including the upgrade command), but i am still having the lag issues.

These are the new outputs:

System:
  Kernel: 6.6.6-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-13.fc39 Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11
    wm: kwin_wayland dm: SDDM Distro: Fedora release 39 (Thirty Nine)
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 AORUS ELITE AX V2 v: x.x
    serial: <superuser required> UEFI: American Megatrends LLC. v: F17g
    date: 09/20/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2665 high: 3700 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 2200 3: 2200 4: 3590 5: 2874 6: 2200 7: 2873 8: 2874 9: 2200
    10: 3700 11: 2875 12: 2200 bogomips: 88634
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3060 Ti Lite Hash Rate] vendor: ASUSTeK
    driver: nvidia v: 545.29.06 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16
    ports: active: none off: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2,DP-3
    bus-ID: 07:00.0 chip-ID: 10de:2489
  Device-2: Logitech HD Webcam C525 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:3 chip-ID: 046d:0826
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.2
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: nouveau gpu: nvidia d-rect: 3200x1080 display-ID: 0
  Monitor-1: HDMI-A-1 pos: primary,left res: 1920x1080 size: N/A
  Monitor-2: HDMI-A-2 pos: right res: 1280x720 size: N/A
  API: EGL v: 1.5 platforms: gbm: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.3.268 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: nvidia device-ID: 10de:2489 device: 1 type: cpu
    driver: mesa llvmpipe device-ID: 10005:0000
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 07:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 09:00.4 chip-ID: 1022:1487
  Device-3: Logitech HD Webcam C525 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:3 chip-ID: 046d:0826
  Device-4: Texas Instruments PCM2902C Audio CODEC
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 3-1:2 chip-ID: 08bb:29c2
  API: ALSA v: k6.6.6-200.fc39.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.0 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 RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8125
  IF: eno1 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7921K Wi-Fi 6E 80MHz driver: N/A pcie: speed: 5 GT/s
    lanes: 1 bus-ID: 06:00.0 chip-ID: 14c3:0608
Bluetooth:
  Device-1: MediaTek [] driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:4 chip-ID: 0e8d:0608
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 17.97 TiB used: 8.88 GiB (0.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T1X0E-00AFY0
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 39.9 C
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WD Blue SN570 2TB
    size: 1.82 TiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 39.9 C
  ID-3: /dev/sda vendor: Toshiba model: HDWG480 size: 7.28 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdb vendor: Toshiba model: HDWG180 size: 7.28 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-5: /dev/sdc vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-6: /dev/sdd vendor: Kingston model: RBUSC180DS37256GH size: 238.47 GiB
    type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 236.89 GiB used: 8.63 GiB (3.6%) fs: btrfs dev: /dev/sdd3
  ID-2: /boot size: 973.4 MiB used: 243.9 MiB (25.1%) fs: ext4
    dev: /dev/sdd2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/sdd1
  ID-4: /home size: 236.89 GiB used: 8.63 GiB (3.6%) fs: btrfs
    dev: /dev/sdd3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 51.2 C mobo: 29.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 399 Uptime: 3m Memory: total: 32 GiB available: 31.24 GiB
  used: 2.57 GiB (8.2%) Init: systemd v: 254 target: graphical (5)
  default: graphical Compilers: gcc: 13.2.1 Packages: pm: rpm pkgs: N/A
  note: see --rpm pm: flatpak pkgs: 11 Shell: Bash v: 5.2.21
  running-in: konsole inxi: 3.3.31
Installed Packages
akmod-nvidia.x86_64                               3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.6.6-200.fc39.x86_64.x86_64          3:545.29.06-1.fc39          @@commandline                   
nvidia-gpu-firmware.noarch                        20231111-1.fc39             @updates                        
nvidia-modprobe.x86_64                            3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                        3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                            3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                        3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                   3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64              3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                   3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                  3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
Fri Dec 15 01:52:48 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 Ti     Off | 00000000:07:00.0  On |                  N/A |
|  0%   45C    P8              16W / 200W |    505MiB /  8192MiB |      1%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1596      G   /usr/bin/kwalletd5                            2MiB |
|    0   N/A  N/A      1952      G   /usr/bin/ksmserver                            2MiB |
|    0   N/A  N/A      1954      G   /usr/bin/kded5                                2MiB |
|    0   N/A  N/A      1972      G   /usr/bin/kwin_wayland                       101MiB |
|    0   N/A  N/A      2000      G   /usr/bin/Xwayland                             3MiB |
|    0   N/A  N/A      2061      G   /usr/bin/plasmashell                         93MiB |
|    0   N/A  N/A      2084      G   ...5/polkit-kde-authentication-agent-1        2MiB |
|    0   N/A  N/A      2086      G   /usr/libexec/xdg-desktop-portal-kde           2MiB |
|    0   N/A  N/A      2325      G   /usr/libexec/kdeconnectd                      2MiB |
|    0   N/A  N/A      2351      G   /usr/bin/kaccess                              2MiB |
|    0   N/A  N/A      2354      G   /usr/libexec/DiscoverNotifier                 2MiB |
|    0   N/A  N/A      2355      G   /usr/bin/kalendarac                           2MiB |
|    0   N/A  N/A      2625      G   /usr/bin/akonadi_control                      2MiB |
|    0   N/A  N/A      2698      G   /usr/bin/akonadi_akonotes_resource            2MiB |
|    0   N/A  N/A      2699      G   /usr/bin/akonadi_archivemail_agent            2MiB |
|    0   N/A  N/A      2700      G   /usr/bin/akonadi_birthdays_resource           2MiB |
|    0   N/A  N/A      2701      G   /usr/bin/akonadi_contacts_resource            2MiB |
|    0   N/A  N/A      2703      G   .../bin/akonadi_followupreminder_agent        2MiB |
|    0   N/A  N/A      2709      G   /usr/bin/akonadi_ical_resource                2MiB |
|    0   N/A  N/A      2710      G   /usr/bin/akonadi_indexing_agent               2MiB |
|    0   N/A  N/A      2713      G   /usr/bin/akonadi_maildir_resource             2MiB |
|    0   N/A  N/A      2718      G   /usr/bin/akonadi_maildispatcher_agent         2MiB |
|    0   N/A  N/A      2719      G   /usr/bin/akonadi_mailfilter_agent             2MiB |
|    0   N/A  N/A      2721      G   /usr/bin/akonadi_mailmerge_agent              2MiB |
|    0   N/A  N/A      2723      G   /usr/bin/akonadi_migration_agent              2MiB |
|    0   N/A  N/A      2735      G   /usr/bin/akonadi_newmailnotifier_agent        2MiB |
|    0   N/A  N/A      2738      G   /usr/bin/akonadi_sendlater_agent              2MiB |
|    0   N/A  N/A      2740      G   /usr/bin/akonadi_unifiedmailbox_agent         2MiB |
|    0   N/A  N/A      2918      G   /usr/lib64/firefox/firefox                  148MiB |
|    0   N/A  N/A      3432      G   /usr/libexec/baloorunner                      2MiB |
|    0   N/A  N/A      3452      G   /usr/bin/kwrite                               2MiB |
|    0   N/A  N/A      3473      G   /usr/bin/konsole                              2MiB |
+---------------------------------------------------------------------------------------+

I still see the large number of akonadi processes on that gpu and have to wonder if that may be impacting the overall system performance.

Maybe remove whatever that is or disable it to see if a change then is noted.

Killed all the processes and still the same issue

Fri Dec 15 02:31:29 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3060 Ti     Off | 00000000:07:00.0  On |                  N/A |
|  0%   46C    P8              17W / 200W |    807MiB /  8192MiB |      2%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      1596      G   /usr/bin/kwalletd5                            2MiB |
|    0   N/A  N/A      1952      G   /usr/bin/ksmserver                            2MiB |
|    0   N/A  N/A      1954      G   /usr/bin/kded5                                2MiB |
|    0   N/A  N/A      1972      G   /usr/bin/kwin_wayland                       133MiB |
|    0   N/A  N/A      2000      G   /usr/bin/Xwayland                           118MiB |
|    0   N/A  N/A      2061      G   /usr/bin/plasmashell                        136MiB |
|    0   N/A  N/A      2084      G   ...5/polkit-kde-authentication-agent-1        2MiB |
|    0   N/A  N/A      2086      G   /usr/libexec/xdg-desktop-portal-kde           2MiB |
|    0   N/A  N/A      2325      G   /usr/libexec/kdeconnectd                      2MiB |
|    0   N/A  N/A      2351      G   /usr/bin/kaccess                              2MiB |
|    0   N/A  N/A      2354      G   /usr/libexec/DiscoverNotifier                 2MiB |
|    0   N/A  N/A      2355      G   /usr/bin/kalendarac                           2MiB |
|    0   N/A  N/A      3432      G   /usr/libexec/baloorunner                      2MiB |
|    0   N/A  N/A      5995      G   /usr/bin/dolphin                              2MiB |
|    0   N/A  N/A     19639      G   /usr/lib64/firefox/firefox                  144MiB |
|    0   N/A  N/A     20743      G   /usr/bin/plasma-discover                     39MiB |
|    0   N/A  N/A     24861      G   /usr/bin/dolphin                              2MiB |
|    0   N/A  N/A     25019      G   /usr/bin/dolphin                              2MiB |
|    0   N/A  N/A     26083      G   /usr/bin/systemsettings                      41MiB |
|    0   N/A  N/A     26365      G   /usr/bin/konsole                              2MiB |
+---------------------------------------------------------------------------------------+

Hopefully it helps out with troubleshooting if you can see the lag in action so i recorded it and uploaded it here: 20231215_023454

Have you tried with ‘top’, ‘htop’ or ‘iotop’ (or similar) to see what may be using a lot of processing time.

That is similar to what I see once in a while when tracker-miner is updating its database for use with nautilus (file manager).

What triggers me, is the display section:

  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.2
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: nouveau gpu: nvidia d-rect: 3840x1080 display-ID: 0

It seems like dri is using the nouveau driver after all.

I’m also running F39, and I have an (older) Nvidia card. My display section reads:

  Display: server: X.Org v: 1.20.14 with: Xwayland v: 23.2.2
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1

So my display section says the nouveau driver is unloaded. Another difference is that your running Wayland as compositor, and I’m using kwin_x11 (for some reason I don’t recall exactly, but it had to do with something that Wayland couldn’t do at some point; maybe it can today, but I never switched back). I have no performance issues that I know of with two 1920x1200 monitors.

Is the nouveau driver actually blacklisted at boot? Check with:

grep 'GRUB_CMDLINE_LINUX=' /etc/default/grub

For me, this produces:

GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau resume=/dev/mapper/VG_DATA-swap rd.lvm.lv=VG_SYSTEM/system rd.lvm.lv=VG_DATA/swap rhgb quiet initcall_blacklist=simpledrm_platform_driver_init nvidia-drm.modeset=1"

It produced the following line for me:

GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau"

Ran the command with 1 monitor and 2 monitors which gave me a really high CPU usage for both kwin_wayland and a new process nvidia_modeset. I’ve included screenshots of both “tops”


Okay, I’m not that good with desktop software, so I’m unsure if I’m of much help here.
However, on your system, inxi does report that DRI is using Nouveau. Therefore, it seems logical that the nouveau driver is loaded. (You can check this using: lsmod | grep nouveau.)

I did some reading on DRI. You can read this on Wikipedia for topics “Direct Rendering Infrastructure” and “Mesa (computer graphics)”:

  • DRI: “The main use of DRI is to provide hardware acceleration for the Mesa implementation of OpenGL.”
  • Mesa: “Proprietary graphics drivers (e.g., Nvidia GeForce driver and Catalyst) replace all of Mesa, providing their own implementation of a graphics API. An open-source effort to write a Mesa Nvidia driver called Nouveau is developed mostly by the community.”

So if I’m reading it correct, then when your system is using the Nvidia proprietary driver instead of the Nouveau driver, then it shouldn’t be using DRI at all. Since inxi reports both dri and nouveau on your system, I think it is using Nouveau.

Maybe it’s fixed when you fully uninstall the Nvidia proprietary driver, reboot and to avoid issues, make sure that the nouveau blacklist parameters are stripped from the grub config when you do, install the Nvidia driver, and finally reboot again. I did this myself recently, and it worked like a charm (but I had a different issue to fix).
https://rpmfusion.org/Howto/NVIDIA#Uninstall_the_NVIDIA_driver

Hope this helps; otherwise I’m out of clues.

Okay so before i uninstalled the NVIDIA drivers i ran that lsmod command which actually returned nothing which does sound odd.
Afterwards i removed the drivers and re-installed them. lsmod is still returning zero results for nouveau yet it is still showing in the inxi report.
Still though thanks for the suggestion

A slight change on the command above.
I would suggest using lsmod | grep -iE 'nouveau|nvidia' which should show exactly which driver is loaded.

Also please show us the output of
cat /proc/cmdline
and
dnf list installed \*nvidia\*

Here they are:

nvidia_drm            118784  92
nvidia_modeset       1585152  32 nvidia_drm
nvidia_uvm           3522560  0
nvidia              62394368  1072 nvidia_uvm,nvidia_modeset
video                  77824  1 nvidia_modeset
BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.6.6-200.fc39.x86_64 root=UUID=51e44f7d-ee67-485e-8b91-85a68d7d6c27 ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
Installed Packages
akmod-nvidia.x86_64                               3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.6.6-200.fc39.x86_64.x86_64          3:545.29.06-1.fc39          @@commandline                   
libva-nvidia-driver.x86_64                        0.0.11-1.fc39               @updates                        
nvidia-gpu-firmware.noarch                        20231211-1.fc39             @updates                        
nvidia-modprobe.x86_64                            3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                        3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                            3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                        3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                   3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686                3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64              3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                     3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                   3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                  3:545.29.06-1.fc39          @rpmfusion-nonfree-nvidia-driver

Are you still experiencing problems (booting or large numbers of akonadi processes)?