Question / Help Audio out of sync after extended uptime

RisingCath

New Member
Hi!

I'm experiencing an issue where video is getting ahead of audio (around 600-700ms or so) only after 'extended' uptimes (~24h). Not recording or streaming, just the PC being turned on and without restarting. Yesterday I recorded some videos and everything seemed fine. Came back around 24h later and audio was out of sync (restarting fixes the issue). This just happened twice now. I usually record with QSV but switched to NVENC before restarting today to test it and the issue persisted. Disabling "Use device timestamps" on "Desktop audio" fixes the issue.

I'm posting this because the first time this issue appeared I was playing with Steam In-Home streaming and everything seemed fine. Played some games over stream and then, switched a couple games and started noticing this sync issue (again, almost a second). I just left it there thinking it was the game, but then (and without restarting) playing on the PC and recording a match, the delay persisted. Seems like the desyncing happened abruptly and it wasn't a gradual thing over the entire day.

Any ideas what is causing this? I'm using onboard Realtek HD.

Attached are two logs: one from the first day (boot up PC, use OBS, everything fine), second one is after returning the next day (OBS was open from the day before, close it and reopen before using and immediately use it to record some footage and the issue is there).

I know I can fix it by disabling "Use device timestamps" but it seems to be affecting other kinds of streaming where I can't do that. Any help would be appreciated.

Thanks!
 

Attachments

  • 2017-01-18 20-11-58.txt
    40 KB · Views: 8
  • 2017-01-17 20-13-06.txt
    31 KB · Views: 3
Last edited:

RisingCath

New Member
Anyone? At least a clue where too look at? Did a couple experiments and it seems to be related to the device. If I switch to Nvidia High Definition Audio in Windows and launch a game, it streams without any issue at all. When switching back to Realtek (Speakers), audio sync issue comes back. Also updated drivers from the Realtek website and could reproduce the issue after a full day. If I reboot, issue is gone as always. Tried switching to another Realtek output (optical) and the sync problems were gone even after switching back to speakers.

Thanks!
 

RisingCath

New Member
Sorry to bump it again but I was able to reproduce it again and tried a software called 'Latencymon' to check if there was anything in my system which would be hogging it and causing the additional delay. Unfortunately, it reports that everything is fine. So I am assuming my system is reporting wrong timestamps so the audio gets out of sync? Does it make sense?

Thanks!
 

StripedogBT

New Member
I know this is an old thread, but I have the exact same issue and have confirmed another friend with a similar issue. It looks like in all three cases we're running Realtek audio, so it's possible that the Realtek hardware or drivers are the culprit.
 
Top