All of lore.kernel.org
 help / color / mirror / Atom feed
* VAAPI GM45 benchmarks
@ 2011-09-15 15:35 Niccolò Belli
  2011-10-08 12:23 ` Niccolò Belli
  0 siblings, 1 reply; 3+ messages in thread
From: Niccolò Belli @ 2011-09-15 15:35 UTC (permalink / raw)
  To: intel-gfx

Hi,
I did some benchmarks on my Samsung X360 laptop.

The cpu:
model name      : Intel(R) Core(TM)2 Duo CPU     U9400  @ 1.40GHz
stepping        : 6
cpu MHz         : 1401.000

The sample video (89 seconds, 80 MB): 
http://download3.dvdloc8.com/trailers/divxdigest/bourne_ultimatum_trailer.zip

Video Type: 1920×816 (1080p), 23.967 FPS, CE-Baseline profile (PS3 and 
Xbox 360 compatible)


Multi threaded decoding:

mplayer2 -vc ffh264 -lavdopts threads=3 -benchmark -nosound <file>

Time elapsed: 28.313s



Single threaded decoding:

mplayer2 -vc ffh264 -lavdopts threads=1 -benchmark -nosound <file>

Time elapsed: 38.774s



vaapi (kwin desktop effects ON):

mplayer -vo vaapi -va vaapi -benchmark <file>

Time elapsed: 205.888s



vaapi (kwin desktop effects OFF):

mplayer -vo vaapi -va vaapi -benchmark <file>

Time elapsed: 198.548s




CPU USAGE: 
http://files.linuxsystems.it/temp/2011-09/vaapi-gm45-cpuusage.jpeg

First one from left is multithreaded, second one is single threaded, 
third is vaapi with kwin on and last one is vaapi with kwin off.
Note that even when it quits mplayer at the end of the vaapi tests it 
keeps using the cpu for some time (you can see it in the screenshot).


Full log: http://files.linuxsystems.it/temp/2011-09/vaapi-gm45-fulllog.txt


Hopefully one day vaapi on g45 will work properly and I will be finally 
able to watch high bitrate movies on my laptop :|


Cheers,
Darkbasic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VAAPI GM45 benchmarks
  2011-09-15 15:35 VAAPI GM45 benchmarks Niccolò Belli
@ 2011-10-08 12:23 ` Niccolò Belli
  2011-10-08 20:08   ` Niccolò Belli
  0 siblings, 1 reply; 3+ messages in thread
From: Niccolò Belli @ 2011-10-08 12:23 UTC (permalink / raw)
  To: intel-gfx

New patches, new benchmarks
Now testing http://cgit.freedesktop.org/libva/ g45-h264 branch + patches 
from vaapi/intel-driver 
(http://cgit.freedesktop.org/vaapi/in...og/?h=g45-h264).

Here are the 5 patches:
http://cgit.freedesktop.org/vaapi/in...4196ebd239bb87
http://cgit.freedesktop.org/vaapi/in...2f342e4fcd13a9
http://cgit.freedesktop.org/vaapi/in...a2bfa2ce06fa19
http://cgit.freedesktop.org/vaapi/in...a5e036d622cbb7
http://cgit.freedesktop.org/vaapi/in...87c47d821a4669


The cpu:
model name : Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz
stepping : 6
cpu MHz : 1401.000

The sample video (89 seconds, 80 MB): 
http://download3.dvdloc8.com/trailer...um_trailer.zip

Video Type: 1920×816 (1080p), 23.967 FPS, CE-Baseline profile (PS3 and 
Xbox 360 compatible)




Multi threaded decoding:

mplayer2 -vc ffh264 -lavdopts threads=3 -benchmark -nosound <file>

Time elapsed: 28.313s



Single threaded decoding:

mplayer2 -vc ffh264 -lavdopts threads=1 -benchmark -nosound <file>

Time elapsed: 38.774s



vaapi with patches (kwin desktop effects ON):

mplayer -vo vaapi -va vaapi -benchmark -nosound <file>

Time elapsed: 66.489s



vaapi with patches (kwin desktop effects OFF):

mplayer -vo vaapi -va vaapi -benchmark -nosound <file>

Time elapsed: 55.239s



Much, much better but still slower than single threaded decoding, not 
talking about multi threaded...
I did not test it with Swapbufferwaits Off, because it's meant to avoid 
tearing and nobody wants to disable it while watching videos.
Anyway the whole graphic stack was the latest and the greatest from git. 
I will test it with a more demanding source (high bitrate blu ray rips).

Cheers,
Darkbasic




Il 15/09/2011 17:35, Niccolò Belli ha scritto:
> Hi,
> I did some benchmarks on my Samsung X360 laptop.
>
> The cpu:
> model name : Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz
> stepping : 6
> cpu MHz : 1401.000
>
> The sample video (89 seconds, 80 MB):
> http://download3.dvdloc8.com/trailers/divxdigest/bourne_ultimatum_trailer.zip
>
>
> Video Type: 1920×816 (1080p), 23.967 FPS, CE-Baseline profile (PS3 and
> Xbox 360 compatible)
>
>
> Multi threaded decoding:
>
> mplayer2 -vc ffh264 -lavdopts threads=3 -benchmark -nosound <file>
>
> Time elapsed: 28.313s
>
>
>
> Single threaded decoding:
>
> mplayer2 -vc ffh264 -lavdopts threads=1 -benchmark -nosound <file>
>
> Time elapsed: 38.774s
>
>
>
> vaapi (kwin desktop effects ON):
>
> mplayer -vo vaapi -va vaapi -benchmark <file>
>
> Time elapsed: 205.888s
>
>
>
> vaapi (kwin desktop effects OFF):
>
> mplayer -vo vaapi -va vaapi -benchmark <file>
>
> Time elapsed: 198.548s
>
>
>
>
> CPU USAGE:
> http://files.linuxsystems.it/temp/2011-09/vaapi-gm45-cpuusage.jpeg
>
> First one from left is multithreaded, second one is single threaded,
> third is vaapi with kwin on and last one is vaapi with kwin off.
> Note that even when it quits mplayer at the end of the vaapi tests it
> keeps using the cpu for some time (you can see it in the screenshot).
>
>
> Full log: http://files.linuxsystems.it/temp/2011-09/vaapi-gm45-fulllog.txt
>
>
> Hopefully one day vaapi on g45 will work properly and I will be finally
> able to watch high bitrate movies on my laptop :|
>
>
> Cheers,
> Darkbasic

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: VAAPI GM45 benchmarks
  2011-10-08 12:23 ` Niccolò Belli
@ 2011-10-08 20:08   ` Niccolò Belli
  0 siblings, 0 replies; 3+ messages in thread
From: Niccolò Belli @ 2011-10-08 20:08 UTC (permalink / raw)
  To: intel-gfx

And here is a video my laptop just can't decode: 
http://www.sendspace.com/file/qv2ws9 (86 seconds, 200MB)

Multi threaded decoding:

mplayer2 -vc ffh264 -lavdopts threads=3 -benchmark -nosound <file>

Time elapsed: 82.641s



vaapi with patches (kwin desktop effects OFF):

mplayer -vo vaapi -va vaapi -benchmark -nosound <file>

Time elapsed: 104.122s



The video lasts 86 seconds, so current vaapi implementation isn't 
powerful enough to decode it, but we are going in the right direction!


Darkbasic

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-08 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 15:35 VAAPI GM45 benchmarks Niccolò Belli
2011-10-08 12:23 ` Niccolò Belli
2011-10-08 20:08   ` Niccolò Belli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.