Bug 485154 - KWin under Wayland can't output through a Lenovo 40AY dock with a Lenovo P14S
Summary: KWin under Wayland can't output through a Lenovo 40AY dock with a Lenovo P14S
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 21:47 UTC by Freyja Domville
Modified: 2024-04-06 22:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freyja Domville 2024-04-06 21:47:56 UTC
SUMMARY
If I log in through SDDM on Arch Linux with KDE 6.0.3, kernel 6.8, mesa 24.1, I get a black screen on the display outputs under Wayland with an amdgpu Lenovo P14s (Gen 2 AMD). XOrg works fine.

STEPS TO REPRODUCE
1. Connect the laptop to the dock
2. Log in with Wayland

OBSERVED RESULT
Black screens in the display outputs which were seen working under SDDM XOrg (and KWin with XOrg)

EXPECTED RESULT
Screens show up normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 6.0.3 
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
Wasn't able to get logs from the machine in the failure case - I switched to another DE because I need something with decent tiling (accessibility issues mean mouse usage needs to be minimised) and polonium only supports Wayland.
Comment 1 Zamundaaa 2024-04-06 22:54:51 UTC
This is https://gitlab.freedesktop.org/drm/amd/-/issues/2598, please mention there that you're affected by it too.
You can use the KWIN_DRM_PREFER_COLOR_DEPTH=24 environment variable as a workaround