OBS occasionally dropping audio on random track for 1 frame duration

Malix82

New Member
I'm at my wits end with OBS. Every so often OBS just "drops" audio for a single frame (@ 59.94 fps). I don't recall exactly when this started, but it must have been a year or so.

It happens occasionally, like few times in an hour, but seems to happen almost always within first minute or two.

I (usually) record 2 tracks; desktop audio and mic. The drop can happen on either, but never on both at the same time. The video capture source (game, window, display...) doesn't seem to matter, as the audio drop happens with all of them.

I have ran simultaneous other audio recordings while recording with OBS as well, and there are no signs of such drops on the other recordings. I've also tested other screen/game capture software (Dxtory, playclaw) and can't reproduce the problem in those either, so I'm leaning towards thinking this issue resides in OBS.

And to top it off, not only is the audio muted for the frame, but after the skip, audio is also *delayed* by a frame compared to the recording which doesn't have the skip: https://i.imgur.com/0ucnIXD.png as you can see here.

Also, I'm during todays testing I was not dropping frames due to rendering or encoding lag, recording was done locally.

Hardware:

* Win10 Pro, 20H2
* AMD R9-3900X
* 32 GB Ram (3600 MHz), 4x8GB sticks.
* RTX 3090 (though, issue was also with GTX1080ti)
* Presonus Studio 68c USB-audio interface, 48 kHz, 24b, stereo. All audio in/out devices are set at 48 kHz, 24b (where applicable), stereo.
* 2560x1440 gsync screen, @ 120 Hz, 1920x1200 normal screen @ 60 Hz (obs resides on the latter)

Drivers are up to date as far as I know (checked today for all of them).

what else I have tried:

* Win10 GPU scheduler (HAGS) on/off (as per: https://obsproject.com/wiki/How-to-disable-Windows-10-Hardware-GPU-Scheduler)
* several obs versions for the past year or so
* x264, nvenc (new), obs's custom ffmpeg with nvenc, nvenc_hevc.
* video bitrates between 2500 - 50000 kbps
* audio bitrates 160-320, and even uncompressed pcm and flac with the custom ffmpeg output.
* audio device timestamps on/off, for single device & all the devices
* gsync on/off, vsync (globally) on/off, both on, both off
* nvidia low latency mode: off/on/ultra, with vsync/gsync on/of
* "allow applications to take exclusive control of this device" & "give exclusive mode applications priority", on/off.
* running obs as admin
* recording fewer tracks, down to 1
* changed "block size" for my audio interface, tried every value between 16 (smallest) up to 512. (iirc 256 was default) https://i.imgur.com/Z8SeKyM.png

none of the settings resolved the issue. Entirely possible there's a combination of all these which might, but I haven't found it.

and finally; obs log: https://pastebin.com/pcGFyYEt - can't see anything interesting in there though

edit: https://obsproject.com/logs/doUV1Y7JOjhPlQ7G uploaded similar log via OBS as well, as that seemed to be the preferred way
 
Last edited:
Top