| Summary: | With direct scanout enabled, on latest kernel desktop background image bounces up and down a pixel on secondary monitor | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | moichumoigaming |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kdedev, nate, richardjacton, xaver.hugl |
| Priority: | NOR | Keywords: | multiscreen, regression |
| Version First Reported In: | 6.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
drm_info output when off by 1 pixel
drm_info output when correct |
||
|
Description
moichumoigaming
2025-12-13 01:17:59 UTC
Seems like a kernel regression, and thanks for doing that troubleshooting! Can you report this to the CachyOS folks! First, can you check if it still happens if you set https://invent.kde.org/plasma/kwin/-/wikis/Environment-Variables#kwin_drm_no_direct_scanout to 1? . On the latest kernel, 6.18.1-2-cachyos, with KWIN_DRM_NO_DIRECT_SCANOUT=1, the issue is fixed! Okay, can you remove it again, and then get the drm_info output while the image is mispositioned by that one pixel?
You can do
> sleep 5; drm_info
+ minimized the terminal, or run the command from ssh
Created attachment 187818 [details]
drm_info output when off by 1 pixel
Here is the output when the image is mispositioned by one pixel. Let me know if you would like the output when the image is not mispositioned as well. I attached the output in a txt file, because it is too long to leave in a comment.
Created attachment 187819 [details] drm_info output when correct Just to be proactive, here is the output when the image is correct (not off by 1 pixel). Running the "diff" command on both text files, this difference may be relevant: 1286c1286 < │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 1 --- > │ ├───"CRTC_Y" (atomic): srange [INT32_MIN, INT32_MAX] = 0 Top line is when off by one pixel, bottom line is when correct. |