| Summary: | black screen waking up from sleep - kwin_wayland_drm errors | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Pawel <bednarczyk.pawel> |
| Component: | platform-drm | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate, xaver.hugl |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.25.90 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Pawel
2022-10-07 06:50:46 UTC
If it works with linux 5.12, it seems like a driver bug. (In reply to Vlad Zahorodnii from comment #1) > If it works with linux 5.12, it seems like a driver bug. I will try linux-lts 5.15.72 and report back. (In reply to Pawel from comment #2) > (In reply to Vlad Zahorodnii from comment #1) > > If it works with linux 5.12, it seems like a driver bug. > > I will try linux-lts 5.15.72 and report back. works fine on 5.15.72, so it looks like a kernel 6.0 issue. No idea how to debug whatsoever. What do you want to do with this bug report? Regardless of what we do in KWin, you should report this at https://bugzilla.kernel.org. We might also be able to put in a workaround for this, but no guarantees, and I'll let the KWin folks make that decision. since kernel 6.0 is still in testing I opened a topic in the testing forums: https://bbs.archlinux.org/viewtopic.php?pid=2061483#p2061483 Additional information: Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Atomic commit failed! Invalid argument Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Presentation failed! Invalid argument Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Failed to find a working setup for new outputs! Oct 10 19:31:32 arch-Bednar kwin_wayland[1597]: kwin_wayland_drm: Failed to find a working setup for new outputs! but right before we have this: Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000094037003 pin failed Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: (-19) kernel bo pin failed Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: DTM: Failed to initialize DTM Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000094037003 pin failed Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: (-19) kernel bo pin failed Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: RAP: Failed to initialize RAP Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU is resuming... Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5400 (58.84.0) Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU driver if version not matched Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: use vbios provided pptable Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: SMU is resumed successfully! Oct 10 19:31:32 arch-Bednar kernel: [drm] DMUB hardware initialized: version=0x02020013 and Oct 10 19:31:32 arch-Bednar kernel: amdgpu: Move buffer fallback to memcpy unavailable Oct 10 19:31:32 arch-Bednar kernel: amdgpu 0000:0e:00.0: amdgpu: 0000000036fd7a68 pin failed Oct 10 19:31:32 arch-Bednar kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -19 full log: https://gist.github.com/Bednar87/c97c41 … dd0f01b899 It's definitely a driver bug; most likely the same as https://gitlab.freedesktop.org/drm/amd/-/issues/2164 yep, agreed. Thanks, I have subscribed to the gitlab issue. |