You are not logged in.

#1 2015-11-03 22:42:45

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

Monitor/Screen scrolling after adding another Monitor with xrandr

Hi guys,
I wanted to make use of my third graphics adapter and connected a new monitor to it. The problem was that this graphics adapter is part of my Intel HD card. My two other monitors are connected to my Nvidia 560 TI. The only method I found that worked for me is using xrandr:

$ xrandr --setprovideroutputsource 1 0
$ xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
$ xrandr --addmode VGA1 1280x1024_60.00
$ xrandr --output VGA1 --mode 1280x1024_60.00 --pos 3200x0 --auto

Notes (In the case this isn't already clear):

  • 1 and 0 are the providers NVIDIA-0 and Intel using the drivers "nvidia" and "intel"

  • without specifying and adding the new mode xrandr (or probably the buggy intel driver) only provides resolutions up to 1024x768

  • VGA1 is the name of the graphics adapter of the Intel HD

  • the new monitor is on the right of both other monitors. One of them is 1920 pixels wide and the other one 1280 pixels, thus I need to set an offset of 3200

It worked perfectly, but with one downside. Everytime, when I move the cursor over the edge of the second monitor to the third monitor, the first and the second monitor are scrolling to the right such that the cursor is still visible on the second monitor and I get a double image. This behaviour is really annoying. How can I force the monitors not to scroll? If I can't do that with xrandr is there another method of having a third monitor from different graphic card?

My xorg.conf is empty, I'm using the latest Arch (of course...) and gnome-shell 3.18.1. xrandr -q looks like this

Screen 0: minimum 8 x 8, current 4480 x 1200, maximum 16384 x 16384
DVI-I-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 338mm x 270mm panning 2560x1024+1920+0 tracking 4480x1200+0+0 border 0/0/0/0
   1280x1024     60.02*+  75.02  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DVI-I-2 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-I-3 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm panning 3200x1200+0+0 tracking 4480x1200+0+0 border 0/0/0/0
   1920x1200     59.95*+
   1920x1080     60.00  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
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)
VGA1 connected 1280x1024+3200+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024     59.89 +
   1024x768      60.00  
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
   1280x1024_60.00  59.89* 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1024x768 (0x49) 65.000MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x4a) 40.000MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x4b) 36.000MHz
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x4d) 25.175MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  1280x1024_60.00 (0x2f4) 109.000MHz
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz

my hardware:

$ lspci | grep Display
00:02.0 Display controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1)

Last edited by scindix (2015-11-04 06:01:03)

Offline

#2 2015-11-03 23:48:15

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

Re: Monitor/Screen scrolling after adding another Monitor with xrandr

The problem seems to be that panning is enabled for the first and second monitor. But I'm not able to disable it.
This doesn't change anything:

$ xrandr --output DVI-I-0 --panning 0x0+0+0/0x0+0+0
$ xrandr --output DVI-I-3 --panning 0x0+0+0/0x0+0+0

Last edited by scindix (2015-11-03 23:49:05)

Offline

#3 2015-11-05 22:38:00

scindix
Member
From: Germany
Registered: 2013-05-07
Posts: 48
Website

Re: Monitor/Screen scrolling after adding another Monitor with xrandr

Does no one have a clue?
Even if someone posts some useful resources where I can read about this topic would be helpful.
And if someone can say me that it's not my fault, but xrandr's I'll even file a bug at bugs.freedesktop.org
But at the moment I don't know what to do next and I would reeeally like to use that third screen.

Offline

#4 2023-02-21 08:41:27

GypsCode
Member
Registered: 2023-02-21
Posts: 1

Re: Monitor/Screen scrolling after adding another Monitor with xrandr

For anyone stumbling over this post. I've had the same problem and tried to set panning to the same size as my mode (resolution) which did not help.
However setting panning slightly lower than the resolution fixed it. So for example:

 xrandr --output DP-0 --mode 3840x2160 --pos 3840x0 --panning 3830x2160 

Note:
It seems to be related to nvidia drivers, but I didn't dig deeper.

Offline

Board footer

Powered by FluxBB