Question / Help OBS Lag/Stutter when recording locally

dping

Active Member
It suggested 15-20. but if not try anything from 0-20. that's why i tried 10. Either way, I am still experiencing lag, but it isn't as bad as the previous attempt.

Here is my latest log.

https://gist.github.com/4b494d1843a9482ea6a7
Thank you for that.

Increase scene buffering to 700ms.

can you monitor temps in the background? maybe something that hwinfo64 and take a screenshot of the results for CPU and GPU after your recording session? I would start it in sensor mode and let it run while you game and record then post the results here.

I'm actually curious if your GPU is overheating which is causing your video frame time to go way up.
 

Connor_L

New Member
I increased the buffering to 700ms and there was a definite decrease in lag, unfortunately, it was still laggy. I did also try hwinfo64 and these were the results for the temperature. I think it could be down to the temperature increase in all honesty...

Untitled.jpg
 

dping

Active Member
I increased the buffering to 700ms and there was a definite decrease in lag, unfortunately, it was still laggy. I did also try hwinfo64 and these were the results for the temperature. I think it could be down to the temperature increase in all honesty...

View attachment 14166
those CPU temps are fine, what about GPU, which is what I asked about in the first place. please make sure that you are actually stressing your components with game and OBS. this temps look like idle temps for the CPU since there will always be variance between idle and max usage temps.
 

Connor_L

New Member
Untitled.png

those CPU temps are fine, what about GPU, which is what I asked about in the first place. please make sure that you are actually stressing your components with game and OBS. this temps look like idle temps for the CPU since there will always be variance between idle and max usage temps.

There you go... Nothing appeared in the GPU section the first time around
 
Last edited:

dping

Active Member
View attachment 14168


There you... Nothing appeared in the GPU section the first time around
By what I'm seeing temps are fine.

lets do something that covers the area of driver, another common issue.

go to your laptop manufacturer's website and update the drivers based on that site for chipset, USB, network, wireless, pretty much everything but the iGPU drivers.

then go to intel and download drivers for the Intel(R) HD Graphics 530 (which is inside your i7-6700HQ)

next use the last non-game ready driver for your nVidia 940M. I want to rule out the newer beta/game-ready drivers which have been somewhat unstable lately.

After it is all up to date, reboot then readd OBS and your games to nvidia control panel to use high performance (nvidia).
 

Connor_L

New Member
By what I'm seeing temps are fine.

lets do something that covers the area of driver, another common issue.

go to your laptop manufacturer's website and update the drivers based on that site for chipset, USB, network, wireless, pretty much everything but the iGPU drivers.

then go to intel and download drivers for the Intel(R) HD Graphics 530 (which is inside your i7-6700HQ)

next use the last non-game ready driver for your nVidia 940M. I want to rule out the newer beta/game-ready drivers which have been somewhat unstable lately.

After it is all up to date, reboot then readd OBS and your games to nvidia control panel to use high performance (nvidia).


I've installed the driver updates as well as the Intel update. Took me a long while...

Onto the next step. When you say use the non game ready driver, how would I change between the two?
 
Last edited:

dping

Active Member
I've installed the driver updates as well as the Intel update. Took me a long while...

Onto the next step. When you say use the non game ready driver, how would I change between the two?
Well nvidia is hard to track now. they seem to mask all their drivers with the game ready tag. anyway. I heard 3.62 was a good driver? I cant recall.

Anyway, the process would be to remove with DDU in safemode then reboot and install then reboot again. make sure you disable shadowplay so that its not trying to record while you are usings OBS because that can be an issue as well.
 

Connor_L

New Member
Well nvidia is hard to track now. they seem to mask all their drivers with the game ready tag. anyway. I heard 3.62 was a good driver? I cant recall.

Anyway, the process would be to remove with DDU in safemode then reboot and install then reboot again. make sure you disable shadowplay so that its not trying to record while you are usings OBS because that can be an issue as well.

Wait, I'm confused. Is DDU a program I need to download and use and am i installing a new driver that it prompts me to install or do i have to find another driver update to intall?
 

dping

