Announcement

Collapse
No announcement yet.

VA-API Video Acceleration On The Linux Desktop Is Nearly Ready For Chrome

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

  • VA-API Video Acceleration On The Linux Desktop Is Nearly Ready For Chrome

    Phoronix: VA-API Video Acceleration On The Linux Desktop Is Nearly Ready For Chrome

    It looks like Chrome on the Linux desktop could finally be seeing Intel GPU video acceleration support with the web browser having patches pending for VA-API...

    http://www.phoronix.com/scan.php?pag...e-VA-API-Nears

  • #2
    Software decoding (especially VP9) has come a long way, because my weak Athlon 5150 APU (Jaguar) can now watch 1080p videos on Youtube, something it didn't do when VP9 came. But will be a lot nicer if the decoding part can be done efficiently on the GPU, using H264ify.

    Comment


    • #3
      That's great. Long overdue...

      Comment


      • #4
        Great news. Now we have unofficial Chromium DEV build for Ubuntu to allow us to use hardware acceleration with GPU in Chromium and it work nice on intel gpu and radeon gpu (Im not tested on nvidia). Download here: https://answers.launchpad.net/~saiar...u/chromium-dev I hope, this official Chrome/Chromium start also working nice like this unofficial build.

        BTW. anyone know if they have plans to enable it also for Radeon GPU?

        Comment


        • #5
          Now, if only Firefox had VA-API support...

          Comment


          • #6
            Originally posted by xpris View Post
            BTW. anyone know if they have plans to enable it also for Radeon GPU?
            Is VAAPi different for Intel or for Radeon? Isn't the point of VAAPI making a standardized implementation?

            I thought they said they tested this only on Intel, so there might be bugs on Radeon side, but it should theoretically work fine.

            Comment


            • #7
              Originally posted by starshipeleven View Post
              Is VAAPi different for Intel or for Radeon? Isn't the point of VAAPI making a standardized implementation?
              It depends on how it's being used. EGL interop only works on Intel, because it is designed around how Intel hardware works. Currently libva-2.0 is in development, part of it is a proposal for a more flexible API that would allow EGL interop also on Radeon.

              Then there's the ability to output hardware decoded video to an X11 window or a pixmap, Radeon VAAPI does have that, but this is good mainly for direct display (like a dedicated video player), not for integration into a complex UI that is a web page. It's also tied to X, obviously, so not ideal also from this perspective.

              Comment


              • #8
                Originally posted by Gusar View Post
                It depends on how it's being used. EGL interop only works on Intel, because it is designed around how Intel hardware works.
                What happens when you try to use x11egl OGL backend in mpv 0.26.0 and ffmpeg 3.3.2 on Mesa 17.1.5 with Radeon?

                Comment


                • #9
                  Originally posted by aufkrawall View Post
                  What happens when you try to use x11egl OGL backend in mpv 0.26.0 and ffmpeg 3.3.2 on Mesa 17.1.5 with Radeon?
                  No clue. Probably fails to load and falls back to software decoding. Earlier mpv versions would fall back to GLX interop, which is a hack basically (the video is output to an in-memory pixmap which is then bound to a texture with GLX_EXT_texture_from_pixmap, the extension that was created for compositors), but with 0.26, GLX interop loads only when you explicitly request it on the commandline.

                  If you want to use the opengl video output with hardware decoding on Radeon, VDPAU is probably the better option.
                  Last edited by Gusar; 07-22-2017, 01:38 PM.

                  Comment


                  • #10
                    Originally posted by aufkrawall View Post
                    What happens when you try to use x11egl OGL backend in mpv 0.26.0 and ffmpeg 3.3.2 on Mesa 17.1.5 with Radeon?
                    Since mpv 0.26 opengl output + vaapi decoding does not work anymore on Gallium and it falls back to software decoding.

                    Comment

                    Working...
                    X