sneaky4oe
Member
Hi, I tried to stream with OpenCL a few times, and it always cased crash of my desctop - I had to restart all of my streaming software and games along with windows explorer. Unfortunately I didn't manage to find the correct log for this, but I just made a 15 minutes long stream with OpenCL, and it was successful (tried counter-strike: GO and Dota 2).
VOD is available here: http://www.twitch.tv/sneaky4oe/b/497782174
And it's not as smooth as via CPU with similar settings.
Can you please say what might be wrong and cause crashes (even though there is no crash log here)? My videocard starts making slightly hearing high frequency sound afret I launch the stream with OpenCL.
What information should I provide to help to improve this situation?
Code:
19:07:38: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
19:07:38: -------------------------------
19:07:38: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
19:07:38: CPU Speed: 4008MHz
19:07:38: Physical Memory: 4095MB Total, 4095MB Free
19:07:38: stepping id: 0, model 2, family 21, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
19:07:38: monitor 1: pos={0, 0}, size={1920, 1080}
19:07:38: monitor 2: pos={1920, 0}, size={1920, 1080}
19:07:38: Windows Version: 6.2 Build 9200
19:07:38: Aero is Enabled
19:07:38: -------------------------------
19:07:38: OBS Modules:
19:07:38: Base Address Module
19:07:38: 01150000 OBS.exe
19:07:38: 6E6D0000 OBSApi.dll
19:07:38: 6E490000 DShowPlugin.dll
19:07:38: 6E470000 GraphicsCapture.dll
19:07:38: 6E450000 NoiseGate.dll
19:07:38: 6E430000 PSVPlugin.dll
19:07:38: 6E400000 WebSocketAPIPlugin.dll
19:07:38: ------------------------------------------
19:07:38: Adapter 1
19:07:38: Video Adapter: AMD Radeon HD 7800 Series
19:07:38: Video Adapter Dedicated Video Memory: 2128662528
19:07:38: Video Adapter Shared System Memory: 2166239232
19:07:38: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:07:38: Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
19:07:38: =====Stream Start: 2014-01-24, 19:07:38===============================================
19:07:38: Multithreaded optimizations: On
19:07:38: Base resolution: 1920x1080
19:07:38: Output resolution: 1920x1080
19:07:38: ------------------------------------------
19:07:38: Loading up D3D10 on AMD Radeon HD 7800 Series (Adapter 1)...
19:07:38: ------------------------------------------
19:07:38: Audio Format: 48000hz
19:07:38: Playback device Default
19:07:38: ------------------------------------------
19:07:38: Using desktop audio input: Динамики (Creative SB X-Fi)
19:07:38: Using 5.1 speaker setup
19:07:38: ------------------------------------------
19:07:38: Using auxilary audio input: Микрофон (Realtek High Definition Audio)
19:07:38: ------------------------------------------
19:07:38: Audio Encoding: AAC
19:07:38: bitrate: 128
19:07:38: Using Window Capture
19:07:38: Using Monitor Capture
19:07:38: Scene buffering time set to 400
19:07:38: Using custom x264 settings: "opencl=true"
19:07:39: ------------------------------------------
19:07:39: Video Encoding: x264
19:07:39: fps: 30
19:07:39: width: 1920, height: 1080
19:07:39: preset: faster
19:07:39: profile: main
19:07:39: keyint: 60
19:07:39: CBR: yes
19:07:39: CFR: yes
19:07:39: max bitrate: 4000
19:07:39: buffer size: 4000
19:07:39: ------------------------------------------
19:07:39: MMDeviceAudioSource: Frequency for device 'Динамики (Creative SB X-Fi)' is 1152000, samples per sec is 48000
19:07:39: MMDeviceAudioSource: Frequency for device 'Микрофон (Realtek High Definition Audio)' is 352800, samples per sec is 44100
19:07:39: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
19:07:41: Using RTMP service: Twitch / Justin.tv
19:07:41: Server selection: rtmp://live-jfk.justin.tv/app
19:07:41: Interface: ®â஫«¥à ᥬ¥©á⢠Realtek PCIe GBE (ethernet, 100 mbps)
19:07:41: Completed handshake with rtmp://live-jfk.justin.tv/app in 528 ms.
19:07:43: SO_SNDBUF was at 65536
19:07:43: SO_SNDBUF is now 65536
19:07:44: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 528384)
19:07:44: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 24301 / 528384)
19:07:44: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 128140 / 528384)
19:07:46: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 1048576 (buffer: 0 / 528384)
19:07:56: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 2097152 (buffer: 0 / 528384)
19:08:52: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:08:52: New Scene
19:08:52: Using Monitor Capture
19:10:09: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:10:09: New Scene
19:10:09: Using Window Capture
19:10:09: Using Window Capture
19:10:09: ------------------------------------------
19:10:09: device: Logitech HD Webcam C270,
19:10:09: device id \\?\usb#vid_046d&pid_0825&mi_00#6&21a823ce&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
19:10:09: chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
19:10:09: use buffering: false - 0, fourCC: 'I420'
19:10:09: audio device: Disable,
19:10:09: audio device id Disabled,
19:10:09:
19:10:10: Using directshow input
19:10:12: Using bitmap image
19:10:12: Using Monitor Capture
19:10:12: Using graphics capture
19:10:12: PERFORMANCE WARNING: Scene change took 2319 ms, maybe some sources should be global sources?
19:10:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:10:13: New Scene
19:10:13: Using graphics capture
19:10:18: SharedTexCapture hooked
19:15:03: GraphicsCaptureSource::NewCapture: eliminating old capture
19:15:03: SharedTexCapture hooked
19:15:30: GraphicsCaptureSource::NewCapture: eliminating old capture
19:15:30: SharedTexCapture hooked
19:17:35: Capture window 0x009C0A50 invalid or changing, terminating capture
19:17:37: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
19:17:37: New Scene
19:17:37: Using bitmap image
19:17:37: Using graphics capture
19:17:55: SharedTexCapture hooked
19:22:41: Total frames encoded: 27056, total frames duplicated: 542 (2.00%)
19:22:41: Number of frames skipped due to encoder lag: 248 (0.92%)
19:22:41: Total frames rendered: 26736, number of late frames: 23 (0.09%) (it's okay for some frames to be late)
19:22:41: RTMPPublisher::SocketLoop: Graceful loop exit
19:22:41: Average send payload: 7738 bytes, average send interval: 14 ms
19:22:41: Number of times waited to send: 2, Waited for a total of 8194 bytes
19:22:41: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:22:41: Number of bytes sent: 464261772
19:22:41:
19:22:41: Profiler time results:
19:22:41:
19:22:41: ==============================================================
19:22:41: video thread frame - [100%] [avg time: 2.581 ms] [children: 67.9%] [unaccounted: 32.1%]
19:22:41: | scene->Preprocess - [52.7%] [avg time: 1.36 ms]
19:22:41: | GPU download and conversion - [15.2%] [avg time: 0.392 ms] [children: 13.6%] [unaccounted: 1.59%]
19:22:41: | | flush - [12.6%] [avg time: 0.324 ms]
19:22:41: | | CopyResource - [0.736%] [avg time: 0.019 ms]
19:22:41: | | conversion to 4:2:0 - [0.31%] [avg time: 0.008 ms]
19:22:41: Convert444Threads - [100%] [avg time: 2.002 ms] [children: 99.3%] [unaccounted: 0.749%]
19:22:41: | Convert444toNV12 - [99.3%] [avg time: 1.987 ms]
19:22:41: encoder thread frame - [100%] [avg time: 4.027 ms]
19:22:41: ==============================================================
19:22:41:
19:22:41:
19:22:41: Profiler CPU results:
19:22:41:
19:22:41: ==============================================================
19:22:41: video thread frame - [cpu time: avg 1.092 ms, total 29219 ms] [avg calls per frame: 1]
19:22:41: | scene->Preprocess - [cpu time: avg 0.536 ms, total 14352.1 ms] [avg calls per frame: 1]
19:22:41: | GPU download and conversion - [cpu time: avg 0.107 ms, total 2886.02 ms] [avg calls per frame: 1]
19:22:41: | | flush - [cpu time: avg 0.06 ms, total 1606.81 ms] [avg calls per frame: 1]
19:22:41: | | CopyResource - [cpu time: avg 0.021 ms, total 577.202 ms] [avg calls per frame: 1]
19:22:41: | | conversion to 4:2:0 - [cpu time: avg 0.004 ms, total 109.201 ms] [avg calls per frame: 1]
19:22:41: Convert444Threads - [cpu time: avg 1.792 ms, total 95784.6 ms] [avg calls per frame: 2]
19:22:41: | Convert444toNV12 - [cpu time: avg 1.783 ms, total 95316.6 ms] [avg calls per frame: 2]
19:22:41: encoder thread frame - [cpu time: avg 2.437 ms, total 65910.4 ms] [avg calls per frame: 1]
19:22:41: ==============================================================
19:22:41:
19:22:41: =====Stream End: 2014-01-24, 19:22:41=================================================
19:22:45: =====Stream Start: 2014-01-24, 19:22:45===============================================
19:22:45: Multithreaded optimizations: On
19:22:45: Base resolution: 1920x1080
19:22:45: Output resolution: 1920x1080
19:22:45: ------------------------------------------
19:22:45: Loading up D3D10 on AMD Radeon HD 7800 Series (Adapter 1)...
19:22:45: ------------------------------------------
19:22:45: Audio Format: 48000hz
19:22:45: Playback device Default
19:22:45: ------------------------------------------
19:22:45: Using desktop audio input: Динамики (Creative SB X-Fi)
19:22:45: Using 5.1 speaker setup
19:22:45: ------------------------------------------
19:22:45: Using auxilary audio input: Микрофон (Realtek High Definition Audio)
19:22:45: ------------------------------------------
19:22:45: Audio Encoding: AAC
19:22:45: bitrate: 128
19:22:45: Using Monitor Capture
19:22:45: Using Window Capture
19:22:45: Using bitmap image
19:22:45: ------------------------------------------
19:22:45: device: Logitech HD Webcam C270,
19:22:45: device id \\?\usb#vid_046d&pid_0825&mi_00#6&21a823ce&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
19:22:45: chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000
19:22:45: use buffering: false - 0, fourCC: 'I420'
19:22:45: audio device: Disable,
19:22:45: audio device id Disabled,
19:22:45:
19:22:45: Using directshow input
19:22:46: Using graphics capture
19:22:46: Scene buffering time set to 400
19:22:46: Using custom x264 settings: "opencl=true"
19:22:46: ------------------------------------------
19:22:46: Video Encoding: x264
19:22:46: fps: 30
19:22:46: width: 1920, height: 1080
19:22:46: preset: faster
19:22:46: profile: main
19:22:46: keyint: 60
19:22:46: CBR: yes
19:22:46: CFR: yes
19:22:46: max bitrate: 4000
19:22:46: buffer size: 4000
19:22:46: ------------------------------------------
19:22:46: MMDeviceAudioSource: Frequency for device 'Динамики (Creative SB X-Fi)' is 1152000, samples per sec is 48000
19:22:46: MMDeviceAudioSource: Frequency for device 'Микрофон (Realtek High Definition Audio)' is 352800, samples per sec is 44100
19:22:46: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
19:22:47: Total frames encoded: 4, total frames duplicated: 0 (0.00%)
19:22:47: Total frames rendered: 22, number of late frames: 1 (4.55%) (it's okay for some frames to be late)
19:22:47:
19:22:47: Profiler time results:
19:22:47:
19:22:47: ==============================================================
19:22:47: video thread frame - [100%] [avg time: 2.16 ms] [children: 70%] [unaccounted: 30%]
19:22:47: | scene->Preprocess - [60%] [avg time: 1.295 ms]
19:22:47: | GPU download and conversion - [10.1%] [avg time: 0.218 ms] [children: 10.3%] [unaccounted: -0.231%]
19:22:47: | | flush - [9.26%] [avg time: 0.2 ms]
19:22:47: | | CopyResource - [0.648%] [avg time: 0.014 ms]
19:22:47: | | conversion to 4:2:0 - [0.417%] [avg time: 0.009 ms]
19:22:47: Convert444Threads - [100%] [avg time: 2.053 ms] [children: 99.5%] [unaccounted: 0.536%]
19:22:47: | Convert444toNV12 - [99.5%] [avg time: 2.042 ms]
19:22:47: encoder thread frame - [100%] [avg time: 14.204 ms]
19:22:47: ==============================================================
19:22:47:
19:22:47:
19:22:47: Profiler CPU results:
19:22:47:
19:22:47: ==============================================================
19:22:47: video thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:22:47: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:22:47: | GPU download and conversion - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:22:47: | | flush - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:22:47: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
19:22:47: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 0]
19:22:47: Convert444Threads - [cpu time: avg 2.6 ms, total 31.2 ms] [avg calls per frame: 2]
19:22:47: | Convert444toNV12 - [cpu time: avg 2.6 ms, total 31.2 ms] [avg calls per frame: 2]
19:22:47: encoder thread frame - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:22:47: ==============================================================
19:22:47:
19:22:47: =====Stream End: 2014-01-24, 19:22:47=================================================
VOD is available here: http://www.twitch.tv/sneaky4oe/b/497782174
And it's not as smooth as via CPU with similar settings.
Can you please say what might be wrong and cause crashes (even though there is no crash log here)? My videocard starts making slightly hearing high frequency sound afret I launch the stream with OpenCL.
What information should I provide to help to improve this situation?