Bug Report Texture Map Failed w/ BF1

BackSH00TER

New Member
As the title states I am having the Texture-> Map Failed error in OBS when I try to stream Battlefield 1. The error only occurs while playing BF1 and works fine on all other games.

I've looked over this past thread about Texture->Map failed, but none of the solutions work:
https://obsproject.com/forum/threads/texture-map-error-read-this-first.29014/

Below are some of the things I have noticed that may help with determining the error (while playing BF1):
  • OBS still crashes if I have OBS on Preview mode (though it takes longer to crash)
  • OBS crashes within 1-3mins from when I start streaming
  • If I start stream but sit at the BF1 menu, it does not crash, only seems to happen once I load into a game
  • Running BF1 with DX11 not DX12
  • Tried switching Encoder from x264 to NVIDIA NVENC (both still crash)
Here is the OBS log:

Code:
21:50:21: CLR host plugin strings not found, dynamically loading 4 strings
21:50:21: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
21:50:21: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
21:50:21: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
21:50:21: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
21:50:21: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
21:50:21: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
21:50:21: CLRHost:: Could not find/load browser settings at location C:\Users\ttyle\AppData\Roaming\OBS\pluginData\browser.json
21:50:21: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\ttyle\AppData\Roaming\OBS\pluginData\browser.json'.
21:50:21: File name: 'C:\Users\ttyle\AppData\Roaming\OBS\pluginData\browser.json'
21:50:21:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
21:50:21:    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
21:50:21:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
21:50:21:    at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
21:50:21: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
21:50:22: Open Broadcaster Software v0.659b - 64bit ( ^ω^)
21:50:22: -------------------------------
21:50:22: CPU Name: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
21:50:22: CPU Speed: 3602MHz
21:50:22: Physical Memory:  16332MB Total, 6904MB Free
21:50:22: stepping id: 7, model 45, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
21:50:22: monitor 1: pos={0, 0}, size={1920, 1080}
21:50:22: monitor 2: pos={1920, 0}, size={1920, 1080}
21:50:22: Windows Version: 10.0 Build 14393 (revision 0)
21:50:22: Aero is Enabled
21:50:22: -------------------------------
21:50:22: OBS Modules:
21:50:22: Base Address     Module
21:50:22: 00000000C82D0000 OBS.exe
21:50:22: 00000000D2F20000 OBSApi.dll
21:50:22: 00000000EAE00000 CLRHostPlugin.dll
21:50:22: 00000000E6C20000 DShowPlugin.dll
21:50:22: 00000000EA710000 GraphicsCapture.dll
21:50:22: 00000000F0250000 NoiseGate.dll
21:50:22: 00000000E3A90000 PSVPlugin.dll
21:50:22: 00000000E3A60000 scenesw.dll
21:50:22: ------------------------------------------
21:50:22: Adapter 1
21:50:22:   Video Adapter: NVIDIA GeForce GTX 660 Ti
21:50:22:   Video Adapter Dedicated Video Memory: 2114125824
21:50:22:   Video Adapter Shared System Memory: 4268075008
21:50:22:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:50:22:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
21:50:22: =====Stream Start: 2016-11-01, 21:50:22===============================================
21:50:22:   Multithreaded optimizations: On
21:50:22:   Base resolution: 1920x1080
21:50:22:   Output resolution: 1280x720
21:50:22: ------------------------------------------
21:50:22: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
21:50:22: ------------------------------------------
21:50:22: Audio Format: 48000 Hz
21:50:22: ------------------------------------------
21:50:22: Audio Channels: 2 Ch
21:50:22: Playback device Default
21:50:22: ------------------------------------------
21:50:22: Using desktop audio input: Headset Earphone (Logitech G633 Gaming Headset)
21:50:22: Global Audio time adjust: 0
21:50:22: ------------------------------------------
21:50:22: Using auxilary audio input: Headset Microphone (Logitech G633 Gaming Headset)
21:50:22: Mic time offset: 0
21:50:22: ------------------------------------------
21:50:22: Audio Encoding: AAC
21:50:22:     bitrate: 128
21:50:23: Using text output
21:50:23: Using text output
21:50:23: Using bitmap image
21:50:23: Using graphics capture
21:50:23: Using bitmap image
21:50:23: Using anti-cheat hooking for game capture
21:50:23: Scene buffering time set to 700
21:50:23: Successfully loaded ObsNvenc.dll
21:50:23: ObsNvenc initialized successfully
21:50:23: CUDA loaded successfully
21:50:23: CLRHost:: Browser 1: Status message:
21:50:23: CLRHost:: Browser 2: Status message:
21:50:23: CLRHost:: Browser 2: Failed to set referrer policy: The value 'no-referrer' is not one of 'always', 'default', 'never', or 'origin'. Defaulting to 'never'. @http://streamlabs.com/alert-box/v3/B7FCE7766D4A33FBE9AA10
21:50:23: 1 CUDA capable devices found
21:50:23: [ GPU #0 - < GeForce GTX 660 Ti > has Compute SM 3.0, NVENC Available ]
21:50:23: NVENC internal init finished successfully
21:50:23: NVENC supports 8 h264 presets
21:50:23: ------------------------------------------
21:50:23: Video Encoding: NVENC
21:50:23:     fps: 45
21:50:23:     width: 1280, height: 720
21:50:23:     preset: llhq
21:50:23:     profile: high
21:50:23:     level: autoselect
21:50:23:     keyint: -1
21:50:23:     rcMode: minQP
21:50:23:     CBR: no
21:50:23:     CFR: yes
21:50:23:     max bitrate: 3000
21:50:23:     avg bitrate: 3000
21:50:23:     buffer size: 3000
21:50:23:     quality: 8
21:50:23: ------------------------------------------
21:50:29: Trying to hook process: bf1.exe
21:50:29: SharedTexCapture hooked
21:59:14: FlushBufferedVideo: Flushing 36 packets over 778 ms
21:59:15: Total frames encoded: 23874, total frames duplicated: 15195 (63.65%)
21:59:15: Total frames rendered: 9169, number of late frames: 6408 (69.89%) (it's okay for some frames to be late)
21:59:15: Encoder closed
21:59:15: NVENC deinitialized
21:59:15:
21:59:15: Profiler time results:
21:59:15:
21:59:15: ==============================================================
21:59:15: video thread frame - [100%] [avg time: 54.462 ms] [children: 92.4%] [unaccounted: 7.6%]
21:59:15: | scene->Preprocess - [0.279%] [avg time: 0.152 ms]
21:59:15: | GPU download and conversion - [92.1%] [avg time: 50.172 ms] [children: 2.41%] [unaccounted: 89.7%]
21:59:15: | | flush - [1.2%] [avg time: 0.653 ms]
21:59:15: | | CopyResource - [0.0477%] [avg time: 0.026 ms]
21:59:15: | | conversion to 4:2:0 - [1.16%] [avg time: 0.633 ms]
21:59:15: Convert444Threads - [100%] [avg time: 0.853 ms] [children: 99.3%] [unaccounted: 0.703%]
21:59:15: | Convert444toNV12 - [99.3%] [avg time: 0.847 ms]
21:59:15: encoder thread frame - [100%] [avg time: 3.376 ms] [children: 0.148%] [unaccounted: 99.9%]
21:59:15: | sending stuff out - [0.148%] [avg time: 0.005 ms]
21:59:15: ==============================================================
21:59:15:
21:59:15:
21:59:15: Profiler CPU results:
21:59:15:
21:59:15: ==============================================================
21:59:15: video thread frame - [cpu time: avg 1.542 ms, total 14140.6 ms] [avg calls per frame: 1]
21:59:15: | scene->Preprocess - [cpu time: avg 0.122 ms, total 1125 ms] [avg calls per frame: 1]
21:59:15: | GPU download and conversion - [cpu time: avg 0.26 ms, total 2390.63 ms] [avg calls per frame: 1]
21:59:15: | | flush - [cpu time: avg 0.199 ms, total 1828.13 ms] [avg calls per frame: 1]
21:59:15: | | CopyResource - [cpu time: avg 0.01 ms, total 93.75 ms] [avg calls per frame: 1]
21:59:15: | | conversion to 4:2:0 - [cpu time: avg 0.013 ms, total 125 ms] [avg calls per frame: 1]
21:59:15: Convert444Threads - [cpu time: avg 0.751 ms, total 13718.8 ms] [avg calls per frame: 2]
21:59:15: | Convert444toNV12 - [cpu time: avg 0.75 ms, total 13703.1 ms] [avg calls per frame: 2]
21:59:15: encoder thread frame - [cpu time: avg 0.106 ms, total 2531.25 ms] [avg calls per frame: 1]
21:59:15: | sending stuff out - [cpu time: avg 0.001 ms, total 31.25 ms] [avg calls per frame: 1]
21:59:15: ==============================================================
21:59:15:
21:59:15: =====Stream End: 2016-11-01, 21:59:15=================================================
21:59:16: =====Stream Start: 2016-11-01, 21:59:16===============================================
21:59:16:   Multithreaded optimizations: On
21:59:16:   Base resolution: 1920x1080
21:59:16:   Output resolution: 1280x720
21:59:16: ------------------------------------------
21:59:16: Loading up D3D10 on NVIDIA GeForce GTX 660 Ti (Adapter 1)...
21:59:17: ------------------------------------------
21:59:17: Audio Format: 48000 Hz
21:59:17: ------------------------------------------
21:59:17: Audio Channels: 2 Ch
21:59:17: Playback device Default
21:59:17: ------------------------------------------
21:59:17: Using desktop audio input: Headset Earphone (Logitech G633 Gaming Headset)
21:59:17: Global Audio time adjust: 0
21:59:17: ------------------------------------------
21:59:17: Using auxilary audio input: Headset Microphone (Logitech G633 Gaming Headset)
21:59:17: Mic time offset: 0
21:59:17: ------------------------------------------
21:59:17: Audio Encoding: AAC
21:59:17:     bitrate: 128
21:59:17: Using text output
21:59:17: Using text output
21:59:17: Using bitmap image
21:59:17: Using graphics capture
21:59:17: Using bitmap image
21:59:17: Using anti-cheat hooking for game capture
21:59:17: Trying to hook process: bf1.exe
21:59:17: Scene buffering time set to 700
21:59:17: 1 CUDA capable devices found
21:59:17: [ GPU #0 - < GeForce GTX 660 Ti > has Compute SM 3.0, NVENC Available ]
21:59:17: NVENC internal init finished successfully
21:59:17: NVENC supports 8 h264 presets
21:59:17: CLRHost:: Browser 3: Status message:
21:59:17: CLRHost:: Browser 4: Status message:
21:59:17: CLRHost:: Browser 4: Failed to set referrer policy: The value 'no-referrer' is not one of 'always', 'default', 'never', or 'origin'. Defaulting to 'never'. @http://streamlabs.com/alert-box/v3/B7FCE7766D4A33FBE9AA10
21:59:18: ------------------------------------------
21:59:18: Video Encoding: NVENC
21:59:18:     fps: 45
21:59:18:     width: 1280, height: 720
21:59:18:     preset: llhq
21:59:18:     profile: high
21:59:18:     level: autoselect
21:59:18:     keyint: -1
21:59:18:     rcMode: minQP
21:59:18:     CBR: no
21:59:18:     CFR: yes
21:59:18:     max bitrate: 3000
21:59:18:     avg bitrate: 3000
21:59:18:     buffer size: 3000
21:59:18:     quality: 8
21:59:18: ------------------------------------------
21:59:18: SharedTexCapture hooked
21:59:18: Audio timestamp for device 'Headset Microphone (Logitech G633 Gaming Headset)' was behind target timestamp by 379441337
21:59:19: Using RTMP service: Twitch
21:59:19:   Server selection: rtmp://live.twitch.tv/app
21:59:19:   Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
21:59:19: Completed handshake with rtmp://live.twitch.tv/app in 104 ms.
21:59:21: SO_SNDBUF was at 65536

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

Your video card or driver froze and was reset. Please check for possible hardware / driver issues. This error can also occur if you have enabled opencl in x264 custom settings.
 

Sapiens

Forum Moderator
Try updating to the latest version of OBS Studio and see if that helps. There's a workaround for the Windows 10 Anniversary Update bug which could be related to the error you're receiving.
 
Top