Announcement

Collapse
No announcement yet.

NVIDIA Lands AV1 VDPAU Hardware Acceleration In FFmpeg

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

  • NVIDIA Lands AV1 VDPAU Hardware Acceleration In FFmpeg

    Phoronix: NVIDIA Lands AV1 VDPAU Hardware Acceleration In FFmpeg

    NVIDIA has contributed support to the FFmpeg multimedia library for being able to take advantage of AV1 GPU-accelerated video decoding by way of the VDPAU API when using the latest-generation NVIDIA RTX 30 "Ampere" GPUs...

    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
    This is great news. Thank you Nvidia.

    Unfortunately, due to the shoddy support shown to Wayland, ​​​​​ I am actively avoiding Nvidia until such a time Wayland is functioning properly on their GPUs.

    Thus, any idea if and when AMD/Intel will support this feature?

    Comment


    • #3
      How to check whether hardware decode works on linux OSes?

      Comment


      • #4
        VDPAU still going strong?!

        What happened to NVDEC?

        Comment


        • #5
          Originally posted by wertigon View Post
          Thus, any idea if and when AMD/Intel will support this feature?
          Intel supports AV1 decoding since Tiger Lake using the Quick Sync Video mentioned in the article. AMD since VCN 3.0 implemented in RDNA 2.

          This is a bit confusing but there's multiple APIs involved in FFmpeg, taking into account only Linux decoding support:

          Intel QSV is accessible via VAAPI and libmfx (Intel Media SDK)
          AMD UVD/VCN via VAAPI and VDPAU
          NVIDIA, specifically AV1, was available via NVDEC and now also via VDPAU

          Originally posted by MorrisS. View Post
          How to check whether hardware decode works on linux OSes?
          It depends on the software you want to use, I guess the easiest would be trying mpv with --hwdec=auto and maybe -v to see what gets used.

          Originally posted by tildearrow View Post
          VDPAU still going strong?!

          What happened to NVDEC?
          NVDEC is the preferred interface that got support for AV1 first. I guess someone (as in paying customer) is still using VDPAU and made NVIDIA provide AV1 support for it. There's also CUVID which differs slightly from NVDEC and is still supported by FFmpeg. Officially NVDEC is "formerly called NVCUVID API".

          Comment


          • #6
            Originally posted by numacross View Post
            Intel supports AV1 decoding since Tiger Lake using the Quick Sync Video mentioned in the article. AMD since VCN 3.0 implemented in RDNA 2.

            This is a bit confusing but there's multiple APIs involved in FFmpeg, taking into account only Linux decoding support:

            Intel QSV is accessible via VAAPI and libmfx (Intel Media SDK)
            AMD UVD/VCN via VAAPI and VDPAU
            NVIDIA, specifically AV1, was available via NVDEC and now also via VDPAU
            Oh, nice, then my 6600 should already support it. Thanks for a quick answer!

            Comment


            • #7
              Linux devs prefer VDPAU over NVDEC/CUVID. Nvidia killed VDPAU and forced CUVID on everyone, but it was largely rejected because it required CUDA, which is equivalent to gaming use, and didn't work well with the average Linux hardware being older GPUs and non-gaming models. For years, Nvidia kept pushing it and devs largely ignored it and refused to implement it. Eventually, Nvidia restarted VDPAU development and it has been catching up to NVDEC in features.

              Comment


              • #8
                Originally posted by numacross View Post

                It depends on the software you want to use, I guess the easiest would be trying mpv with --hwdec=auto and maybe -v to see what gets used.
                On chrome and firefox?

                Comment


                • #9
                  Originally posted by MorrisS. View Post

                  On chrome and firefox?
                  That is a complex matter since it depends a lot on your distribution and setup.

                  For Firefox you can use this Fedora article to check/configure it on AMD/Intel via VAAPI.

                  As for Chrome/Chromium you can check chrome://gpu

                  Comment


                  • #10
                    Originally posted by numacross View Post

                    Intel supports AV1 decoding since Tiger Lake using the Quick Sync Video mentioned in the article. AMD since VCN 3.0 implemented in RDNA 2.
                    Not for the 6400 and 6500 they haven't, a terrible omission and why these cards should be given a wide berth.

                    http://www.neowin.net/news/amd039s-n...d-hevc-encode/


                    Last edited by Slartifartblast; 26 June 2022, 08:49 AM.

                    Comment

                    Working...
                    X