| Summary: | External screen mirrored vertically with multi-gpu on wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | raffarti |
| Component: | platform-drm | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/73c112e983000a4894ec11d414a5db0350852587 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
raffarti
2023-07-10 20:22:17 UTC
> Using kde opensuse unstable kde repositories + Plasma/5.27 branch from git
only kwin from git
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4245 Git commit 73c112e983000a4894ec11d414a5db0350852587 by Xaver Hugl. Committed on 11/07/2023 at 13:03. Pushed by zamundaaa into branch 'Plasma/5.27'. Revert "backends/drm: use glReadPixels for CPU copy" This reverts commit fdbcb184ae914d67483264401eaf3d5e88015fb2. It didn't take into account that the framebuffer y axis is inverted in comparison to git master, so using glReadPixels causes the image to be inverted in 5.27. Fixing that by always copying into an intermediary buffer is possible, but would also negate most or all of the performance improvements, so reverting the commit is the best way to deal with this issue. M +14 -23 src/backends/drm/drm_egl_layer_surface.cpp M +0 -1 src/backends/drm/drm_egl_layer_surface.h https://invent.kde.org/plasma/kwin/-/commit/73c112e983000a4894ec11d414a5db0350852587 |