Kodi Community Forum

Full Version: Problem with HW h265 decoding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there,

I have a problem with Kodi 17.1 (it was existing with kodi 16.0 before).

When I try to Read 1080p movie, it works great, there is a HW decoding :
Image
(http://hpics.li/d5ad3d3)

But when I try to play a 4K movie, HW decoding doesn't work and CPU load reach quickly 100% :
Image
(http://hpics.li/1079115)
I try to play the same movie with MPC HC and it works great.
What is the solution to use HW decoding with 4K movies ?

NB : I have already force HW decoding in Kodi's settings).
This is something that is a work in progress. A proper debug log posted to a public pastebin and that URL linked back to this thread will help. I suggest some of the fix will be in driver updates, and perhaps settings within Kodi. Try using the external player VLC as a stand alone player (which also uses FFmpeg routines) and see if the video plays properly, try software rendering. MPC-HC is using proprietary code and at this point in Kodi's open source development is using FFmpeg routines. Kodi does have the capacity to utilize external players like MPC-HC etc. utilizing External players (wiki)
Hello,

Thank you for your answer.
Do you know if this functionality will be integrated into the next kodi's version ?

More and more people gets 4K movie.


Best regards.
Absolutely, but the hardware requirements are moving ahead. I can see already people with laptops asking why their video is stuttering. Throw that debug log along and we'll see if your situation is an easy fix.
Hi Pitipilot,

If your using Linux or JeOS based KODI and HEVC encoded file, I've found that commonly 4K video in HEVC often uses 10-bit color. Hardware decode for 10-bit colour isn't well supported on linux GPU drivers.....especially nvidia.
Hawdware decoding won't work and you'll get choppy playback.
Hello there,

I use Kodi on Windows 10 but my GPU is a 980Ti.

I partially resolve the problem within increase the buffer quantity into RAM.
But decoding is being done by SW decoding anyway.
That Nvidia card doesn't do HEVC hardware decode, it only supports Nvidia Purevideo Version 6 and you need Version 7 to do HEVC hardware decode, see https://en.m.wikipedia.org/wiki/Nvidia_PureVideo
(2017-03-12, 11:19)jjd-uk Wrote: [ -> ]That Nvidia card doesn't do HEVC hardware decode, it only supports Nvidia Purevideo Version 6 and you need Version 7 to do HEVC hardware decode, see https://en.m.wikipedia.org/wiki/Nvidia_PureVideo

Not totaly true

Image

Image

Image

As you can see: GTX 980Ti and kodi tell it is using HEVC hardware decoding
I think hybrid decoding was available for Nvidia Purevideo Version 6 cards so maybe that is used, don't really know enough about Nvidia cards so just going by what Google searches tell me. To see conclusively what is supported on Windows then the DXVA Checker software utility should be used.
(2017-03-12, 11:38)jjd-uk Wrote: [ -> ]I think hybrid decoding was available for Nvidia Purevideo Version 6 cards so maybe that is used, don't really know enough about Nvidia cards so just going by what Google searches tell me. To see conclusively what is supported on Windows then the DXVA Checker software utility should be used.

Yep!

Hybrid decoding it is for the 980Ti

So not as efficient as a full HEVC hardware decoding support but at least a little bit more than pure software decoding