rockbottom
Active Member
While you're working on it & troubleshooting, it might be a good idea to create a new Scene Collection so you're testing OBS with a clean slate. Add just (1) Source. You can switch back later.
Indeed, if the problem is audio lag, then recording in an empty scene collection should help.While you're working on it & troubleshooting, it might be a good idea to create a new Scene Collection so you're testing OBS with a clean slate. Add just (1) Source. You can switch back later.
I tried a recording test with an empty OBS. I used a new scene collection and added only a game capture with default settings. This time, I was recording, not streaming. Stuttering still occurs. It can be noticed starting at 13 seconds.While you're working on it & troubleshooting, it might be a good idea to create a new Scene Collection so you're testing OBS with a clean slate. Add just (1) Source. You can switch back later.
drive.google.com
Yes, indeed, I noticed that I had an empty scene collection. I thought I could use it since it was empty. It was created when I reinstalled OBS, and my usual streaming collection was restored from a backup.There's no rendering lag now & your audio thread looks much better too. So some progress.
I see that you switched Scene Collections in the log but there doesn't appear to be a new collection created.
Also, how about that F drive, is it getting full? Can you record to another drive?
Yes, it turns out that's the only clue we have right now. Apparently, there's some kind of audio delay, causing the video to lose frames in order to sync with the sound. And it's not even the microphone and its processing that's causing the issue, but the sound system itself. I think so, because the stuttering is also present in the scene without a microphone.That's why I like to create the new collection with just 1 source when troubleshooting. Collections can get bugged & cause trouble. Maybe audio routing is the issue or something else going on with it.
No idea how big that drive is but I like to make sure there's a minimum of 20% free space at all times. 15% when used for archiving purposes.
I decided not to put a soundcard in this rig when I built it for a reason. Had audio issues with my old rig until I switched over to the on-board & have never looked back.
https://obsproject.com/logs/Ii2gDgBQ7NMA1Xrb stutter continues as much as I keep nuking my own settings in favor of this program. The more I troubleshoot this the more I appreciate Elgato Studio lolThe entire pipeline should be HDR for things to work correctly. End to end.
If you can't do that (you can't @ 120FPS) , then the entire pipeline should be SDR. Regardless of what you think looks better.
Good evening!It's the only part that is lagging.
This is the suspect device & OBS is using it's laggy timing...
Source Звук раб. стола audio is lagging (over by 84387.45 ms) at max audio buffering. Restarting source audio
21:43:38.429: [win-wasapi: 'Звук раб. стола'] update settings:
21:43:38.429: device id: default
21:43:38.429: use device timing: 1
32-bit should be OK but you may want to test 16 & 24.
Perfect!
I mean I already set the console to SDR to match its output. My main goal is 120 FPS without stuttering. Something the app Elgato Studio can already do on PC, which I want OBS to be able to also do. And the Elgato 4K X can do 1440p 120 FPS SDR, so we're within specs here.I already gave you the specs for the El Gato, you're clearly not following them.....
video device: Elgato 4K X
04:45:12.391: video path: \\?\usb#vid_0fd9&pid_009b&mi_00#8&26b0a24&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
04:45:12.391: resolution: 2560x1440
04:45:12.391: flip: 0
04:45:12.391: fps: 120.00 (interval: 83333)
I mean I'm not even encoding anything tho? Again this isn't for recording or streaming, it's just to output it on the Preview/Program Projector and nothing else. I saw the chart that had the stats for when I was doing that recording even, a 2% CPU usage only, with no dropped frames registered anywhere on the chart... I can't really buy this is a CPU problem. Especially when another program essentially proves that isn't the issue. This is an OBS issue unless explicitly presented otherwise. If not I would have said issues in Elgato Studio, which as mentioned previously, I do not. If one program proved my setup was fine, that means the other has potential to be fine as well. It just needs the optimization for it, whatever it may be.Another issue that may be rearing it's ugly head is your CPU bottleneck. 12900H is not a good match for a 4090. Proof, my 12900k is a bottleneck to my 3090. I think it would be a good idea to try backing off the hi-refresh/framerates & go with 60HZ/60FPS & see if you can get traction.
I am not running any actual games on the PC, so this is entirely unrelated to my case. Nothing remotely heavy is being run on my PC when doing the use case I've provided/explained here.Diablo IV, to cite that example again, has a ton of stuttering as you enter new areas on the 8700K, to the point that it can at times become unplayable — you definitely don't want to try hardcore mode with a slower CPU and DXR enabled.
Good evening!
I completely disconnected everything from my motherboard, including the microphone and webcam, to rule out any potential microphone latency affecting the video.
I ran tests and discovered that the recording contained duplicate frames.
I realized this after I downloaded the Premiere Pro video and saw the duplicate frames with my own eyes :(
It turns out the search circle has narrowed; all that remains is to understand why frames may be duplicated.
I can say for sure that it's not:
- The video card and drivers (since this happened with the previous video card and with many other drivers, including a clean installation)
- Windows (since I have the latest version of Windows 10 installed and all features that could cause problems are disabled)
- Second monitor (since I recorded this fragment with the second monitor disconnected from the motherboard)
- OBS (since this problem exists on both XPlit and Streamlabs)
- I also tried everything (running as administrator, setting OBS to high priority in both the settings and the task manager, all sorts of old OBS versions, a completely clean OBS with one recording source)
For some reason the footage is duplicated, but why?
I mean I already set the console to SDR to match its output. My main goal is 120 FPS without stuttering. Something the app Elgato Studio can already do on PC, which I want OBS to be able to also do. And the Elgato 4K X can do 1440p 120 FPS SDR, so we're within specs here.
I mean I'm not even encoding anything tho? Again this isn't for recording or streaming, it's just to output it on the Preview/Program Projector and nothing else. I saw the chart that had the stats for when I was doing that recording even, a 2% CPU usage only, with no dropped frames registered anywhere on the chart... I can't really buy this is a CPU problem. Especially when another program essentially proves that isn't the issue. This is an OBS issue unless explicitly presented otherwise. If not I would have said issues in Elgato Studio, which as mentioned previously, I do not. If one program proved my setup was fine, that means the other has potential to be fine as well. It just needs the optimization for it, whatever it may be.
I am not running any actual games on the PC, so this is entirely unrelated to my case. Nothing remotely heavy is being run on my PC when doing the use case I've provided/explained here.
P.S: The stutters also happen in 60 FPS mode as well btw. So no, lowering the frame rate doesn't fix the problem either. Even more reason to believe it isn't the CPU the problem here.
It may or may not be the issue. There's a significant bottleneck, I just made you aware of it.
I've tried but can't duplicate your issue with the Preview/Projector. Running smooth as butter on my rig with no stuttering observed.
Have you tried disabling HAGS? Something I don't use so might be worth the shot.
Post the log.
The log “doesn’t lie” but it’s clearly incomplete. I am experiencing a LOT more frames lost than just 17 out of the total really high amount that it was able to register. I even saw in real time when the stuttering occurred, and the OBS stat page didn’t even increase the lost frames number!Those 17 lagged frames happened do to GPU overload. The log doesn't lie. Looks to me like your system is struggling. Maybe it's a driver conflict or a bad source. OBS is not causing your pain.