Summary: | External monitor: graphical issues in Wayland after update to 5.23.90 | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Linus Dierheimer <Linus> |
Component: | platform-wayland-nested | Assignee: | Martin Flöser <mgraesslin> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | kwin-bugs-null, Linus, nate, xaver.hugl |
Priority: | VHI | Keywords: | regression |
Version: | 5.23.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/c037e65d6894dcebf93b0cae6005010ac63541a8 | Version Fixed In: | 5.24 |
Sentry Crash Report: | |||
Attachments: |
Picture of the monitor
drm_info in 5.23.5, monitor looks normal drm_info in 5.23.90 monitor looks weird drm_info in 5.23.90 , with env var, monitor looks normal again |
Tested it with Display Port, same problem. So not a HDMI fault but wayland in general. Are you by any chance using an Intel Tiger lake series CPU and iGPU? No, Ryzen 7 4800H with an Radeon RX5600M graphics card (Dell G5 SE Laptop). OK, thanks. You can try disabling deep color with the environment variable KWIN_DRM_PREFER_COLOR_DEPTH=24, maybe amdgpu has some issue with it. Please also attach the output of drm_info (with default color depth) Created attachment 145434 [details]
drm_info in 5.23.5, monitor looks normal
Created attachment 145435 [details]
drm_info in 5.23.90 monitor looks weird
Created attachment 145436 [details]
drm_info in 5.23.90 , with env var, monitor looks normal again
KWIN_DRM_PREFER_COLOR_DEPTH=24 did indeed fix the bug. Thank you very much! I added the requested drm_info outputs, if you need more info, feel free to ask. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1877 Git commit 0a3922e29dc937a0a14beed73266a4a9298a647a by Xaver Hugl. Committed on 14/01/2022 at 15:44. Pushed by zamundaaa into branch 'master'. backends/drm: use the correct format for CPU copy M +1 -1 src/backends/drm/egl_gbm_backend.cpp https://invent.kde.org/plasma/kwin/commit/0a3922e29dc937a0a14beed73266a4a9298a647a Git commit c037e65d6894dcebf93b0cae6005010ac63541a8 by Xaver Hugl. Committed on 14/01/2022 at 16:02. Pushed by zamundaaa into branch 'Plasma/5.24'. backends/drm: use the correct format for CPU copy (cherry picked from commit 0a3922e29dc937a0a14beed73266a4a9298a647a) M +1 -1 src/backends/drm/egl_gbm_backend.cpp https://invent.kde.org/plasma/kwin/commit/c037e65d6894dcebf93b0cae6005010ac63541a8 |
Created attachment 145419 [details] Picture of the monitor SUMMARY After updating to the 5.24 Beta (5.23.90), my external monitor (HDMI) has major graphical issues. The colors look inverted and the lines are not sharp anymore. See the attached picture. In a screenshot it looks normal. Happens only in the wayland session, X11 works perfectly fine. I tried all the color correction profiles that are now in the system settings, i were able to see a difference, but none of them fixed the problem. STEPS TO REPRODUCE 1. Update your Arch system with the kde-unstable repositories to the latest version (Frameworks 5.90, Plasma 5.23.90) 2. Connect an external Monitor via HDMI 3. Look at it OBSERVED RESULT Monitor has graphical glitches EXPECTED RESULT Monitor looks fine SOFTWARE/OS VERSIONS Windows: / macOS: / Linux/KDE Plasma: 5.16.0 / 5.23.90 (available in About System) KDE Plasma Version: 5.23.90 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION