[maemo-developers] Screen orientation

From: Rodrigo Vivi rodrigo.vivi at gmail.com
Date: Mon Feb 2 20:07:13 EET 2009
Hi there,

Yes, it is a fact that kernel needs a better code, but as far as I
know the Xv doesn't work very well with kdrives that is a small X not
based on XFree86 implementation...

This Xomap is a kdrive, so maybe it would be better try to add xrandr
support to this Xomap:
http://gitweb.pingu.fi/?p=xf86-video-omapfb.git;a=tree;f=src;h=b6255dda0b6adefd1de00228429c3e139c3916f1;hb=HEAD
that is an xf86 implementation...

well, it is only a guess

On Mon, Feb 2, 2009 at 9:02 AM, Frantisek Dufka <dufkaf at seznam.cz> wrote:
> gary liquid wrote:
>> thanks for the reminder :)
>>
>> I have put together a report including test cases on the itt forum
>>
>> http://www.internettablettalk.com/forums/showthread.php?p=261099
>
> I have added  my comment there but I'm not sure where is the best place
> to discuss it.
>
>> I am not sure where the problem originates from so putting the issue
>> centrally is the best option.
>
> I believe the problem is in kernel or starts in kernel. The first patch
> By Rodrigo Vivi has additional part mentioned here
> http://www.internettablettalk.com/forums/showthread.php?p=155704#post155704
>
> This part caused video and camera to not to work at all. Quick hack was
> to remove those lines so dimensions of planes are not touched but I
> still believe this is wrong (to remove them) and plane information
> should be somehow correctly rotated too.
>
> It would be nice to know how exactly those 3 planes are used (plane 1 is
> XV? 2 is camera?) and what sizes they should normally have. After system
> boot virtual_size (/sys/class/graphics/fb?/virtual_size
> ) of all of them is set to 800x480 but after using stock media player or
> enabling camera they are resized to much smaller size (not sure when and
> how).
>
> Maybe those lines should be put back to kernel but the userspace code
> (Xv driver in Xserver? what about camera?) that plays with dimensions of
> those planes should be somehow make aware of the rotation and resize
> them again as they need.
>
> Frantisek
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>



-- 
Rodrigo Vivi
INdT - Instituto Nokia de Tecnologia
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net

More information about the maemo-developers mailing list