[arch-general] xrandr with XPS 13" (3840x2160) HiDPI and 30" (2560x1600) LowDPI

Bruno Pagani bruno.n.pagani at gmail.com
Wed Aug 1 12:33:21 UTC 2018


Le 01/08/2018 à 14:27, Tyler a écrit :

>> The separator is a ; not a comma. ;) And it is likely {E,}DP-1, not
>> {E,}DP1. And you probably have to use quotes around the whole value,
>> like this:
>>
>> QT_SCREEN_SCALE_FACTORS="eDP-1=2;DP-1=1;HDMI-1=1;DP-2=1;HDMI-2=1;"
> Hmm sadly, it doesn't seem to help.
>
> $ env |grep QT
> QT_SCREEN_SCALE_FACTORS=eDP1=2;DP1=1;HDMI1=1;DP2=1;HDMI2=1;
> QT_QPA_PLATFORMTHEME=qt5ct
> QT_AUTO_SCREEN_SCALE_FACTOR=0
>
> I rebooted and set:
>
> xrandr --output eDP1 --pos 5120x0 --auto \
>        --output DP1 --pos 0x0 --auto --scale 2x2
>
> and applications Qt apps like wireshark and virtualbox are still
> rendering with 2x scaling on both screens. (which looks normal on the
> hidpi one, and small on the lowdpi one).

OK, then maybe you’ve just stumbled upon one of the numerous HiDPI Qt bugs…


More information about the arch-general mailing list