Bug 523160 - kwin_wayland: Failed to open drm device /dev/dri/card1 (AMD Graphics) on Plasma 6.7.x Black screen on login with no cursor
Summary: kwin_wayland: Failed to open drm device /dev/dri/card1 (AMD Graphics) on Plas...
Status: CONFIRMED
Alias: None
Product: plasma-login-manager
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.7.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 523578 (view as bug list)
Depends on:
Blocks: 506893
  Show dependency tree / graph
 
Reported: 2026-07-17 03:09 UTC by the_archer_xz
Modified: 2026-10-27 10:53 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Log.txt (5.15 KB, text/plain)
2026-07-17 20:11 UTC, the_archer_xz
Details
dmesg.txt (73.16 KB, text/plain)
2026-07-17 20:11 UTC, the_archer_xz
Details
dmesg output for 6.7.5 (72.14 KB, text/plain)
2026-09-15 00:19 UTC, the_archer_xz
Details
logs for Plasma 6.7.5 (51.85 KB, text/plain)
2026-09-15 00:20 UTC, the_archer_xz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description the_archer_xz 2026-07-17 03:09:00 UTC
DESCRIPTION

Upgraded from 6.6.5 to 6.7.x. Black screen on login.

STEPS TO REPRODUCE
1. Update from 6.6.5 to 6.7.x
2. Log in via SDDM

OBSERVED RESULT

Black screen on login. Plasma 6.7.x upgrade causes KWin Wayland DRM device initialization failure on AMD GPUs. Fresh ISO works.

From the command (AMD laptop): journalctl | grep drm

Jul 16 13:36:47 my-laptop kernel: ACPI: bus type drm_connector registered
Jul 16 13:36:47 my-laptop kernel: simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
Jul 16 13:36:47 my-laptop kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
Jul 16 13:36:47 my-laptop kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
Jul 16 13:36:47 my-laptop systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
Jul 16 13:36:48 my-laptop systemd[1]: modprobe@drm.service: Deactivated successfully.
Jul 16 13:36:48 my-laptop systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] ATOM BIOS: 113-C91400-005
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] UVD is enabled in physical mode
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] VCE enabled in VM mode
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] Detected VRAM RAM=512M, BAR=512M
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] RAM width 64bits UNKNOWN
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] GART: num cpu pages 262144, num gpu pages 262144
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] PCIE GART of 1024M enabled (table at 0x000000F400600000).
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] Found UVD firmware Version: 1.43 Family ID: 15
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] UVD ENC is disabled
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: values for Engine clock
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         200000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         300000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         400000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         496560
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         600000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         685720
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         757900
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         800000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: Validation clocks:
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    engine_max_clock: 80000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    memory_max_clock: 93300
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    level           : 8
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: values for Display clock
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         300000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         400000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         496560
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         626090
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         685720
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         757900
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         800000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         847060
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: Validation clocks:
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    engine_max_clock: 80000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    memory_max_clock: 93300
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    level           : 8
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: values for Memory clock
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         667000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:         933000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB: Validation clocks:
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    engine_max_clock: 80000
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    memory_max_clock: 93300
Jul 16 13:37:13 my-laptop kernel: [drm] DM_PPLIB:    level           : 8
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] Display Core v3.2.369 initialized on DCE 11.0
Jul 16 13:37:13 my-laptop kernel: amdgpu 0000:00:01.0: [drm] UVD initialized successfully.
Jul 16 13:37:14 my-laptop kernel: amdgpu 0000:00:01.0: [drm] VCE initialized successfully.
Jul 16 13:37:14 my-laptop kernel: amdgpu 0000:00:01.0: [drm] Using custom brightness curve
Jul 16 13:37:14 my-laptop kernel: amdgpu 0000:00:01.0: [drm] Registered 2 planes with drm panic
Jul 16 13:37:14 my-laptop kernel: [drm] Initialized amdgpu 3.64.0 for 0000:00:01.0 on minor 1
Jul 16 13:37:14 my-laptop kernel: fbcon: amdgpudrmfb (fb0) is primary device
Jul 16 13:37:14 my-laptop kernel: amdgpu 0000:00:01.0: [drm] fb0: amdgpudrmfb frame buffer device
Jul 16 13:38:00 my-laptop kwin_wayland[1828]: No backend specified, automatically choosing drm
Jul 16 13:38:00 my-laptop kwin_wayland[1828]: Failed to open drm device /dev/dri/card1
Jul 16 13:38:01 my-laptop kwin_wayland[1898]: Failed to open drm node /dev/dri/renderD128: Permission denied
Jul 16 13:38:01 my-laptop kwin_wayland[1898]: No backend specified, automatically choosing drm

