Can you do a few minutes' worth of recording/streaming, then stop the recording/streaming session, then upload a current logfile please so I or someone else can further assist in troubleshooting...
Can you do a few minutes' worth of recording/streaming, then stop the recording/streaming session, then upload a current logfile please so I or someone else can further assist in troubleshooting...
I have reinstalled OBS Studio 2.1.1 and I'm running at 1080/60 CPU @ 14-18% in bottom window of OBS and no dropped frames, consistent 5000-5100kb/s no lag or drops down to 2800-4100 kb/s just an occasional drop in fps down to 58 once or twice a minute.
Below is in regards to your 2nd logfile output that you uploaded:
For your NVENC h264 encoder settings, try:
Preset: High Performance
Profile: Main
Key Interval: 2
For your Video options, try:
Downscale Filter: Bicubic
Also, if you don't already capping your fps will help greatly in reducing the workload of your GPU. Though looking at the load on your GPU in the output of your record and stream test of your logfile I would say you do already.
- I noticed you have 3 extra Audio tracks enabled, do you use them?
- I also noticed you have a scene 'TALKSHOW' that has no sources as well as another 'Talk Show' scene that is populated with sources, making it obsolete.
- Lastly, I noticed you record and stream at the same time, this will generate more resource usage for your CPU and GPU, if you were to just record/stream without the other, I think your issues would be completely resolved.
Best thing to note, you do not have any network bandwidth issues at 6k bitrate, which for Twitch is the highest allowed bitrate which would give you the best quality. The only issue is for your viewers that have poor connection speeds, they might have trouble buffering. Same would be said if you were to change to High profile for a slight increase in quality )Very marginal gains)
Final note, you have a lot of sources in your scene 'Stream Start-BRB-End', you may want to consider thinning them out a tad, maybe making a 'Stream Start', 'Stream BRB' and 'Stream End' selection of scenes and source.
- Not sure what to make of the re-installation solving the issue, perhaps something for a dev to look at?
Hey! I thought I had it set too! As soon as I fired up the game that I was trying to stream and hit the start streaming button everything tanked again. I'm sorry about that. I don't understand why all this happened. I hadn't had to do anything before other than plug in the card, install the drivers and nothing else. This is frustrating! I tried to stream last night and couldn't even manage 1280x720 at 30fps. The CPU Pegged at 99% and the end result was awful.
I've run through a bunch of updates from the motherboard all the way to the OS and I'll keep you posted.
Here is the detail below:
Current PC info
Processor: i7 - 4790
Ram: 24 GB
OS: Win10 build 16299
Video Card: Asus GTX 1060 6GB / nvidia driver 388.31 / in windows 23.21.13.8831
Dual Monitors: Dell S2715H / driver 1.0.0.0 installed
Webcam: Logitech C920 / driver 13.80.853.0
Capture Card: Elgato HD60 Pro / driver 1.1.0.178
Sound Card: Sound Blaster Audigy Fx / driver 10.0.16299.15
Audio Interface: Alesis iO2 Express
OBS Studio: 20.1.1
- Testing OBS Settings -
General -
- Automatically record when streaming Unchecked (will test checked)
Stream -
- Service Twitch
- Server Auto
Output -
- Encoder NVENC H.264
- Enforce streaming service encoder settings Checked
- Rescale Output Unchecked (running at 1920x1080)
- Rate Control CBR
- Bitrate 5000
- Keyframe Interval 2
- Preset High Performance
- Profile Main
- Level Auto
- Use Two-Pass Encoding Checked
- GPU 0
- B-frames 2
Audio -
- Sample Rate 48khz
- Channels Stereo
Video -
- Base (Canvas) Resolution 1920x1080
- Output (Scaled) Resolution 1920x1080
- Downscale Filter Bicubic (will test Lanczos)
- Common FPS Values 30 (will test 60)
Also, if you don't already capping your fps will help greatly - I don't have anything capped. I didn't before and the stream ran great without any issues before updating to the latest OBS version
- I noticed you have 3 extra Audio tracks enabled, do you use them? - I don't at this time but I was going to later
- I also noticed you have a scene 'TALKSHOW' that has no sources as well as another - I have several Scenes and Sources for things I'm trying but this was all there and no issues before.
- Lastly, I noticed you record and stream at the same time, this will generate more resource usage for your CPU and GPU - I will test without recording but that's a feature I've always used and again, up until that last OBS update, everything worked great.
Best thing to note, you do not have any network bandwidth issues at 6k bitrate - I'm testing a bitrate of 5000 and that worked great before. Last night I couldn't maintain 1280x720x30fps at 3500. CPU in OBS was at 45% and CPU in Task Manager was pegged at 99%. I had 7-23fps in game and 23-30fps in OBS and the stream was laggy for my viewers. But the Audio was fine.
Final note, you have a lot of sources in your scene 'Stream Start-BRB-End', you may want to consider thinning them out a tad, maybe making a 'Stream Start', 'Stream BRB' and 'Stream End' selection of scenes and source. - I have all the sources I'd want to use in one scene and when I get that scene defined, I will copy that scene to new scene and remove the sourced I don't use in the next scene. The majority of the sourced in the scene are disabled.
- Not sure what to make of the re-installation solving the issue, perhaps something for a dev to look at? - In revering back to OBS 20.1.1 the initial CPU % in OBS appeared to drop back to normal but as soon as I tried to stream. The CPU spiked. I'm trying to get back to where I was before this all went downhill. Also, I just installed 20.1.1 and didn't do a clean install of OBS by removing the old version and then installing 20.1.1
When I'm testing my stream today I'm adding this at the end of my stream key ?bandwidthtest=true
run a stream test Step 1
Get your stream key from your
. Step 2
In the encoder (like OBS), in the text area where the streamkey goes, type "?bandwidthtest=true" after the stream key
live_0000000_xxxxxxxxxxxx?bandwidthtest=true Step 3
Start Broadcasting. Using the "bandwidthtest" flag allows you to broadcast without appearing online to viewers or sending notifications. This helps test new settings or stability before a broadcast.
11:34:05.861: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 3261 (17.0%)
GPU load is >90%, so OBS can not render the scene fast enough.
If you play without some FPS cap/limit/Vsync, this is normal on Win10 Creator / Creator Fall and OBS (no matter which OBS version).
Solution: Limit ingame FPS and leave ~20% GPU load headroom for OBS.
After updating OS and reinstalling - video card driver, HD60 driver, monitor drivers, restarting several times and using the OBS Settings above, here's the log file of that test.
What are these errors? These occurred in OBS 20.1.3 and 20.1.1
Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
[CoreAudio encoder]: Adding CoreAudio AAC encoder
[AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
Failed to initialize module 'enc-amf.dll'
Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
Failed to load 'en-US' text for module: 'obs-browser.dll'
Morpheus is most definitely correct, without capping your frame rate you are really riding the limits of your GPU/CPU, one or the other will become the bottleneck at some point. It is when you don't strive for the most stable frame rate possible you notice fps lag/stutters, etc. You will actually get a much more fluid and enjoyable experience when your frame rate is stable.
More likely than not as I do it to (We are all human after all) you are/were riding the limits of what your PC can do with your encoder settings, especially if you are not capping your frame rate.
Windows fall creators update has done something to resource load as I have begun to notice for local recordings on particular multiplayer maps of Battlefield 4 when the server population is full (64) I can hit occasional and very slight encoder/render lag (<0.1%, typically 5-10 out of 100k+) using one particular x264 encoder setting (Tune profile)
Whilst there is an issue more likely than not there will be a hotfix coming soon (Almost always is from Microsoft) below are some things that can be done in the meantime:
Cap your fps.
Lower your OBS settings slightly.
Lower your in-game settings slightly.
Optimize your Windows installation and Network configuration - It is quite possible some services are now back on that you had turned off prior to fall creators update, happens all the time with major updates, sometimes even with minor updates.
- For my PC setup I also had Windows download and override my GPU driver as I was running a version that was built prior to the AMD fall creators update driver release. So potentially it could be the drivers for your GPU as well.
With every major update from Windows I take the stance that I have to double-check all settings/services/registry edits I have made to the system, as well as checking what the update delivers as I don't really need what I don't use.
There are so many factors involved it really is hard to determine without being right there in your chair, we can only try to troubleshoot with the information we are given.
Settings and more info specific to my encoder/render issue in spoiler below as TLDR:
1080p60fps
Lanczos downscale filter
encoder: x264
rate control: CRF 15
preset: ultrafast
key interval: 2
profile: high
tune: grain (This is where it pushes the encoder that little bit more)
With tuning profile set to none I don't receive encoding/rendering lag at settings that I've manually adjusted in-game to push eye-candy to maximum whilst maintaining 63 fps at all times (I suffer from very slight screen tearing occasionally at 60 fps) capped with MSI AfterBurner, with a base resolution of 1080p.
- The encoder/render lagged frames I get hit by is when my frame rate dips to ~58 in the heaviest of areas/lots of eye-candy effects such as lighting/shadows/particles/objects, etc. Also happened occasionally at the transition of one round end to a new round map beginning to load I noticed with my previous CPU being an i5 2500, where I was running the AMD AMF encoder as 4 cores just couldn't handle the workload of x264 encoding.
Note - Without a tuning profile bitrate average can be around 90-120Mb/s, with grain tuning profile it can be upwards of 180Mb/s average, this is for a local recording that lasts 30+ minutes as well, so very large files naturally.
For streaming tests that I have done (I do local recordings, have only done for troubleshooting knowledge) I can run the below settings:
If using 1080p60fps or using a slower preset my in-game frame rate suffers yet I do not get encoder/render issues, output is lagged as well. CPU usage whilst being pushed higher never hits 100% on any or all cores, at most from what I have seen is ~75-80% load on one or two, so while there is room for core utilization, it is a core limitation in how fast it can do encoding. In testing, I have yet to try manual core assignment, etc for OBS/game.
I find it amazing at how good Ryzen really is for thread optimization, now just wanting game developers that get rich whilst crying poor start to optimize for multiple cores at higher settings instead of taxing 1 or 2 cores while the rest sit there waiting for that workload to finish...
My system Specs:
Ryzen 1600 @ 3825 - upgraded from i5 2500 non-k @4GHz
r9 290x 4GB
8GB @ 3200 CL 14 (2nd 8GB stick DOA, can't afford another kit and was out of RMA window when system was built...)
Those missing module errors are perfectly fine and you can ignore them safely, it is more of a case of them being there for troubleshooting purposes. Have to head out to the doctors now...
In keeping with the thought that there are some settings I need to adjust or change in windows or OBS due to drivers or windows updates I decided to try another program. In essence the other program is using the same OS and drivers and so on.
I installed Xsplit Broadcaster. At idle with the game running and webcam and encoder card enabled and set for 1920x1080x60, the xsplit CPU load is at 6-9% at idle where obs is at in task manager OBS64.exe 63-65% / not streaming.
Again, no changed from when I last ended my last stream in OBS to installing the Xsplit software.
I'm not saying this is a fix but this is a significant performance issue difference.
I do appreciate your help! I've used OBS Classic and studio for some time and I'd like to continue to do so but I'm not sure how much more I need to adjust on my PC to get OBS to work like it did before this went sideways after the last OBS update.
20.1.3 log: |||| 20.1.1 log:
02:19:29.146: Windows 10 Gaming Features: |||| 22:34:59.868: Windows 10 Gaming Features:
02:19:29.146: Game Bar: On |||| 22:34:59.868: Game Bar: Off
02:19:29.146: Game DVR Allowed: Yes |||| 22:34:59.868: Game DVR Allowed: Yes
02:19:29.146: Game DVR: On |||| 22:34:59.868: Game DVR: Off
02:19:29.146: Game DVR Background Recording: Off |||| 22:34:59.868: Game DVR Background Recording: Off
02:19:29.146: Game Mode: Off |||| 22:34:59.924: Game Mode: Off
I can and I will try it. I had all that stuff on by default and everything working fine before the update. I was running 2.1.1 with all the other windows stuff on and no issues at 1080/60fps.
I've started turning things off and turning everything down and struggle to have the smooth stream at 1080 and now even at 720 its still rough. And it affects the frame rate during game play. I'm trying xsplit as a comparison and it's not having issues with the same OS and settings as it sits now.
Last log file looks not too bad (the loading module errors are normal).
Only 2% render lag (GPU overload).
The high CPU load of obs64.exe (without streaming) is very strange.
Create a new Scene Collection and create a new scene there, where you add only basic sources, like your Video Capture Device' (dshow_input).
Do NOT use multiple game sources simultaneously.
Is this just game+webcam, or why are there two dshow_inputs: 13:32:57.595: - scene 'SE - GAMEPLAY':
13:32:57.595: - source: 'ELGATO HD60 PRO' (dshow_input)
13:32:57.595: - source: 'Video Capture Device' (dshow_input)
Check if CPU load is still high.
If not: Your browsersources and filters are causing too much load (mabye some browser sources are crap).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.