Topic: SVP broken with DXVA-CP 4K@60 10b decode.

http://demo-uhd3d.com/fiche.php?cat=uhd&id=148

Trying to get this file to play nice. Using LAV Filters CPU decoding, SVP works perfectly. But when using LAV Filters DXVA2-CP, all hell break loose.

The render queue will stay nice and full, but the decoder queue drops like a rock, causes a stall, fill up and repeat. SVP Index shows 0.57 while not even 20% of the CPU is used. Changing automatic quality slider doesn't make a difference. When CPU decoding is used and SVP works, CPU is fully used and performance changes with the quality slider.

Behavior happens whether SVP has GPU acceleration on or off.

Using GTX 1070 and drivers 375.70, with a 4.4GHz i7 5820k. Player is MDPN 64 bit.

Re: SVP broken with DXVA-CP 4K@60 10b decode.

well, I'm not sure if 1070 supports full hw decoding of 4K/10bit?
otherwise it's decoded in sw with all of the consequences...

Re: SVP broken with DXVA-CP 4K@60 10b decode.

All Pascal GPUs have that capability built in.
http://www.notebookcheck.net/Nvidia-Pas … 493.0.html

4 (edited by Nintendo Maniac 64 30-10-2016 05:46:50)

Re: SVP broken with DXVA-CP 4K@60 10b decode.

trandoanhung1991 wrote:

All Pascal GPUs have that capability built in.
http://www.notebookcheck.net/Nvidia-Pas … 493.0.html

That link doesn't make it clear if 4k HEVC @ 120fps is 8bit or 10bit.

One thing you could try to do is simply open your video into mkvtoolnix, set the video's framerate to 30p, and export as a new MKV - then see if that new MKV plays fine (note that it will be playing at half-speed).

5 (edited by trandoanhung1991 30-10-2016 06:52:52)

Re: SVP broken with DXVA-CP 4K@60 10b decode.

The video in question is 60FPS, so I'm not sure why you're talking about 120FPS.

What I'm trying to do is to interpolate from 60FPS to 144FPS.

One thing to note is that even if I have SVP disabled or turn off frame rate conversion, the symptoms still happen. The only way I can get it to play nice is to remove ffdshow raw filter.

6 (edited by dlr5668 30-10-2016 09:22:53)

Re: SVP broken with DXVA-CP 4K@60 10b decode.

trandoanhung1991 wrote:

What I'm trying to do is to interpolate from 60FPS to 144FPS.

use only integral multipliers (60 x 2 -> 120, 24 x 5 -> 120, 24 x 6 -> 144).
144/60 = garbage video big_smile
MPC-HC, mpv, Kodi can auto switch monitor refresh rate.

Re: SVP broken with DXVA-CP 4K@60 10b decode.

trandoanhung1991
What if you select output 8bit YV12 only in LAV?

Post's attachments

LAV_YV12_output.png, 33.88 kb, 624 x 508
LAV_YV12_output.png 33.88 kb, 558 downloads since 2016-10-30 

8 (edited by Nintendo Maniac 64 30-10-2016 21:38:34)

Re: SVP broken with DXVA-CP 4K@60 10b decode.

trandoanhung1991 wrote:

The video in question is 60FPS, so I'm not sure why you're talking about 120FPS

The link you gave me says that your GPU is capable of decoding 120fps video encoded at HEVC, but it does not say if that is 8bit or 10bit.  It's very possible that this 120fps maximum is only for 8bit and that its capabilities are much less (say, 30fps) for 10bit HEVC.

trandoanhung1991 wrote:

What I'm trying to do is to interpolate from 60FPS to 144FPS.

SVP's interpolation engine is completely independent of your GPU's HEVC decoding - it does not matter if you are trying to interpolate to 144fps or 240fps if your GPU can't decode 60fps 10bit HEVC.


dlr5668 wrote:

use only integral multipliers (60 x 2 -> 120, 24 x 5 -> 120, 24 x 6 -> 144).
144/60 = garbage video big_smile
MPC-HC, mpv, Kodi can auto switch monitor refresh rate.

I wouldn't call it "garbage", but it is tru that 60fps--to->120Hz is better than 60fps--to->144Hz - more info here.

Re: SVP broken with DXVA-CP 4K@60 10b decode.

MAG79 wrote:

trandoanhung1991
What if you select output 8bit YV12 only in LAV?

Same problem still happens.

Re: SVP broken with DXVA-CP 4K@60 10b decode.

Completely close SVP (right-click the SVP taskbar icon, select "close") - does the issue still occur with DXVA2?

Re: SVP broken with DXVA-CP 4K@60 10b decode.

The issue occurs as long as ffdshow raw is enabled. Without it DXVA2 works fine.