milkshake
Advanced Member
I think he might mean button the nubs into joystick mode?
I think he is refering to this : http://blogs.distant-earth.com/wp/?p=293Not sure what you mean here, but it sounds more like a problem with the app itself.
Try building mplayer with some hacks I just pushed, and run it with -vo omapfb .If this worked, we could finally be able to play video without the ugly tearing that affects all the video players on the pandora.
/usr/bin/mencoder "dvd://2" -o "/home/pder/bbt1.avi" -vc mpeg12 -dvd-device THE_BIG_BANG_THEORY_SEASON1_D1 -nosub -vf softskip,scale=624:352:0,harddup -sws 10 -aid 128 -oac mp3lame -lameopts abr:br=140:aq=4:vol=2.2:mode=1 -ovc xvid -xvidencopts bitrate=1200:threads=2:me_quality=6:vhq=3:max_bframes=2:bvhq=1:trellis:chroma_me:chroma_opt:hq_ac:nolumi_mask:closed_gop:noqpel:nogmc:nopacked:rc_reaction_delay_factor=0:rc_averaging_period=100:autoaspect:nointerlacing
that omapfb code uses some NEON color space converter, maybe it has some bug. Can you make a small video sample that demonstrates the problem? I don't have any DVDs here.With just these videos if I use -vo omapfb I see evenly spaced horizontal lines in the video that are off in color. I don't see this if I play with -vo xv or in other media players.
That's Homebrew...Yes But my intention was: Why do we need multiple versions of SDL? Wouldnt it be nicer if we would enhance the current lib instead of creating several libs each with its own upsides and downsides?
Does it really segfault? I think it returns an error gracefully, that omapdss backend is not available.Is it possible to check if the right version of SDL is available.
I've tried setting the environment vars regardless and it crashes current(non Notaz optimised) SDL I was hoping it would just fail silently, but it segfaults.
Because my hack is not feature complete and wold break all windowed apps, for example. The source is open, feel free to improve it to make 100% compatible and we can merge them.But my intention was: Why do we need multiple versions of SDL? Wouldnt it be nicer if we would enhance the current lib instead of creating several libs each with its own upsides and downsides?
Yes
But my intention was: Why do we need multiple versions of SDL? Wouldnt it be nicer if we would enhance the current lib instead of creating several libs each with its own upsides and downsides?
I've also arranged this to be included in HF7 people don't have to ship this with their apps.
If I will ever get my pandora I might try, but I have never seen the SDL code before and don't know if I can do that.Because my hack is not feature complete and wold break all windowed apps, for example. The source is open, feel free to improve it to make 100% compatible and we can merge them.
Thanks for the suggestions Notaz, and yes it segfaults if I set the driver to omapdss in my launch script and run on the standard SDL lib. I updated today and tried again, same thing.Does it really segfault? I think it returns an error gracefully, that omapdss backend is not available.Is it possible to check if the right version of SDL is available.
I've tried setting the environment vars regardless and it crashes current(non Notaz optimised) SDL I was hoping it would just fail silently, but it segfaults.
You can do detection in the app, first set SDL_VIDEODRIVER and try to do SDL_SetVideoMode (or was it SDL_Init), if that fails call unsetenv() and retry.
Or you maybe grep for omapdss in /usr/lib/libSDL in the launch script but that's more dirty.
Because my hack is not feature complete and wold break all windowed apps, for example. The source is open, feel free to improve it to make 100% compatible and we can merge them.But my intention was: Why do we need multiple versions of SDL? Wouldnt it be nicer if we would enhance the current lib instead of creating several libs each with its own upsides and downsides?
Nope. HF7 isnt released just yet@sebt3: Are you trying to tell me, that we already have 2 libs in the firmware?
Are you sure you are not just trying to use SDL even when it fails to init? Here is what I see:Thanks for the suggestions Notaz, and yes it segfaults if I set the driver to omapdss in my launch script and run on the standard SDL lib. I updated today and tried again, same thing.
notaz-openpandora:/mnt/utmp/pandorapanic$ gdb ./PandoraPanic_R
Penjin says: No command line args provided.
Penjin says: SDL failed to initialise. No available video device
^C
Program received signal SIGINT, Interrupt.
0x400f147c in nanosleep () from /lib/libpthread.so.0
(gdb) bt
#0 0x400f147c in nanosleep () from /lib/libpthread.so.0
#1 0x402a0e44 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
...
Are you sure you are not just trying to use SDL even when it fails to init? Here is what I see:Thanks for the suggestions Notaz, and yes it segfaults if I set the driver to omapdss in my launch script and run on the standard SDL lib. I updated today and tried again, same thing.
Code:notaz-openpandora:/mnt/utmp/pandorapanic$ gdb ./PandoraPanic_R Penjin says: No command line args provided. Penjin says: SDL failed to initialise. No available video device ^C Program received signal SIGINT, Interrupt. 0x400f147c in nanosleep () from /lib/libpthread.so.0 (gdb) bt #0 0x400f147c in nanosleep () from /lib/libpthread.so.0 #1 0x402a0e44 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0 ...
You are not supposed to be calling SDL_Delay() if SDL failed to init.