I have a widescreen monitor and want to split it in two virtual screens. xrandr says:
Screen 0: minimum 8 x 8, current 3840 x 1600, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 connected 3840x1600+0+0 (normal left inverted right x axis y axis) 880mm x 367mm
3840x1600 60.00*+ 30.00
3840x2160 59.94 50.00 29.97 25.00 23.98 23.98
3840x800 59.99
1920x1600 59.95
1920x1200 59.88
1920x1080 60.00 59.94 50.00
1920x800 59.88
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.93 59.94
..and I followed the instructions in this 10 years old post:
and made this script:
xrandr --setmonitor A 1920/440x1600/367+0+0 HDMI-0
xrandr --setmonitor B 1920/440x1600/367+1920+0 none
xrandr --listactivemonitors returns:
Monitors: 2
0: A 1920/440x1600/367+0+0 HDMI-0
1: B 1920/440x1600/367+1920+0
so it seems to have accepted the command. But xrandr --fb does not work and I have still the same one 3840x1600 display:
~$ sudo xrandr --fb 1920x1600
xrandr: specified screen 1920x1600 not large enough for output HDMI-0 (3840x1600+0+0)
xrandr: Configure crtc 0 failed
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 21 (RRSetCrtcConfig)
Value in failed request: 0x0
Serial number of failed request: 33
Current serial number in output stream: 33
What's wrong? I use Ubuntu 21.10 with MATE.