frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Mixed DPI in X11

https://wok.oblomov.eu/tecnologia/mixed-dpi-x11/
28•somat•3h ago

Comments

encom•2h ago
I've been running a mixed DPI setup for a long time now, with a 4K display center, and a vertical 1080p display on either side (so 3 displays total).

My conclusion from running this and similar mixed DPI setups over many years is that mixed DPI is extremely poorly tested, if at all, by all vendors. KDE Plasma on Wayland finally pretty much gets it right 98% of the time. X11 wasn't a great experience, regardless of what's technically possible.

Windows has so many annoying issues. Apps are often blurry on the low DPI displays. The mouse cursor has no concept of screen DPI, and treats the entire working area as having the same DPI, so you have to hit the "exits" of the high DPI display just right to land on the low DPI ones. Positioning a window across different displays only scales it correctly on one. There's probably more, but I've been 100% Windows free for a couple of years now.

I wonder how OS X handles it. I don't like that OS, but it sounds like the kind of thing Apple would care about getting right.

looperhacks•2h ago
macOS doesn't handle it at all, a window is never visible on multiple screens at the same time.

Low DPI screens are near unusable anyway on macOS without subpixel rendering

jojobas•2h ago
Ha, so that's just one issue instead of dozens!

Take that, Apple haters.

the_mitsuhiko•2h ago
> macOS doesn't handle it at all, a window is never visible on multiple screens at the same time.

It absolutely is during dragging. macOS is perfectly capable of drawing a window on two screens at the same time, but it doesn't let a window cross two screens while resting which I think is a really good user experience choice.

zamadatix•2h ago
macOS (and iOS/iPadOS) is one of the least "technically correct" when it comes to DPI (it uses only the render-at-integer-multiple-and-scale approach) but it does support per display settings pretty well. Everything is also built with the assumptions displays will be high DPI so low DPI screens have crap fonts and whatnot. For windows across multiple displays I'd have to check to see the behavior of but I wouldn't hold up hope it's particularly great. Like you say, Microsoft Windows has one of the most ideal technical implementations (fractional per monitor DPI + it at least attempts to display the window across monitors in a way doesn't bitmap scale) and reached this state many years ago but it means nothing if all the apps aren't also updated to support it (much like this article).

The cursor thing isn't really to do with DPI, it's a general thing with mixed reported display sizes regardless if they have the same DPI. I wish more systems had the option to cross borders at the relative position between monitors rather than the absolute but neither is necessarily more correct and I'm sure many prefer the absolute method.

doublerabbit•2h ago
> X11 wasn't a great experience, regardless of what's technically possible.

I use FreeBSD as my daily driver and as well I use four screens, 2x4k and 2x1080p.

There are glitches and it's no near perfect but I would highly praise Xorg/X11. I've had no issues in a long time; maybe it's your distro.

jstimpfle•41m ago
> Positioning a window across different displays only scales it correctly on one.

Apart from automatic OS-level scaling applied as a post-processing step, which is almost guaranteed to look bad, this one is basically impossible to fix (from a technical standpoint). If you need to move "smoothly" between monitors, get identical monitors.

horsawlarway•2h ago
I think this post is one of those "technically correct" but functionally wrong rants.

My experience with multiple monitors at different dpis hits nearly every case of failure he points out.

It's a lot more work to configure.

Apps fail to account for it.

Spanning two monitors results in terrible scaling problems.

Apps that do account for it at start up won't account for it during reposition, so they look fine if they open on the right monitor and terrible if moved to the other.

Getting solid workflows for flexible positioning requires hacks like mentioned at the end for xrandr.

Etc...

So sure, you can do it and it sucks.

That's not really the win I think the author seems to think it is.

jstimpfle•35m ago
"Technically correct" about fundamental limitations of reality but you still hate the truth and it's X11's fault?

I'm not even trying to defend X11, I don't have much love for it. I've done some Xlib programming in the past and I've hated it. I've never used Wayland, and I'm mostly on Windows these days.

But, I don't see how one could make a point that X11 is bad because of poor DPI support.

the_mitsuhiko•2h ago
I'm not sure where all these "X11 is actually great" posts recently are common from but X11 does not have DPI solved. I encourage you to read this comment [1] to better understand what the actual situation is like.

[1]: https://lobste.rs/s/ceylzx/forbidden_secrets_ancient_x11_sca...

baobun•2h ago
The major fundamental issues are there for Wayland too.

Most of the comment is a rant about "X11 proponents". Can we please at least try to keep identity politics out of display servers?

the_mitsuhiko•2h ago
> The major fundamental issues are there for Wayland too.

Which fundamental issues does Wayland have with DPI? I'm not aware of there being any fundamental issues with the DPI handling there.

somat•1h ago
A quote from the article.

"If you think this idea is a bit stupid, shed a tear for the future of the display servers: this same mechanism is essentially how Wayland compositors —Wayland being the purported future replacement for X— cope with mixed-DPI setups."

jstimpfle•24m ago
The fundamental issue that it's a hard problem (no matter if on X11/Wayland/Windows/Mac), which can only be solved by the apps and toolkits themselves.
baobun•2h ago
TIL the major reason mixed DPI is subpar on X11 is because Gnome is blocking support on Gtk.

FTC to give $126M back to Fortnite players who were charged for unwanted items

