I found a different work around that works consistently for me.  I'm
actually using gentoo linux with xorg-server-1.17.4, gnome-3.18.0, and
xrandr-1.4.3.  Looks to me like Thomas C. Blank was on the right track.

I have an NVIDIA card with a 1680x1050 monitor and a 1920x1200 monitor.
And an Intel card with a 1920x1080 monitor.  They are in that order
left-to-right.

First, I had to disable xinerama in my xorg.conf because it conflicts
with xrandr.

When I first log in, the nvidia monitors are in the correct orientation,
but I have to connect the Intel output source with: xrandr
--setprovideroutputsource Intel NVIDIA-0

Then I can enable the output either through gnome's display settings or
with xrandr(DVI-I-2 being the 1920x1200 monitor): xrandr --output HDMI2
--auto --right-of DVI-I-2

Finally, I convince panning to do what I want with another xrandr call:
xrandr --output DVI-I-2 --panning
3840x1200+1680+0/1920x1200+1680+0/0/0/0/0

This panning instruction says the center monitor pans over a region that 
contains itself and the right monitor.  But it only tracks the mouse pointer 
over itself.  And it has no border.
"The first four parameters specify the total panning area, the next four the 
pointer tracking area (which defaults to the same area). The last four 
parameters specify the border and default to 0." -- man xrandr

That same man page continues on to say that width or height set to zero
will disable panning on that axis - which doesn't work.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1326688

Title:
  Can't disable panning on multiple monitors

Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  System:

  Dell laptop E6520 with two graphic cards:

  00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
  01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [NVS 4200M] (rev 
a1) (prog-if 00 [VGA controller])

  I have 3 monitors connected through docking stations, DP-0 and DP-1
  connected to Nvidia card and VGA-1-0 connected to Intel card.

  I'm usind nvida-331 driver and nvidia-prime:

  nbr@nbr-nb:~$ dpkg --get-selections | grep nvidia
  nvidia-331                                    install
  nvidia-common                                 install
  nvidia-libopencl1-331                         install
  nvidia-opencl-icd-331                         install
  nvidia-prime                                  install
  nvidia-settings                                       install

  I can setup correctly this triple-head config with Monitor Settings in
  Ubuntu Control Panel, but this enable panning as per xrandr output:

  nbr@nbr-nb:~$ xrandr -q | grep conn
  VGA-0 disconnected (normal left inverted right x axis y axis)
  LVDS-0 disconnected (normal left inverted right x axis y axis)
  DP-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm 
x 301mm panning 2560x1024+0+0 tracking 4240x1050+0+0 border 0/0/0/0
  DP-1 connected primary 1680x1050+1280+0 (normal left inverted right x axis y 
axis) 433mm x 270mm panning 2960x1050+1280+0 tracking 4240x1050+0+0 border 
0/0/0/0
  HDMI-0 disconnected (normal left inverted right x axis y axis)
  DP-2 disconnected (normal left inverted right x axis y axis)
  DP-3 disconnected (normal left inverted right x axis y axis)
  LVDS-1-0 connected
  VGA-1-0 connected 1280x1024+2960+0 376mm x 301mm

  and it seems there is no way to disable it (even issuing xrandr with
  --panning 0x0+0+0 option to DP-0 and DP-1 has no effect).

  This was working correctly after a undock/dock of the laptop, maybe an
  update broke config since it has always showed problems with
  undock/dock, but a reboot always cured the situation. Now it can't be
  setup like initial config anymore (three indipendent monitors with no
  panning and windows moving around all monitors).

  
  other sysinfo:

  nbr@nbr-nb:~$ lsb_release -rd
  Description:  Ubuntu 14.04 LTS
  Release:      14.04
  nbr@nbr-nb:~$ apt-cache policy nvidia-331
  nvidia-331:
    Installato: 331.38-0ubuntu7
  nbr@nbr-nb:~$ apt-cache policy nvidia-prime
  nvidia-prime:
    Installato: 0.6.2
  nbr@nbr-nb:~$ apt-cache policy xserver-xorg
  xserver-xorg:
    Installato: 1:7.7+1ubuntu8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1326688/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to