HiDPI and dual display

hi

On my left, i have a 2K monitor (2560x1440) and to the right i have a full hd monitor (1920x1080).
I try to use an HiDPI on my 2k monitor and an normal one on the other.

xrandr --output DP2 --auto --pos 0x0 --output HDMI1 --scale 1.35x1.35 --auto --pos 3456 --fb 2592x2898

seem like my mouse can go on the second monitor

2560x1440 WQHD 210 DPI
1920x1080 FHD 96 DPI

seem like there is an issue with the fb size and the position

Hi there,

I’m afraid I will not offer a solution as I’m in similar position as yourself. In my case screen resolutions are a bit different (QHD laptops screen + 1680x1050 external screen).

The issue is, that If I set fond DPI to 144 or use screen scaling - it is applied gloablly. i.e. 2x scaling will look fin on my QHD laptop screen, but UI elements will be way too large on my external screen.

I guess solution to your question will also be a solution to my issue, provided someone has some insight into it.

Qt 5.6 suppose to fix HiDPI automagically as per Qt5.6 beta announcement -> http://blog.qt.io/blog/2015/12/18/qt-5-6-beta-released/ but I don’t see it. I have Plasma 5.6.3, Framework 5.21 and Qt 5.6 installed on OpenSUSE 42.1 and there is no magical DPI switching happening.

I’m just sharing a link on Qt 5.6. I haven’t tried it myself yet, but it seems there is a way to enable Qt 5.6 “magic” scaling manualy.

https://www.youtube.com/watch?v=2XPpp4yD_M4

also found this http://blog.qt.io/blog/2016/01/26/high-dpi-support-in-qt-5-6/
Yet again, haven’t had a chance to test it myself as not at my PC.