Kodi Community Forum

Full Version: Sync to display and adjust refresh rate doesn't work together (17 works) - Kodi hangs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've looked for other threads and github but I can't find this issue. In 17.6 it works fine every time. Am I missing some new setting to get it to work? I've tried with the default settings. I've tried 18.4 and 19 nighlies. Same issue.

They only work together in Windowed mode.
When both are enabled it looks like it tries to adjust refresh rate but then it hangs (screen stays black). It locks Windows too. I can only singout/restart to get Windows working properly again.
I can't access other apps, not even Task Manager, when Kodi hangs. It doesn't totally lock Windows though. E.g. Spotify keeps playing in the background and responds to keyboard media keys and I can use CTRL+ALT+DEL to access sign out/restart.

I have the same issue on both my HTPC and desktop. I can only play files in the PC's set refresh rate (23.976 and 60 Hz). The logs are only from my desktop though.

debug logs
hangs, adjust & sync: https://pastebin.com/Ne0qzbx9
working, adjust only: https://pastebin.com/L3X8gKFH
working, sync only: https://pastebin.com/WWDTm6CA
working, adjust & sync (windowed): https://pastebin.com/AjC7WLEf

Desktop / HTPC
2. Win10 1903 / 1803
3. CPU/Architecture: i5-2500K / Intel NUC5i3RYH
4. RAM amount: 16 / 4 GB

1. Video Card and Driver version: GTX 670 v388.13 / Intel HD Graphics 5500  gfx_win10_64_15.40.41.5058
2. Audio device in use (HDMI/SPDIF/RCA Audio out) and manufacturer (Intel/AMD/Creative) and driver version
Desktop: RCA, ASUS Xonar DGX, 10.0.18362.1
HTPC: RCA, Realtek, aud_win7_8.1_10_6.0.1.7982
I could be mistaken, but it seems this behavior was reworked earlier in the year, so you no longer have to use Sync Playback To Display with Adjust Refresh Rate to achieve smooth playback. I, too, used these settings together for years, but it's now unnecessary. Sync Playback To Display should be disabled when you have Adjust Refresh Rate enabled:
https://forum.kodi.tv/showthread.php?tid...pid2809475
(2019-07-20, 20:29)derekjason Wrote: [ -> ]I could be mistaken, but it seems this behavior was reworked earlier in the year, so you no longer have to use Sync Playback To Display with Adjust Refresh Rate to achieve smooth playback. I, too, used these settings together for years, but it's now unnecessary. Sync Playback To Display should be disabled when you have Adjust Refresh Rate enabled:
https://forum.kodi.tv/showthread.php?tid...pid2809475
Not sure if it's really relevant. Kodi 18.3 hangs when both are enabled. That can hardly be normal behavior for something I can easily be enabled in the GUI. I don't just get "misses counter is going up very fast".
You are absolutely correct, when one uses Sync Playback To Display with Adjust Refresh Rate, playing a video locks-up the PC. That is definitely repeatable, independently verifiable behavior. The workaround until a developer addresses the code: Disable Sync Playback To Display while Adjust Refresh Rate is enabled.
Strange thing to leave in the code when 18 has had so many updates. It can hardly be only me who noticed this. They also specifically recommended having both enabled in <18. I actually just downgraded to 17.6 instead of trying to find what messed it up.

I don't see much of a reason to upgrade anyway as I don't have a Netflix sub.