radeon: can't decode into any YUV format only RGBA would work
I have talked with ceyusa about this issue, va from -bad would work well with NV12.
#263 is not the case here, as this AMD platform doesn't support tiled format.
As I mentioned in #49
vaExportSurfaceHandle() won't solve this problem, until 1.18 the msdk plugin still use
VaDeriveImage() and it works well.
I traced the problem of AMD here, it is
if (surf->buffer->interlaced) in
vlVaDeriveImage() src/gallium/frontends/va/image.c making the fault. I would continue to debugging here. I don't think Intel would have the same problem here. No wonder
vaExportSurfaceHandle() won't meet such issue, as it doesn't call this API at all.
But I should send this AMD computer out in this week, I would see what I can do here.
I have patched the mesa 20.2.4 to make hevc work.
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev da) libva info: VA-API version 1.9.0 libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_9 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.9 (libva 2.9.0) vainfo: Driver version: Mesa Gallium driver 20.2.4 for AMD RENOIR (DRM 3.39.0, 5.9.13-200.fc33.x86_64, LLVM 11.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 VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc