Bug 482351 - Glitch/artifact on screen edge with fractional scaling on Wayland
Summary: Glitch/artifact on screen edge with fractional scaling on Wayland
Status: RESOLVED DUPLICATE of bug 480171
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 01:22 UTC by Xiaoyan Ren
Modified: 2024-03-04 03:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaoyan Ren 2024-03-04 01:22:43 UTC
SUMMARY
On Wayland, if you apply fractional scaling by a percentage that does not fully divide the screen resolution, then there will be 1px of artifact on the right/bottom edges of the screen.

STEPS TO REPRODUCE
E.g. I have an 2560x1600 monitor.
1. Open Display Settings.
2. Choose a fractional scaling percentage that doesn't fully divide the resolution, i.e. 150% in my case.
3. Move windows around on the desktop.

OBSERVED RESULT
Observe that there is 1px of artifact on the bottom and right screen edge. It's typically patterns from the wallpaper, but occasionally some windows' details make it there as well.

EXPECTED RESULT
There is no artifact on the screen edge.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
Kernel Version: 6.7.8-zen1-1-zen
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics: Intel Iris Xe
Driver: kernel modesetting

ADDITIONAL INFORMATION
Screenshot for reference: https://snipboard.io/0B9kIc.jpg
Comment 1 fanzhuyifan 2024-03-04 03:06:31 UTC

*** This bug has been marked as a duplicate of bug 480171 ***