Bug Report OpenCL still crashing

z0rz

Member
OpenCL is still crashing for me like it did with the test builds. The stream will work for about a minute before the driver/OBS crashes (Error: Texture->Map failed: 0x887a0005 0x887a0007). Any hope for me to fix this or is it still a common problem?

I have a Sapphire Radeon HD 7870 and I've tried Catalyst 13.4 (current version) and 13.6 (beta).

Code:
17:03:32: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
17:03:32: -------------------------------
17:03:32: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
17:03:32: CPU Speed: 3410MHz
17:03:32: Physical Memory:  4095MB Total, 4095MB Free
17:03:32: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
17:03:32: monitor 1: pos={1920, 0}, size={1680, 1050}
17:03:32: monitor 2: pos={0, 0}, size={1920, 1080}
17:03:32: Windows Version: 6.1 Build 7601 S
17:03:32: Aero is Enabled
17:03:32: -------------------------------
17:03:32: OBS Modules:
17:03:32: Base Address     Module
17:03:32: 01060000         OBS.exe
17:03:32: 69710000         OBSApi.dll
17:03:32: 6CE80000         DShowPlugin.dll
17:03:32: 6C980000         GraphicsCapture.dll
17:03:32: 6C890000         NoiseGate.dll
17:03:32: 6C780000         PSVPlugin.dll
17:03:32: 71FB0000         SC2SceneSwitcher.dll
17:03:32: 6C670000         scenesw.dll
17:03:32: ------------------------------------------
17:03:32: Adapter 1
17:03:32:   Video Adapter: AMD Radeon HD 7800 Series
17:03:32:   Video Adapter Dedicated Video Memory: 2120425472
17:03:32:   Video Adapter Shared System Memory: 2174476288
17:03:32: ------------------------------------------
17:03:32: Adapter 2
17:03:32:   Video Adapter: Intel(R) HD Graphics 3000
17:03:32:   Video Adapter Dedicated Video Memory: 1073741824
17:03:32:   Video Adapter Shared System Memory: 771751936
17:03:32: =====Stream Start: 2013-07-11, 17:03:32===============================================
17:03:32:   Multithreaded optimizations: On
17:03:32:   Base resolution: 1920x1080
17:03:32:   Output resolution: 1920x1080
17:03:32: ------------------------------------------
17:03:32: Loading up D3D10...
17:03:32: Playback device {0.0.0.00000000}.{6a8748a8-3eb1-4f3d-be65-dd83de700483}
17:03:32: ------------------------------------------
17:03:32: Using desktop audio input: Ti-HD Headphones (Creative SB X-Fi)
17:03:32: ------------------------------------------
17:03:32: Using auxilary audio input: Ti-HD Mic (Creative SB X-Fi)
17:03:32: ------------------------------------------
17:03:32: Audio Encoding: AAC
17:03:32:     bitrate: 160
17:03:32: Using text output
17:03:32: Using Monitor Capture
17:03:32: Using custom x264 settings: "opencl=true"
17:03:32: ------------------------------------------
17:03:32: Video Encoding: x264
17:03:32:     fps: 60
17:03:32:     width: 1920, height: 1080
17:03:32:     preset: veryfast
17:03:32:     CBR: yes
17:03:32:     CFR: no
17:03:32:     max bitrate: 2600
17:03:32: ------------------------------------------
17:03:34: Using RTMP service: Twitch / Justin.tv
17:03:34:   Server selection: rtmp://live-lax.justin.tv/app
17:03:35: SO_SNDBUF was at 8192
17:03:35: SO_SNDBUF is now 65536
17:03:36: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:03:36:   New Scene
17:03:36: Using graphics capture
Warning -- SharedTexCapture::Init: Could not open file mapping: 2
17:03:37: SharedTexCapture hooked

Error: Texture->Map failed: 0x887a0005 0x887a0007

Your video card or driver froze and was reset. Please check for possible hardware / driver issues.
17:04:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:04:48:   New Scene
17:04:48: Using Monitor Capture
 

Floatingthru

Community Helper
Seems to be a common problem with certain GPU's/drivers. I streamed for an hour and a half with the new build using OpenCL and it was fine. I use a GTX 670 with 320.49 drivers. Nothing really can be done on OBS side since this is an issue with x264. The devs of x264 have to the ones to fix this issue.
 

R1CH

Forum Admin
Developer
More likely it's a problem with the video drivers / GPU if it's causing device failures.
 

z0rz

Member
Yeah, I was hoping the latest beta drivers would give me different results but it's more of the same. I tried underclocking and overclocking my GPU and changing some Catalyst settings, nothing helped :(

I figured it had more to do with the x264 side of things, but the fact that it works for some and not others has me wondering what the differences are that would allow some people to utilize OpenCL without issues. Could it be related to OBS settings? Other Catalyst/NVidia settings?

I'm sure this will get ironed out soon enough, but I'm still a bit curious.
 
Top