this post was submitted on 01 Sep 2023
127 points (85.1% liked)
Linux
48404 readers
1542 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This already works on X and indeed has worked longer than Wayland has existed.
I can never get this to work properly... Do you have any resources?
I just passed scale to xrandr after computing the proper scale and then used the nvidia-settings gui to write current configuration to xorg.conf its not incredibly hard basically all you are doing is scaling lower DPI items up to the same resolution as your highest dpi item and letting it scale down the correct physical size. For instance if you have 27' monitors that are 4K and 1080p you just scale the 1080 ones by 2 if you have a 4k 27 and a 1080 24" its closer to 1.75. The correct ratio can be found with your favorite calculator app.
You can set this scaling directly in nvidia-settings come to think of it where you set viewport in and viewport out.
That's not at all the same thing. That requires downscaling some screens, which makes everything blurry and breaks subpixel AA.
Yeah, wherever someone says "X has/has had fractional scaling" I just ignore them because it's never actually true fractional scaling that doesn't look and act like utter crap.
It also tears significantly in my experience, which is pretty unusable....
I know you live in this weird universe where the screen that is 12 inches from my face actually looks like crap but it just isn't so you are merely confused.
It is literally how Wayland is scaling your shit you just don't know how anything works.
Huh? That is not how Wayland does it at all.
Without the recently added wp-fractional-scale-v1, yes, it will do that if you use fractional scales (albeit per window rather than per monitor). Not however if you stick to integer scales, as they might do in the 1080p+4k use case.
I tried unsuccessfully to get this working for quite some time and broke my xrandr settings quite a few times
With Wayland/gnome I just click a button in the settings gui and it works flawlessly
With X/i3 I had to read and the result works well. With Sway I had to read and the result works poorly. So is sway better for the illiterate?
Would you not say the best case scenario is for it to just work great straight away and not require you to read a manual or do any debugging at all just to configure your display scale?
Also sway/i3 aren't known to be "it just works" kinda window managers anyway they're definitely aimed at people who like to tinker
Sure but the thing is stuff that I have to edit files for install other programs just work with wayland out of the box.