xrandr has panning, while man xorg.conf does not

Felix Miata mrmazda at earthlink.net
Mon Apr 23 09:30:11 UTC 2018


Why not? 'Option "Panning" "HresXVres"' in 'Section "Monitor"' certainly
used to work many moons ago, e.g. in server 1.9.3, the same way as it still does
in server 1.19.6, and as --panning works with xrandr - with a single display.

But, is panning not supposed to work if a screen is comprised of more than
one display? I've been trying both methods, and can't seem to find a combination
that works either with xrandr or with xorg.conf, AND permits assigning any
arbitrary DPI, as can be done with any single display. Here are most of the
xrandr tries I've made using a 1920x1200 native Dell and a 1680x1050 native
Lenovo with (recent) Intel and (older) GeForce gfx devices:

## Intel HDG630 w/ modeset(0) Debian 9 server 1.19.2; openSUSE Tumbleweed server 1.19.6
xrandr --dpi 108 --output HDMI-2 --auto --primary --output DP-1 --auto --right-of HDMI-2
## All OK as far as it goes, but without panning, not a rectangle

xrandr --dpi 108 --output HDMI-2 --auto --primary --panning 1920x1440 --output DP-1 --auto --right-of HDMI-2 --panning 1920x1440
## both displays @0,0; DPI 108; screen size 3840x1440

xrandr --dpi 108 --panning 3840x1440 --output HDMI-2 --auto --primary --output DP-1 --auto --right-of HDMI-2
## DPI ignored (96DPI observed); otherwise OK

xrandr --fbmm 900x338 --panning 3840x1440 --output HDMI-2 --auto --primary --output DP-1 --auto --right-of HDMI-2
## fbmm ignored (96DPI observed); otherwise OK

## NVidia GT218 w/ modeset(0); Debian 9 server 1.19.2 xrandr 1.5; Tumbleweed server 1.19.6 xrandr 1.5.0
xrandr --dpi 108 --output DVI-I-1 --auto --primary --output VGA-1 --auto --right-of DVI-I-1
## screen size 3600x1200 with 1680x150 rectangle missing at lower right; otherwise OK

xrandr --dpi 108 --output DVI-I-1 --auto --primary --panning 1920x1440 --output VGA-1 --auto --right-of DVI-I-1 --panning 1920x1440
## both displays @0,0; DPI 108; screen size 3600x1440

xrandr --dpi 108 --panning 3840x1440 --output DVI-I-1 --auto --primary --output VGA-1 --auto --right-of DVI-I-1
## dpi 96; screen size 3600x1200; otherwise OK

xrandr --fbmm 900x338 --panning 3840x1440 --output DVI-I-1 --auto --primary --output VGA-1 --auto --right-of DVI-I-1
## dpi 96; screen size 3600x1200; otherwise OK

xrandr --output DVI-I-1 --auto --primary --dpi 108 --panning 3840x1440 --output VGA-1 --auto --right-of DVI-I-1
## VGA-1 1680x1050 at 1920,0; DVI-I-1 3840x1440 at 0,0; DPI 108

xrandr --output DVI-I-1 --auto --primary --output VGA-1 --auto --right-of DVI-I-1 --dpi 108 --panning 3840x1440
## VGA-1 3840x1440 at 0,0; DVI-I-1 1920x1200 at 0,0; DPI 108

ISTR arandr may be able to do such things, but it works on a per user basis. I'm after
global application.
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


More information about the xorg mailing list