You are not logged in.

#1 2016-09-02 16:42:37

joe4465
Member
Registered: 2016-09-02
Posts: 1

xrandr second screen mouse movement limited

I've got a little Linux issue tongue I have my laptop (eDP1) and a second screen (DP1), both 2560x1440, the second screen is scaled 1.4 x 1.4 because its bigger. I used to have my laptop on the right of the second screen which worked nicely using the command

xrandr --output eDP1 --auto --pos 3584x0 --output DP1 --auto --scale 1.4x1.4 --pos 0x0 --fb 6144x2016

Today I built a new desk and swapped my screens over so the laptop is to the left of the second screen using the command

xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016

the screens display correctly but I am unable to move my mouse across the whole of the second screen, its limited to an area (2560 + 2560) x 1440, whereas it should be limited to an area (2560 + (1.4 * 2560)) x (1.4 * 1440). It works fine the other way round so I am a bit stumped.

➜  ~ xrandr
Screen 0: minimum 8 x 8, current 6144 x 2016, maximum 32767 x 32767
eDP1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   2560x1440     60.00*+
   1920x1440     60.00  
   1856x1392     60.01  
   1792x1344     60.01  
   2048x1152     60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 connected 3584x2016+2560+0 (normal left inverted right x axis y axis) 550mm x 310mm
   2560x1440     59.95*+
   2048x1152     60.00  
   1920x1200     59.88  
   1920x1080     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1200x960      59.99  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

It looks like a bug in xrandr as after the error below the mouse area is correct.

➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016 --panning 6144x2016
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016                    
➜  ~ xrandr --output eDP1 --auto --output HDMI2 --off --output DP1 --off                                                      
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
➜  ~ xrandr --output eDP1 --auto --output HDMI2 --off --output DP1 --off                                  
➜  ~ xrandr --output eDP1 --auto --pos 0x0 --output DP1 --auto --scale 1.4x1.4 --pos 2560x0 --fb 6144x2016
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:  44
  Current serial number in output stream:  44

Well at least I know the command is correct! Any ideas anyone?

Thanks

Last edited by joe4465 (2016-09-02 16:51:59)

Offline

Board footer

Powered by FluxBB