xrandr problem with screen rotation

sid baral xbaral at gmail.com
Wed Aug 18 14:42:12 PDT 2010


Dear All,
             I am trying to implement screen rotation support for our video
driver and facing one screen resolution related issue after making some
progress in that.

The default mode for our display is 480x800 and we dont have any other modes
currently supported by this what I mean is ScrnInfoPtr->modes will hve only
this mode.
Now when I try to rotate the display by executing "xrandr -o 2", the screen
gets rotated 180 degree and things look good but when I try xrandr -o 1 or
xrandr -o 3 then screen gets rotated but I dont see the full screen.
Below, I have tried to give a pictorial view of what is happening after
90/180 degree rotation. I am running the xeyes application to test this.


|-----------------------------------------|
|O O                                   |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|                    x                   |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|                                         |
|-----------------------------------------|


 after xrandr -o 1  the screen is something like below.


|-----------------------------------------|
|                                         |
|                                         |
|                                         |
| O                                     |
| O                                     |
|-----------------------------------------|
|                                         |
|                                         |
|-----------------------------------------|
|                                         |
|                                         |
|                                         |
|                                 x      |
|                                         |
| O                                     |
| O                                     |
|-----------------------------------------|

 Initially I thought the problem is with the mode and tried to add a 800x480
mode and then executed "xrandr -o 1" but that also does not help.
 Do you think it is related to the fact that our driver does not support any
other mode other than 480X800. Do I need to create and add new mode like
800x480 when I am trying to rotate the screen in landscape mode or
 the 480x800 is just fine.

 Does someone have any idea what is probably the root cause of this issue?

Thanks,
Sid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100818/ce9be802/attachment.html>


More information about the xorg-devel mailing list