this post was submitted on 01 Sep 2023
128 points (85.2% liked)

Linux

48335 readers
695 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

In response to Wayland Breaks Your Bad Software

I say that the technical merits are irrelevant because I don't believe that they're a major factor any more in most people moving or not moving to Wayland.

With only a slight amount of generalization, none of these people will be moved by Wayland's technical merits. The energetic people who could be persuaded by technical merits to go through switching desktop environments or in some cases replacing hardware (or accepting limited features) have mostly moved to Wayland already. The people who remain on X are there either because they don't want to rebuild their desktop environment, they don't want to do without features and performance they currently have, or their Linux distribution doesn't think their desktop should switch to Wayland yet.

you are viewing a single comment's thread
view the rest of the comments
[–] michaelrose@lemmy.ml 5 points 1 year ago (3 children)

This already works on X and indeed has worked longer than Wayland has existed.

[–] murtaza64@programming.dev 19 points 1 year ago (1 children)

I can never get this to work properly... Do you have any resources?

[–] michaelrose@lemmy.ml -2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] LaggyKar@programming.dev 25 points 1 year ago (2 children)

That's not at all the same thing. That requires downscaling some screens, which makes everything blurry and breaks subpixel AA.

[–] cobra89@beehaw.org 6 points 1 year ago (2 children)

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.

[–] pwnna@lemmy.ca 3 points 1 year ago

It also tears significantly in my experience, which is pretty unusable....

[–] michaelrose@lemmy.ml 0 points 1 year ago

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.

[–] michaelrose@lemmy.ml -3 points 1 year ago (2 children)

It is literally how Wayland is scaling your shit you just don't know how anything works.

[–] TeryVeneno@lemmy.ml 5 points 1 year ago

Huh? That is not how Wayland does it at all.

[–] LaggyKar@programming.dev 1 points 1 year ago

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.

[–] flashgnash@lemm.ee 11 points 1 year ago (1 children)

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

[–] michaelrose@lemmy.ml 0 points 1 year ago (1 children)

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?

[–] flashgnash@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

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

[–] Auli@lemmy.ca 4 points 1 year ago

Sure but the thing is stuff that I have to edit files for install other programs just work with wayland out of the box.