Bug 19436 - xrandr's transform feature has some problem in translating
Summary: xrandr's transform feature has some problem in translating
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xrandr (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact: Gordon Jin
Whiteboard: 2011BRB_Reviewed
Depends on:
Reported: 2009-01-07 03:09 UTC by zhao jian
Modified: 2018-08-10 20:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

xorg.conf (3.76 KB, text/plain)
2009-01-07 03:09 UTC, zhao jian
no flags Details
Xorg.0.log (252.83 KB, text/plain)
2009-01-07 03:10 UTC, zhao jian
no flags Details

Description zhao jian 2009-01-07 03:09:12 UTC
System Environment:
Host:           gm45a
Arch:           i386
OSD:            Fedora release 10 (Cambridge)
Kernel:         2.6.28-release
Libdrm:          (master)c34539e8bb5568b1d6059abf139dd08e07e84eea
Mesa:            (intel-2008-q4)b9921a9fb2bc937194eac7e80e31d30f81cb6bb1
Xorg:           7.2
Xserver:         (server-1.6-branch)32e81074b967716865aef08b66ec29caf0fec2c5

Bug Description:
I tested xrandr's new feature transform under xrandr, With the command 'xrandr --output LVDS --transform 1,0,50,0,1,0,0,0,1' the output has no change, it should move left 50 far. Then if you type 'xrandr --output LVDS --transform 1,0,25,0,1,0,0,0,1', it will looks that it moves 25 far. That is to say it can only move right or down compared to its last position.  Sometimes it doen't move at all no matter where you want to move it.

Reproduce Steps:
1. xinit&
2. xrandr --output LVDS --transform 1,0,50,0,1,0,0,0,1
3. xrandr --output LVDS --transform 1,0,25,0,1,0,0,0,1
4. xrandr --output LVDS --transform 1,0,-5,0,1,0,0,0,1
5. xrandr --output LVDS --transform 1,0,50,0,1,0,0,0,1
6. xrandr --output LVDS --transform 1,0,15,0,1,0,0,0,1
Comment 1 zhao jian 2009-01-07 03:09:42 UTC
Created attachment 21740 [details]
Comment 2 zhao jian 2009-01-07 03:10:11 UTC
Created attachment 21741 [details]
Comment 3 zhao jian 2009-03-18 22:55:38 UTC
Now it can translate correctly. Only that with some instructions(as following) it will have a failed information, but it still translate correctly. 
[root@x-gm45a xdemos]# xrandr --output LVDS --transform 1,0,-150,0,1,-150,0,0,1
[root@x-gm45a xdemos]# xrandr --output LVDS --transform 1,0,0,0,1,-50,0,0,1
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  148 (RANDR)
  Minor opcode of failed request:  7 ()
  Serial number of failed request:  28
  Current serial number in output stream:  30
configuration information:
Kernel_version:         2.6.29-rc6
Libdrm:         (master)2e2e8575b1ed4703653a72ac2b60b75316c388d7
Mesa:            (mesa_7_4_branch)a8528a2e8653b5237c1d1d66fe98c6e031d007f9
Xserver:         (server-1.6-branch)60c161545af80eb78eb790a05bde79409dfdf16e
Xf86_video_intel:      (2.7)238c2c40afd9f8b61479b8640d53f20d52fd7ddf
Comment 4 GitLab Migration User 2018-08-10 20:33:09 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/3.

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.