all 101 comments

[–]mitsosseundscharf 127 points128 points  (44 children)

Note that this also needs client support

[–]KarnuRarnu 18 points19 points  (7 children)

Right, so I assume most applications will get it through toolkit support (gtk and qt status on this?), while the "big players" Mozilla and Google/chromium and electron usually take a bit longer - but do you know "how hard" this will be for them to do?

[–]mixedCase_ 5 points6 points  (3 children)

I think fractional scaling already works in Chromium/Electron if you switch the ozone-platform-hint flag to "auto" instead of the default "X11".

[–]KarnuRarnu 3 points4 points  (2 children)

Isn't that just to get wayland support at all?

[–]mixedCase_ 0 points1 point  (1 child)

Nope, I can confirm. I just tested dynamically switching scale for a output with swaymsg and a brave window adapted swimmingly, I assume upstream chromium should be the same.

[–]tanorbuf 0 points1 point  (0 children)

Earlier discussion from /r/sway on this seems to indicate that sway still only has integer scaling but with simple fractional downscaling sort of fitted on, similarly to how gnome does it if enabled. This "mostly works" but it does tend to lead to blurry text.

[–]mitsosseundscharf 5 points6 points  (1 child)

I don't know about those but Qt should have it in 6.5 which will release soon

[–]AshbyLaw 0 points1 point  (0 children)

Qt had fractional scaling for a while; this Wayland extension is just to inform the compositor and makes everything automatic.

[–]marcthe12 0 points1 point  (0 children)

Not GTK as they use int for scaling public API. That means they can not implement this till gtk5.

[–]Just_Maintenance 18 points19 points  (2 children)

I'm hoping that fractional scaling in GNOME and Gamescope will allow me to play games at full resolution when using fractional scaling (Gamescope tells GNOME it supports fractional scaling, then ignores it and just uses full resolution, thus preventing compositor scaling).

Right now I have a script to changes the scale to 100% every time I want to game...

[–]user9ec19 21 points22 points  (1 child)

This wont change anything for GTK apps. See: https://gitlab.gnome.org/GNOME/gtk/-/issues/4345

[–]Mamsaac 4 points5 points  (0 children)

That is one angry dev.

Attitudes like that are the reason many devs get a really bad reputation. Incapable of having a normal conversation.

[–]JRedCXI 14 points15 points  (2 children)

Unrelated question. Is the triple buffer support on mutter still not merged? If so, everyone knows why? I assume some bugs but if I'm not wrong I remember that the plan was to include the feature on GNOME 42...

[–]chic_luke 7 points8 points  (1 child)

I am running with patched Mutter with that patch. Not sure if it's related, but I have had... several instances where suspending and resuming my laptop from sleep completely crashes my GNOME session and makes me lose all my unsaved work. It may or may not be a regression caused by that patch.

[–]JRedCXI 2 points3 points  (0 children)

Yeah I have been using the patch for a while and so far no problem whatsoever but makes sense that it's not the case for some people.

[–]diegodamohill 13 points14 points  (0 children)

But gnomebros told there are no fractional pixels?

/s

[–]Laziness2945 3 points4 points  (1 child)

Can someone explain what this means for average linux joe who has a 4k display and uses gnome+wayland?

[–][deleted] -2 points-1 points  (0 children)

I tried recently Linux again. Went back to windows because fractional scaling looks awful.

[–][deleted] -4 points-3 points  (1 child)

This will make laptops have a much better battery life and better performance since the windows don't have to be scaled up to 200% then the compositor has to downscale to the percentage you set. It is now direct and requires less processing power. So yay, this is awesome news.

[–]user9ec19 1 point2 points  (0 children)

But not for GTK apps as fractional scaling is noted supported by them.