Random low resolution after boot with KDE Plasma+nvidia drivers

Hello,

Fedora newcomer here. I recently decided to try Fedora and I’m having an issue that I’m unable to fix. I chose the KDE Plasma edition, and right after a fresh install, my system kept freezing at random. I quickly found out that it was likely related to the nouveau driver, so I started a journey to make the proprietary drivers work.

I followed the HowToNvidia from RPMfusion (also enrolled the key for secure boot compatibility), and the freezing issue has gone since. But now, each time I do a cold boot, or sometimes when restarting, I have this strange issue where, during the boot loading, my screen resolution changes to the minimum (640x480). The most surprising thing is that if I turn off my screen and then turn it back on, the correct resolution comes back. Also, when this issue occurs, I notice that I can’t change my monitor brightness, and the slider disappeared, but it seems to be a known issue as many threads are pointing this out.

This issue made me look deeper to find out the cause, and it seems related to the NVIDIA driver, which made me question if I was even using them.

Here are some commands that seem to be related to this issue (apologies if this is too much):

lsmod | grep -i nvidia 
nvidia_drm            155648  73
nvidia_modeset       1830912  32 nvidia_drm
nvidia_uvm           3997696  0
nvidia              97116160  595 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  3 amdgpu,nvidia_drm
video                  81920  4 asus_wmi,amdgpu,asus_nb_wmi,nvidia_modeset
inxi -Fzxx
System:
  Kernel: 6.14.3-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.0.1
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 42 (KDE Plasma Desktop Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B650-PLUS WIFI v: Rev 1.xx
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 3222
    date: 03/05/2025
CPU:
  Info: 8-core model: AMD Ryzen 7 7700X bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 512 KiB L2: 8 MiB L3: 32 MiB
  Speed (MHz): avg: 2989 min/max: 545/5575 boost: enabled cores: 1: 2989
    2: 2989 3: 2989 4: 2989 5: 2989 6: 2989 7: 2989 8: 2989 9: 2989 10: 2989
    11: 2989 12: 2989 13: 2989 14: 2989 15: 2989 16: 2989 bogomips: 144003
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA AD103 [GeForce RTX 4080 SUPER] vendor: CardExpert
    driver: nvidia v: 570.133.07 arch: Lovelace pcie: speed: 5 GT/s lanes: 16
    ports: active: none off: DP-4 empty: DP-2,DP-3,HDMI-A-2 bus-ID: 01:00.0
    chip-ID: 10de:2702
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: ASUSTeK
    driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports:
    active: none empty: DP-1,HDMI-A-1,Writeback-1 bus-ID: 0c:00.0
    chip-ID: 1002:164e temp: 33.0 C
  Display: wayland server: Xwayland v: 24.1.6 compositor: kwin_wayland
    driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-4 model: AOC Q27G3XMN res: 2560x1440 hz: 165 dpi: 109
    diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.133.07 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.4.309 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: nvidia device-ID: 10de:2702 device: 1
    type: integrated-gpu driver: mesa radv device-ID: 1002:164e device: 2
    type: cpu driver: mesa llvmpipe device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings
    wl: wayland-info,wlr-randr x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA vendor: CardExpert driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:22bb
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt Radeon High
    Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:1640
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 0c:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.14.3-300.fc42.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.2 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: ASUSTeK driver: r8169 v: kernel
    pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 08:00.0 chip-ID: 10ec:8125
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 09:00.0 chip-ID: 14c3:7961
  IF: wlp9s0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-5:3 chip-ID: 13d3:3563
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 931.51 GiB used: 8.35 GiB (0.9%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SNV2S1000G size: 931.51 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 34.9 C
Partition:
  ID-1: / size: 481.18 GiB used: 7.63 GiB (1.6%) fs: btrfs dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 685.9 MiB (70.5%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 96 MiB used: 49.8 MiB (51.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 481.18 GiB used: 7.63 GiB (1.6%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.1 C mobo: 32.5 C gpu: amdgpu temp: 34.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.5 GiB used: 3.27 GiB (10.7%)
  Processes: 395 Power: uptime: 16m wakeups: 0 Init: systemd v: 257
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm Compilers: gcc: 15.0.1
    Shell: Zsh v: 5.9 running-in: kitty inxi: 3.3.38

The first thing I noticed here is under the graphics card section, where no port seems to be active (“ports: active: none off: DP-4 empty: DP-2, DP-3, HDMI-A-2”), whereas when using the nouveau drivers, I do see the correct port listed as active.

sudo dmesg | grep -iE "nvidia|secure" 
[    0.000000] Command line: BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.14.3-300.fc42.x86_64 root=UUID=82844bbb-9150-4bcd-9f6f-0427addae5df ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[    0.000000] secureboot: Secure boot enabled
[    0.000000] Kernel is locked down from EFI Secure Boot mode; see man kernel_lockdown.7
[    0.002929] secureboot: Secure boot enabled
[    0.027035] Kernel command line: BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.14.3-300.fc42.x86_64 root=UUID=82844bbb-9150-4bcd-9f6f-0427addae5df ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
[    3.921876] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    5.078258] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input16
[    5.080740] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input17
[    5.081435] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input18
[    5.082506] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input19
[    5.336114] nvidia: loading out-of-tree module taints kernel.
[    5.336877] nvidia: module license 'NVIDIA' taints kernel.
[    5.337448] nvidia: module license taints kernel.
[    5.635084] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[    5.637214] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    5.680515] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  570.133.07  Fri Mar 14 13:12:07 UTC 2025
[    5.714674] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    5.813020] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  570.133.07  Fri Mar 14 12:42:57 UTC 2025
[    5.820737] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    7.013517] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 2
[    7.047868] nvidia 0000:01:00.0: vgaarb: deactivate vga console
[    7.054274] fbcon: nvidia-drmdrmfb (fb0) is primary device
[    7.192435] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
sudo cat /etc/default/grub 
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_GFXMODE=1920x1080
GRUB_GFXPAYLOAD_LINUX=keep

Now about the driver loading phase, I noticed that the powerd service never loads correctly but even when disabling this service, I then have issue loading the service that manage hibernation/sleep. In others words, I always have an issue during the boot :
This log is way too long so I’ll only include parts that seems relevants

journalctl | grep "nvidia"
avril 26 15:17:15 fedora kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.14.3-300.fc42.x86_64 root=UUID=82844bbb-9150-4bcd-9f6f-0427addae5df ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
avril 26 15:17:17 fedora dracut-cmdline[446]: Using kernel command line parameters:  rd.driver.pre=btrfs   BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.14.3-300.fc42.x86_64 root=UUID=82844bbb-9150-4bcd-9f6f-0427addae5df ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
avril 26 13:17:19 fedora kernel: nvidia: loading out-of-tree module taints kernel.
avril 26 13:17:19 fedora kernel: nvidia: module license 'NVIDIA' taints kernel.
avril 26 13:17:19 fedora kernel: nvidia: module license taints kernel.
avril 26 13:17:19 fedora kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
avril 26 13:17:19 fedora kernel: nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
avril 26 13:17:19 fedora kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
avril 26 13:17:19 fedora kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  570.133.07  Fri Mar 14 12:42:57 UTC 2025
avril 26 13:17:19 fedora kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
avril 26 13:17:19 fedora systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
avril 26 13:17:19 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
avril 26 13:17:19 fedora /usr/bin/nvidia-powerd[1145]: nvidia-powerd version:1.0(build 1)
avril 26 13:17:20 fedora /usr/bin/nvidia-powerd[1145]: Found unsupported configuration. Exiting...
avril 26 13:17:20 fedora systemd[1]: nvidia-powerd.service: Deactivated successfully.
avril 26 13:17:20 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
avril 26 13:17:20 fedora kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 2
avril 26 13:17:20 fedora kernel: nvidia 0000:01:00.0: vgaarb: deactivate vga console
avril 26 13:17:20 fedora kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
avril 26 13:17:20 fedora kernel: nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
avril 26 13:17:20 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
avril 26 13:17:20 fedora systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
avril 26 13:17:31 fedora systemd[1965]: Starting app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings...
avril 26 13:17:31 fedora systemd[1965]: Started app-nvidia\x2dsettings\x2duser@autostart.service - nvidia-settings.
                                                 Module libnvidia-egl-xlib.so.1 from rpm egl-x11-1.0.1~20250324git0558d54-5.fc42.x86_64
                                                 Module libnvidia-egl-xcb.so.1 from rpm egl-x11-1.0.1~20250324git0558d54-5.fc42.x86_64
                                                 Module libnvidia-egl-gbm.so.1 from rpm egl-gbm-1.1.2.1-1.fc42.x86_64
                                                 Module libnvidia-egl-wayland.so.1 from rpm egl-wayland-1.1.19~20250313gitf1fd514-1.fc42.x86_64

I’ve also stumbled across some threads on the nvidia developer forum that point to this issue, but I suppose this is not what causes my problem.

Lastly, when scrolling through the journalctl logs, I saw these logs:

fedora sddm-helper-start-wayland[1852]: "kwin_core: EDID colorimetry xy(0.330078, 0.297852) xy(0.597656, 0.149414) xy(0.0605469, 0.314453) xy(0.328125, 0.00292969) is is invalid\n"
avril 26 12:56:25 fedora systemd-coredump[5223]: [🡕] Process 5220 (eglinfo) of user 1000 dumped core.
                                                 
                                                 Module /usr/bin/eglinfo from rpm mesa-demos-9.0.0-9.fc42.x86_64
                                                 Module libcap.so.2 from rpm libcap-2.73-2.fc42.x86_64
                                                 Module libsystemd.so.0 from rpm systemd-257.5-2.fc42.x86_64
                                                 Module libdbus-1.so.3 from rpm dbus-1.16.0-3.fc42.x86_64
                                                 Module liblzma.so.5 from rpm xz-5.8.1-2.fc42.x86_64
                                                 Module libtinfo.so.6 from rpm ncurses-6.5-5.20250125.fc42.x86_64
                                                 Module libpciaccess.so.0 from rpm libpciaccess-0.16-15.fc42.x86_64
                                                 Module libxml2.so.2 from rpm libxml2-2.12.10-1.fc42.x86_64
                                                 Module libedit.so.0 from rpm libedit-3.1-55.20250104cvs.fc42.x86_64
                                                 Module libdrm_intel.so.1 from rpm libdrm-2.4.124-2.fc42.x86_64
                                                 Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.124-2.fc42.x86_64
                                                 Module libelf.so.1 from rpm elfutils-0.192-9.fc42.x86_64
                                                 Module libxshmfence.so.1 from rpm libxshmfence-1.3.2-6.fc42.x86_64
                                                 Module libxcb-sync.so.1 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libsensors.so.4 from rpm lm_sensors-3.6.0-22.fc42.x86_64
                                                 Module libSPIRV-Tools.so from rpm spirv-tools-2025.1-1.fc42.x86_64
                                                 Module libzstd.so.1 from rpm zstd-1.5.7-1.fc42.x86_64
                                                 Module libz.so.1 from rpm zlib-ng-2.2.4-3.fc42.x86_64
                                                 Module libxcb-shm.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libxcb-xfixes.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libxcb-randr.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libgallium-25.0.4.so from rpm mesa-25.0.4-2.fc42.x86_64
                                                 Module libEGL_mesa.so.0 from rpm mesa-25.0.4-2.fc42.x86_64
                                                 Module libX11-xcb.so.1 from rpm libX11-1.8.11-1.fc42.x86_64
                                                 Module libX11.so.6 from rpm libX11-1.8.11-1.fc42.x86_64
                                                 Module libnvidia-egl-xlib.so.1 from rpm egl-x11-1.0.1~20250324git0558d54-5.fc42.x86_64
                                                 Module libXau.so.6 from rpm libXau-1.0.12-2.fc42.x86_64
                                                 Module libxcb-dri3.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libxcb-present.so.0 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libxcb.so.1 from rpm libxcb-1.17.0-5.fc42.x86_64
                                                 Module libnvidia-egl-xcb.so.1 from rpm egl-x11-1.0.1~20250324git0558d54-5.fc42.x86_64
                                                 Module libexpat.so.1 from rpm expat-2.7.1-1.fc42.x86_64
                                                 Module libgbm.so.1 from rpm mesa-25.0.4-2.fc42.x86_64
                                                 Module libnvidia-egl-gbm.so.1 from rpm egl-gbm-1.1.2.1-1.fc42.x86_64
                                                 Module libffi.so.8 from rpm libffi-3.4.6-5.fc42.x86_64
                                                 Module libdrm.so.2 from rpm libdrm-2.4.124-2.fc42.x86_64
                                                 Module libwayland-client.so.0 from rpm wayland-1.23.1-1.fc42.x86_64
                                                 Module libwayland-server.so.0 from rpm wayland-1.23.1-1.fc42.x86_64
                                                 Module libnvidia-egl-wayland.so.1 from rpm egl-wayland-1.1.19~20250313gitf1fd514-1.fc42.x86_64
                                                 Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-7.fc42.x86_64
                                                 Module libEGL.so.1 from rpm libglvnd-1.7.0-7.fc42.x86_64
                                                 Stack trace of thread 5220:
                                                 #0  0x00007f8349a2d14e drisw_init_screen (libgallium-25.0.4.so + 0x2d14e)
                                                 #1  0x00007f8349a28035 driCreateNewScreen3 (libgallium-25.0.4.so + 0x28035)
                                                 #2  0x00007f83507c4ed2 dri2_create_screen (libEGL_mesa.so.0 + 0x16ed2)
                                                 #3  0x00007f83507c6775 dri2_initialize_device (libEGL_mesa.so.0 + 0x18775)
                                                 #4  0x00007f83507c5788 dri2_initialize (libEGL_mesa.so.0 + 0x17788)
                                                 #5  0x00007f83507b3f5e eglInitialize (libEGL_mesa.so.0 + 0x5f5e)
                                                 #6  0x000055650cc88969 doOneDisplay (/usr/bin/eglinfo + 0x4969)
                                                 #7  0x000055650cc84e8a main (/usr/bin/eglinfo + 0xe8a)
                                                 #8  0x00007f8352f305f5 __libc_start_call_main (libc.so.6 + 0x35f5)
                                                 #9  0x00007f8352f306a8 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x36a8)
                                                 #10 0x000055650cc84f05 _start (/usr/bin/eglinfo + 0xf05)
                                                 ELF object binary architecture: AMD x86-64
avril 26 12:56:25 fedora systemd[1]: systemd-coredump@0-5222-0.service: Deactivated successfully.
avril 26 12:56:51 fedora abrt-server[5415]: Deleting problem directory ccpp-2025-04-26-12:56:50.883163-5390 (dup of ccpp-2025-04-20-18:43:12.555013-5998)
avril 26 12:56:51 fedora abrt-applet[2773]: g_app_info_should_show: assertion 'G_IS_APP_INFO (appinfo)' failed
avril 26 12:56:51 fedora abrt-notification[5576]: [🡕] Process 5998 (eglinfo) crashed in drisw_init_screen()

So at this point, I’m not sure what’s happening. Something is definitely not working with the way I’ve installed the nvidia drivers, and I’m pretty sure the maintainers are already aware of this since many people are experiencing the same issue. However, I can’t find any threads discussing this strange resolution problem.

Small precision, I tried Arch (btw) with Hyprland for a few weeks before switching to Fedora, and I had the exact same issue. At first, I thought it was specific to Arch/Hyprland.

Any help would be greatly appreciated!

Thanks

The backtrace shows the issue is in mesa, so it’s a amdgpu issue.

                  #0  0x00007f8349a2d14e drisw_init_screen (libgallium-25.0.4.so + 0x2d14e)
                                                 #1  0x00007f8349a28035 driCreateNewScreen3 (libgallium-25.0.4.so + 0x28035)
                                                 #2  0x00007f83507c4ed2 dri2_create_screen (libEGL_mesa.so.0 + 0x16ed2)
                                                 #3  0x00007f83507c6775 dri2_initialize_device (libEGL_mesa.so.0 + 0x18775)
                                                 #4  0x00007f83507c5788 dri2_initialize (libEGL_mesa.so.0 + 0x17788)
                                                 #5  0x00007f83507b3f5e eglInitialize (libEGL_mesa.so.0 + 0x5f5e)
                                                 #6  0x000055650cc88969 doOneDisplay (/usr/bin/eglinfo + 0x4969)
                                                 #7  0x000055650cc84e8a main (/usr/bin/eglinfo + 0xe8a)
                                                 #8  0x00007f8352f305f5 __libc_start_call_main (libc.so.6 + 0x35f5)
                                                 #9  0x00007f8352f306a8 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x36a8)
                                                 #10 0x000055650cc84f05 _start (/usr/bin/eglinfo + 0xf05)
                                                 ELF object binary architecture: AMD x86-64

Also remove this option as it’s already enabled in the driver, it isn’t useful on the cmdline as it disables simpledrm

Thank you for your answer. Do you have any idea how i can solve this ? Should i completely disable the use of the integrated amd gpu ?

eglinfo:
this was fixed in mesa 25.0.3 and has been apparently re-introduced in 25.0.4 :frowning:

this works:
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglinfo -B

I’d also suggest switching to the kernel open modules. This becomes more and more important for GPUs supported by the open modules.

$ modinfo -l nvidia
Dual MIT/GPL

from Howto/NVIDIA - RPM Fusion

sudo sh -c 'echo "%_with_kmod_nvidia_open 1" > /etc/rpm/macros.nvidia-kmod'
sudo akmods --kernels $(uname -r) --rebuild --force

also upgrade to nvidia driver 570.144.

Fixed an issue that could cause render-offloaded applications using KDE Frameworks 6 to crash.

Thanks for the suggestion ! However this :

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglinfo -B

doesn’t work.

I’m starting to think that it may be an issue with how my monitor is handled, as there is in the log something about EDID and colorimetry

Also, I’m currently in the low res (after a cold boot again), and if I go into the system information, i notice a few things :

  • The EDID part shows “No data available”
  • OpenCl shows :
Number of platforms                               0

ICD loader properties
  ICD loader Name                                 Khronos OpenCL ICD Loader
  ICD loader Vendor                               Khronos Group
  ICD loader Version                              3.0.6
  ICD loader Profile                              OpenCL 3.0
  • OpenGL says : eglinfo crashed when generating the content of the page
  • Xserver output :
name of display:    :0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12401006
X.Org version: 24.1.6
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x200000, revert to PointerRoot
number of extensions:    25
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DRI3
    GLX
    Generic Event Extension
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
    XWAYLAND
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    640x480 pixels (169x127 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x35d
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x28
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    640x480
  current input event mask:    0xfa8031
    KeyPressMask             EnterWindowMask          LeaveWindowMask          
    ExposureMask             StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask       
    ColormapChangeMask       
  number of visuals:    336
  default visual id:  0x29
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x20f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x210
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

People online seems to have display issue and resolution issue related to EDID, but maybe this is a symptom of the mesa issue you pointed out and not the root cause. i’m a bit lost haha

do you get any output?

$ __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

without __EGL_VENDOR_LIBRARY_FILENAMES, I get the the same output plus ( dev1 is an Intel Xe iGPU

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
Segmentation fault (core dumped)

That would help.

@anotheruser
Oh sorry, I thought the command was a solution. Here is the output :

GBM platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.133.07
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.133.07
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.133.07
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.133.07
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.133.07
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.133.07
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.133.07
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.133.07
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.133.07
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.133.07
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.133.07
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.133.07
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

And without the first part i also have this plus :

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 570.133.07
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 570.133.07
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 570.133.07
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[1]    3815 segmentation fault (core dumped)  eglinfo -B

@leigh123linux
I tried with igpu disabled in the bios and the issue remains

you could try adding this to /etc/environment

Have you tried to use the nvidia open drivers?

sudo sh -c 'echo "%_with_kmod_nvidia_open 1" > /etc/rpm/macros.nvidia-kmod'
sudo akmods --kernels $(uname -r) --rebuild --force

Unfortunately, this issue is still there after switching to the open kernel drivers.
As Leigh assumed it, I think the issue is not on the nvidia side but on the amd/mesa
But I’m very surprised that even with the integrated gpu disabled in the bios, it does still happens

This shows that it is most likely not an iGPU problem. I would try the DP-2 port instead of DP-4. It should not matter, but who knows.

All the output posted for the nvidia driver looks normal
The eglinfo stack trace isn’t caused by nvidia and can be ignored, I have the same here.

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 575.51.02
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 575.51.02
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 575.51.02
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
Segmentation fault (core dumped)

inxi shows egl device 0 is nvidia, egl device 1 is mesa

$ inxi -SGxx
System:
  Host: leigh-pc Kernel: 6.15.0-0.rc2.22.fc43.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 15.0.1
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.49 wm: Muffin dm: 1: LightDM
    2: SDDM note: stopped Distro: Fedora Linux 42 (Cinnamon)
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] driver: nvidia v: 575.51.02
    arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: DP-2
    empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f82
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    driver: X: loaded: nvidia unloaded: modesetting,nouveau
    alternate: fbdev,nv,vesa gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-2 model: Idek Iiyama PL2888UH res: 3840x2160 hz: 60 dpi: 157
    diag: 708mm (27.9")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 575.51.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.4.309 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:1f82 device: 1
    type: discrete-gpu driver: N/A device-ID: 10de:1f82 device: 2 type: cpu
    driver: N/A device-ID: 10005:0000
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi wl: wayland-info x11: xdriinfo, xdpyinfo,
    xprop, xrandr

Maybe your monitor cable is faulty and causing the edid warning

I’m pretty sure that it’s software related and not hardware as I’ve already tried other DP ports, and a brand new cable.
I do have windows in dual boot and never had any issue

Does this happen at every cold boot?
Have you tried to delay the boot process, i.e. by stopping at the grub menu?
I wonder if the monitor is not reporting an EDID table while it’s still initializing during a cold boot.