Results 1 to 3 of 3

Thread: Intel G45 VA-API (pitiful) benchmarks

  1. #1
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    911

    Default Intel G45 VA-API (pitiful) benchmarks

    Copy-paste from intel-gfx mailing list:

    Quote Originally Posted by darkbasic
    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/trailer...um_trailer.zip

    Video Type: 1920816 (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/20...-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/20...45-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
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  2. #2
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    911

    Default

    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: 1920816 (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).
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  3. #3
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    911

    Default

    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!
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •