Bug 433554 - Visual artifacts on monitor that uses 100% scale when using custom (both fractional and integer) scaling on a second monitor.
Summary: Visual artifacts on monitor that uses 100% scale when using custom (both frac...
Status: RESOLVED DUPLICATE of bug 414266
Alias: None
Product: kwin
Classification: Plasma
Component: multi-screen (show other bugs)
Version: 5.21.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 20:00 UTC by Ricardo Steijn
Modified: 2022-09-08 13:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fonts distorted (93.22 KB, image/png)
2021-02-24 20:22 UTC, Ricardo Steijn
Details
Submenu's in desktop right click menu (486.15 KB, image/png)
2021-02-24 20:23 UTC, Ricardo Steijn
Details
Submenu's in topbar (228.97 KB, image/png)
2021-02-24 20:25 UTC, Ricardo Steijn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Steijn 2021-02-24 20:00:14 UTC
SUMMARY
Visual artifacts on monitor that uses 100% scale when using custom (both fractional and integer) scaling on a second monitor. Everything does look fine on the second monitor though.

STEPS TO REPRODUCE
1. Have a multi monitor setup (tested on 2 monitors)
2. Set 1 monitor to a custom scale (150% and 200% were tested so far), 1 monitor to 100%
3. Open the setting app, check the fonts (tested with various fonts)
4. Hover the mouse pointer over the window decoration. It should look distorted (tested with Adwaita, Capitaine & WhiteSur cursor themes)
5. Right click on the desktop on the 100% scale monitor and hover over the submenus. Some areas should go transparent/flicker for no reason. (tested with Breeze-dark and WhiteSur themes)
6. Clicking in the topbar sometimes doesn't show anything or go transparent/flicker. (tested with latte-dock-git r5033 & Plasma panels)

OBSERVED RESULT
See reproduce steps above.


EXPECTED RESULT
Everything on the monitor that's running on 100% scale next to a monitor with custom scale, should look exactly the same as it would normally, without a custom scaled monitor or without a second monitor at all. (no artifacts)


SOFTWARE/OS VERSIONS
Operating System: Arch Linux x86_64
Kernel version: 5.11.1-zen1-1-zen
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Graphics Platform: Wayland
GPU: AMD Radeon 6900XT with Mesa driver 20.3.4.0

Video here https://youtu.be/E30cim44Gv0
Comment 1 Nate Graham 2021-02-24 20:16:00 UTC
Can you please attach a screenshot or image that shows the issue? Are you using X11 or Wayland? If you're using X11, does it work properly on Wayland?
Comment 2 Ricardo Steijn 2021-02-24 20:22:10 UTC
Created attachment 136123 [details]
Fonts distorted
Comment 3 Ricardo Steijn 2021-02-24 20:23:50 UTC
Created attachment 136124 [details]
Submenu's in desktop right click menu

Right click menu in desktop goes partially transparent when hovering over a sub menu, and causes flickering.
Comment 4 Ricardo Steijn 2021-02-24 20:25:26 UTC
Created attachment 136125 [details]
Submenu's in topbar

Also partially going transparent and flickering when hovering over a sub menu.
Comment 5 Ricardo Steijn 2021-02-24 20:28:04 UTC
(In reply to Nate Graham from comment #1)
> Can you please attach a screenshot or image that shows the issue? Are you
> using X11 or Wayland? If you're using X11, does it work properly on Wayland?

Using Wayland. Per monitor scaling does not work in X11 (at least not supported by kscreen)

Watch the video mentioned under Additional information for a better look at the situation
Comment 6 Vlad Zahorodnii 2021-02-25 08:27:22 UTC
There is already a bug report to track the issue where context menus have invisible items: bug 432264

As for distored fonts, it looks like a client side bug. kwin doesn't apply any filters that can distort them that way.
Comment 7 Bug Janitor Service 2021-03-12 04:33:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Nate Graham 2021-03-12 14:52:06 UTC
Ah yes, the distorted fonts would be an example of Bug 414266.

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