Nevcairiel / LAVFilters

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

VP9 and HEVC hardware accelleration support wrongly detected #597

Closed Tlentlen closed 1 month ago

Tlentlen commented 1 month ago

Hi, I have a i5-1035G1 CPU (Ice Lake 10th Gen) with annexed Intel UHD graphic. An anomaly i've found is that the HW capabilities are not get correctly (MPC screen). In my case VP9 and HEVC HW decoding are not detected

https://www.imagebam.com/view/METTU27

while they are in hardware specs

https://www.intel.com/content/www/us/en/docs/onevpl/developer-reference-media-intel-hardware/1-0/overview.html#DECODE-OVERVIEW-10TH

and correctly signaled by Gpuz

https://www.imagebam.com/view/METTU28

https://www.imagebam.com/view/METTU2E

and Chrome debug too

https://www.imagebam.com/view/METTU44

The verification testing i've done is to play a VP9 video in Chrome and VLC and the Performance monitor "GPU" in task manager, "Video Decode" panel correctly states 10% in both cases while with MPC + Lav it states 0% with 40% CPU (while 10% in the other case).

Could you fix?

Thank you

clsid2 commented 1 month ago

Switch to D3D11 hardware decoder.

There is nothing to fix in LAV. Either your problem is due to user error, such as selecting a wrong video renderer. Or the problem is due to Intel driver not having proper support for DirectX9 anymore.

Tlentlen commented 1 month ago

Before posting I've done any possible combination of Video Renderer in MPC and "Hardware decoder to use" in LAV. The situation doesnt' change either with D3D11 or others.

Moreover it cannot be a driver issue because HW acceleration is correctly used in VLC (default configuration) and Chrome.

Nevcairiel commented 1 month ago

Intel hasn't supported full hardware acceleration on D3D9/DXVA2 for ages, so yes, use D3D11.

Nevcairiel commented 1 month ago

Also note that those checkboxes you highlight are configuration, not an indication of support. If they are unticked, you choose to not use that hardware support.

If you want VP9 hardware support, ensure it is ticked.

Tlentlen commented 1 month ago

Also note that those checkboxes you highlight are configuration, not an indication of support. If they are unticked, you choose to not use that hardware support.

If you want VP9 hardware support, ensure it is ticked.

WTFJC you're right. I've NEVER thougt (in years and years i'm using it) they would be CHECKABLE OPTIONS.

Ahaha so strange and stupid. Why it was unchecked by default?? Never clicked on any of it in my life.

BTW checking them it does fix.

You can delete this entire thing (or you can leave in case some other incur in my situation eheh).

Thank you for your support.