Nevcairiel / LAVFilters

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

8k60 AV1 HW decoding slow playback/low fps #417

Closed chorong761 closed 3 years ago

chorong761 commented 3 years ago

When I try to use LAV video decoder (0.75.0-2) to play a youtube 8k60 av1 video (dxva copyback, lav video decoder settings untouched except for changing to copyback), the video playback would be slow. It would play back at around 30ish fps. I've tried changing video renderers but still doesn't help. CPU and GPU usage is not maxed out, no drop frames during the slowed down playback and audio works fine.

Disabling DXVA in potplayer would just cut the playback framerate in half.

If I revert to using potplayer built in codecs, it would playback fine at 60fps. Am I doing anything wrong or is there a bug?

Device specs: Ryzen 9 5900HS, RTX 3060 Mobile, 32GB RAM

Running latest stable potplayer 64bit (210428)

Nevcairiel commented 3 years ago

Don't use Copyback, you are most likely memory bandwidth bottlenecked at that point. Use Native, then it'll be much faster.

chorong761 commented 3 years ago

Don't use Copyback, you are most likely memory bandwidth bottlenecked at that point. Use Native, then it'll be much faster.

I tried copyback, native and D3D11, all giving same results