Bug 727148

Summary: Panning with xrandr
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Pelka <tpelka>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server-Xorg-1.10.3-5.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-04 10:24:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Pelka 2011-08-01 12:44:06 UTC
Filed from caserun (https://tcms.engineering.redhat.com/case/100320)

Version-Release number of selected component (if applicable):
RHEL6.2-20110731.n.0

Steps to Reproduce: 
Get your display highest supported resolution, use xrandr for example (is is
the first resolution in the list, 1400x900 in my case).


 1. Run xrandr and set higher resolution that you have supported

    xrandr  --fb 1600x1200 --output DVI-I-1 --mode 1400x900 --panning 1600x1200


Actual results: 
before panning:
[tpelka@bleabr ~]$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
DVI-I-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-I-2 disconnected (normal left inverted right x axis y axis)

when only one monitor panning does not work as expected, see http://nest.test.redhat.com/mnt/qa/scratch/tpelka/2011-08-01-143116.ogv.

[tpelka@bleabr ~]$ xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 8192 x 8192
DVI-I-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 376mm x 301mm panning 1600x1200+0+0
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-I-2 disconnected (normal left inverted right x axis y axis)

when second monitor attached panning works as expected but it is automaticaly switched from 1600x1200 to:

[tpelka@bleabr ~]$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 8192 x 8192
DVI-I-1 connected 2560x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm panning 2560x1024+0+0
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-I-2 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0 +   75.0* 
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  


Expected results:
Make sure the screen is panned. No crashes/errors at display should appear.

Comment 1 Tomas Pelka 2011-08-01 12:49:18 UTC
xorg-x11-drv-nouveau-0.0.16-13.20110719gitde9d1ba.el6.x86_64
xorg-x11-server-common-1.10.3-3.el6.x86_64
xorg-x11-server-Xdmx-1.10.3-3.el6.x86_64
xorg-x11-server-utils-debuginfo-7.4-15.el6_0.2.x86_64
xorg-x11-server-debuginfo-1.10.3-3.el6.x86_64
xorg-x11-server-Xephyr-1.10.3-3.el6.x86_64
xorg-x11-server-Xnest-1.10.3-3.el6.x86_64
xorg-x11-server-utils-7.4-15.el6_0.2.x86_64
xorg-x11-server-Xorg-1.10.3-3.el6.x86_64
xorg-x11-server-Xvfb-1.10.3-3.el6.x86_64
libdrm-2.4.25-1.el6.x86_64
kernel-2.6.32-131.0.15.el6.x86_64

Comment 4 Adam Jackson 2011-08-18 17:12:10 UTC
Please re-test with xorg-x11-server-Xorg-1.10.3-5.el6 or later

Comment 5 Tomas Pelka 2011-08-19 08:47:49 UTC
Adam can confirm that with -5 version works as expected.

Thanks
Tom