Releases: thexai/xbmc
Kodi Windows HLG passthrough 5.0.1
Updated at 20-10-2020 (merged in Kodi 19 alpha master).
- Fix logic to toggle HDR on/off during playback HLG stream.
- Can be used F11 key in manual mode (GUI Settings / Player / Use HDR display capabilities = OFF) to switch between HLG SDR mode and HLG HDR passthrough mode.
Kodi Windows HLG passthrough 5.0.0
Updated at 18-10-2020 (forked from Kodi 19 alpha master).
- Enables HLG passthrough using HLG to PQ shaders.
- Windows (desktop) only supports HDR10, with this trick Windows thinks that HLG is HDR10...
- Picture quality obtained is the same that real HLG passthrough 😄
Kodi Direct3D 11 & DXVA updates 4.2.0
Updated at 07-08-2020 (merged in Kodi 19 alpha master).
Changes in 4.2.0:
Compiled with Visual Studio 2019.
DXVA2 check if video memory available is sufficient for 4K decoding.
Removed workaround for multiple monitors since Microsoft has fixed in KB4568831 (OS Build 19041.423)
Updated with latest master branch commits.
All changes:
Updated include headers to D3D 11.4 API and DX feature level 12_1.
Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
Improved calculation of number buffers need for DXVA HEVC decoding.
Improved textures copy function with safe "wait to completed operation" (NVIDIA stuttering fix).
Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
Use multi-threading protection only when necessary (cause a little overload).
DXVA2 check if video memory available is sufficient for 4K decoding (fix crash on low video memory systems).
Kodi Direct3D 11 & DXVA updates 4.1.0
Updated at 01-08-2020 (forked from Kodi 19 alpha master).
Changes in 4.1.0:
Workaround for multiple monitors on Windows 10 2004 (flickers other screen)
Updated with latest master branch commits.
All changes:
Updated include headers to D3D 11.4 API and DX feature level 12_1.
Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
Improved calculation of number buffers need for DXVA HEVC decoding.
Improved textures copy function with safe "wait to completed operation" (NVIDIA stuttering fix).
Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
Use multi-threading protection only when necessary (cause a little overload).
Workaround for multiple monitors on Windows 10 2004 (flickers other screen).
Kodi Direct3D 11 & DXVA updates 4.0.3
Updated at 18-07-2020 (forked from Kodi 19 alpha master).
Changes in 4.0.3:
Some DXVA code optimizations.
Updated with latest master branch commits: includes ffmpeg 4.3.1 update.
All changes:
Updated include headers to D3D 11.4 API and DX feature level 12_1.
Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
Improved calculation of number buffers need for DXVA HEVC decoding.
Improved textures copy function with safe "wait to completed operation" (NVIDIA stuttering fix).
Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
Use multi-threading protection only when necessary (cause a little overload).
Kodi Direct3D 11 & DXVA updates 4.0.2
Updated at 14-07-2020 (forked from Kodi 19 alpha master).
Changes in 4.0.2:
- Removed ALLOW_TEARING flag.
- Use multi-threading protection only when necessary (cause a little overload).
- Updated with latest master branch commits.
All changes:
- Updated include headers to D3D 11.4 API and DX feature level 12_1.
- Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
- Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
- Improved calculation of number buffers need for DXVA HEVC decoding.
- Improved textures copy function with safe "wait to completed operation" (NVIDIA stuttering fix).
- Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
- Use multi-threading protection only when necessary (cause a little overload).
Kodi Direct3D 11 & DXVA updates 4.0.1
Updated at 12-07-2020 (forked from Kodi 19 alpha master).
Changes in 4.0.1:
- Again taken into account the CPU cores when calculating HEVC decoding buffers.
All changes:
- Updated include headers to D3D 11.4 API and DX feature level 12_1.
- Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
- Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
- Improved support for variable refresh rate monitors using DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING in full screen windowed mode.
- Improved calculation of number buffers need for DXVA HEVC decoding.
- Improved textures copy function with safe "wait to completed operation" (Nvidia stuttering fix?).
- Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
Kodi Direct3D 11 & DXVA updates 4.0.0
Updated at 11-07-2020 (forked from Kodi 19 alpha master).
Changes:
- Updated include headers to D3D 11.4 API and DX feature level 12_1.
- Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder".
- Improved detection of NV12 shared textures capability using more up to date D3D11_FEATURE_DATA_D3D11_OPTIONS4.
- Improved support for variable refresh rate monitors using DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING in full screen windowed mode.
- Improved calculation of number buffers need for DXVA HEVC decoding.
- Improved textures copy function with safe "wait to completed operation" (Nvidia stuttering fix?).
- Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
Kodi Windows HDR 3.7.2
Updated at 29-06-2020 (merged in Kodi 19 alpha master).
Updated with latest master branch commits: includes ffmpeg 4.3, estuary skin improvements, addons installation fixes and improvements.
No changes in HDR code.
To use HDR features enable 'Settings > Player > Use HDR display capabilities' or toggle HDR ON using 'F11' keymap (manual mode).
If video has HDR metadata enables HDR passthrough.
Can also play SDR content with Windows HDR switch ON and it is displayed correctly.
And HDR content played with Windows HDR switch OFF is displayed correctly too (with no HDR).
Uses Microsoft Windows standard API to HDR passthrough.
In systems without HDR display uses tone mapping (DXVA or pixel shaders) for HDR to SDR conversion.
Tested on Intel NUC 8i3BEK + Denon AVX-1600H + Sony TV KD-55AG9 OLED.
Also works on Nvidia, AMD and Ryzen hardware.
Kodi Windows HDR 3.7.1
Updated at 17-06-2020 (forked from Kodi 19 alpha master).
New advancedsettings option 'disableDXVAdiscretedecoder' for some Nvidia systems who still need it.
Updated with latest master branch commits.
To use HDR features enable 'Settings > Player > Use HDR display capabilities' or toggle HDR ON using 'F11' keymap (manual mode).
If video has HDR metadata enables HDR passthrough.
Can also play SDR content with Windows HDR switch ON and it is displayed correctly.
And HDR content played with Windows HDR switch OFF is displayed correctly too (with no HDR).
Uses Microsoft Windows standard API to HDR passthrough.
In systems without HDR display uses tone mapping (DXVA or pixel shaders) for HDR to SDR conversion.
Tested on Intel NUC 8i3BEK + Denon AVX-1600H + Sony TV KD-55AG9 OLED.
Also works on Nvidia, AMD and Ryzen hardware.