Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Thu Oct 23, 2014 1:39 am

All times are UTC - 8 hours [ DST ]


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
Unread postPosted: Tue Mar 25, 2008 8:13 pm 
Offline

Joined: Fri Feb 08, 2008 2:11 pm
Posts: 258
Location: Auckland, New Zealand
Hiya,

I'm still learning the O2 :-)

For Mplayer on an R12K 300Mhz O2 what is the best options to make use of to get performance and visual quality ?

If I just do "mplayer -vo sg filename.avi" I get the following issues :

1) Video output seems to be dithered .. is the dithering eating up performance ?
2) Mpeg-4 video + MP3 audio results in dropped frames (turn off audio and it is smooth as).

any good pointers ?

Thanks!

Mark

_________________
:Fuel:


Top
 Profile  
 
Unread postPosted: Thu Mar 27, 2008 6:06 am 
Offline
Moderator
Moderator
User avatar

Joined: Sun Dec 21, 2003 6:59 pm
Posts: 1359
Location: Cheshire, MA
RAM..The O2 is an underachiever with mplayer. Get more RAM, if you can. It makes a huge differemce/


Top
 Profile  
 
Unread postPosted: Fri May 02, 2008 5:57 pm 
Offline
User avatar

Joined: Mon Nov 10, 2003 5:17 pm
Posts: 2236
Location: Edinburgh, Scotland
strandedinnz wrote:
any good pointers ?


mplayer on O2 does not use the ICE chip. Thus, it's all down to the main CPU. You'd notice a
much better improvement by upgrading to an R12K/400. I don't know whether an R7K/600 would
be better than an R12K/400 for this - nobody's run such a test yet (I would, but I don't have
an R7K/600 atm).

Do you have an example file I could run a test with, plus description of what goes wrong? I
have both a 300 and 400 O2, so I can compare.

Ian.

_________________
(05/Aug/2014) FREE! (collection only) 16x Sagitta 12-bay dual-channel U160 SCSI JBOD units.
Email, phone or PM for details, or see my forum post.
mapesdhs@yahoo.com
+44 (0)131 476 0796


Top
 Profile  
 
Unread postPosted: Fri May 02, 2008 7:37 pm 
Offline
User avatar

Joined: Mon Feb 27, 2006 2:44 pm
Posts: 840
Location: Sweden
mapesdhs wrote:
strandedinnz wrote:
any good pointers ?

I don't know whether an R7K/600 would
be better than an R12K/400 for this - nobody's run such a test yet (I would, but I don't have
an R7K/600 atm).
Ian.

If you can make test files available I could try it out on my 600.

_________________
Mein Führer, I can walk!


Top
 Profile  
 
Unread postPosted: Sat May 03, 2008 2:17 am 
Offline
User avatar

Joined: Mon Nov 10, 2003 5:17 pm
Posts: 2236
Location: Edinburgh, Scotland
deBug wrote:
If you can make test files available I could try it out on my 600.


Well there you go strandedinnz, we can do tests! 8) So do you have any example movies
along with what commands you used to play them? Description of the unwanted effects?
Full hinv, OS version and mplayer version would be good too.

Ian.


Top
 Profile  
 
Unread postPosted: Sat May 03, 2008 6:35 am 
Offline
User avatar

Joined: Fri Feb 13, 2004 11:37 pm
Posts: 2311
Location: Ottawa, Canada >burp<
I have an R12k-400, and found that running in single-buffer mode (32, not 32+32) made quite a difference - as well, I downgraded to 6.5.22 - this seems to be a good place. On 6.5.30 with double-buffered video, stuff that was essentially unplayable worked fine when downgraded and single-buffered.

I suspect the double-buffering uses up some memory bandwidth - seems to be a real problem on O2 compared to most SGI's. I tried to recompile the code 'optimized for O2', but couldn't get it to go - guess I don't have enough compiler-fu yet... LOL!

_________________
:O3000: <> :O3000: :O2000: :Tezro: :Fuel: x2+ :Octane2: :Octane: x3 :1600SW: x2 :O2: x2+ :Indigo2IMP: :Indigo2: x2 :Indigo: x3 :Indy: x2+

