aeva, (edited )
@aeva@mastodon.gamedev.place avatar

Is there a Linux [window manager / desktop environment / whatever they're called these days] that has good support for fractional resolution scaling on hidpi displays? My aging eyes really want 150% scaling for this Framework 13 laptop, but gnome only offers 100% and 200%.

EDIT: so far KDE does the right thing. I wish there were more options though.

jmsdnns,
@jmsdnns@mastodon.social avatar

@aeva kde does. i switched from gnome to kde two weeks ago and think it's great so far

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@aeva I would pretty much only recommend @kde if you want good scaling. And KDE Plasma 6 on @fedora 40 is awesome. If you want more of an explanation, @marcan goes into detail about this when looking at KDE and GNOME for Fedora Asahi Remix: https://social.treehouse.systems/@marcan/111510084925258924

aeva,
@aeva@mastodon.gamedev.place avatar

@Conan_Kudo @kde @fedora @marcan oh yeah. I got fractional scaling working on GNOME, and I can confirm that x11 applications look like dogshit with it. There's some oddness with the applications that are working correctly, too, which makes me think they're doing something odd (in comparison to how said programs behave on Windows), but idk if that's GNOME's fault or a limitation of wayland, or what. It's tolerable though, I guess, I just wish it were better done.

Conan_Kudo,
@Conan_Kudo@fosstodon.org avatar

@aeva @kde @fedora @marcan It's a limitation of GNOME for the time being.

aeva,
@aeva@mastodon.gamedev.place avatar

@Conan_Kudo @kde @fedora @marcan ah well

doskel,
@doskel@mst.doskel.net avatar

@aeva GNOME can do fractional scaling on Wayland, it's just a little blurry for Xwayland apps

aeva,
@aeva@mastodon.gamedev.place avatar

@doskel I'm on wayland. Can you point out where the option is?

doskel,
@doskel@mst.doskel.net avatar

@aeva just run gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" and then the option will appear
this could, depending on who you ask, increase gpu usage, but apparently that's debated, so ¯_(ツ)_/¯

aeva,
@aeva@mastodon.gamedev.place avatar

@doskel ah! thanks! I had to do something a bit different for nix, but this got me in the right direction. Seems good enough.

aeva,
@aeva@mastodon.gamedev.place avatar

@doskel any idea how to get QT apps to not look blurry

efi,
@efi@chitter.xyz avatar

@aeva I think it should be possible, but it's not gonna look that good... what if you change the font size to fit you better rather than the entire GUI?

aeva,
@aeva@mastodon.gamedev.place avatar

@efi kde has proper hidpi support, and it looks fine. why do you think it wouldn't look good?

Taffer,
@Taffer@mastodon.gamedev.place avatar

@aeva I think Gnome can do fractional if you use Wayland instead of X11; KDE too. IIRC I’ve got my KDE/Wayland session at 125% (Framework 16, 54 year old eyeballs).

kib48,
@kib48@wetdry.world avatar

@aeva gnome's scaling is good on Wayland, you just have to enable it manually for some reason

i have a Framework 13 too and it works perfectly, except for xwayland apps but as far as i'm aware that's an issue with xwayland itself so it'll be like that on all desktops

aeva,
@aeva@mastodon.gamedev.place avatar

@kib48 someone else said gnome only implements fractional scaling via downsampling the framebuffer. Is this consistent with your experience?

jkaniarz,
@jkaniarz@mastodon.gamedev.place avatar

@aeva My system has 150% as an option but it looks bad. Gnome does 1.5x by doing 2x on a virtual frame buffer and downsampling (poorly). Which also runs your GPU hot.

Gnome Tweaks has a font scaling option. Which works okay. (Except for icons)

Whatever you do, don’t get smart and calculate the exact DPI scale factor for your screen. QT apps only work on multiples of 25%.

aeva,
@aeva@mastodon.gamedev.place avatar

@jkaniarz kde seems ok for my needs. 😬 re what gnome does

jkaniarz,
@jkaniarz@mastodon.gamedev.place avatar

@aeva It’s the same thing macOS does, but Apple does it well. They spent some serious engineering effort on resampling shaders.

Standard def content on an Apple TV also looks better than it should.

aeva,
@aeva@mastodon.gamedev.place avatar

@jkaniarz that's surprising. Are you sure that's not just for applications that aren't hidpi aware?

jkaniarz,
@jkaniarz@mastodon.gamedev.place avatar

@aeva Depends. HDPI aware 3D rendering targets get the truth. HDPI aware applications get told 1, 2, or 3x. Non HDPI aware applications default to 1x and get integer scaled.

For the first few years all their screens were exactly 2x DPI so the point was moot. But when they rolled out the iPhone 6 Plus that’s when they started non-integer scaling.

Integer scaling is the only way to really make it look right. Even today Windows looks a tad janky.

sverik,
@sverik@kogumus.masto.host avatar

@aeva What's the deal about scaling vs changing font DPI? I know it comes with a warning that this is not what you want, but honestly, I feel that changing font DPI is the visually most pleasing way to make things more readable.

aeva,
@aeva@mastodon.gamedev.place avatar

@sverik Graphical software that support hidpi essentially decouples the concept of where something is on screen from the underlying screen resolution. This changes resolution from being a space metric to being a density or sharpness metric. The global scale factor is what you used to decide how you want applications to interpret the space available to them. This means everything stays proportionally correct, but also renders nice and sharp.

aeva,
@aeva@mastodon.gamedev.place avatar

@sverik so with that in mind, if you leave the scale at 100% and only change the font size what happens is all of the text is comfortable to read, and all of the stuff that isn't text is tiny. Many applications handle this just fine, but nothing looks like it is supposed to.

aeva,
@aeva@mastodon.gamedev.place avatar

@sverik also if you leave it at 100%, applications won't be provided a scale from the window manager, and thus won't be able to do the right thing. At best, everything will be kinda shrink wrapped around text that is much much bigger than it.

luna,

@aeva run gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" to enable fractional scaling in gnome. might have to relogin

aeva,
@aeva@mastodon.gamedev.place avatar

@luna if I were to do that, do you know off hand what sort of issues I should expect?

alexandria,

@aeva The version of GNOME shipped with ubuntu 23.04 had really awful fractional acaling support that was experimental

maybe KDE? auhhhhh

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • thenastyranch
  • magazineikmin
  • khanakhh
  • rosin
  • Durango
  • ethstaker
  • Youngstown
  • slotface
  • osvaldo12
  • kavyap
  • cisconetworking
  • ngwrru68w68
  • JUstTest
  • GTA5RPClips
  • InstantRegret
  • tacticalgear
  • modclub
  • everett
  • anitta
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines