v19 D3D11 and DXVA updates - Beta test builds (merged)
#1
Once the HDR code is already in the master branch there are still some things to improve especially for NVIDIA (Intel has always been perfect from day one Big Grin ).

The reason for this build are test these improvements, both d3d11 (rendering) and DXVA (HEVC decoding) that try to be general but can also improve things for NVIDIA.

The most notable changes are:
 
  • Updated include headers to D3D 11.4 API and DX feature level 12_1.
  • Removed advancedsettings options "disableDXVAdiscretedecoder" and "allowdiscretedecoder" (if all goes well they will no longer be necessary).
  • 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 (fix a "hidden" bug in the current code).
  • Improved textures copy function with safe "wait to completed operation" (fix NVIDIA stuttering closer to the root cause).
  • Use multi-threading protection only when necessary (cause a little overload).
  • Improved Kodi logging with graphics card model and DX feature level used without need activate debug mode.
  • DXVA2 check if video memory available is sufficient for 4K decoding (fix crash on low video memory systems).

DOWNLOAD

https://github.com/thexai/xbmc/releases

Builds with merged code at v4.2.0 state (from 20-08-2020):
http://mirrors.kodi.tv/nightlies/windows/win64/master/


CODE

https://github.com/thexai/xbmc


HOW TO TEST IT

Install over other v19 build as usual. If you were using advancedsettings options for NVIDIA it will not be taken into account in this build (it doesn't matter if they are or not).

Test in full screen exclusive mode and full screen windowed mode (change from GUI settings > System > Display).

Report general impressions (feedback):
Playback smooth? Go away NVIDIA stuttering? Some new issue? etc.

Data of interest:
Windows build, NVIDIA graphics model, NVIDIA drivers # used.
Attach Kodi log for reference (don't need to be in debug mode) https://paste.kodi.tv/

Can also be tested on non-NVIDIA systems.


If everything goes well and the general feedback is positive I will open a PR to merge the code  Wink
Reply


Messages In This Thread
D3D11 and DXVA updates - Beta test builds (merged) - by jogal - 2020-07-11, 13:57
Logout Mark Read Team Forum Stats Members Help
D3D11 and DXVA updates - Beta test builds (merged)0