https://bugs.kde.org/show_bug.cgi?id=523160
Bug ID: 523160
Summary: kwin_wayland: Failed to open drm device /dev/dri/card1
(AMD Graphics) on Plasma 6.7.x
Classification: KDE Neon
Product: neon
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Target Milestone: ---
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 [email protected] - Load
Kernel Module drm...
Jul 16 13:36:48 my-laptop systemd[1]: [email protected]: Deactivated
successfully.
Jul 16 13:36:48 my-laptop systemd[1]: Finished [email protected] - 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.
--
You are receiving this mail because:
You are watching all bug changes.