I have this problem on Linux Mint 17.1 (Ubuntu 14.04 base) too on a
Lenovo T420s with Optimus graphics using the Nvidia card as primary.

It seems to work as expected if I put the screens in order [LVDS-1-0] --
[VGA-1-0] -- [DP-3] from left to right, but if I put DP-3 in the middle,
I can't disable panning for it.

Just putting the screens in this physical order works for me, but I run
into another problem when I try to set the middle screen (VGA-1-0) to
primary in order to get my KDE taskbar on the middle screen. Trying to
set any of the screens provided by modesetting to primary fails with the
following error:

  $ xrandr --output VGA-1-0 --primary
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  30 (RRSetOutputPrimary)
  Serial number of failed request:  50
  Current serial number in output stream:  52

  $ xrandr --output LVDS-1-0 --primary
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  30 (RRSetOutputPrimary)
  Serial number of failed request:  50
  Current serial number in output stream:  52

I attach my Xorg configuration (generated by nvidia-settings), the Xorg
log file, a dump of 'xrandr --verbose' output and 'xrandr
--listproviders' output.

** Attachment added: "nvidia_multiscreen_problem.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1326688/+attachment/4762455/+files/nvidia_multiscreen_problem.tar.gz

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to