Once you step up to the big iron, you learn all about physics, electrical standards, and first aid - usually all in the same day


Top
 Profile  
 
Unread postPosted: Fri Jul 04, 2008 2:54 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Feb 20, 2003 7:57 am
Posts: 2062
Location: Voorburg, The Netherlands
mapesdhs wrote:
mplayer on O2 does not use the ICE chip. Thus, it's all down to the main CPU. You'd notice a
much better improvement by upgrading to an R12K/400. I don't know whether an R7K/600 would
be better than an R12K/400 for this - nobody's run such a test yet (I would, but I don't have
an R7K/600 atm).


By all means do that test, but i expect the R12K@400 to come up front. As i was coding mplayer idct speedups, i did this with the R10K architecture in mind. This basically allows you to perform integer and floating performance at the same time and has out-of-order execution. i am sure R5K/R7K CPU's are not capable of that amount of integer/fp interleaving, let alone the out-of-order execution.

_________________
:Crimson: :PI: :Indigo: :O2: :Indy: :Indigo2: :Indigo2IMP: :O2000: :Onyx2:
European nekoware mirror, updated twice a day: http://www.mechanics.citg.tudelft.nl/~everdij/nekoware
ftp://mech001.citg.tudelft.nl rsync mech001.citg.tudelft.nl::nekoware


Top
 Profile  
 
Unread postPosted: Fri Jul 04, 2008 6:51 pm 
Offline
User avatar

Joined: Mon Nov 10, 2003 5:17 pm
Posts: 2236
Location: Edinburgh, Scotland
dexter1 writes:
> By all means do that test, but i expect the R12K@400 to come up front. ...

Any suggestions as to what kind of repeatable test I could run? Does mplayer have options for benchmarking? Or displaying
an average framerate after the movie has been played?


> the same time and has out-of-order execution. ...

Hmm, maybe this is why mplayer is slightly slower on O2 than other systems with the same CPU, ie. some of the R10K
features are restricted in O2, eg. only 1 outstanding cache miss, vs. 4 when R10K is in Octane, etc.


> i am sure R5K/R7K CPU's are not capable of that amount of integer/fp interleaving, let alone the out-of-order execution.

R7K was an improved design, but you never know, at 600MHz the basic speed may make up for what it lacks in features.

Ian.


Top
 Profile  
 
Unread postPosted: Sat Jul 05, 2008 3:49 am 
Offline

Joined: Mon Oct 20, 2003 6:49 am
Posts: 495
Location: NRW, Germany
mapesdhs wrote:
Any suggestions as to what kind of repeatable test I could run? Does mplayer have options for benchmarking? Or displaying
an average framerate after the movie has been played?

Yes, it has the -benchmark switch to do so. I usually added -quiet to reduce the amount of printfs during playback while benchmarking.

1. To benchmark real world playback performance do:
Code:
mplayer -vo sgi -ao sgi -framedrop -quiet -benchmark yourfile

This will play the file as usual and print a summary at the end, telling you how much CPU time was spend for decoding and displaying and how many frames had to be dropped to keep a-v sync.


2. To benchmark display performance:
Code:
mplayer -vo sgi -nosound -quiet -benchmark yourfile

By disabling audio playback it doesn't need to care about a-v sync, so it will just decode and display the video as fast as possible without dropping any frames.


3. Finally, to benchmark pure decoding performance:
Code:
mplayer -vo null -nosound -quiet -benchmark yourfile

This will just decode audio and video as fast as possible without displaying anything. As a pure CPU benchmark this is probably the most interesting one.

Make sure to use a test file that is demanding enough for the machine. In this old thread we used this 1024x468 XviD, which should still be more than enough for an O2 ;)


Top
 Profile  
 
Unread postPosted: Sun Jul 06, 2008 7:56 am 
Offline
User avatar

Joined: Mon Feb 27, 2006 2:44 pm
Posts: 840
Location: Sweden
Code:
Mplayer Benchmark

fuel 600MHz V12
----------------------

