Nevcairiel / LAVFilters

LAV Filters - Open-Source DirectShow Media Splitter and Decoders
GNU General Public License v2.0
7.41k stars 787 forks source link

AV1 Hardware Decoding doesn't seem to work with DXVA2 + AMD Radeon 6600M #575

Closed shanoaice closed 6 months ago

shanoaice commented 8 months ago

When I selected the DXVA2 (native) mode in LAVFilter Video Config, hardware accleration does not work for AV1 encoded videos (no H/W mark on the player and the Video Config panel reported no active hardware accelerator), but when I switch to the D3D11 the H/W sign go back and the hardware accelerator indicated my discrete graphic is active.

Selecting DXVA2 (copy-back) and specifying AMD RX6600M as the device does not work either.

clsid2 commented 8 months ago

The driver probably only supports it in D3D11.

shanoaice commented 8 months ago

Any other ways to verify it? Such as ways to get a list of supported encoding from different APIs?

kasper93 commented 8 months ago

https://bluesky-soft.com/en/DXVAChecker ?

clsid2 commented 8 months ago

D3D11 is better choice anyway. It can work in native mode if you use MPC Video Renderer.

shanoaice commented 8 months ago

Checked it with GPU-Z's DXVA2 stuff. It reported lots of extra UNKNOWN encoding in addition to common AVC/HEVC/VP9 but not AV1. Perhaps it's a driver issue -- I will submit a bug report for AMD and see whether they can help.

nyanmisaka commented 8 months ago

AMD and Intel didn't implement DXVA2 AV1 support in their driver. Use D3D11VA instead, and D3D12VA is the future.