by sexydefinesher · 7y ago · 0 comments
So your explanation, while common amongst Linux devs, is a rather cheap cop-out in comparison to the bigger two competitors who have mostly solved the problem.
The end result is that Linux DEs can be horrible to use on many HiDPI laptops, which don't have exact resolutions to make integer scaling feasable.
It is also careful with the resolutions it supports, it is not just any random scale requested. It is always to scale down, but not lose many pixels. For example, with 2560x1600 physical display (rMBP13), you can go to logical 2880x1800 (@1.78 scale) or 3360x2100 (@1.52 scale), but not further.
With Linux (and also Windows), people have weird requests that would not fly in macOS world.
Wayland works the same way.
But then hit-testing it with mouse pointer is another level.
Browsers have luxuries that desktop compositor with desktop apps do not have.
https://www.omgubuntu.co.uk/2017/09/enable-fractional-scalin...
But it does work. I personally think it looks way worse than just going to 1x (or 2x) and bumping up (or down) the font size.
Unfortunately, it is highlighted by the fact, that all current Linux browsers are X11 and not Wayland clients, so using it would mean you watch the upscaling ugliness on your display every day.
In the gnome world, you are stuck with GTK3 apps if you want partial scaling that looks alright, but there are options for web browsers.
* Epiphany has supported Wayland since the time of the dinosaurs. And I know its not a perfect browser, but it (1) looks native (2) starts up in a second, (3) has libva support support for hardware accelerated video, (4) has a built in adblocker.
As for mainstream browsers:
* Developer builds of Firefox support Wayland straight from Mozilla: https://www.phoronix.com/scan.php?page=news_item&px=Firefox-...
* Most big name distros have some blessed(like fedora) or less blessed (aur/ppa) builds of the latest stable version of Firefox with baked in wayland support.
The Fedora Wayland Firefox package is experimental for a reason; there are bugs, that would be quite embarrassing for a default browser.
Linux on the desktop is death by a thousand cuts. I would argue that it's getting worse and worse, because new technologies are introduced (like scaling, GPU switching like Optimus, touch, good desktop composition, etc) and they are never well implemented. 15 years ago the biggest problem you could have with Linux is having to recompile your kernel to make your sound work or something like that.