Fedora 40 blank screen after login (VK_ERROR_INCOMPATIBLE_DRIVER)

Note: I actually compiled all this info and wrote up a post but I ended up solving it at the last minute!!! Here is my info and the solution is below in case anyone needs it. Also if anyone knows why the heck this happened that would be so cool to know.

Bit of a noobie here, when I log into fedora 40, I get a blank screen. Can anyone please give me a hand? I can get into tty and just ran sudo dnf update fine. I use kde plasma, have a 6800xt, 3 monitors and one of them is 4k. Here are (or what I think are) the most important things to note:

When looking at journalctl -b -xe | grep -i err I see this block repeated 18 times

    Jul 17 17:10:10 fedora xdg-desktop-portal-kde[6784]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:10 fedora xdg-desktop-portal-kde[6784]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD129 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:11 fedora org_kde_powerdevil[6775]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:11 fedora org_kde_powerdevil[6775]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD129 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:11 fedora polkit-kde-authentication-agent-1[6774]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:11 fedora polkit-kde-authentication-agent-1[6774]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD129 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:18 fedora plasmashell[6794]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:18 fedora plasmashell[6794]: TU: error: ../src/freedreno/vulkan/tu_knl.cc:227: failed to open device /dev/dri/renderD129 (VK_ERROR_INCOMPATIBLE_DRIVER)
    Jul 17 17:10:34 fedora xdg-desktop-por[6777]: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: Timeout was reached

When running sudo dmesg | grep -iE 'amd|gpu', I noticed smu driver version didn’t matched

    [    8.673321] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5a00 (58.90.0)
    [    8.673323] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
    [    8.673351] amdgpu 0000:03:00.0: amdgpu: use vbios provided pptable
    [    8.751038] amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!

More info

sudo dnf list installed | grep -iE 'amd'

    amd-gpu-firmware.noarch                              20240709-1.fc40                     @updates                  
    amd-ucode-firmware.noarch                            20240709-1.fc40                     @updates                  
    teamd.x86_64                                         1.32-7.fc40                         @updates                  

lsmod | grep -iE amdgpu|gpu

    amdgpu              17833984  10
    amdxcp                 12288  1 amdgpu
    i2c_algo_bit           20480  1 amdgpu
    drm_ttm_helper         12288  1 amdgpu
    ttm                   114688  2 amdgpu,drm_ttm_helper
    drm_exec               12288  1 amdgpu
    gpu_sched              65536  1 amdgpu
    drm_suballoc_helper    12288  1 amdgpu
    drm_buddy              20480  1 amdgpu
    drm_display_helper    274432  1 amdgpu
    video                  81920  1 amdgpu

Solution

I checked the permissions to that file using ls -l /dev/dri/renderD*

    crw-rw----. 1 root vglusers 226, 128 Jul 17 17:36 /dev/dri/renderD128
    crw-rw----. 1 root vglusers 226, 129 Jul 17 17:36 /dev/dri/renderD129

Checked my user permissions using groups $USER

    myname : myname wheel 

Added vglusers using sudo usermod -aG vglusers $USER
Checked my user permissions using groups $USER

    myname : myname wheel vglusers

reboot that sucker, and cross your fingers

1 Like

Welcome to :fedora: and Thanks for the contribution !