2020-07-12, 15:46
Tested with GTX1060 and no issues that I could tell.
(2020-07-11, 19:28)jogal Wrote: I also need afechin's comments about why HEVC frame refs are calculated taking into account system CPU cores? I find it strange...
(2020-07-13, 17:26)orby Wrote: i do not use multiple monitors and for me i went to useing the disable discret decoder build as that has perfect playback with it disabled where as the current test does not
(2020-07-11, 23:06)manfeed Wrote:(2020-07-11, 13:57)jogal Wrote: HOW TO TEST ITHi jogal! I admire your work, thanks indeed! I think that I can help you with this, since my specs are:
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/
Procesador (CPU) CPU ocho núcleos AMD Ryzen 7 3800X (3,9 GHz-4,5 GHz/36 MB CACHÉ/AM4+)
Placa base ASUS® ROG STRIX X570-F GAMING (USB 3.2 Gen 2, PCIe 4.0) - RGB Ready!
Memoria (RAM) 32 GB Corsair VENGEANCE DDR4 3200 MHz (2 x 16 GB)
Tarjeta gráfica 8 GB NVIDIA GEFORCE RTX 2070 SUPER - HDMI, 3 DP GeForce - RTX VR Ready!
Drivers Geforce Game Ready 451.48 - 06/24/2020
TV Philips OLED 803 65"
Windows 10 - version 2004
https://paste.kodi.tv/eyafupufel.kodi
I had already tested your HDR build, and I did need the advancedsettings option to prevent the stuttering you mentioned. Now I have tested this new version and I'm sorry to tell you that the stuttering is back, both in full screen exclusive mode and full screen windowed mode. I haven't performed an extensive test, since the stuttering is the most important issue to solve now, but it seems to play as smooth as previously.
Thanks for your efforts, much appreciated!
(2020-07-13, 20:43)manfeed Wrote: I just tested version 4.0.1... all seems fine now! The stuttering is gone, both in real full screen and windowed.
(2020-07-13, 15:39)jogal Wrote: Thank you all for test it out.Option 2 is what I used to get, now it's more like Option 3.
My preliminary conclusions is that there are 3 different and independent issues, 2 of them already resolved:
1) Insufficient decoding buffers since always is considered 1 ref frame from stream. Now that @afedchin has confirmed that additional buffers is needed by CPU core (probably not always is used). But in system with 2 cores and stream with 4 ref frames bad things can happen...
However, more normal scenario is 3 refs frames and with today HW CPU 4 cores probably this works..... Now is fixed on 4.0.1
Now: 8 + 8 max. from stream + one by CPU core (logical cores)
in system with 16 cores is used 32 surfaces
in system with 8 cores is used 24 surfaces
in system with 4 cores is used 20 surfaces
in system with 2 cores is used 18 surfaces
before:
in system with 16 cores is used 25 surfaces
in system with 8 cores is used 17 surfaces
in system with 4 cores is used 13 surfaces
in system with 2 cores is used 11 surfaces
2) Big stuttering / tearing (like frames out of place) on GTX 20xx mainly. This is due delay on copy surfaces function (timings issues) and because this only happen when GPU is running at energy saving 300 - 400 Mhz. Is used a previous frame of circular buffer because new one is not yet completely decoded and copied when is read for rendering. This happens at random intervals (2 - 4 seconds) in form of complete frame out of order or big tearing. This is fixed on 4.0.0 and 4.0.1 (pending to confirm if is completely fixed in all cases).
If this is true, advancedsettings flags to disable discrete decoder for NVIDIA would no longer be necessary.
3) Fine stuttering (like judder) on systems with multiple monitors and Windows 10 2004 only. This issue not happen on previous 1903-1909.
And not happens if is used only one monitor. And not happen all the time seems at random periods of minutes.... e.g. 10 minutes perfect and stutterings appears during 2 minutes... then go away 7 minutes....
As said this seems bug introduced by Windows 10 2004 and at this time no idea what is root cause.... Possible workaround is use only one monitor: is sufficient unplug or power off main monitor while is running Kodi on TV.
Since is not related with other issues this happens with discrete decoder disabled too.