![]() |
2009-01-31
, 01:38
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#2
|
![]() |
2009-01-31
, 10:39
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#3
|
![]() |
2009-02-01
, 08:32
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#4
|
![]() |
2009-02-01
, 11:00
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#5
|
The Following User Says Thank You to lcuk For This Useful Post: | ||
![]() |
2009-02-01
, 22:36
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#6
|
I have noticed that when using the rotation patch (www.sse2.net/rotate - hello jott!) and having my screen tipped to the side on my diablo system there is a glitch when I update the screen using XV.
liqbase in normal orientation works nicely.
liqbase on its side will only work if I keep the XV mode <= 480*480 (and do extra tweaking, the released version does not rotate at all and crashes as described lower down).
http://liqbase.net/liqbase_rotate_480x480.jpg
If I choose a resolution greater than this the application will crash when it updates:
The program 'liqbase' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 39 error_code 2 request_code 136 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
At first I thought this might have been something specific within liqbase (which it is, but after tweaking the parameters passed found out that it worked if <480*480)
I then went about testing this situation with something easier for you guys to reproduce and confirm: mplayer
It doesn't crash when sending data to the screen but it reports errors in a similar manner and does not play the video correctly.
I have uploaded 3 example videos in different resolutions to test and confirm with (really stupid videos made for the resolution, not the contents)
http://liqbase.net/hello_480x480.avi
http://liqbase.net/hello_800x480.avi
http://liqbase.net/hello_480x800.avi
playing these with default mplayer and not specifying options on a normal screen displays and scales the movies correctly.
ie:
# mplayer hello_480x480.avi
however, when I rotate the screen I get a corrupted display and the video does not sit in the centre of the screen or scale correctly. This is a different bug to the initial one noticed because I believe the default mplayer renderer bypasses XV mode itself.
If I alter the mplayer parameters to force it into xv mode, again for a normal orientation the 2 videos which fit inside the screen work correctly (the other one doesnt because I have not specified scaling).
# mplayer -vo xv hello_480x480.avi
When I rotate however I get a green initialized screen displayed and repeated errors for every frame:
Ignoring Bad Value Error ??,?% 0 0 82%
Ignoring Bad Value Error ??,?% 0 0 82%
Ignoring Bad Value Error ??,?% 0 0 82%
---------------------------------------
In summary, there are a few issues I have unearthed in trying to get liqbase to operate in portrait mode.
My problem is that I do not know who to contact or how to find out which parts of the system need fixing.
I know there is an interplay between (liqbase/mplayer) and the xv extension and we both have problems eventually with the omapfb framebuffer driver, and that we both have no problems in normal orientation which does point to the xrandr rotation patch.
However I do not know enough about the way its coded to go jumping in with a detailed report which might not actually be directed at xrandr (ie, does xrandr just switch on already existing features?)
So, I am posting this here where relevant parties can come together and discuss as required and we can hopefully get movie playing (and liqbase) working in portrait mode.
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk