Kodi Community Forum

Full Version: Kodi + GTX 1080 + 4K hevc decode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using Kodi 16.1 on a windows 7 machine and recently I have installed an asus GTX 1080 video card which supports hardware decoding of hevc 4k.
I am tryting to play an mkv file 4k hevc but instead of using the video card to decode it is using software.

Can someone help me with this?
Is this supported in Kodi 16.1? Do I need to install any codecs?
try the Kodi 17 beta 7. i think it has to work.
You are unable to select DXVA rendering? Then there is an off/on option to allow hardware acceleration.
(2016-12-23, 22:41)Bennie1358 Wrote: [ -> ]try the Kodi 17 beta 7. i think it has to work.


It did not work. I have upgraded to kodi 17. It still uses software decode.
(2016-12-23, 23:06)levi.baker88 Wrote: [ -> ]You are unable to select DXVA rendering? Then there is an off/on option to allow hardware acceleration.


The hardware accelaration was set up to auto. I changed it but I am getting the same thing
Anyone?This should be straight forward right guys?
This is what I have in the log file

03:12:55.904 T:3580 NOTICE: VideoPlayer: Opening: smb://NASC7BD01/MultimediaReadyNAS1/Video/Movies/Elysium/Elysium.2013.2160p.4K.h265.mkv
03:12:55.904 T:3580 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
03:12:55.904 T:3580 ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
03:12:55.905 T:3516 NOTICE: Creating InputStream
03:12:55.912 T:3516 NOTICE: Creating Demuxer
03:12:56.162 T:3516 NOTICE: Opening stream: 0 source: 256
03:12:56.162 T:3516 NOTICE: Creating video codec with codec id: 174
03:12:56.162 T:3516 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
03:12:56.162 T:3516 NOTICE: Creating video thread
03:12:56.162 T:3516 NOTICE: Opening stream: 1 source: 256
03:12:56.162 T:3516 NOTICE: Finding audio codec for: 86020
03:12:56.162 T:3516 NOTICE: Creating audio thread
03:12:56.163 T:6040 NOTICE: running thread: video_thread
03:12:56.163 T:3516 NOTICE: Opening stream: 9 source: 256
03:12:56.163 T:4708 NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
03:12:56.166 T:6040 NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating DXVA(3840x1606)
03:12:56.166 T:6040 ERROR: DXVA::CDXVAContext::CreateSurfaces - failed creating decoder texture array
03:12:56.166 T:6040 NOTICE: DXVA::CDecoder::Close - closing decoder
03:12:56.166 T:6040 NOTICE: DXVA::Close - closing decoder context
03:12:56.177 T:4708 NOTICE: Creating audio stream (codec id: 86020, channels: 8, sample rate: 48000, pass-through)
03:12:56.370 T:6040 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: HEVC (High Efficiency Video Coding)
03:12:57.419 T:6040 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41727
03:13:07.042 T:4708 NOTICE: CVideoPlayerAudio:Tonguerocess - stream stalled
03:13:18.461 T:6040 NOTICE: Previous line repeats 1 times.
03:13:18.461 T:6040 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
Did you try going into Nvidia Control Panel and selecting GTX 1080 PhysX setting instead of CPU or Auto?
(2016-12-27, 03:20)brazen1 Wrote: [ -> ]Did you try going into Nvidia Control Panel and selecting GTX 1080 PhysX setting instead of CPU or Auto?

What does PhysX have to do with anything?
Windows 7 doesn't support 10-bit textures which is required for hevc main10 decoding. This is limitation of windows 7 version of DirectX 11.1
(2016-12-27, 03:47)Warner306 Wrote: [ -> ]
(2016-12-27, 03:20)brazen1 Wrote: [ -> ]Did you try going into Nvidia Control Panel and selecting GTX 1080 PhysX setting instead of CPU or Auto?

What does PhysX have to do with anything?

Doesn't it take decoding calculations off the CPU (software) and route them to the GPU (hardware)?
PhysX does nothing for Kodi.
(2016-12-27, 08:45)afedchin Wrote: [ -> ]Windows 7 doesn't support 10-bit textures which is required for hevc main10 decoding. This is limitation of windows 7 version of DirectX 11.1

So I should upgrade to Windows 10?
yes
upgrade to at least Windows 8