Comment 15 for bug 1873403

Revision history for this message
Trickser (ansgar-f26) wrote :

I want to add something here: I'm using the xrandr scale setting since 19.04 as fractional scaling has never worked on Ubuntu and X11. In the last versions the monitor settings weren't stored.

In my experience when setting the display resolutions / scaling with xrandr, my NVIDIA card would always black out when I tried to change anything after setting the initial xrandr command. Either through xrandr or the display settings. It is also impossible to disconnect a monitor after setting the scaling, as the card would then black out too.

Restarting the Gnome Server always helps in those cases.

Here's my current script at startup, when setting the 200% scaling in the settings:
```
SCALE=1.25
POSITION=4800
xrandr --output DP-4 --primary --pos "0x0" --scale "$SCALE"x"$SCALE" --output DP-0 --scale "$SCALE"x"$SCALE" --auto --pos "$POSITION"x0
```