Bug Report Sudden Frame Drops and Upload

Naeng

New Member
Hey guys, for some remember I have a problem with streaming... whenever I start my stream, the upload goes red and my dropped frames goes really high...

After stopping the stream, my OBS just freezes or crashes.

Computer Specs
Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 CPUs), ~3.4GHz
NVIDIA GeForce GTX 650
8.00 GB of RAM
Windows 7, 64-bit

Speedtest
2921146650.png


OBS Logs
Code:
02:00:00: Settings::Video: Enabling Aero
02:00:19: Settings::Video: Disabling Aero
02:04:38: Open Broadcaster Software v0.552b - 32bit (´・ω・`)
02:04:38: -------------------------------
02:04:38: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
02:04:38: CPU Speed: 3400MHz
02:04:38: Physical Memory:  4095MB Total, 4095MB Free
02:04:38: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
02:04:38: monitor 1: pos={0, 0}, size={1920, 1080}
02:04:38: Windows Version: 6.1 Build 7601 S
02:04:38: Aero is Disabled
02:04:38: -------------------------------
02:04:38: OBS Modules:
02:04:38: Base Address     Module
02:04:38: 01060000         OBS.exe
02:04:38: 53CE0000         OBSApi.dll
02:04:38: 72400000         DShowPlugin.dll
02:04:38: 723E0000         GraphicsCapture.dll
02:04:38: 723C0000         NoiseGate.dll
02:04:38: 723A0000         PSVPlugin.dll
02:04:38: ------------------------------------------
02:04:38: Adapter 1
02:04:38:   Video Adapter: NVIDIA GeForce GTX 650
02:04:38:   Video Adapter Dedicated Video Memory: 1020985344
02:04:38:   Video Adapter Shared System Memory: 3221549056
02:04:38: =====Stream Start: 2013-08-28, 02:04:38===============================================
02:04:38:   Multithreaded optimizations: On
02:04:38:   Base resolution: 1920x1080
02:04:38:   Output resolution: 1280x720
02:04:38: ------------------------------------------
02:04:38: Loading up D3D10 on NVIDIA GeForce GTX 650...
02:04:38: Playback device Default
02:04:38: ------------------------------------------
02:04:38: Using desktop audio input: Speakers (Realtek High Definition Audio)
02:04:38: ------------------------------------------
02:04:38: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
02:04:38: ------------------------------------------
02:04:38: Audio Encoding: AAC
02:04:38:     bitrate: 128
02:04:38: Using Monitor Capture
02:04:38: Using custom x264 settings: "keyint=60"
02:04:38: ------------------------------------------
02:04:38: Video Encoding: x264
02:04:38:     fps: 30
02:04:38:     width: 1280, height: 720
02:04:38:     preset: veryfast
02:04:38:     CBR: yes
02:04:38:     CFR: yes
02:04:38:     max bitrate: 3300
02:04:38: ------------------------------------------
02:04:38: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
02:04:38: MMDeviceAudioSource: Frequency for device 'Microphone (Siberia v2 Frost Blue)' is 352800, samples per sec is 44100
02:05:01: Total frames rendered: 662, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
02:05:01: Total duplicated frames to ensure constant framerate: 0 (0.00%)
02:05:01: 
02:05:01: Profiler results:
02:05:01: 
02:05:01: ==============================================================
02:05:01: frame - [100%] [avg time: 6.102 ms (cpu time: avg 4.171 ms, total 2761.22 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.0983%]
02:05:01: | frame preprocessing and rendering - [73.5%] [avg time: 4.486 ms (cpu time: avg 3.016 ms, total 1996.81 ms)] [avg calls per frame: 1] [children: 59.6%] [unaccounted: 13.9%]
02:05:01: | | scene->Preprocess - [59.6%] [avg time: 3.639 ms (cpu time: avg 2.403 ms, total 1591.21 ms)] [avg calls per frame: 1]
02:05:01: | video encoding and uploading - [26.4%] [avg time: 1.61 ms (cpu time: avg 1.154 ms, total 764.406 ms)] [avg calls per frame: 1] [children: 26%] [unaccounted: 0.393%]
02:05:01: | | flush - [1.87%] [avg time: 0.114 ms (cpu time: avg 0.047 ms, total 31.201 ms)] [avg calls per frame: 1]
02:05:01: | | CopyResource - [0.279%] [avg time: 0.017 ms (cpu time: avg 0.047 ms, total 31.2 ms)] [avg calls per frame: 0]
02:05:01: | | conversion to 4:2:0 - [0.246%] [avg time: 0.015 ms (cpu time: avg 0.023 ms, total 15.601 ms)] [avg calls per frame: 0]
02:05:01: | | call to encoder - [23.5%] [avg time: 1.432 ms (cpu time: avg 1.013 ms, total 670.804 ms)] [avg calls per frame: 0]
02:05:01: | | sending stuff out - [0.131%] [avg time: 0.008 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:05:01: | Convert444Threads - [1.06e+003%] [avg time: 64.938 ms (cpu time: avg 1.225 ms, total 811.204 ms)] [avg calls per frame: 1]
02:05:01: ==============================================================
02:05:01: 
02:05:01: =====Stream End: 2013-08-28, 02:05:01=================================================
02:05:09: Settings::Video: Disabling Aero
02:05:11: =====Stream Start: 2013-08-28, 02:05:11===============================================
02:05:11:   Multithreaded optimizations: On
02:05:11:   Base resolution: 1920x1080
02:05:11:   Output resolution: 1920x1080
02:05:11: ------------------------------------------
02:05:11: Loading up D3D10 on NVIDIA GeForce GTX 650...
02:05:11: Playback device Default
02:05:11: ------------------------------------------
02:05:11: Using desktop audio input: Speakers (Realtek High Definition Audio)
02:05:11: ------------------------------------------
02:05:11: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
02:05:11: ------------------------------------------
02:05:11: Audio Encoding: AAC
02:05:11:     bitrate: 128
02:05:11: Using Monitor Capture
02:05:11: Using custom x264 settings: "keyint=60"
02:05:11: ------------------------------------------
02:05:11: Video Encoding: x264
02:05:11:     fps: 30
02:05:11:     width: 1920, height: 1080
02:05:11:     preset: veryfast
02:05:11:     CBR: yes
02:05:11:     CFR: yes
02:05:11:     max bitrate: 3300
02:05:11: ------------------------------------------
02:05:11: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
02:05:11: MMDeviceAudioSource: Frequency for device 'Microphone (Siberia v2 Frost Blue)' is 352800, samples per sec is 44100
02:05:25: Total frames rendered: 409, number of late frames: 1 (0.24%) (it's okay for some frames to be late)
02:05:25: Total duplicated frames to ensure constant framerate: 0 (0.00%)
02:05:25: 
02:05:25: Profiler results:
02:05:25: 
02:05:25: ==============================================================
02:05:25: frame - [100%] [avg time: 7.2 ms (cpu time: avg 5.301 ms, total 2168.41 ms)] [avg calls per frame: 1] [children: 99.9%] [unaccounted: 0.0833%]
02:05:25: | frame preprocessing and rendering - [63%] [avg time: 4.534 ms (cpu time: avg 2.822 ms, total 1154.41 ms)] [avg calls per frame: 1] [children: 50.6%] [unaccounted: 12.3%]
02:05:25: | | scene->Preprocess - [50.6%] [avg time: 3.645 ms (cpu time: avg 1.907 ms, total 780.005 ms)] [avg calls per frame: 1]
02:05:25: | video encoding and uploading - [36.9%] [avg time: 2.66 ms (cpu time: avg 2.479 ms, total 1014.01 ms)] [avg calls per frame: 1] [children: 36.7%] [unaccounted: 0.222%]
02:05:25: | | flush - [1.15%] [avg time: 0.083 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
02:05:25: | | CopyResource - [0.208%] [avg time: 0.015 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:05:25: | | conversion to 4:2:0 - [0.139%] [avg time: 0.01 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:05:25: | | call to encoder - [35.2%] [avg time: 2.535 ms (cpu time: avg 2.479 ms, total 1014.01 ms)] [avg calls per frame: 0]
02:05:25: | | sending stuff out - [0.0139%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 0]
02:05:25: | Convert444Threads - [887%] [avg time: 63.866 ms (cpu time: avg 2.25 ms, total 920.405 ms)] [avg calls per frame: 1]
02:05:25: ==============================================================
02:05:25: 
02:05:25: =====Stream End: 2013-08-28, 02:05:25=================================================
02:05:44: =====Stream Start: 2013-08-28, 02:05:44===============================================
02:05:44:   Multithreaded optimizations: On
02:05:44:   Base resolution: 1920x1080
02:05:44:   Output resolution: 1920x1080
02:05:44: ------------------------------------------
02:05:44: Loading up D3D10 on NVIDIA GeForce GTX 650...
02:05:44: Playback device Default
02:05:44: ------------------------------------------
02:05:44: Using desktop audio input: Speakers (Realtek High Definition Audio)
02:05:44: ------------------------------------------
02:05:44: Using auxilary audio input: Microphone (Siberia v2 Frost Blue)
02:05:44: ------------------------------------------
02:05:44: Audio Encoding: AAC
02:05:44:     bitrate: 128
02:05:44: Using Monitor Capture
02:05:44: Using custom x264 settings: "keyint=60"
02:05:44: ------------------------------------------
02:05:44: Video Encoding: x264
02:05:44:     fps: 30
02:05:44:     width: 1920, height: 1080
02:05:44:     preset: veryfast
02:05:44:     CBR: yes
02:05:44:     CFR: yes
02:05:44:     max bitrate: 3300
02:05:44: ------------------------------------------
02:05:44: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
02:05:44: MMDeviceAudioSource: Frequency for device 'Microphone (Siberia v2 Frost Blue)' is 352800, samples per sec is 44100
02:05:45: Using RTMP service: Twitch / Justin.tv
02:05:45:   Server selection: rtmp://live-ord.justin.tv/app
02:05:46:   Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
02:05:47: SO_SNDBUF was at 8192
02:05:47: SO_SNDBUF is now 65536
02:06:27: Total frames rendered: 1290, number of late frames: 1 (0.08%) (it's okay for some frames to be late)
02:06:27: Total duplicated frames to ensure constant framerate: 0 (0.00%)
02:07:27: WARNING: Forcibly terminating a thread after 60000 ms timeout!

Video Encoding: http://puu.sh/4cKX5.png
Broadcasting Settings: http://puu.sh/4cKYd.png
Video: http://puu.sh/4cL0n.png
Advance: http://puu.sh/4cL0Q.png

Problem: http://puu.sh/4cL5i.png

Crash Report
Code:
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
http://www.obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\windows\syswow64\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: 80000003
Fault address: 75DC3219 (c:\windows\syswow64\kernelbase.dll)
OBS version: Open Broadcaster Software v0.552b
Windows version: 6.1 (Build 7601) Service Pack 1
CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz

Crashing thread stack trace:
Stack    EIP      Arg0     Arg1     Arg2     Arg3     Address
0018EA24 75DC3219 000004FC 0000EA60 00C21520 00350000 kernelbase.dll!0x75dc3219
0018EA38 0108BD9E 00000000 0018EEF0 01086DF6 00000001 obs.exe!RTMPPublisher::~RTMPPublisher+0x7e
0018EEB0 0108BB1B 00000001 76A82DA4 76A9F1BA 00040D8E obs.exe!RTMPPublisher::`scalar deleting destructor'+0xb
0018EEBC 01086DF6 00350000 010A1D81 00000000 010A1280 obs.exe!OBS::Stop+0x136
0018EEF8 0108572A 00000000 010A1280 00000000 00060C98 obs.exe!OBS::ToggleCapturing+0x1a
0018EF00 010A1D81 76A76D51 0018F004 76A762FA 00040D8E obs.exe!OBS::OBSProc+0xb01
0018EFD4 76A76D91 010A1280 00040D8E 00000111 00001389 user32.dll!0x76a76d91
0018F00C 76A76D3A 00000000 010A1280 00040D8E 00000111 user32.dll!0x76a76d3a
0018F084 76A7965E 012624D0 00000000 010A1280 00001389 user32.dll!0x76a7965e
0018F0C8 76A796C5 00040D8E 00000111 00001389 00060C98 user32.dll!0x76a796c5
0018F0EC 704D4601 003DA6F0 00000000 00060C98 003DA6F0 comctl32.dll!0x704d4601
0018F10C 704D4663 54010000 00000001 00000000 7045B495 comctl32.dll!0x704d4663
0018F128 704D44ED 00060C98 00000202 00000000 000E0029 comctl32.dll!0x704d44ed
0018F188 76A762FA 7045B495 00060C98 00000202 00000000 user32.dll!0x76a762fa
0018F1B4 76A76D3A 00000000 7045B495 00060C98 00000202 user32.dll!0x76a76d3a
0018F22C 76A777C4 7045B495 00000000 0018F2C0 76A9C81F user32.dll!0x76a777c4
0018F28C 76A7788A 0018F33C 76A81246 76A778E2 00090DE1 user32.dll!0x76a7788a
0018F29C 76A9C81F 00040D8E 00000000 00000000 00000000 user32.dll!0x76a9c81f
0018F2C8 0107CCC5 01060000 00000000 0038243D 00000001 obs.exe!WinMain+0x7d5
0018F740 010E1E09 FFFDE000 0018F814 772F9F72 FFFDE000 obs.exe!strstr+0x1c9
0018F7D0 758533AA FFFDE000 77312F5A 00000000 00000000 kernel32.dll!0x758533aa
0018F7DC 772F9F72 010E1E5C FFFDE000 00000000 00000000 ntdll.dll!0x772f9f72
0018F81C 772F9F45 010E1E5C FFFDE000 00000000 00000000 ntdll.dll!0x772f9f45

A minidump was saved to C:\Users\Ryan\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-08-28_2.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address      Module
 

Attachments

  • OBSCrashDump2013-08-28_2.zip
    99.6 KB · Views: 70

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hey, the kernelbase.dll crash is fixed on the codebase, I'm probably just going to release it today or tomorrow in fact just because it really needs to be fixed and other things keep delaying me.

As for frame drops, the application actually has a fairly sizable frame drop threshold. I think you were in the chat earlier when I was talking about it.

If the application gets more than 600 milliseconds worth of backed up frames from delayed sends, it "drops" frames in an attempt to relieve congestion to keep your stream on time (otherwise it would continually delay and delay your stream endlessly). Ultimately, this only happens because you are unable to send as much data as you want to. The delayed sends that cause frame drops are not in any way caused by OBS itself, it's caused by your connection to the host, which comprises of you, the various routing points to the host, and the host itself. Even if you have a fast connection, if any of those have issues sending getting data to the host, then it can delay the send or cause packets to be lost (which can/does happen).

This is generally why we first always ask the user to try switching servers until they find a server that works best for them.
 

Naeng

New Member
Jim said:
Hey, the kernelbase.dll crash is fixed on the codebase, I'm probably just going to release it today or tomorrow in fact just because it really needs to be fixed and other things keep delaying me.

As for frame drops, the application actually has a fairly sizable frame drop threshold. I think you were in the chat earlier when I was talking about it.

If the application gets ore than 600 milliseconds worth of backed up frames from delayed sends, it "drops" frames in an attempt to relieve congestion to keep your stream on time (otherwise it would continually delay and delay your stream endlessly). Ultimately, this only happens because you are unable to send as much data as you want to. The delayed sends that cause frame drops are not in any way caused by OBS itself, it's caused by your connection to the host, which comprises of you, the various routing points to the host, and the host itself. Even if you have a fast connection, if any of those have issues sending getting data to the host, then it can delay the send or cause packets to be lost (which can/does happen).

This is generally why we first always ask the user to try switching servers until they find a server that works best for them.
Ahh Thanks for the reply Jim, I have the JTVPing.exe and I have also tried all the servers in the US side & EU server, and nothing worked... though.
 

IamMerah

New Member
Hey, I'm afraid I have no solution but I too have been dealing with the dropping frames. I start it up, and the upload flashes colors constantly and it continually drops frames. I've never had this before.

But reading from the answer given it is Kernelbase.dll?
 

Razswe

New Member
Just started to get this problem 1.5h into a stream where bitrate started to spike up to 3000kb/s (Got it set to 2944) as a constant output where it usually lies at 700-1k. This resulted in 50% dropped frames and I've gone through so many scans of my computer now showing nothing that can resolve this issue.

I can't stream anymore. Even while doing "preview" the bitrate instantly max out. (Using version 0.522b)
 

n3ac3y

New Member
Not fixed, having the same issue. Never had it until the update. My bitrate meter (bottom right) goes red and then OBS crashes hard. This never happened to me until the update today. I've streamed for over a week now on OBS. Restarting did not seem to fix the problem.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
There is currently a freeze that happens if you stop stream after having dropped frames and such -- we're looking into it and will fix the problem. It doesn't crash anymore but it still can freeze for up to 50 seconds as it tries to send out data
 

BumblebleePUSS3

New Member
0.552b is real deal,but yesterday i had no problems with latest version. 0.552b have higher pc requierments for streaming 1080p.Thats what i noticed on my stream.So far im happy with 720p and no freeze or frame dropp during arams.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
There was almost nothing changed from 0.552b to 0.554b in regards to network -- there was one crash that was fixed, but that was only on shutdown. There were zero changes to frame drop code or anything like that.
 

Naeng

New Member
Everything seems fine now, but I'm getting my upload rate on OBS randomly to a red... is it like my network problem?
Cause everything seems fine on a Twitch.tv broadcast.. but when I broadcast non-current games on Justin, it happens
 

painlessdeath22

New Member
I am getting the same problem. I have streamed for months with no issues and now all of a sudden my frames drop like crazy and my upload is all over the place. Not sure if this is an OBS issue or if something is going on server side. I have my file here for when it crashes.
 

Attachments

  • 2013-09-07-2103-02 OBS Crash.txt
    18.8 KB · Views: 84

jincuteguy

New Member
Yea I m having the same issue here, my upload is 10Mbps, and I only stream at 5Mbps, and keep getting frame drops for some reason.
 

Krazy

Town drunk
Streaming at 5Mbps is part of the problem. To fix dropped frames you try other servers to try to get a better connection, and if that doesn't work you lower bitrate. There are extremely rare cases where hardware failure is the problem, but I doubt that's the case for you.
 

rvgGhost

New Member
I keep seeing the mods from obs saying the same thing, I have been streaming for a while now and when I was on windows 7 I had no problems with my stream. I have the same settings and same net connection and speed that I had before. I am now on Windows 8 and I cant stream at all. I can stream for 5 min then frame drops. Yes I have tried everything that you mods have suggested. But honestly I think its a problem with windows 8 because I can run OBS on my brothers computer and he has windows 7. So for everyone who is having issues with frame drops if your using windows 8 that might be the case
 

Goddhand

New Member
Joined specifically to reply to this thread.

I've been having this exact issue and I've isolated it down to 2 factors. Hope this info helps someone.

The first factor that I've noticed is most common among those with this issue is that many of us are using Verizon FIOS. There's been a rash of complaints about FIOS users not getting the upload speed they are supposedly set at. Verizon forum complaints show that many of our connections have been set to half duplex mode on the ISP's end, thus limiting our speed.

Last night and this morning though, I was able to isolate part of the issue coming from streaming sound in OBS. Up until now I had been using my headset both for microphone and receiver audio, chatting on skype while streaming. Last night and this morning I shut off the headset entirely so my stream was completely muted....not 1 frame dropped on Final Fantasy XIV or League of Legends.

Played FFXIV again over twitch this morning, but this time I turned on the desktop sound: still no dropped frames, but I immediately noticed the connection color start to darken. Set the audio back to my headset once again and turned it on without speaking...11% frame drop, just on the FFXIV title screen.

Again, hope somebody wiser than I can garner some info from that, I apologize for the lack of a log file or specs but I assure you my PC is comparable to most others with this issue.
 
Top