Posts: 1,440
Joined: Apr 2010
Reputation:
120
CrystalP
Team-Kodi Developer
Posts: 1,440
Please try the latest v20 nightly, it has a fix related to refresh rate switching that helps with Win11. It will be included in 20.3 when released.
Posts: 26
Joined: Aug 2004
Reputation:
1
thanks, but i installed the latest nightly and still getting the video stuttering/glitches
i have add Kodi Log to my original post.
Posts: 1,440
Joined: Apr 2010
Reputation:
120
CrystalP
Team-Kodi Developer
Posts: 1,440
2023-10-06, 17:01
(This post was last modified: 2023-10-08, 16:43 by CrystalP. Edited 1 time in total.)
Same Kodi before/after the cpu upgrade? What if refresh rate switching is off? What if audio passthrough is disabled? What if Kodi doesn't flip HDR off/on?
Also have a 5700G here, with Windows 10 though, and didn't notice such problems.
Does it happen every time, for all videos, or is there a pattern of files that fail and others that are ok? (audio or video codec maybe)
Nothing in the log is jumping out for me, though there is a lot of noise with embuary.
Posts: 26
Joined: Aug 2004
Reputation:
1
hi, thanks for the recommendations on what to look into
yes, same Kodi before and after...but i have reinstalled since then...didn't seem to help
Passthrough disabling: no effect
Turning Off HDR in Kodi: Helped! Reduced the glitching/stuttering at beginning of video file from 5-10 seconds to only 2-3 seconds.
Refresh Rate Adj set to Off: Success! No more video stutter
i turned HDR back on with Refresh Adj Off, but brief stutter returned....so it appears i have to turn OFF HDR + Refresh Rate Adj. to completely get rid of the issue.
what does this mean?...anything i can try to get HDR and Refresh Rate Adj. working properly with my system?
Posts: 1,440
Joined: Apr 2010
Reputation:
120
CrystalP
Team-Kodi Developer
Posts: 1,440
2023-10-09, 18:13
(This post was last modified: 2023-10-09, 18:13 by CrystalP. Edited 1 time in total.)
"Sync playback to display" may have an impact on this, as well as the refresh rate switch delay (try increasing / reducing)
I noticed something a bit like it from time to time with nVidia gpu, but only with "Sync playback to display" and a video that does HDR + refresh rate switch.
Playback looks like slow-motion for a few seconds then normal. No such problem with the same AMD GPU as you.
But the OS is different and I read Win 11 has a new fancy "hardware page flip" in WDDM 3.0 drivers that could have something to do with the problem.
Posts: 8
Joined: Apr 2013
Reputation:
0
In the setting(s) which produce no stutter, are you sure HDR is off? Alt-O during playback will show whether PQ (aka HDR) is on.
Posts: 26
Joined: Aug 2004
Reputation:
1
yeah, when i use Alt-O, it says Windows HDR On or Off, depending on where i set the Kodi toggle
i keep the AMD Adrenalin drivers updated to latest version
it's tough to troubleshoot because i can start the same file several times, and the video (audio is ok) stuttering/glitching may last as little as 3-5 seconds or as long as 10 seconds...at least when the stuttering stops, it's gone for the duration
i confirmed i have to turn off Refresh Rate Adj + HDR to eliminate the stuttering...just turning off one of these does not help
i'm living with the stuttering, but it still bugs me each time i play something
fwiw, i see this same behavior when using Emby Theater and i enable Refresh Rate Switching
Posts: 8
Joined: Apr 2013
Reputation:
0
Can't really suggest anything gpu-related as I have nvdia.
FYI, my understanding (which is empirical so I may be talking rubbish) is "Windows HDR" on or off shows whether HDR was on or off before running Kodi while "PQ" or "SDR" to the left of that show whether HDR is on while playing a video under Kodi.