Beta 4k Playback issue with DXVA2 Hardware acceleration on V18.0 B2 [Solved]
#1
Hello,

When I play 4K HVEC content with hardware acceleration on it is all grainy and washed out.

Kodi version: 18.0 Beta 2

Media info of one the of files that causes problems
https://pastebin.com/qs122wY4

Debug Log - with DXVA2 HW acceleration on
https://pastebin.com/7PVtXK3W

Image with Hardware acceleration on
https://ibb.co/nzmqBp

Image with hardware acceleration off (software decode used)
https://ibb.co/gPaBHU

Windows 10 Pro x64 version 1803

Video Card: NVIDIA GTX 1050
Driver: 411.63 (it occurred with an older version as well but I don't have that version number anymore)

CPU AMD FX-8300
RAM 8GB

This occurs on all of the 4k HVEC content I have to a certain degree.
Reply
#2
That is a HDR file, so it will likely need tone mapping to look right, there are new settings for this under video settings (I think, not in front of a kodi install) on the OSD menu when playing the movie.
Reply
#3
You also need to make sure Pixel Shaders is selected as render method.
Reply
#4
Thank you for the response.

Previously I had render set to "auto" in system and tone mapping was on for the video when hardware acceleration cause wash out.

Forcing it to Pixel Shader with hardware acceleration on made this particular video better color wise but there was still a significant amount of noise in the lighter areas. Turning off tone mapping fixed all of the noise (and the video is just slightly darker)

I tested with the one other HDR video I and it needed both Pixel Shader and tone mapping to look the most correct. I was hoping not to have to play with the setting for each video individually.

I would have expected "auto" to correctly select the Pixel Shader or better yet not need HDR to SDR mapping and put the full HDR signal out to the TV (from what I can tell this seems like a Windows problem).
Reply
#5
Just remembered there is experimental 10 bit output available if you add the following to a Kodi advancedsettings.xml file

xml:
<advancedsettings>
<video>
<allowdiscretedecoder>false</allowdiscretedecoder>
</video>
<try10bitoutput>true</try10bitoutput>
</advancedsettings>

If you don't don't what this file is and where to put it see https://kodi.wiki/view/Advancedsettings.xml

Note - it's not available via GUI yet as it causes problems with some GPU's hence why it's only experimental.
Reply
#6
Thanks.

I tried this and now the video isn't washed out in "auto" + DXVA2 but the whole picture is very dim and hard to see. The tone correction no longer has an impact either so I believe the flag changed the behavior.

I also checked to see if the TV went back into HDR mode when this was playing and no dice.

I have HDR on in windows although I have tried playing it both ways.
Reply

Logout Mark Read Team Forum Stats Members Help
4k Playback issue with DXVA2 Hardware acceleration on V18.0 B2 [Solved]0