Log in

View Full Version : CUVID bug with 10 bit HEVC?


Blue_MiSfit
20th June 2017, 07:07
Hey folks!

I noticed something odd recently. I recently installed LAV Filters 0.70 which includes support for CUVID when decoding 10 bit HEVC.

I turned this on, and it totally works, BUT I've noticed a couple cases where I get decoding artifacts when playing 10 bit content encoded by x265. This persisted across two different encodes with different CRFs.

This glitch does not occur with software decoding, or with DXVA2 copy-back. Native DXVA2 renders with messed up colors...

Here's a sample image (note the gray blocks)
http://imgur.com/a/QggxG

Here's a 10 second clip:
https://drive.google.com/file/d/0B8XzCbhS0mDLNnpYS01iNlJmdzg/view?usp=sharing

Thoughts?

Thanks!

Asmodian
20th June 2017, 07:08
This is a known issue, something is wrong with CUVID, it is believed to be a driver issue. Recommend DXVA2 copy-back instead.

nevcairiel
20th June 2017, 08:14
I would generally recommend to use DXVA2 Copy-Back on NVIDIA cards. The only realistic reason to want to use CUVID would be if you absolutely need deinterlacing in the decoder and can't let the renderer handle this.

DXVA2-Native should generally also work though, if it doesn't the video renderer may not handle native with 10-bit surfaces properly.

littleD
21st June 2017, 18:35
@nevcairiel
how about Intel decoding? I noticed on two setups, that DXVA CB is really taxing for intel GPUs thus making videos unplayable. While using DXVA Native almost all videos plays fluid, as well on my kabylake. Is there something that i loose using DXVA N instead of CP?