Question / Help Obs started to drop my fps while recording

Joselito

Member
I NEVER had problem while recording with OBS, but now, if I try to record CSGO it drops my fps to 10~20.
I have no idea what could be causing this.

First thing I thought was : Maybe csgo + obs recording is too much for your computer

But no, I always recorded (even streaming) my gameplays with OBS and NEVER had this kind of problem.

Maybe update Obs Studio ?
Just updated it to new version, installed in the same directory than the previous one. Still droping my fps.

any help ?

Log file attached.
 

Attachments

  • 2016-09-15 23-38-38.txt
    13.5 KB · Views: 34

RytoEX

Forum Admin
Forum Moderator
Developer
23:39:28.763: Output 'adv_file_output': Number of skipped frames due to encoding lag: 712 (95.6%)

Something is causing the encoder to skip a lot of frames. Have you successfully streamed/recorded CS:GO without this issue before, or is this the first time trying to stream/record CS:GO specifically? Are your settings in CS:GO maxed, or are they moderate?

Some easy things to try...

Simple Output Mode
Switch to Simple Output Mode. Go to Settings > Output > Output Mode, and change it to "Simple". For quality, try "Indistinguishable Quality". See the first part of this guide for details. If there is some reason you cannot use Simple Output Mode, please elaborate.

Use NVENC for encoding
You have a GTX 960. Instead of using x264, which will use your CPU while CS:GO and everything else is also trying to use your CPU, you can use NVENC, which will use specialized hardware on your graphics card to encode the video. The guide I linked above also goes over how to change the encoder.

If neither of those improves your issue, we can go from there.
 

Joselito

Member
Something is causing the encoder to skip a lot of frames. Have you successfully streamed/recorded CS:GO without this issue before, or is this the first time trying to stream/record CS:GO specifically? Are your settings in CS:GO maxed, or are they moderate?

Yes. I have streamed/recorded CS:GO normally a month ago.
CS:GO settings are all set to low/very low.

Simple Output Mode
Switch to Simple Output Mode. Go to Settings > Output > Output Mode, and change it to "Simple". For quality, try "Indistinguishable Quality". See the first part of this guide for details. If there is some reason you cannot use Simple Output Mode, please elaborate.

I did changed it to Simple Mode, Indistinguishable Quality was already set.

Use NVENC for encoding
You have a GTX 960. Instead of using x264, which will use your CPU while CS:GO and everything else is also trying to use your CPU, you can use NVENC, which will use specialized hardware on your graphics card to encode the video. The guide I linked above also goes over how to change the encoder.

If neither of those improves your issue, we can go from there.

