Announcement

Collapse
No announcement yet.

RADV Vulkan Video Making Progress On H.264 Encoding

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

  • RADV Vulkan Video Making Progress On H.264 Encoding

    Phoronix: RADV Vulkan Video Making Progress On H.264 Encoding

    Earlier this month prolific open-source GPU driver developer David Airlie at Red Hat picked up work again on Vulkan Video support for the RADV driver. Initially that RADV Vulkan Video work was focused on H.264 and H.265 video decoding while since then he has shifted focus to initial video encode support with H.264...

    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
    does this mean in the future I would be able to use hw accelerated encode in Handbrake without needing to install amdgpu-pro? If yes, hooray!

    Comment


    • #3
      I'm very happy to see movement on Vulkan en-/decoding. On the decoding side alone the current situation is quite a mess, with VA-API, V4L2 and the Nvidia stuff being pretty hard to support. If Vulkan is supported by at least one major vendor in mesa, app developers (e.g. from Firefox, which mostly depends on ffmpeg) can implement that and pass the ball back to vendors / driver devs.

      Comment


      • #4
        Originally posted by bzs0 View Post
        does this mean in the future I would be able to use hw accelerated encode in Handbrake without needing to install amdgpu-pro? If yes, hooray!
        Only if handbrake supports Vulkan video extensions. VAAPI could be used as well.

        Comment


        • #5
          is this any use if distros keep disabling it for patent reasons?

          or does the work also involve refactoring the code, so it presents in the same compliant manner that nvidia and intel get away with...?

          Comment


          • #6
            Originally posted by Jedibeeftrix View Post
            is this any use if distros keep disabling it for patent reasons?

            or does the work also involve refactoring the code, so it presents in the same compliant manner that nvidia and intel get away with...?
            AV1 is royalty free unlike H.264/5

            Comment


            • #7
              Is Vulkan encoding expected to add any value over VAAPI encoding?
              Like use less memory, CPU, is faster and so on.
              Last edited by Nille_kungen; 30 December 2022, 06:14 PM.

              Comment


              • #8
                Originally posted by bzs0 View Post

                AV1 is royalty free unlike H.264/5
                But only Radeon 5xxx (navi) seris and newer cards can do anything with AV1... Radeons before 2019 are screwed.

                Comment


                • #9
                  Originally posted by Kepsz View Post

                  But only Radeon 5xxx (navi) seris and newer cards can do anything with AV1... Radeons before 2019 are screwed.
                  Radeon RX 6xxx (excluding Navi 24 aka RX 6400/6500 XT) and newer support AV1 decoding. Hopefully all of RX 7xxx series end up supporting AV1 encoding and AMD doesn't cut video engine features from the low end cards this time.

                  Comment


                  • #10
                    What's the magic meson incantation to compile Mesa with the Vulkan video API please? I have managed to enable all of these video codecs, but still only get vaapi and vdpau:
                    Code:
                    -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc,av1dec,av1enc,vp9dec

                    Comment

                    Working...
                    X