Bug 13088 - [RANDR, dual head] display distorts if move the monitor position and rotate it
Summary: [RANDR, dual head] display distorts if move the monitor position and rotate it
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
Depends on: 13152
Blocks: 13027 13493
  Show dependency treegraph
Reported: 2007-11-04 18:54 UTC by WuNian
Modified: 2008-02-27 00:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

xorg log file (28.87 KB, text/plain)
2007-11-04 18:55 UTC, WuNian
no flags Details

Description WuNian 2007-11-04 18:54:08 UTC
I tested on GM965(Lenovo T61, LVDS's preffered mode 1280x800) and connected one
monitor(preffered mode 1024x768) via VGA port.
When start up Xorg, set a monitor to a position then rotate it, the monitor's display will be a mess. Below is my steps:

root@x-gm965:~# xinit &

root@x-gm965:~# xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
VGA connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768       60.0*+   75.1     60.0*
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.3 +   50.0
   1024x768       60.0*
   800x600        60.3
   640x480        59.9
TMDS-1 disconnected (normal left inverted right x axis y axis)

root@x-gm965:~# xrandr --output VGA --pos 800x800
root@x-gm965:~# xrandr --output VGA --rotate left
Comment 1 WuNian 2007-11-04 18:55:23 UTC
Created attachment 12352 [details]
xorg log file

Part of xorg.conf:

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
        VendorName  "Videocard vendor"
        BoardName   "Intel Corporation 945G Integrated Graphics Controller"
        Option      "AccelMethod" "exa"

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
                Virtual 2048 2048
Comment 2 Michael Fu 2007-11-05 23:27:40 UTC
What components do you use? git tip or stable version?
Comment 3 WuNian 2007-11-05 23:54:36 UTC
The git tip is used. commits:

Xf86_video_intel:		b434c1a437c407de88396b219560649c2dae82b2 Xserver:		aec0d06469a2fa7440fdd5ee03dc256a68704e77 
Comment 4 Pi, Fengming 2007-11-07 00:25:24 UTC
After rotate, the VGA's position will be at 0x0.
Comment 5 Hong Liu 2008-01-29 23:08:00 UTC
Please retest with lastest driver version, I can't reproduce this bug now.

Comment 6 WuNian 2008-01-31 18:23:13 UTC
I reset this bug on 915gm with an external monitor.
I ran below command:
# xrandr --output VGA --pos 100x100
#xrandr --output VGA --rotate left

After rotate, the lower-left corner of VGA display seems at 0x0 instead of 100x100. And some area that is outside screen after rotate is black. Maybe a photo is helpful to make this clear.
Comment 7 Wang Zhenyu 2008-02-24 23:32:42 UTC
I see no problem with repostition and rotate, this bug should be invalid.
Could you retest?
Comment 8 WuNian 2008-02-27 00:04:26 UTC
Current driver has no this problem. It should be fixed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.