4 ms·
Scaling is a built in feature of X for over 20 years intended for this use case no bandaids of any sort or awareness by the applications of differing DPI. From
by michaelmrose 2y ago
Scaling is a built in feature of X for over 20 years intended for this use case no bandaids of any sort or awareness by the applications of differing DPI.
From the perspective of apps there is only one DPI with all scaling down handled by X at a layer below the apps level. There really aren't any lodpi apps on a modern X system only Wayland has issues scaling X apps correctly. Gtk Apps not updated this decade can handle scaling up by integer factors and because X scales the lower dpi monitor down to the appropriate size the app doesn't need to handle anything else.
Its very odd for folks to argue that my mixed DPI system using only basic boring old xorg.conf somehow doesn't exist. I mean would you like to come to my apartment and open a few different apps?
Its in a way ironic that between pure X, pure Wayland, and Wayland + xwayland only the last can't handle mixed DPI.
- orangeboats 2y ago> There really aren't any lodpi apps on a modern X system only Wayland has issues scaling X apps correctly. The problem starts at XWayland, not Wayland. And XWayland is just your typical X server with all its X intricacies. Only if we can somehow communicate our intended scale to the X clients through XWayland... oh, we can't! > Its very odd for folks to argue that my mixed DPI system using only basic boring old xorg.conf somehow doesn't exist. You keep on confusing per-window and per-output DPI. I can only assume you are feigning ignorance at this point. Good luck with attitude. I still have a couple GTK2 apps installed that doesn't support HiDPI, those are best used upscaled but... they can't. Those apps are unable to communicate to the server they are rendered at 1x (rather, the server doesn't have the notion of per-window scales at all).
- michaelmrose 2y agoThe desirable quantity is the result not the mechanics specifically that one can simply open windows on any display and move them between monitors without worrying about scaling. Ideally an element on one ought to be the same number of mm should you pull out a ruler. This is easily achievable on X11 and its easily done with Wayland. You mentioned not being able to do scaling per window. Well only with xwayland do you ever need to do so. You need it to be smarter than it is and so scaling on xwayland sucks in a way that isn't a factor in X or Wayland. Since Wayland is dependant on xwayland for unsupported apps and mixed DPI + xwayland sucks effectively only Wayland sucks at mixed DPI.
- orangeboats 2y agoSigh. > The desirable quantity is the result not the mechanics specifically that one can simply open windows on any display and move them between monitors without worrying about scaling. Then next time don't bring up compatibility when you talk about the benefits of staying on X11. :) You are breaking the legacy programs anyway by forcing LoDPI programs to remain un-upscaled and therefore unusable on HiDPI displays. > Well only with xwayland do you ever need to do so. I am sorry, but the problem I mentioned exists as well on a pure X11 setup. And the "solution" for this problem, on this setup, is to scale up the entire desktop (blurriness everywhere) which is decidedly worse than XWayland where only a single window is affected, assuming your other HiDPI-aware programs run natively on Wayland (which, from my experience, is pretty much true -- after all, HiDPI programs most likely are still actively developed). The only other viable choice on a pure-X11 setup is a non-solution: just live with the tiny UI whenever you are using HiDPI-unaware programs. Either you bring up documentation showing people that X11 has something akin to Wayland's buffer_scale event, or consider this discussion finished. It is tiring to talk to a brick wall.
- michaelmrose 2y ago>The only other viable choice on a pure-X11 setup is a non-solution: just live with the tiny UI whenever you are using HiDPI-unaware programs. What programs? Something from 2003? There are a plethora of X only apps but a microscopic number at this point that aren't suitable for hidpi. > blurriness everywhere Nope I'm sorry I have a machine on my desk which disagrees
- orangeboats 2y ago>Nope I'm sorry I have a machine on my desk which disagrees I said Mixed DPI. You don't have a low DPI program running next to a high DPI program on your desktop right now, do you? See, that's why I said you have been feigning ignorance. And I don't blame you, ignorance is bliss! :D
- michaelmrose 2y ago