Power Developer
https://powerdeveloper.org/forums/

Mplayer & efika?
https://powerdeveloper.org/forums/viewtopic.php?f=12&t=1434
Page 1 of 1

Author:  MrZammler [ Sat Nov 24, 2007 4:08 am ]
Post subject:  Mplayer & efika?

Hi,

I've installed mplayer from the packman repo for 10.3 on the efika, but cant get it to work.

It crashes with the following:
Code:
MPlayer 1.0rc2-SUSE Linux 10.3 (powerpc)-Packman-4.2.1 (C) 2000-2007 MPlayer Team
AltiVec not found
CPU: PowerPC
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing Pathsame sth Selhnh.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 704x448 12bpp 25.000 fps 987.1 kbps (120.5 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.4.1 (build 2178/release)


MPlayer interrupted by signal 4 in module: preinit_libvo
- MPlayer crashed by an 'Illegal Instruction'.
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Selecting a different vo (x11) I get this:
Code:
Starting playback...
VDec: vo config request - 704 x 448 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.57:1 - prescaling to correct movie aspect.
VO: [x11] 704x448 => 704x448 Planar YV12


MPlayer interrupted by signal 4 in module: decode_video
just after it opens a playback window.

I think I'm missing something important here... Cant find though if mplayer is working or not on the efika...

Any clues?

Thanks.

Author:  czp [ Sat Nov 24, 2007 11:57 am ]
Post subject: 

Could be this:
Quote:
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
as it was compiled on Pegasos, which has Altivec, while EFIKA does not have it. It is strange, as a few month ago I did a quick comparison of MPlayer, Xine & VLC on EFIKA, and all three ran without any problems.
I recall, that Altivec handling changed a few weeks ago. Earlier one needed to patch MPlayer to compile with GCC 4.X on PPC, now that patch is not needed any more (actually compiling fails when enabled). This probably means that the handling of CPU optimizations is reworked.

I'll check it out next week, until that you could try VLC or xine-ui packages.

Author:  MrZammler [ Sat Nov 24, 2007 12:55 pm ]
Post subject: 

Hi Peter, thanks for your reply.

Tried to get vlc too, but it complained about missing deps... (or something).

Anyway, I just finished a fresh compile of mplayer on the efika, and works ok.

Author:  czp [ Sat Nov 24, 2007 1:50 pm ]
Post subject: 

Quote:
Tried to get vlc too, but it complained about missing deps... (or something).
What did you use as installation source? ftp://spike.fa.gau.hu/pub/pmppc103/ is compiled entirely by me and VLC worked when last tested / installed. On the other hand packages on official PackMan mirrors are only partially compiled by me and AFAIK only my packages are built in a proper, chrooted build environment...

Author:  MrZammler [ Mon Nov 26, 2007 4:04 am ]
Post subject: 

Yes, I think that was the repository.

We were in a show this weekend and where trying to show off the efika, a bit messy situation, so all my tries where in a hurry :-)

I will check again in a few days and let you know.

Author:  czp [ Mon Nov 26, 2007 10:00 am ]
Post subject: 

OK, the missing dependency is fixed now for vlc.

Just tested now: xine-ui and vlc work on the EFIKA, MPlayer does not. I'll make a compile from then EFIKA and see, if this helps. MPlayer tests CPU features at compile time, and I use Pegasos for compiling, which has Altivec, while EFIKA does not have it.

Author:  MrZammler [ Wed Nov 28, 2007 7:08 am ]
Post subject: 

Ok, thanks Peter.

Btw... how's performance like on your system? On mine, mplayer playing a common divx file seems to stress the system to it's max.

It's maybe down to lack of dma, but the throughtput should be enough to playback this file (~3.5MB/s with no DMA last I remember).

OTOH, from MOS videos on the efika, it seems playback is much smoother there... Is there DMA on MOS? Or is it something completely differnet? OS overhead?

Havent checked DRI, now that I remember, I will do so soon.

Author:  czp [ Wed Dec 05, 2007 5:48 am ]
Post subject: 

MPlayer on spike is now updated with a version compiled on the EFIKA, so it works perfectly on EFIKA :-) As EFIKA users tend to outnumber Pegasos users, if something does not work on EFIKA due to Altivec optimizations, I'll compile on EFIKA to avoid problems. Right now MPlayer seems to be the only problematic software. (lib)Xine does not have this problem, it seems to use Altivec on Pegasos, but runs nicely without it on EFIKA.

Author:  czp [ Mon Dec 17, 2007 6:44 am ]
Post subject: 

I just realized over the weekend, that VLC seems to have the same problem. I'm recompiling it now on the EFIKA and waiting for the results.

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/