Mpv: How to make vaapi zero copy hwdec work with vulkan?

Created on 8 Mar 2018  路  2Comments  路  Source: mpv-player/mpv

The performance of opengl with the RAVU shader compares to the vulkan is too low.

mpv version and platform

mpv 0.28.0-360-g013a8f75f3 Copyright 漏 2000-2018 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.8.100
   libavcodec      58.14.100
   libavformat     58.10.100
   libswscale      5.0.102
   libavfilter     7.12.100
   libswresample   3.0.101
ffmpeg version: N-90264-g80798e3857
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 18.1.0-devel for AMD Radeon (TM) RX 460 Graphics (POLARIS11 / DRM 3.23.0 / 4.15.7-1-ARCH, LLVM 7.0.0)
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
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

Reproduction steps

--vo=gpu --gpu-context=x11-egl --gpu-api=vulkan --vulkan-queue-count=8 --hwdec=vaapi

Expected behavior

Pixel Format = vaapi

Actual behavior

Pixel Format = yuv420p

Log file

https://0x0.st/sm3f.txt

vovulkan

Most helpful comment

It's not implemented.

Stop opening issues.

All 2 comments

It's not implemented.

Stop opening issues.

@sfan5 Still no vaapi for vulkan
https://0x0.st/zL4A.txt
It seems like it is for intel only, sad news.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

szg0000 picture szg0000  路  3Comments

SPDurkee picture SPDurkee  路  3Comments

beew picture beew  路  3Comments

laichiaheng picture laichiaheng  路  3Comments

jcowgill picture jcowgill  路  3Comments