[Xorg-driver-geode] Update -- The RandR-"unable to setrotation" issue in AMD Geode LX platform

Mitch Davis mjd-xorg-driver-geode at afork.com
Sun Jun 20 16:59:24 PDT 2010


On Fri, Jun 18, 2010 at 5:40 PM, Cui, Hunk <Hunk.Cui at amd.com> wrote:
>
>  In yesterday's update note, there is one place with connection to X server lost. I changed it and resend a new one to review.
>  To repeatedly cycle test, I have written a shell-script to test the rotate. Now it can properly rotate in Xserver 1.8 (Need add my gamma correction  patch).
>  Because I have some confuse on memorysize, so I need some time to research and consider whether this approach is correct. I can not explain too specific. But it can solve your urgent rotate issue in temporary.
>  Any other latest update, I will inform.

Hi Hunk,

Thanks for the patch.  I have tried it out with Xorg server 1.7.5, but
it doesn't work.

$ xrandr -q | grep connected
default connected 1024x768+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm

So I will use "default".

$ xrandr --output default --rotate left
xrandr: Configure crtc 0 failed

The screen goes black for a moment, then comes back just as before,
i.e., not inverted.  This happens for "left", "right", and "inverted".
 There is no flash for "normal", and it returns immediately.

This is the same with the add/subtract lx_crtc->rotate_mem->size, and
with the add/subtract 1.

This message appears in the X log:

(EE) GEODE(0): Couldn't allocate the shadow memory for rotation
(EE) GEODE(0):  You need 0x300000 bytes, but only 0x0 bytes are available

Is this because I am using Xorg server 1.7.5?  Do you think it would
work with 1.8?  Is there something I'm doing wrong?

I will try 1.8 now.

Thank you for your help!

Mitch.


More information about the Xorg-driver-geode mailing list