I don't like to use NVENC because it doesn't work with sony vegas, it gets all green screen and I can't edit it.
Although, I tried with it and still droping frames :(
Thanks man!
 

RytoEX

Forum Admin
Forum Moderator
Developer
Yes. I have streamed/recorded CS:GO normally a month ago.
CS:GO settings are all set to low/very low.

I did changed it to Simple Mode, Indistinguishable Quality was already set.

I don't like to use NVENC because it doesn't work with sony vegas, it gets all green screen and I can't edit it.
Although, I tried with it and still droping frames :(
Thanks man!

Have you updated any drivers since the last time you streamed normally? Installed any new software? Installed any OS updates? Changed your hardware?

Your last log showed that you were using Advanced Output Mode. Do you mean you switched to Simple Output Mode and tried that after my post?

I seem to recall some other people having an issue with video editors showing green colored video. Is the whole video a solid green? Or are just parts of the video green? How does the video look in VLC?

Edit: Maybe check this thread regarding your issues with Sony Vegas? I know it's about Adobe Premiere. Humor me.
 
Last edited:

Joselito

Member
Have you updated any drivers since the last time you streamed normally? Installed any new software? Installed any OS updates? Changed your hardware?
A graphic card update is possible. Hardware, only the case. 0 OS updates.

Your last log showed that you were using Advanced Output Mode. Do you mean you switched to Simple Output Mode and tried that after my post?
That's correct. I changed to Simple Mode THEN I did the test again.

I seem to recall some other people having an issue with video editors showing green colored video. Is the whole video a solid green? Or are just parts of the video green? How does the video look in VLC?
The whole video green screen and with a normal audio. But that's not gona save my problem.
I did the test with NVENC and the drop frame still the same :(
[/QUOTE]

Thanks for trying, dude !
 

RytoEX

Forum Admin
Forum Moderator
Developer
A graphic card update is possible. Hardware, only the case. 0 OS updates.

That's correct. I changed to Simple Mode THEN I did the test again.

The whole video green screen and with a normal audio. But that's not gona save my problem.
I did the test with NVENC and the drop frame still the same :(

Thanks for trying, dude !

If you made changes to settings, please post a new log so we can track down a problem that persists across settings.

But how many frames did you drop? Was it less? If so, then that's an improvement, and we can work with that. Was it more? If so, that doesn't make any sense, and it would be useful information.
 

Roids0777

Member
A guy earlier this week was saying the same thing about CS:GO and I was experiencing the same thing with Rainbow six siege and the witcher 3. It has to do with physics calculations. You can either have the cpu process this or the GPU. I have no idea the underlying reasons why this causes the games to stutter but it seems to fix the issue. Also I uninstalled geforce experience as well.
 

Joselito

Member
If you made changes to settings, please post a new log so we can track down a problem that persists across settings.

But how many frames did you drop? Was it less? If so, then that's an improvement, and we can work with that. Was it more? If so, that doesn't make any sense, and it would be useful information.

Still the same thing dude =(

Try to go into your NVIDIA control panel and make PHYSX run solely off the GPU.

I did it but still same thing =(


The thing is: Shadowplay does record any game without a problem, even with higher bitrate.
I want to record with OBS because I can separte mic/game sounds in diferent tracks. But it's been impossible to record since 2 last updates.
 

Joselito

Member
@RytoEX @Roids0777

Hi, guys ! Well, I kind found out the problem:

I changed the:

Settings>Advanced Output Mode> CPU USAGE Preset = Ultrafast

Well, any config lower than this, makes my cpu usage goes to 90%++.
With Ultrafast it stays in 80~85% and I have no lag/freeze/frame drop (at least for recording, didn't test it for stream yet).

Any tips ?
 

RytoEX

Forum Admin
Forum Moderator
Developer
The problem is that your system is not keeping up with encoding as demanded, so it's skipping frames.

Setting the CPU usage preset for x264 from veryfast to ultrafast forces the encoder to use less CPU time. This means the CPU can keep up with the work, but makes larger recorded files. You can also do this in Simple Output Mode by changing the Encoder to "Software (x264 low CPU usage preset, increases file size)".

If ultrafast is what your CPU needs to keep up with the encoding and gaming demands you're giving it, then leave it on ultrafast, either in Advanced or Simple Output Mode. I still think you would get better performance out of NVENC, but you said you didn't, so I'll let that be.
 

Joselito

Member
The problem is that your system is not keeping up with encoding as demanded, so it's skipping frames.

Setting the CPU usage preset for x264 from veryfast to ultrafast forces the encoder to use less CPU time. This means the CPU can keep up with the work, but makes larger recorded files. You can also do this in Simple Output Mode by changing the Encoder to "Software (x264 low CPU usage preset, increases file size)".

If ultrafast is what your CPU needs to keep up with the encoding and gaming demands you're giving it, then leave it on ultrafast, either in Advanced or Simple Output Mode. I still think you would get better performance out of NVENC, but you said you didn't, so I'll let that be.


Thanks for the explanation. I got it now.
About NVENC, I did only one quick test, I'll test it more in the future. If I find no problem with Sony Vegas i'll try it.

Thanks for everything (:
 
Top