Open NTMan opened 1 year ago
The steam client's CEF windows don't support Ozone at the moment. We also composite these windows into a single SDL surface using the X11 composite extensions, so this change isn't really possible on the steam side.
I'm not really sure what changed on the mutter
side. But it seems like it is causing problems for X11 based applications and it should be addressed there.
Any workaroud? Solution to this problem?
GNOME 47 includes a new experimental option in mutter, which changes the behavior of X11 apps scaling. From https://release.gnome.org/47/ :
GNOME 47 includes an enhanced fractional display scaling feature, which provides better support for legacy X11 apps. This feature is still considered experimental and should only be used for testing. To enable it, you can run the following from the command line:
gsettings set org.gnome.mutter experimental-features '["scale-monitor-framebuffer", "xwayland-native-scaling"]'
This is enabled by default in Fedora 41 (just freshly released), so no need to enable it manually. Steam is no longer blurry with this change, but it is often sized incorrectly, mostly too small. So far, all other X11 apps seem to behave quite well out of the box (including Chrome, etc), I only saw this problem with Steam. This common issue description documents some workarounds for this problem: https://discussion.fedoraproject.org/t/fractional-display-scaling-in-workstation-makes-some-apps-incorrectly-sized-impacts-games/90393
@kparal Thank you for pointing this out!
I've tried gsettings set org.gnome.mutter experimental-features '["scale-monitor-framebuffer", "xwayland-native-scaling"]'
, and it works, as Steam and VLC media player apps are not blurry anymore, however, I can't click on the app anymore. Seems like the mouse cursor is not synchronized or something. Also, I can't move the window/drag the window.
I read discussions on this MR: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3567, they are talking about a "clickthrough" issue, that seems to be fixed? However it doesn't seems like the case?
EDIT: I've restarted my computer, and it seems to already work better. Will test that out, more, for the moment it is very promising to resolve the issue. :+1:
Your system information
Please describe your issue in as much detail as possible:
Yesterday after update
mutter
in the GNOME was enabled fractional scaling by default.https://src.fedoraproject.org/rpms/mutter/c/ee7db6d53bac8bd704f033968e577c5febc0c1d7?branch=rawhide
https://pagure.io/fedora-workstation/issue/357#comment-848857
After this all applications based on Google Chrome WebView become looked blurry.
mutter-45~beta.1-2.fc40.x86_64
mutter-45~beta.1-5.fc40.x86_64
But in the Google Chrome I can workaround this issue by the setting flag
Preferred Ozone platform
toWayland
.Preferred Ozone platform
isDefault
Preferred Ozone platform
isWayland
Maybe it's time to make this change in steam client?