You are not logged in.

#1 2020-08-21 08:19:57

_dodger_
Member
Registered: 2019-11-12
Posts: 11

HiDPI with multiple monitors

I'm trying to get a multiple monitor HiDPI setup going but am having trouble.

* Laptop monitor (Thinkpad T14): 3840x2160 (14 inch, DPI ~315)
* External monitor (LG 38WK95C) 3840x1600 (38 inch, DPI ~110)
* Arch is fully up-to-date (installed and updated yesterday)
* I'm using BSPWM

When using the default DPI of X (96) things on the laptop are way too small and the external one is fine (makes sense because 110 and 96 are pretty close)
I've played around with various settings but each one has had its drawbacks so far.

I've played with
* xrandr --dpi
* xrandr --scale
* .Xresources: Xft.dpi
* Various application specific DPI settings (e.g. rofi, polybar)

Either one of the displays will be way too large but I haven't tested all combinations yet: e.g. setting DPI to 288 (3 x 96), scale a monitor and set Xft.dpi to 192 or similar things.
I have some setups that look _almost_ great but not quite.
One monitor is usually still too large or small and any scales higher than 2x2 become very blurry.
So I also experimented with leaving DPI at 96 to suit the external monitor and then scale the internal one to 0.5x0x5 but it's also not perfect.

So I had hoped someone here has already played around with this and found a setup that works?

Kinda related: I also found a lot of references to "xsettings" but I couldn't find a good explanation how that differs from xrdb/xresources. It has for example a setting "Xft/DPI" but I'm not sure if it makes sense to set that as well as in Xresources

EDIT: To sum up my questions

* Does anyone here have a similar setup that works and could share configs?
* Does it make sense to use xsettingsd in addition to Xresources to set DPI?
* In general does it make sense to use the higher or the lower DPI in mixed-settings and then scale the other one up or down?
* Any way to work around blurriness in scaled resolutions?

Thank you!

Last edited by _dodger_ (2020-08-21 08:26:20)

Offline

#2 2020-11-16 16:01:35

buchno
Member
Registered: 2013-10-23
Posts: 7

Re: HiDPI with multiple monitors

As far as I know, this is currently an open problem. Any mixed DPI configuration in X.org will have some form of blur due to scaling.

Your best bet might be to switch to Wayland and configure the DPI settings per application, for those that support it.

Here's the current status of Wayland support:
https://wayland.freedesktop.org/toolkits.html

Offline

Board footer

Powered by FluxBB