← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 418668] Re: xrandr rotate left is off by one pixel with open source ati driver

 

apport information

** Tags added: apport-collected

** Description changed:

  Binary package hint: xserver-xorg-video-ati
  
  I have a dual monitor setup and I am arranging my monitors with xrandr.
  My configuration has one monitor in portrait and one in landscape.  When
  I rotate the monitor to portrait mode, I end up with the screens being
  offset by one pixel.  The attached screenshot should make it clearer.
  If you look at the screenshot, you'll see that column 1679 is the
  rightmost edge of my left screen, as the panel ends there (this is
  correct).  The problem is that column 1679 is displayed on the right
  monitor.  Additionally, column 2729 (the far right coloumn) is not
  displayed on the right monitor at all.  The display ends at column 2728.
  The screens are not overlapping.  I can prove this by counting the
  number of pixels displayed on each side of the split.  There are no
  repeats.
  
  The oddest part is that if I rotate my monitor to the right rather than
  the left with xrandr, the problem disappears!  It's not a viable option
  for me, though, because my monitor stand only rotates one way.
  
  The xrandr commands that get me here are:
  $ xrandr --output DVI-1 --rotate left
  $ xrandr --output DVI-0 --pos 0x0
  $ xrandr --output DVI-1 --pos 1680x0
  
  So, how did I get here?
  
  I have two identical Dell 2007WFPb monitors.
  
  $ lspci | grep VGA
  01:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series]
  
  $ cat /etc/X11/xorg.conf
  Section "Monitor"
  	Identifier	"Left Monitor"
  EndSection
  
  Section "Monitor"
  	Identifier	"Right Monitor"
          Option          "LeftOf" "Left Monitor"
          Option          "Rotation" "left"
  EndSection
  
  Section "Screen"
  	Identifier	"Default Screen"
  	Monitor		"Left Monitor"
  	Monitor		"Right Monitor"
  	Device		"Configured Video Device"
  	SubSection "Display"
  		Virtual	3361 3361
  	EndSubSection
  EndSection
  
  Section "Device"
  	Identifier	"Configured Video Device"
          Option "Monitor-DVI-1" "Left Monitor"
          Option "Monitor-DVI-0" "Right Monitor"
  EndSection
  
  $ xrandr 
  Screen 0: minimum 320 x 200, current 2730 x 1680, maximum 3361 x 3361
  DVI-1 connected 1050x1680+1680+0 left (normal left inverted right x axis y axis) 434mm x 270mm
     1680x1050      59.9*+
     1280x1024      75.0     60.0  
     1152x864       75.0  
     1024x768       75.0     60.0  
     800x600        75.0     60.3  
     640x480        75.0     59.9  
     720x400        70.1  
  DVI-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm x 270mm
     1680x1050      59.9*+
     1280x1024      75.0     60.0  
     1152x864       75.0  
     1024x768       75.0     60.0  
     800x600        75.0     60.3  
     640x480        75.0     59.9  
     720x400        70.1  
  
  $ lsb_release -rd
  Description:	Ubuntu 9.04
  Release:	9.04
  
  $ apt-cache policy xserver-xorg-video-ati
  xserver-xorg-video-ati:
    Installed: 1:6.12.1-0ubuntu2
    Candidate: 1:6.12.1-0ubuntu2
    Version table:
   *** 1:6.12.1-0ubuntu2 0
          500 http://mirrors.kernel.org jaunty/main Packages
          100 /var/lib/dpkg/status
+ --- 
+ Architecture: i386
+ DistroRelease: Ubuntu 10.04
+ DkmsStatus:
+  
+ MachineType: Dell Inc. OptiPlex 745
+ Package: xserver-xorg-video-ati 1:6.13.0-1ubuntu5
+ PackageArchitecture: i386
+ ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic-pae root=UUID=007ce548-17c6-4592-8c8b-d7cfaf1ca16d ro quiet splash
+ ProcEnviron:
+  PATH=(custom, user)
+  LANG=en_US.utf8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
+ Tags: lucid lucid
+ Uname: Linux 2.6.32-21-generic-pae i686
+ UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video
+ dmi.bios.date: 05/21/2007
+ dmi.bios.vendor: Dell Inc.
+ dmi.bios.version: 2.3.1
+ dmi.board.name: 0MM599
+ dmi.board.vendor: Dell Inc.
+ dmi.chassis.type: 3
+ dmi.chassis.vendor: Dell Inc.
+ dmi.modalias: dmi:bvnDellInc.:bvr2.3.1:bd05/21/2007:svnDellInc.:pnOptiPlex745:pvr:rvnDellInc.:rn0MM599:rvr:cvnDellInc.:ct3:cvr:
+ dmi.product.name: OptiPlex 745
+ dmi.sys.vendor: Dell Inc.
+ system:
+  distro:             Ubuntu
+  codename:           lucid
+  architecture:       i686
+  kernel:             2.6.32-21-generic-pae

** Attachment added: "BootDmesg.txt"
   http://launchpadlibrarian.net/47894004/BootDmesg.txt

-- 
xrandr rotate left is off by one pixel with open source ati driver
https://bugs.launchpad.net/bugs/418668
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in ubuntu.



References