From desktop:

Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: Failed to open drm device /dev/dri/card1
Jul 11 17:32:16 desktop-PC kwin_wayland[2188]: No suitable DRM devices have been found
Jul 11 17:32:16 desktop-PC kwin_wayland[2250]: Device AMD Radeon RX 580 Series (RADV POLARIS10) misses required Vulkan extensions
Jul 11 17:32:16 desktop-PC kwin_wayland[2250]: VK_EXT_image_drm_format_modifier
Jul 11 17:32:16 desktop-PC kwin_wayland[2250]: Device AMD Radeon RX 580 Series misses required Vulkan extensions
Jul 11 17:32:16 desktop-PC kwin_wayland[2250]: VK_EXT_physical_device_drm
Jul 11 17:32:16 desktop-PC kwin_wayland[2250]: VK_EXT_image_drm_format_modifier
--


EXPECTED RESULT

Wayland session should load on machines with AMD graphics.

SOFTWARE/OS VERSIONS

Desktop (Currently working version of Plasma):

Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600G with Radeon Graphics
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor: AMD Radeon RX 580 Series

AMD Laptop (currently working version of Plasma):

Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 6.17.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD A9-9400 RADEON R5, 5 COMPUTE CORES 2C+3G
Memory: 8 GiB of RAM (6.9 GiB usable)
Graphics Processor: AMD Radeon R5 Graphics
Manufacturer: LENOVO
Product Name: 80TR
System Version: Lenovo ideapad 110-15AST