https://www.tomshardware.com/video-games/ftc-to-give-usd126-million-back-to-fortnite-players-who-were-charged-for-unwanted-items-950-000-payments-refunded-and-the-deadline-to-claim-your-cash-was-just-extended
1•LorenDB•15s ago•0 comments

Catch Up Smarter: WhatsApp AI Summaries for Missed Chats

https://midmoo.net/whatsapp-ai-message-summaries-a-smart-new-way-to-catch-up-on-missed-chats-in-2025/
1•audai•1m ago•0 comments

RAG tutorial blew my mind

https://docs.vespa.ai/en/tutorials/rag-blueprint.html
1•goinglong•1m ago•0 comments

Relaxing Games – Unwind and De-Stress with Fun Online Games

https://relaxgame.win/
1•wsljhint•1m ago•0 comments

Epic Games Store Updates Revenue Share

https://store.epicgames.com/en-US/news/epic-games-store-updates-revenue-share-keep-100-of-the-first-1m-per-product-per-year
1•appsDev•2m ago•0 comments

Why Most Vaccines Don't Contain Mercury Anymore

https://www.scientificamerican.com/article/what-is-thimerosal-why-most-vaccines-dont-contain-mercury-anymore/
1•Brajeshwar•5m ago•0 comments

Nvidia hits record high as analyst predicts AI 'Golden Wave'

https://www.reuters.com/business/nvidia-hits-record-high-analyst-predicts-ai-golden-wave-2025-06-25/
1•Brajeshwar•5m ago•0 comments

Enuf Is Enough (2015)

https://tedium.co/2015/11/19/word-lobby-orthography-history/
1•Brajeshwar•6m ago•0 comments

Google DeepMind Releases AlphaGenome

https://deepmind.google/discover/blog/alphagenome-ai-for-better-understanding-the-genome/
1•i_love_limes•7m ago•0 comments

Gemini CLI

https://simonwillison.net/2025/Jun/25/gemini-cli/
1•JnBrymn•8m ago•0 comments

Show HN: Zarvia – Visual workspace rethinking how teams organize information

https://zarvia.co
1•michaelfromaus•9m ago•0 comments

Meta's recruiting blitz claims three OpenAI researchers

https://techcrunch.com/2025/06/25/metas-recruiting-blitz-claims-three-openai-researchers/
1•bookofjoe•12m ago•0 comments

I built an ADHD app with interactive coping tools, noise mixer and self-test

https://www.adhdhelp.app/en
3•digitalions•17m ago•3 comments

BBC website in US launches paid subscription service

https://www.bbc.com/news/articles/cx2vgkn7w10o
2•rlaabs•18m ago•0 comments

AI Killed My Job: Tech Workers

https://www.bloodinthemachine.com/p/how-ai-is-killing-jobs-in-the-tech-f39
3•spenvo•19m ago•0 comments

Overfishing has caused cod to halve in body size since 1990s

https://www.theguardian.com/environment/2025/jun/25/cod-shrinking-size-overfishing-study
1•speckx•20m ago•0 comments

Channeling Alpha

https://medium.com/@giz51d/channeling-alpha-bd32afbfadfa
2•todsacerdoti•20m ago•0 comments

Ecma International approves ECMAScript 2025: What's new?

https://2ality.com/2025/06/ecmascript-2025.html
1•olalonde•20m ago•0 comments

College graduates face toughest job market in more than a decade

https://apnews.com/article/college-graduates-job-market-unemployment-c5e881d0a5c069de08085a47fa58f90f
4•geox•22m ago•0 comments

The Coming NPU Population Collapse

https://semiengineering.com/the-coming-npu-population-collapse/
2•PaulHoule•22m ago•0 comments

Kaseya CEO: Why AI adoption is below industry expectations

https://www.theregister.com/2025/06/26/kaseya_ceo_why_ai_adoption/
1•rntn•23m ago•0 comments

The Whole Code Catalog

https://futureofcoding.org/catalog/
1•MrBuddyCasino•23m ago•0 comments

How Does Graph Theory Shape Our World?

https://www.quantamagazine.org/how-does-graph-theory-shape-our-world-20250626/
1•baruchel•24m ago•0 comments

The Droids Are in the Escape Pod - You Can't Copyright Eleanor

https://www.youtube.com/watch?v=tWc-vA97B7g
1•Damogran6•24m ago•1 comments

Monostable Tetrahedron Model

https://www.solipsys.co.uk/ZimExpt/MonostableTetrahedron.html
1•ColinWright•24m ago•2 comments

Beta Technologies lands passenger-carrying electric aircraft at NY airport

https://www.reuters.com/business/aerospace-defense/beta-technologies-conducts-first-all-electric-aircraft-landing-2025-06-03/
1•greesil•25m ago•0 comments

Western Canadian glaciers melting twice as fast as they did a decade ago

https://www.cbc.ca/news/canada/british-columbia/glaciers-melting-fast-1.7571109
1•curmudgeon22•26m ago•0 comments

Show HN: Piper-mode – Text-to-speech for Emacs using the Piper TTS engine

https://github.com/snowy-0wl/piper-mode
1•snowy_owl•27m ago•0 comments

Show HN: Branching – sync and merge code from multiple AI agents

https://branching.app/#agents
2•sheremetyev•27m ago•1 comments

Charging residents for every bag of trash

https://grist.org/accountability/what-one-town-learned-by-charging-residents-for-every-bag-of-trash/
2•1970-01-01•27m ago•0 comments