yilozt / mutter-rounded

A window manager for GNOME, with rounded corners patch
https://aur.archlinux.org/packages/mutter-rounded/
GNU General Public License v2.0
556 stars 26 forks source link

Visual glitch on HDPI with wayland #12

Open Dewkyz opened 2 years ago

Dewkyz commented 2 years ago

Screenshot from 2021-12-13 16-07-54 Screenshot from 2021-12-13 16-06-48

The glitch only affect native wayland apps, not xwayland, and only on hdpi, not problem in FHD, so I supposed it's a scaling problem. When the window is un maximised the borders are weirdly rendered as you can see and the content of the window is not scaled properly. While maximised, no border problem but the window content is still blurry/pixelated. The screenshot are better than my explanation. Xwayland windows have no problems.

I am running Fedora 35 with gregor's packages (https://gregor160300.stackstorage.com/s/I4YFXu82ay6mNE0C/en_US).

First time I submit a bug so sorry if it's not clear, I';ll do my best to answer your questions if I forgot some details.

yilozt commented 2 years ago

Same problem in Arch Linux. Try to run gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" in terminal.

Dewkyz commented 2 years ago

Same problem in Arch Linux. Try to run gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" in terminal.

Well it works, thanks!

And it even solved something way more annoying, I have a multimonitors setup and my two screens don't have the same res, no problem scaling the apps, but the shell wouldn't scaled differently on the different monitor, but now it does! So, yeah, thanks again.

harlowthefish commented 2 years ago

Any chance that this is something that can be fixed on mutter-rounded's end? Enabling this feature causes XWayland apps to become blurry, which isn't ideal when things like Chromium browsers don't have hardware-accelerated video under Wayland and there's always the odd program -- hilariously, often the ones that have a lot of text where setting this option makes it the usability much worse -- that hasn't been ported over to native Wayland yet.