Intel Laptop (running clone of my Desktop's OS; which loads wayland session as expected):

Operating System: KDE neon User Edition
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.0.0-28-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 4 GiB of RAM (3.7 GiB usable)
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Acer
Product Name: Aspire A515-51
System Version: V2.02

ADDITIONAL INFORMATION

Plasma 6.6.5 Wayland works on AMD hardware. Upgrading the same installation to Plasma 6.7.x causes KWin to fail DRM initialization on AMD GPUs. The same upgraded installation works on Intel graphics. KDE neon live ISO with Plasma 6.7.x works on AMD hardware.
Comment 1 TraceyC 2026-07-17 15:54:01 UTC
Thanks for the report. On the black screen, is there a mouse cursor, a flashing cursor or nothing?

We'll also need some logs from your system to assist in our investigation. 
While the system is at the black screen, switch to a TTY and run these commands:
> journalctl --user-unit plasma-kwin_wayland --boot 0 > ~/logs.txt
> sudo dmesg > ~/dmesg.txt

Then attach ~/logs.txt and ~/dmesg.txt to this report. Thanks.
Comment 2 the_archer_xz 2026-07-17 20:11:19 UTC
Created attachment 194388 [details]
Log.txt
Comment 3 the_archer_xz 2026-07-17 20:11:41 UTC
Created attachment 194389 [details]
dmesg.txt
Comment 4 the_archer_xz 2026-07-17 20:14:00 UTC
(In reply to TraceyC from comment #1)
> Thanks for the report. On the black screen, is there a mouse cursor, a
> flashing cursor or nothing?
> 
> We'll also need some logs from your system to assist in our investigation. 
> While the system is at the black screen, switch to a TTY and run these
> commands:
> > journalctl --user-unit plasma-kwin_wayland --boot 0 > ~/logs.txt
> > sudo dmesg > ~/dmesg.txt
> 
> Then attach ~/logs.txt and ~/dmesg.txt to this report. Thanks.

Added the logs above from the AMD laptop. I'm not into backing up and restoring my desktop PC right now. I've done it too many times trying to figure this out, and I absolutely hate having system downtime. So, I plugged in the cloned SSD of my main rig into the AMD laptop. So, hopefully those logs suffice.
Comment 5 the_archer_xz 2026-07-17 20:16:35 UTC
(In reply to TraceyC from comment #1)
> Thanks for the report. On the black screen, is there a mouse cursor, a
> flashing cursor or nothing?
> 
> We'll also need some logs from your system to assist in our investigation. 
> While the system is at the black screen, switch to a TTY and run these
> commands:
> > journalctl --user-unit plasma-kwin_wayland --boot 0 > ~/logs.txt
> > sudo dmesg > ~/dmesg.txt
> 
> Then attach ~/logs.txt and ~/dmesg.txt to this report. Thanks.

Oh, and there is no cursor. Just a black screen when after logging in from SDDM.
Comment 6 the_archer_xz 2026-07-17 20:20:59 UTC
One final thing. The cloned copy of my current install works perfectly on the Intel laptop. So, I'd target AMD hardware.
Comment 7 TraceyC 2026-07-30 16:49:24 UTC
Thanks for the extra details. The kwin maintainers will need to take it from here.
Comment 8 Zamundaaa 2026-08-04 14:57:28 UTC
> Failed to open drm node /dev/dri/renderD128: Permission denied
That one should never ever ever happen, but it's outside of KWin's control.

> Could not determine the active graphical session
Same with this.

> kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
This looks more familiar, and it's a problem in plasma login manager - it starts KWin too early on your PC. KWin 6.8 should handle it either way, but this needs to be fixed in PLM.
Comment 9 the_archer_xz 2026-08-04 21:13:59 UTC
(In reply to Zamundaaa from comment #8)
> > Failed to open drm node /dev/dri/renderD128: Permission denied
> That one should never ever ever happen, but it's outside of KWin's control.
> 
> > Could not determine the active graphical session
> Same with this.
> 
> > kwin_wayland[2188]: Failed to open /dev/dri/card1 device (Device or resource busy)
> This looks more familiar, and it's a problem in plasma login manager - it
> starts KWin too early on your PC. KWin 6.8 should handle it either way, but
> this needs to be fixed in PLM.

I have no clue on any of this. It's all well over my head. All I know is that 6.6.5 works fine. Whereas any variant of 6.7.x doesn't in my case on any system with AMD graphics with the current installs I have.
Comment 10 the_archer_xz 2026-08-07 18:27:45 UTC
Also, I just tried updating again with the current install I have. I updated to 6.7.4 on the Intel laptop. It works as usual on the system with Intel graphics. But I then plugged the SSD into the AMD laptop. Same issue persists.
Comment 11 the_archer_xz 2026-08-11 20:57:36 UTC
Well, I did another test. 

I cloned the drive of a laptop (which uses AMD) running a current install of KDE Neon 6.6.5. I restored it onto another SSD, then upgraded it to 6.7.4 on the Intel laptop. 

I plugged it into my main system. And the wayland session loaded properly.

So, I've isolated it to something that is happening with my current install that's causing this DRM issue. But I don't know what is causing it. Every time I've upgraded to a newer version of Plasma, I never had this issue.
Comment 12 TraceyC 2026-08-13 16:04:34 UTC
*** Bug 523578 has been marked as a duplicate of this bug. ***
Comment 13 TraceyC 2026-08-13 16:05:04 UTC
There's some additional analysis in the duplicate
Comment 14 the_archer_xz 2026-09-15 00:19:39 UTC
Created attachment 196163 [details]
dmesg output for 6.7.5
Comment 15 the_archer_xz 2026-09-15 00:20:36 UTC
Created attachment 196164 [details]
logs for Plasma 6.7.5
Comment 16 the_archer_xz 2026-09-15 00:25:19 UTC
Added new logs after updating to Plasma 6.7.5. The issue still persists on my desktop's current KDE neon installation.

For testing, I cloned my current desktop installation to another drive and updated it from Plasma 6.6.5 to 6.7.5. That updated installation boots into Wayland successfully when used on my Intel laptop, but Wayland fails when the same installation is used on AMD hardware.

I also tested the reverse: I took a different KDE neon installation (the one originally used on my AMD laptop), updated it to Plasma 6.7.5, and tested that installation on my main rig. Wayland loads properly there.

So the issue appears to depend on an interaction between my current KDE neon installation and AMD graphics. It is not simply that Plasma 6.7.5 fails on AMD hardware, since another KDE neon installation running Plasma 6.7.5 works on the same AMD hardware.
Comment 17 the_archer_xz 2026-10-15 06:59:56 UTC
I tried Plasma 6.8.0. Still having this same issue. I think I may have to just reinstall my system. But I really don't want to...
Comment 18 the_archer_xz 2026-10-17 03:41:58 UTC
Moving over to Opensuse Leap. I can't keep up with all the updates and bleeding edge problems that arise. Looking for less maintenance and a slower moving distro.

Perfect reason to ditch anything Ubuntu based, I suppose.