Hi OBS Community,
I have been experiencing this issue on my home built desktop PC for some time now, and after periodically attempting to research, troubleshoot and resolve over the past few months, I am turning to the community for any help or suggestions. Essentially, every time I boot up OBS and begin streaming to Twitch (has not occurred with local recordings, but TBH I have not thoroughly tested them to rule it out)--without fail--my entire PC will lock up after some period of time. It could be anywhere from 2 minutes to 50 minutes, but eventually the input and output will completely freeze forcing me to reboot the machine.
As mentioned in the title, please see one such example log:
They all typically end with those last couple of rows immediately preceding a lockup. Unfortunately, I cannot tell if the "stall" is a cause or if it is merely a symptom of the fact the the PC froze =\
Some background:
I have looked through the suggested settings and read a few guides, and I have tried a variety of different settings either aimed to optimize or increase performance at the sake of decreasing quality (e.g. FPS, bitrates, x264 presets, resolution downscale, different games, etc). The above settings have given the highest average time before a crash, but it is still not acceptable. Before I am asked: yes, I read the analyzer's suggestions--they were both minor items, but I have tried using the default x264 CPU presets, and the "ultrafast" setting seems to increase the average time before the PC freezes. Also, I have tried using a LAN cable vs wireless--seems to have little/no impact. My speedtests today were averaging around 15 down / 3 up.
I have recently upgraded to the graphics card listed in the log, and it works great while not streaming (i.e. no crashes when playing--and yes, the drivers are up to date). The CPU is older, but it should not be causing the PC to freeze with the scaled down OBS settings. Any constructive suggestions/help is greatly appreciated =]
I have been experiencing this issue on my home built desktop PC for some time now, and after periodically attempting to research, troubleshoot and resolve over the past few months, I am turning to the community for any help or suggestions. Essentially, every time I boot up OBS and begin streaming to Twitch (has not occurred with local recordings, but TBH I have not thoroughly tested them to rule it out)--without fail--my entire PC will lock up after some period of time. It could be anywhere from 2 minutes to 50 minutes, but eventually the input and output will completely freeze forcing me to reboot the machine.
As mentioned in the title, please see one such example log:
Code:
17:58:24: Open Broadcaster Software v0.657b - 32bit (´・ω・`)
17:58:24: -------------------------------
17:58:24: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
17:58:24: CPU Speed: 3300MHz
17:58:24: Physical Memory: 4095MB Total, 4095MB Free
17:58:24: stepping id: 7, model 42, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
17:58:24: monitor 1: pos={-1600, 95}, size={1600, 900}
17:58:24: monitor 2: pos={0, 0}, size={1920, 1080}
17:58:24: Windows Version: 6.1 Build 7600 (revision 16385)
17:58:24: Aero is Enabled
17:58:24: -------------------------------
17:58:24: OBS Modules:
17:58:24: Base Address Module
17:58:24: 009F0000 OBS.exe
17:58:24: 72100000 OBSApi.dll
17:58:24: 71F00000 DShowPlugin.dll
17:58:24: 72DF0000 GraphicsCapture.dll
17:58:24: 71ED0000 NoiseGate.dll
17:58:24: 71EB0000 PSVPlugin.dll
17:58:24: 71E90000 scenesw.dll
17:58:24: ------------------------------------------
17:58:24: Adapter 1
17:58:24: Video Adapter: NVIDIA GeForce GTX 750 Ti
17:58:24: Video Adapter Dedicated Video Memory: 2089484288
17:58:24: Video Adapter Shared System Memory: 2147807232
17:58:24: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
17:58:24: Video Adapter Output 2: pos={-1600, 95}, size={1600, 900}, attached=true
17:58:24: =====Stream Start: 2016-01-31, 17:58:24===============================================
17:58:24: Multithreaded optimizations: On
17:58:24: Base resolution: 1920x1080
17:58:24: Output resolution: 960x540
17:58:24: ------------------------------------------
17:58:24: Loading up D3D10 on NVIDIA GeForce GTX 750 Ti (Adapter 1)...
17:58:24: ------------------------------------------
17:58:24: Audio Format: 48000 Hz
17:58:24: ------------------------------------------
17:58:24: Audio Channels: 2 Ch
17:58:24: Playback device {0.0.0.00000000}.{f5e9e679-bb77-49fb-9d9e-4b9979427ff7}
17:58:24: ------------------------------------------
17:58:24: Using desktop audio input: Speakers / Headphones (Plantronics HD1)
17:58:24: Global Audio time adjust: 0
17:58:24: Using 7.1 surround speaker setup
17:58:24: ------------------------------------------
17:58:24: Using auxilary audio input: Microphone (Plantronics HD1)
17:58:24: Mic time offset: 0
17:58:24: ------------------------------------------
17:58:24: Audio Encoding: AAC
17:58:24: bitrate: 128
17:58:24: Using text output
17:58:24: Using graphics capture
17:58:24: Trying to hook process: swtor.exe
17:58:24: Scene buffering time set to 700
17:58:24: ------------------------------------------
17:58:24: Video Encoding: x264
17:58:24: fps: 25
17:58:24: width: 960, height: 540
17:58:24: preset: ultrafast
17:58:24: profile: main
17:58:24: keyint: 50
17:58:24: CBR: yes
17:58:24: CFR: yes
17:58:24: max bitrate: 1700
17:58:24: buffer size: 1700
17:58:24: ------------------------------------------
17:58:25: SharedTexCapture hooked
17:58:39: FlushBufferedVideo: Flushing 11 packets over 400 ms
17:58:40: Total frames encoded: 365, total frames duplicated: 0 (0.00%)
17:58:40: Total frames rendered: 375, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
17:58:40:
17:58:40: Profiler time results:
17:58:40:
17:58:40: ==============================================================
17:58:40: video thread frame - [100%] [avg time: 0.702 ms] [children: 31.8%] [unaccounted: 68.2%]
17:58:40: | scene->Preprocess - [15.4%] [avg time: 0.108 ms]
17:58:40: | GPU download and conversion - [16.4%] [avg time: 0.115 ms] [children: 15.5%] [unaccounted: 0.855%]
17:58:40: | | flush - [14.7%] [avg time: 0.103 ms]
17:58:40: | | CopyResource - [0.57%] [avg time: 0.004 ms]
17:58:40: | | conversion to 4:2:0 - [0.285%] [avg time: 0.002 ms]
17:58:40: Convert444Threads - [100%] [avg time: 0.211 ms] [children: 98.1%] [unaccounted: 1.9%]
17:58:40: | Convert444toNV12 - [98.1%] [avg time: 0.207 ms]
17:58:40: encoder thread frame - [100%] [avg time: 0.318 ms] [children: 0.314%] [unaccounted: 99.7%]
17:58:40: | sending stuff out - [0.314%] [avg time: 0.001 ms]
17:58:40: ==============================================================
17:58:40:
17:58:40:
17:58:40: Profiler CPU results:
17:58:40:
17:58:40: ==============================================================
17:58:40: video thread frame - [cpu time: avg 0.083 ms, total 31.2 ms] [avg calls per frame: 1]
17:58:40: | scene->Preprocess - [cpu time: avg 0.041 ms, total 15.6 ms] [avg calls per frame: 1]
17:58:40: | GPU download and conversion - [cpu time: avg 0.041 ms, total 15.6 ms] [avg calls per frame: 1]
17:58:40: | | flush - [cpu time: avg 0.041 ms, total 15.6 ms] [avg calls per frame: 1]
17:58:40: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:58:40: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:58:40: Convert444Threads - [cpu time: avg 0.043 ms, total 31.2 ms] [avg calls per frame: 2]
17:58:40: | Convert444toNV12 - [cpu time: avg 0.043 ms, total 31.2 ms] [avg calls per frame: 2]
17:58:40: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:58:40: | sending stuff out - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
17:58:40: ==============================================================
17:58:40:
17:58:40: =====Stream End: 2016-01-31, 17:58:40=================================================
17:58:43: =====Stream Start: 2016-01-31, 17:58:43===============================================
17:58:43: Multithreaded optimizations: On
17:58:43: Base resolution: 1920x1080
17:58:43: Output resolution: 960x540
17:58:43: ------------------------------------------
17:58:43: Loading up D3D10 on NVIDIA GeForce GTX 750 Ti (Adapter 1)...
17:58:43: ------------------------------------------
17:58:43: Audio Format: 48000 Hz
17:58:43: ------------------------------------------
17:58:43: Audio Channels: 2 Ch
17:58:43: Playback device {0.0.0.00000000}.{f5e9e679-bb77-49fb-9d9e-4b9979427ff7}
17:58:43: ------------------------------------------
17:58:43: Using desktop audio input: Speakers / Headphones (Plantronics HD1)
17:58:43: Global Audio time adjust: 0
17:58:43: Using 7.1 surround speaker setup
17:58:43: ------------------------------------------
17:58:43: Using auxilary audio input: Microphone (Plantronics HD1)
17:58:43: Mic time offset: 0
17:58:43: ------------------------------------------
17:58:43: Audio Encoding: AAC
17:58:43: bitrate: 128
17:58:43: Using text output
17:58:43: Using graphics capture
17:58:43: Trying to hook process: swtor.exe
17:58:43: Scene buffering time set to 700
17:58:43: ------------------------------------------
17:58:43: Video Encoding: x264
17:58:43: fps: 25
17:58:43: width: 960, height: 540
17:58:43: preset: ultrafast
17:58:43: profile: main
17:58:43: keyint: 50
17:58:43: CBR: yes
17:58:43: CFR: yes
17:58:43: max bitrate: 1700
17:58:43: buffer size: 1700
17:58:43: ------------------------------------------
17:58:43: SharedTexCapture hooked
17:58:44: Using RTMP service: Twitch
17:58:44: Server selection: rtmp://live-dfw.twitch.tv/app
17:58:44: Interface: Ralink RT61 Turbo Wireless LAN Card (802.11, 54 mbps)
17:58:45: Completed handshake with rtmp://live-dfw.twitch.tv/app in 216 ms.
17:58:45: SO_SNDBUF was at 8192
17:58:45: SO_SNDBUF is now 65536
17:58:48: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 695 / 233472)
18:06:30: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 233472)
18:10:03: RTMPPublisher::SocketLoop: Stalled for 2597 ms to write 232618 bytes (buffer: 0 / 233472), unstable connection?
Some background:
I have looked through the suggested settings and read a few guides, and I have tried a variety of different settings either aimed to optimize or increase performance at the sake of decreasing quality (e.g. FPS, bitrates, x264 presets, resolution downscale, different games, etc). The above settings have given the highest average time before a crash, but it is still not acceptable. Before I am asked: yes, I read the analyzer's suggestions--they were both minor items, but I have tried using the default x264 CPU presets, and the "ultrafast" setting seems to increase the average time before the PC freezes. Also, I have tried using a LAN cable vs wireless--seems to have little/no impact. My speedtests today were averaging around 15 down / 3 up.
I have recently upgraded to the graphics card listed in the log, and it works great while not streaming (i.e. no crashes when playing--and yes, the drivers are up to date). The CPU is older, but it should not be causing the PC to freeze with the scaled down OBS settings. Any constructive suggestions/help is greatly appreciated =]