All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Mplayer & efika?
PostPosted: Sat Nov 24, 2007 4:08 am 
Offline

Joined: Wed Feb 08, 2006 3:21 am
Posts: 15
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.


Top
   
 Post subject:
PostPosted: Sat Nov 24, 2007 11:57 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
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.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Sat Nov 24, 2007 12:55 pm 
Offline

Joined: Wed Feb 08, 2006 3:21 am
Posts: 15
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.


Top
   
 Post subject:
PostPosted: Sat Nov 24, 2007 1:50 pm 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
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...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Mon Nov 26, 2007 4:04 am 
Offline

Joined: Wed Feb 08, 2006 3:21 am
Posts: 15
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.


Top
   
 Post subject:
PostPosted: Mon Nov 26, 2007 10:00 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
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.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Nov 28, 2007 7:08 am 
Offline

Joined: Wed Feb 08, 2006 3:21 am
Posts: 15
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.


Top
   
 Post subject:
PostPosted: Wed Dec 05, 2007 5:48 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
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.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Mon Dec 17, 2007 6:44 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
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.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group