Active Member
Wait, I'm confused. Is DDU a program I need to download and use and am i installing a new driver that it prompts me to install or do i have to find another driver update to intall?
DDU - Display Driver Uninstaller is a separate program but the de facto uninstall program for GPU drivers. Yes, it just cleans the driver so your PC assumes its a fresh install. The reason is on occasion the GPU will be utilizing the driver when you upgrade and will occasionally old on to the prior driver.

you will still need to get the nVidia driver but as I said, just look for previous drivers and get 362.00
 

Connor_L

New Member
DDU - Display Driver Uninstaller is a separate program but the de facto uninstall program for GPU drivers. Yes, it just cleans the driver so your PC assumes its a fresh install. The reason is on occasion the GPU will be utilizing the driver when you upgrade and will occasionally old on to the prior driver.

you will still need to get the nVidia driver but as I said, just look for previous drivers and get 362.00

Good news and bad news...

First up, i no longer have lag when recording! However, the video has been made smaller, not in terms of file size but in terms of size of the actual video. There are now black borders around the edges of the recording? Any idea what's caused this?
 

dping

Active Member
Good news and bad news...

First up, i no longer have lag when recording! However, the video has been made smaller, not in terms of file size but in terms of size of the actual video. There are now black borders around the edges of the recording? Any idea what's caused this?
I'll need your new logfile
 

dping

Active Member
you lowered your in game resolution to 1366x768 which is why game capture is cropped. you can go inside your game capture and force it to full screeen and/or ignore aspect ratio but I would recommend you play at a 16:9 aspect ratio.


That being said, it seems that you have changed from the settings I recommended. again that is up to you in the end but I dont know why I'm continuing to help if you are just going to do something else.

scene buffering should always be 700ms

setting buffer at 0 will mainly help the quality so I'll leave that up to you to decide. a buffer of 700 is going to severely decrease quality. At this point if you change back to 0 you can change the quality balance to 7 and it will be an in between setting

disable CFR (constant frame rate) this will help performance.

I would make sure your laptop's power profile is set to high performance while plugged in. this is probably your issue if its set to power savings or balanced. weird I didn't think of it before.
 

Connor_L

New Member
you lowered your in game resolution to 1366x768 which is why game capture is cropped. you can go inside your game capture and force it to full screeen and/or ignore aspect ratio but I would recommend you play at a 16:9 aspect ratio.


That being said, it seems that you have changed from the settings I recommended. again that is up to you in the end but I dont know why I'm continuing to help if you are just going to do something else.

scene buffering should always be 700ms

setting buffer at 0 will mainly help the quality so I'll leave that up to you to decide. a buffer of 700 is going to severely decrease quality. At this point if you change back to 0 you can change the quality balance to 7 and it will be an in between setting

disable CFR (constant frame rate) this will help performance.

I would make sure your laptop's power profile is set to high performance while plugged in. this is probably your issue if its set to power savings or balanced. weird I didn't think of it before.

I may have accidentally changed some settings when I was trying to fix it myself. Anyway, I've changed the settings to what you recommended and the lag is back. Here's the log file.

https://gist.github.com/b54a4f2c61d305e3c1cf1573419e0eb4
 

dping

Active Member
I may have accidentally changed some settings when I was trying to fix it myself. Anyway, I've changed the settings to what you recommended and the lag is back. Here's the log file.

https://gist.github.com/b54a4f2c61d305e3c1cf1573419e0eb4
In OBS, go to the video tab in settings and change the downscale (not the base) to 1280x720.

CFR still not disabled
scene buffering still not 700ms

did you check the power settings in windows?
 

Connor_L

New Member
sb.png


cfr.png


In OBS, go to the video tab in settings and change the downscale (not the base) to 1280x720.

CFR still not disabled
scene buffering still not 700ms

did you check the power settings in windows?

Just checking, these are the settings you are talking about right??

And yeah, I changed the settings to High Peformance!
 

Connor_L

New Member
ok, restart OBS then record for 5 minutes then post another log. the restart is important because then the log is clean

I tried recording TF2 instead of Dirty Bomb to see if it made a difference. There was almost no lag, however the footage was alot slower paced and the footage seemed slightly grainy, but that's probably because we downscaled to 1280x720...

Here's the log file anyway:

https://gist.github.com/bb90c2e438381f643cf137b9cf86ad04
 
Top