Using xrandr for 4K and 21:9 Display Scaling

I'm trying to setup scaling with my new 3840x2160 4K panel and my 2560x1080 panel. The 2560x1080 21:9 monitor is on the right of the 4K one.

Does anyone have the right command for this? I've been reading the HiDPI article but it doesn't really explain my use case..

I've got a Acer CB271HK panel for £270 on a really good deal on BT Shop for those interested.

So this all depends on your hardware.

You have a 1070. Xrandr scaling doesn't work with the Nvidia drivers.
You will have to rely on your window manager's scaling.

Huh surprised this thread go revived.. I used to be on an AMD card, just got a 1070. I'll have to boot into Linux and get the drivers working and see if the scaling is any better. I might have to find a middle ground for both displays

xrandr --fb (virtual desktop width)x(virtual desktop height) --fbmm (virtual desktop width in mm)x(virtual desktop height in mm)

Set the virtual desktop size such that both screens will fit, and the size in millimetres to what it would be (just use the DPI values of one of the screens to calculate that).