mplayer -vo sgi -ao sgi -framedrop -quiet -benchmark /downloads/WarIII_Trailer1024.avi
BENCHMARKs: VC:  74.956s VO:  14.111s A:   3.312s Sys:  50.307s =  142.686s
BENCHMARK%: VC: 52.5321% VO:  9.8897% A:  2.3212% Sys: 35.2569% = 100.0000%
BENCHMARKn: disp: 3415 (23.93 fps)  drop: 1 (0%)  total: 3416 (23.94 fps)


mplayer -vo sgi -nosound -quiet -benchmark /downloads/WarIII_Trailer1024.avi
BENCHMARKs: VC:  69.616s VO:  14.776s A:   0.000s Sys:   0.624s =   85.016s
BENCHMARK%: VC: 81.8854% VO: 17.3807% A:  0.0000% Sys:  0.7338% = 100.0000%


mplayer -vo null -nosound -quiet -benchmark /downloads//WarIII_Trailer1024.avi
BENCHMARKs: VC:  34.812s VO:   0.042s A:   0.000s Sys:   0.335s =   35.189s
BENCHMARK%: VC: 98.9290% VO:  0.1191% A:  0.0000% Sys:  0.9519% = 100.0000%


O2 600MHz
--------------------------

mplayer -vo sgi -ao sgi -framedrop -quiet -benchmark /downloads/WarIII_Trailer1024.avi
BENCHMARKs: VC: 218.571s VO:  37.909s A:   0.000s Sys:   4.025s =  260.505s
BENCHMARK%: VC: 83.9027% VO: 14.5523% A:  0.0000% Sys:  1.5450% = 100.0000%


mplayer -vo sgi -nosound -quiet -benchmark /downloads/WarIII_Trailer1024.avi
BENCHMARKs: VC: 215.739s VO:  37.582s A:   0.000s Sys:   4.200s =  257.520s
BENCHMARK%: VC: 83.7753% VO: 14.5937% A:  0.0000% Sys:  1.6310% = 100.0000%


o25k 3# mplayer -vo null -nosound -quiet -benchmark /downloads//WarIII_Trailer1024.avi
BENCHMARKs: VC: 115.042s VO:   0.176s A:   0.000s Sys:   2.634s =  117.851s
BENCHMARK%: VC: 97.6161% VO:  0.1493% A:  0.0000% Sys:  2.2346% = 100.0000%

_________________
Mein Führer, I can walk!


Top
 Profile  
 
Unread postPosted: Wed Jul 09, 2008 8:14 am 
Offline
User avatar

Joined: Fri Jan 18, 2008 3:53 am
Posts: 224
Location: Europe, Slovakia - Trencin
Hi here are results of my O2 it is R5200@300 with 512MB Ram runing X at 1280x1024 32bpp single buffered (not 32x32)

Code:
mplayer -vo sgi -ao sgi -framedrop -quiet -benchmark WarIII_Trailer1024.avi
BENCHMARKs: VC: 289.741s VO:   0.128s A:  15.133s Sys:   3.223s =  308.225s
BENCHMARK%: VC: 94.0033% VO:  0.0415% A:  4.9097% Sys:  1.0455% = 100.0000%
BENCHMARKn: disp: 10 (0.03 fps)  drop: 1437 (99%)  total: 1447 (4.69 fps)


(O2 sucessfully displays only few first frames than I'v seen only black window and hear sound)

Code:
mplayer -vo sgi -nosound -quiet -benchmark WarIII_Trailer1024.avi
BENCHMARKs: VC: 276.695s VO:  38.055s A:   0.000s Sys:   3.401s =  318.150s
BENCHMARK%: VC: 86.9699% VO: 11.9613% A:  0.0000% Sys:  1.0688% = 100.0000%

mplayer -vo null -nosound -quiet -benchmark WarIII_Trailer1024.avi
BENCHMARKs: VC: 174.221s VO:   0.154s A:   0.000s Sys:   2.306s =  176.682s
BENCHMARK%: VC: 98.6074% VO:  0.0873% A:  0.0000% Sys:  1.3053% = 100.0000%

_________________
:O2: R7000/600 576MB Ram CDRW 18+9Gb HDD
http://www.tomosgi.co.cc


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

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group