Announcement

Collapse
No announcement yet.

AMDGPU hardware decoding/encoding: vdpau or vaapi?

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

  • AMDGPU hardware decoding/encoding: vdpau or vaapi?

    I have a Ryzen 3 2200G apu, Debian Testing and with the Mesa 18.0.1 from Debian Experimental i have VDPAU and VAAPI working (although no VP9 and HEVC 4k doesnt work).
    I compiled Mesa from mainline git (18.2.0-devel ) and now i have no VDPAU working but VAAPI works perfectly well and it has also working VP9 and HEVC decoding (tested with 4k@60fps clips).
    Before my r600g A8 had VDPAU implementation, VAAPI was working via a plugin.

    Did the amdgpu driver switch to VAAPI from VDPAU?

    Edit: actually 18.2.0-devel instead of 18.0.2
    Last edited by gradinaruvasile; 13 May 2018, 12:45 PM.

  • #2
    Hmm. After compiling mesa do u install also needed vdpau library? This should be called (depends on disto): libvdpau1, vdpau-driver-all and mesa-vdpau-drivers.

    Comment


    • #3
      Umm. Since then i restarted the computer and just checked it and works...
      The interesting thing is that now vaapi seems to me it is directly used, not via the vdpau plugin as before (it was buggy and ate much more cpu than the vdpau plugin directly.)

      But VDPAU does not support VP9, whereas VA API does:

      Code:
      Decoder capabilities:
      
      name                        level macbs width height
      ----------------------------------------------------
      MPEG1                          --- not supported ---
      MPEG2_SIMPLE                    3 65536  4096  4096
      MPEG2_MAIN                      3 65536  4096  4096
      H264_BASELINE                  52 65536  4096  4096
      H264_MAIN                      52 65536  4096  4096
      H264_HIGH                      52 65536  4096  4096
      VC1_SIMPLE                      1 65536  4096  4096
      VC1_MAIN                        2 65536  4096  4096
      VC1_ADVANCED                    4 65536  4096  4096
      MPEG4_PART2_SP                  3 65536  4096  4096
      MPEG4_PART2_ASP                 5 65536  4096  4096
      DIVX4_QMOBILE                  --- not supported ---
      DIVX4_MOBILE                   --- not supported ---
      DIVX4_HOME_THEATER             --- not supported ---
      DIVX4_HD_1080P                 --- not supported ---
      DIVX5_QMOBILE                  --- not supported ---
      DIVX5_MOBILE                   --- not supported ---
      DIVX5_HOME_THEATER             --- not supported ---
      DIVX5_HD_1080P                 --- not supported ---
      H264_CONSTRAINED_BASELINE       0 65536  4096  4096
      H264_EXTENDED                  --- not supported ---
      H264_PROGRESSIVE_HIGH          --- not supported ---
      H264_CONSTRAINED_HIGH          --- not supported ---
      H264_HIGH_444_PREDICTIVE       --- not supported ---
      HEVC_MAIN                      186 65536  4096  4096
      HEVC_MAIN_10                   186 65536  4096  4096
      HEVC_MAIN_STILL                --- not supported ---
      HEVC_MAIN_12                   --- not supported ---
      HEVC_MAIN_444                  --- not supported ---
      VA API:
      Code:
      vainfo: Supported profile and entrypoints
            VAProfileMPEG2Simple            :    VAEntrypointVLD
            VAProfileMPEG2Main              :    VAEntrypointVLD
            VAProfileVC1Simple              :    VAEntrypointVLD
            VAProfileVC1Main                :    VAEntrypointVLD
            VAProfileVC1Advanced            :    VAEntrypointVLD
            VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
            VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
            VAProfileH264Main               :    VAEntrypointVLD
            VAProfileH264Main               :    VAEntrypointEncSlice
            VAProfileH264High               :    VAEntrypointVLD
            VAProfileH264High               :    VAEntrypointEncSlice
            VAProfileHEVCMain               :    VAEntrypointVLD
            VAProfileHEVCMain               :    VAEntrypointEncSlice
            VAProfileHEVCMain10             :    VAEntrypointVLD
            VAProfileVP9Profile0            :    VAEntrypointVLD
            VAProfileVP9Profile2            :    VAEntrypointVLD
            VAProfileNone                   :    VAEntrypointVideoProc

      Comment

      Working...
      X