Announcement

Collapse
No announcement yet.

Finally, Intel G45 VA-API Support Is Available

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Finally, Intel G45 VA-API Support Is Available

    Phoronix: Finally, Intel G45 VA-API Support Is Available

    The Intel G45 chipset was released in the summer of 2008, but only this week is it now possible to take advantage of VA-API video playback acceleration for this Intel integrated graphics processor...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    A-W-E-S-O-M-E
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

    Comment


    • #3
      Wow

      I didn't beleive it will EVER happen. Finally!
      What will I have to update, to make this work? I don't quite understand it from the article

      Comment


      • #4
        Testestestestest!!

        Unfortunately I only have the 965GM chipset doesn't support H264 decoding as I understand it though ;/

        Comment


        • #5
          Is this the same as Quick Sync for Linux? (Probably not, since QS is a Sandy Bridge feature) I'm confused I can't find any info on the subject of Quick Sync for Linux.

          Comment


          • #6
            Originally posted by Aleve Sicofante View Post
            Is this the same as Quick Sync for Linux? (Probably not, since QS is a Sandy Bridge feature) I'm confused I can't find any info on the subject of Quick Sync for Linux.
            Quick Sync is hardware accelerated transcoding which would involve not only decoding (which this is about) but also encoding (only available on Sandybridge) so this is not equivalent to Quick Sync. It's more for video playback so in a va_api supporting player you could watch high definition movies with less cpu usage, and possibly jitter free if you couldn't before.

            Comment


            • #7
              Sandybridge libva prototype working example AVC encoder



              2011-04-28 07:50:14 (GMT)
              test/encode/avcenc: a simple encoder based on VA API for H.264
              Usage:
              avcenc <width> <height> <input file> <output file> [qp]

              Singed-off-by: Zhou Chang <[email protected]>
              Singed-off-by: Lan Hai <[email protected]>
              Signed-off-by: Xiang, Haihao <[email protected]>

              did anyone try this on a I3/5/and 7 Sandybridge yet ? or port and write the imitiallibAV/ffmpeg patch !

              Comment


              • #8
                MythTV

                [QUOTE=phoronix;208467]Phoronix: Finally, Intel G45 VA-API Support Is Available

                Sadly, the Mythbuntu folks recently disabled packaging VA-API support, AFAICT you now need to build MythTV from source on your own to use it. I'm curious if this is going to change, but I fear that the nvidia-ization has already gone too far in the media playback scene...

                Comment


                • #9
                  I've compiled the G45 branch for my GM45 chipset, I've tried running VLC with accelaration enabled but get this output:

                  Code:
                  libva: libva version 0.32.0
                  libva: va_getDriverName() returns 0
                  libva: Trying to open /usr/lib/dri/i965_drv_video.so
                  libva: va_openDriver() returns 0
                  vlc: i965_media.c:348: g4x_dec_hw_context_init: Insurance "0" false.
                  Avbruten (SIGABRT)
                  I have tried vainfo, and get this output:
                  Code:
                  libva: libva version 0.32.0
                  libva: va_getDriverName() returns 0
                  libva: Trying to open /usr/lib/dri/i965_drv_video.so
                  libva: va_openDriver() returns 0
                  vainfo: VA API version: 0.32
                  vainfo: Driver version: i965 Driver 0.1
                  vainfo: Supported profile and entrypoints
                        VAProfileMPEG2Simple            :	VAEntrypointVLD
                        VAProfileMPEG2Main              :	VAEntrypointVLD
                        VAProfileH264Baseline           :	VAEntrypointVLD
                        VAProfileH264Main               :	VAEntrypointVLD
                        VAProfileH264High               :	VAEntrypointVLD
                  What might I have done wrong?

                  Comment


                  • #10
                    Originally posted by Rizzly View Post
                    I've compiled the G45 branch for my GM45 chipset, I've tried running VLC with accelaration enabled but get this output:

                    Code:
                    libva: libva version 0.32.0
                    libva: va_getDriverName() returns 0
                    libva: Trying to open /usr/lib/dri/i965_drv_video.so
                    libva: va_openDriver() returns 0
                    vlc: i965_media.c:348: g4x_dec_hw_context_init: Insurance "0" false.
                    Avbruten (SIGABRT)
                    I have tried vainfo, and get this output:
                    Code:
                    libva: libva version 0.32.0
                    libva: va_getDriverName() returns 0
                    libva: Trying to open /usr/lib/dri/i965_drv_video.so
                    libva: va_openDriver() returns 0
                    vainfo: VA API version: 0.32
                    vainfo: Driver version: i965 Driver 0.1
                    vainfo: Supported profile and entrypoints
                          VAProfileMPEG2Simple            :	VAEntrypointVLD
                          VAProfileMPEG2Main              :	VAEntrypointVLD
                          VAProfileH264Baseline           :	VAEntrypointVLD
                          VAProfileH264Main               :	VAEntrypointVLD
                          VAProfileH264High               :	VAEntrypointVLD
                    What might I have done wrong?
                    I had the exact same problem, and though I'm not a programmer I took a quick look at i965_media.c line 348, and it looks like they forgot the one function call to actually have the new code used...

                    This little patch got the vaapi_h264 test working for me;
                    Code:
                    --- i965_drv_video/i965_media.c.orig	2011-05-17 19:59:00.126115745 +0100
                    +++ i965_drv_video/i965_media.c	2011-05-17 20:00:51.048731380 +0100
                    @@ -341,6 +341,9 @@
                         case VAProfileH264Baseline:
                         case VAProfileH264Main:
                         case VAProfileH264High:
                    +        i965_media_h264_dec_context_init(ctx, media_context);
                    +        break;
                    +
                         case VAProfileVC1Simple:
                         case VAProfileVC1Main:
                         case VAProfileVC1Advanced:
                    Now to find an mplayer ebuild with vaapi support...

                    Comment

                    Working...
                    X