https://bugs.kde.org/show_bug.cgi?id=528374
Bug ID: 528374
Summary: kwin_wayland (DRM backend): ~60-100 "Modeset failed:
Invalid argument" in 2-3 s on ~40% of cold boots, AMD
Polaris (RX 550); input is lost meanwhile
Classification: Plasma
Product: kwin
Version First git-stable-Plasma/6.3
Reported In:
Platform: EndeavourOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: platform-drm
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 198092
--> https://bugs.kde.org/attachment.cgi?id=198092&action=edit
Les erreurs
Hardware: AMD Radeon RX 550 (POLARIS11, 0x1002:0x67FF), ASUS H110M-A/M.2,
i5-7500
Outputs: HDMI-A-1 and DP-1, both [email protected]
Software: KWin 6.8.2 (Plasma 6.8.2, Wayland), Qt 6.12.0, Mesa 26.2.6,
kernel 7.2.14-arch1-1 and 6.18.60-1-lts (Arch Linux, amdgpu 3.64.0)
Symptom:
On some cold boots, the first kwin_wayland instance that takes over the GPU
(the SDDM greeter,
or the user session when the greeter runs under X11) logs 60-100 times within
2-3 seconds:
kwin_wayland_drm: Modeset failed: Argument invalide (Invalid argument /
EINVAL)
Keyboard input is lost while this happens. Other boots are clean.
Kernel side, at the same moments (about 20 messages per failed attempt with two
outputs, about 6 with one):
amdgpu 0000:01:00.0: [drm] *ERROR* Unsupported screen format RA24
little-endian (0x34324152)
modetest -M amdgpu -p shows RA24 advertised in the format list of 5 planes
(attached),
so amdgpu advertises a format that it later rejects (I'm reporting that to
drm/amd too).
Observations:
- Started with the RX 550 installation (2026-10-24): 3 clean boots, then 12 of
27 boots affected.
- Over 13 consecutive boots, the RA24 count is bimodal: 0-2 (clean) or
1378-2196 (loop).
- No error is logged during amdgpu initialization. The first RA24 error comes
~8 s after
"fbcon: amdgpudrmfb (fb0) is primary device", when the first kwin takes over.
The loop lasts ~2 s.
- One output only: DP-1 alone 1/6 boots affected (63 failed modesets), HDMI-A-1
alone 1/6 (81).
- Same on linux-lts 6.18.60 and on 7.2.14-arch1.
- KWIN_DRM_NO_DIRECT_SCANOUT=1 has no effect.
- Workaround: running the SDDM greeter on Wayland moves the loop into the
greeter;
the user session then starts clean.
- vulkan-radeon installed, no change
Question for KWin: after the first EINVAL, could the DRM backend fall back to
another buffer
format (or skip the rejected one) instead of retrying the same commit dozens of
times?
Attached: kernel log of an affected boot, kwin greeter log, modetest -p output.
--
You are receiving this mail because:
You are watching all bug changes.