←back to thread

Ancient X11 scaling technology

(flak.tedunangst.com)
283 points todsacerdoti | 2 comments | | HN request time: 0.543s | source
Show context
cpach ◴[] No.44369884[source]
Love this post. Reminds me of my former coworker G. He had exactly this attitude, and it made it possible for him to deliver results on most tasks that he set out for.
replies(1): >>44370820 #
sho_hn ◴[] No.44370820[source]
It's actually a somewhat bad and uninformed post, or perhaps the mistake (unclear whether knowingly or not) is to disprove a claim made by uninformed people.

No one with a good grasp of the space ever claimed that it wasn't possible on X11 to call into APIs to retrieve physical display size and map that to how many pixels to render. This has been possible for decades, and while not completely trivial is not the hard part about doing good UI scaling.

Doing good UI scaling requires infrastructure for dynamic scaling changes, for different scale factors per display within the same scene, for guaranteeing crisp hairlines at any scale factor, and so on and so forth.

Many of these problems could have been solved in X11 with additional effort, and some even made it to partial solutions available. The community simply chose to put its energy into bringing it all together in the Wayland stack instead.

replies(1): >>44371100 #
kvemkon ◴[] No.44371100[source]
> to disprove a claim made by uninformed people

KDE developer wrote recently:

> X11 isn’t able to perform up to the standards of what people expect today with respect to .., 10 bits-per-color monitors,.. multi-monitor setups (especially with mixed DPIs or refresh rates),... [1]

Multi-monitor setups are working since 20+ years. 10 bits are also supported (otherwise how would the PRO versions of graphic cards support this feature).

> chose to put its energy into bringing it all together in

I cannot recall, was there any paper analyzing why working and almost working X11 features do not fit, few additional X11 extensions cannot be proposed anymore and another solution from scratch is inevitable. What is a significant difference of a X11 and a wayland protocol extension.

[1] https://pointieststick.com/2025/06/21/about-plasmas-x11-sess...

replies(3): >>44371210 #>>44371793 #>>44378716 #
denkmoon ◴[] No.44371793[source]
Multi monitor with mixed DPIs absolutely does not work well in x11 in 2025. I don’t know about 20+ years ago.
replies(1): >>44373487 #
1. kelnos ◴[] No.44373487[source]
It could, though. GTK has support for mixed DPI, just only for Wayland. There's no reason why it couldn't work on X11. It might be more tricky to get right, but it's just a matter of work.
replies(1): >>44376676 #
2. Boxxed ◴[] No.44376676[source]
"just a matter of work."

Yeah, like every other conceivable feature, ever.