[SUMMARY] Re: [MPlayer-dev-eng] [BUG] Mplayer 1.0 pre5 ppc/altivec issues

Alex Beregszaszi alex at fsn.hu
Sat Jul 17 12:40:45 CEST 2004


Hi,

> > This is the latest version, however, it compiles 
> looks good, dont hesitate to commit it
> 
> > but produces black 
> > output. Strange is that it works under Apple-GCC.
> maybe the AVV(x) instead of AVV(x,x,x,x,x,x,x,x) is the cause? but its
> just a wild guess
Already tried, but no change.

Here comes a real summery of things:

I'm using gcc 3.2.3 under Linux, while Luca uses the 3.4.x serie -
conslusion: gcc bug.

Both altivec_alex5.diff (later called: my version) and
altivec_luzero_apple.diff (lated called: luca's version) compiles fine
under Linux/ppc and OSX. Both are producing binary identical picture
under OSX, but black screen under gcc3.2. My version is causing black
screen under gcc3.4, but luca's version works there.

Benchmarks results:

Documents/mplayer/main/mplayer Movies/Ali_G_InDaHouse.avi -vo null -vf
format=bgr32 -ao null -ac null -frames 100 -benchmark

luca's version:
VIDEO:  [3VID]  640x352  24bpp  25.000 fps  1052.0 kbps (128.4 kbyte/s)
BENCHMARKs: VC:   0.841s VO:   0.001s A:   0.000s Sys:   0.040s =   
0.882s
BENCHMARK%: VC: 95.3038% VO:  0.1621% A:  0.0000% Sys:  4.5341% =
100.0000%

original/mine (my patch doesn't change anything under osx):
VIDEO:  [3VID]  640x352  24bpp  25.000 fps  1052.0 kbps (128.4 kbyte/s)
BENCHMARKs: VC:   0.683s VO:   0.001s A:   0.000s Sys:   0.038s =   
0.722s
BENCHMARK%: VC: 94.6074% VO:  0.1778% A:  0.0000% Sys:  5.2147% =
100.0000%

Sadly luca's is slower, but at least working.

MD5sum results and patches are attached.

Maybe luca's version should be committed together with a version check
so the whole code would be disable anything under fsf-gcc3.4

-- 
Alex Beregszaszi 			e-mail: alex at fsn.hu
Free Software Network			cell: +36 70 3144424
-------------- next part --------------
A non-text attachment was scrubbed...
Name: altivec_alex5.diff
Type: text/x-diff
Size: 8080 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040717/281493d1/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: altivec_luzero_apple.diff
Type: text/x-diff
Size: 9497 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040717/281493d1/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md5.luzero
Type: application/octet-stream
Size: 5454 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040717/281493d1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md5.orig
Type: application/octet-stream
Size: 5454 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040717/281493d1/attachment-0001.obj>


More information about the MPlayer-dev-eng mailing list