After installing the driver on Fedora, there is always a forced panning even if I don’t set anything. After playing around I found that whatever panning I set, there are 127 added to the vertical pixel count.
So this command:
xrandr --output DP-1 --mode 2560x1440 -r 120.00 --primary --pos 0x0 --panning 2560x1440+0+0
Wil result in:
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm panning 2560x1567+0+0
And setting a larger value like:
xrandr --output DP-1 --mode 2560x1440 -r 120.00 --primary --pos 0x0 --panning 2560x2000+0+0
Will result in (127 added):
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm panning 2560x2127+0+0
I’ve tried to set it to 1440-127=1313 so that I have the correct 1440, however, this is invalid:
$ xrandr --output DP-1 --mode 2560x1440 -r 120.00 --primary --pos 0x0 --panning 2560x1313+0+0
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 29 (RRSetPanning)
Serial number of failed request: 41
Current serial number in output stream: 41
Not specifying the panning at all just sets it to 2560x1567+0+0.
Specs:
GTX 760
5900X
Dell S2716DG Monitor
Fedora 33, installed the driver from RPM Fusion
Driver version 455.45.01