(2023-02-21, 22:04)PatK Wrote: (2023-02-21, 18:56)ashlar Wrote: Why do you ask me this? :-D
Now that you have articulated that it doesn't happen with Kodi 17.6, explains the 'what's changed?' query. Didn't want to offend, but knew there must a reason for the post. Of course taking over handshaking with an external player would be some of the explanation, Kodi can be fussy with archives that are slightly non-standard, but doesn't appear to indicate in the log. I note : video memory available is 16187 MB (dedicated = 8031 MB, shared = 8156 MB) dedicated selected NVIDIA GeForce RTX 3070 adapter but at one point defaults to wasapi default device with rendering issues then IsFormatSupported failed (AUDCLNT_E_UNSUPPORTED_FORMAT), something strange when the desktop is set for Desktop Resolution: 3840x2160 32Bit at 60Hz and yet it's reporting @ 23.98Hz (perhaps it's the video). Given ADDONS: repository.xbmc.org - 951 addon(s) loaded makes the investigation something of hit & miss.
Let's try baby steps; I like the idea of Portable mode (wiki) plain vanilla installation, no extras/addons etc.. just a minimal installation with just enough to test out a video.
EDIT: all that follows was done on portable mode with nothing installed, as suggested.
Ok, I think I've isolated the problem. Contrary to what I stated, it happens with 17.6 as well. I'm gonna describe what happens and understand that when I tried 17.6 I had "fixed" the thing temporarily (you'll understand why I say temporarily).
Ok, so... as stated I have the HDMI out going to the TV and a DP port, with a DP-HDMI cable, going to the AVR for sound. This because I cannot do custom resolutions on the AVR (due to a Nvidia bug that doesn't let CRU write an EDID if a block has less than two bites free available) but I can on the TV (and that gives me pretty much perfect playback, with no repeated or dropped frames for hours).
Now... on the Nvidia control panel you can deactivate audio from one or more ports. In my case the HDMI audio to the TV is off and the DP->HDMI is on (control panel has it always on, I cannot turn it off).
This corresponds to the following situation in the Windows sound control panel:
Note everything except the AVR connection is disabled AND unplugged.
When I first play a file, everything goes ok.
Log:
https://paste.kodi.tv/uforavoyak.kodi
The second time I play a file, the sound connection through HDMI-->TV is reactivated. The Nvidia control panel doesn't show that but if I look at the Windows control panel:
One of the disabled "sound cards" is no longer unplugged.
This is the result in Kodi:
Log:
https://paste.kodi.tv/evacuwiruy.kodi
TV tries changing the refresh... it goes for a few frames and then... no signal. With audio still playing.
To get out of this mess I thought about setting both devices as on and specifying in Kodi to use the Denon AVR. Unfortunately it's not enough:
Log:
https://paste.kodi.tv/emagilewij.kodi
The above trick (keeping both devices on and explicitly selecting the Denon AVR in the audio renderer) appears to be working for DirectShow based players but, having come to this point, I can't be sure I'm not missing something else.