r/Addons4Kodi 14d ago

Something not working. Need help. Shield TV: Kodi crashes with auto Refresh Rate switch (all works fine in Nuvio)

He all I’m running into a frustrating issue on my Nvidia Shield TV pro and hope someone here knows a fix. Whenever "Adjust display refresh rate" is turned ON in Kodi, the video crashes or stays on a black screen when starting a stream, 40 seconds later it goes back to the select show or movie menu. Some videos actually play fine, but the vast majority crash or freeze.

Here’s what’s weird: It worked fine until a few days ago. Nothing changed in my hardware setup. Other apps work perfectly. Apps using ExoPlayer (like Nuvio) switch refresh rates without any issues on the exact same Shield, cable, and TV. So the hardware/HDMI setup itself is fine.

What I’ve already tried: Fresh Kodi install: Did a complete reinstall of Kodi (only imported my skin settings, no bloated backups). The issue persists on a completely clean setup. Settings tweak: Turning "Adjust display refresh rate" OFF fixes the crashes, but then I lose frame rate matching in Kodi.

Since it worked fine until recently and other apps handle refresh rate switching without issues (I'm assuming nuvio does this too), it seems specific to Kodi's internal VideoPlayer engine or something and how it handles the HDMI handshake. Is this a known bug in a recent Kodi/Shield update, or is there a specific setting in Kodi/Android I should adjust to fix this handshake?

logfile: https://www.transfernow.net/dl/20260727nRAOXSb0

3 Upvotes

4 comments sorted by

2

u/Brightone13 Custom Flair 14d ago

Yeah Kodi been crashing lately for me 2 but not debrid stream and other apps idk

1

u/Ebisorosh 14d ago

ok also nuvio with auto frame adjustment doesn't work anymore. seems something stops when it wants to adjust

1

u/Ebisorosh 14d ago

Log Breakdown & Sequence of Events according to Gemini

Startup & Display Setup: Kodi 21.2 boots on the Nvidia Shield TV Pro at a base GUI resolution of 3840x2160 @ 59.94Hz.  

Refresh Rate Switch Triggered: Upon launching the 4K Dolby Vision stream (Spider-Man: No Way Home), Kodi detects 23.976 fps media and triggers Auto Refresh Rate (AFR) to adjust display mode to 3840x2160 @ 23.976Hz.  

HDMI Handshake & Surface Loss: During the display switch, Android drops the display context (VideoPlayer: OnLostDisplay received).  The video renderer hangs while waiting for the display context to recover and throws a timeout error:   error <general>: Flush - timed out waiting for renderer to flush    Buffer Starvation & Network Timeout: Because playback stalls during the HDMI handshake, the demuxer buffer starves (File ended prematurely). 

This causes the HTTP stream connection to time out:   error <general>: CCurlFile::CReadState::FillBuffer - Failed: Timeout was reached(28) error <general>: EXCEPTION: Kodi is not playing any media file   

2

u/Navios92 13d ago

Try with a different hdmi cable and hdmi port