Bug 490075 - One-pixel rendering artifacts in high DPI XWayland applications with "Apply scaling themselves"
Summary: One-pixel rendering artifacts in high DPI XWayland applications with "Apply s...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 06:12 UTC by dantmnf
Modified: 2024-07-19 18:23 UTC (History)
2 users (show)

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


Attachments
rendering artifacts in xterm (415.10 KB, video/x-matroska)
2024-07-11 06:12 UTC, dantmnf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dantmnf 2024-07-11 06:12:35 UTC
Created attachment 171557 [details]
rendering artifacts in xterm

SUMMARY
When screen scale factor is larger than 100% and X11 scaling option is set to "Apply scaling themselves", one-pixel rendering artifacts can be observed in XWayland applications. Mostly noticeable in raw X11 applications that take use of something like "partial redraw" (e.g. xterm and LibreOffice with `SAL_USE_VCLPLUGIN=gen`)

STEPS TO REPRODUCE
1. Set screen scale factor to 200% and X11 scaling option to "Apply scaling themselves"
2. Open xterm
3. Move mouse around menu items in xterm

OBSERVED RESULT
One-pixel lines on the edge of redraw areas.

EXPECTED RESULT
No rendering artifacts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 18.1.8, DRM 3.57, 6.9.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.3-arch1.1

Also reproducible in earlier versions.
Comment 1 David Edmundson 2024-07-17 13:23:25 UTC Comment hidden (spam)
Comment 2 David Edmundson 2024-07-17 13:25:05 UTC
edit, reproduced