Approximately one eternity. Desktop Linux still doesn't support:
- Using different DPI on a different screen in a multi-monitor setup (common case is when you connect a low-dpi monitor to a high-dpi laptop)
- Color depth of more than 8 bits per channel
- Color management in general, needed for wide-gamut displays
- Any kind of HDR functionality
And hardware that has these features that Linux can't make use of due to a series of unfortunate architectural decisions has existed for a long time.
Linux definitely does support this.
I use this exact feature with Gnome and Wayland daily to combine a 4K XPS13 with a 27” 1440p monitor.
I just set one monitor to 100% and the other (4k) to 200%. In fact I think that choice was originally made for me but you can change it.
When I first started using it a couple of years ago you'd get old artifacts when moving a window from one monitor to another. e.g. the mouse pointer could be the wrong size.
Over the years, like many things on Linux, it's got more polished.
Now it just works.
Missing from that:
- Gnome actually does the scaling in the compositor, not in the X server itself.
- Most desktop environments should be doing all that for you. At the time I wrote that (over 2 years ago), in Gnome you had to go in to an advanced settings menu and enable "experimental fractional scaling"; I'm not sure if that's still true today.
- Some things pick up the DPI from the XSETTINGS protocol, not from the XRDB. Specifically, parts of Java's AWT/Swing do this. But other parts use the XRDB. And they conflict with eachother. When I last looked at Swing (April-ish 2020) it was impossible to get it to do the right thing on X11 (I was working on a patch, but then I had some life disruptions and never came back to it).
If you want something custom I guess I'd suggest looking at what Fedora uses out of the box.
I'm running on an all Intel XPS13 9370 if that helps.
Isn't this supported by Wayland (and AFAIK it has for a while now)?
This effect makes it look like the entire system is color-managed when in fact the opposite is true.
[1] Any profile that has been created with gamma ramps has to be used system wide and specified in color-managed applications, because the standard color transforms in the profile are calculated to be correct when the gamma ramps are in place. If you skip either step, you'll get wrong results.
Wayland (proto) supports 16bits per colour. (Much more than HDRs 10 bit) https://github.com/wayland-project/wayland/blob/6741dafbf7a5...
It’s up to the compositor to enable them.
Even 10 bit support is another issue. A few composers have alpha support recently, but it isn't something you can expect to use.
I was considering buying a X1 fold, but reviews saying windows support was bad (probably since windows X never launched) and no linux support even on the horizon made me hold off.
I never thought of that and now I want it really bad. I kind of do this everyday, but with a macbook and manually.