Bug Report OBS crashes ever since I got my new GPU (GTX 970)

Veetus

Member
Hello!

On my GTX 660 I never had issues with streaming. Never would OBS crash.

Ever since GTA 5 came out, I decided I needed upgrade my GPU. So I did. GTX 970. Also running i7 4770K and 16GB RAM on Windows 7.

I have gotten this crash error the last three nights: http://i.imgur.com/qAUUJBw.png

Tonight, something different happened and a NOTEPAD opened up with this in it:

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\system32\nvcuvid.dll' module.

**** UNHANDLED EXCEPTION: c0000005
Fault address: 175CD4C9 (c:\windows\system32\nvcuvid.dll)
OBS version: Open Broadcaster Software v0.651b
Windows version: 6.1 (Build 7601) Service Pack 1
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
2409DA78 175CD4C9 00000002 00000000 00000000 130E5458 nvcuvid.dll!0x175cd4c9
2409DAC0 77BAF6C5 00000000 2751D080 130E5458 1315ED38 nvencodeapi.dll!0x77baf6c5
2409DAEC 77BAEB56 2409DB3C 1309DF60 2751D080 12FF8980 nvencodeapi.dll!0x77baeb56
2409DB0C 77BAEDE6 2751D080 7EC3FC96 1309DF60 00000000 nvencodeapi.dll!0x77baede6
2409EB48 77BAC272 2751D080 7EC3FB9A 00000000 00260500 nvencodeapi.dll!0x77bac272
2409EB78 77BBA8F2 1309DF60 2409ECC8 7EDFB54F 00000000 nvencodeapi.dll!0x77bba8f2
2409EC84 59443B1D 2409F874 00F7CAB2 00260500 2409F850 obsnvenc.dll!NVENCEncoder::Encode+0x26d
2409F7E4 00F5FD47 0540EB15 00000000 0000000A 00000000 obs.exe!CircularList<unsigned int>::Add+0x37
2409F820 0F74CB9F 0009F900 00000000 00000000 00000000 obsapi.dll!ProfilerNode::MonitorThread+0x5f
2409F87C 00F7D1F3 7702337A 00000000 2409F990 77A092E2 obs.exe!OBS::EncodeLoop+0x443
2409F948 00F7BDE5 00000000 2409F990 77A092E2 00000000 obs.exe!OBS::EncodeThread+0x5
2409F94C 7702337A 00000000 53F1CC1F 00000000 00000000 kernel32.dll!0x7702337a
2409F958 77A092E2 00F7BDE0 00000000 00000000 00000000 ntdll.dll!0x77a092e2
2409F998 77A092B5 00F7BDE0 00000000 00000000 00000000 ntdll.dll!0x77a092b5

A minidump was saved to C:\Users\Vitus\AppData\Roaming\OBS\crashDumps\OBSCrashDump2015-05-15_1.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module

Here is the actual dump log:
Code:
21:12:52: CLR host plugin strings not found, dynamically loading 4 strings
21:12:52: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
21:12:52: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
21:12:52: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
21:12:52: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
21:12:52: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
21:12:52: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
21:12:52: CLRHost:: Could not find/load browser settings at location C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json
21:12:52: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json'.
21:12:52: File name: 'C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json'
21:12:52:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
21:12:52:    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:12:52:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
21:12:52:    at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
21:12:52: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
21:12:52: Video Source Plugin strings not found, dynamically loading 52 strings
21:15:32: Open Broadcaster Software v0.651b - 32bit (´・ω・`)
21:15:32: -------------------------------
21:15:32: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
21:15:32: CPU Speed: 3500MHz
21:15:32: Physical Memory:  4095MB Total, 4095MB Free
21:15:32: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
21:15:32: monitor 1: pos={0, 0}, size={1920, 1080}
21:15:32: monitor 2: pos={1920, 0}, size={1920, 1080}
21:15:32: Windows Version: 6.1 Build 7601 S
21:15:32: Aero is Enabled
21:15:32: -------------------------------
21:15:32: OBS Modules:
21:15:32: Base Address     Module
21:15:32: 00F20000         OBS.exe
21:15:32: 0F730000         OBSApi.dll
21:15:32: 5FB30000         CLRHostPlugin.dll
21:15:32: 5F790000         DShowPlugin.dll
21:15:32: 5F760000         GraphicsCapture.dll
21:15:32: 5F730000         NoiseGate.dll
21:15:32: 5FAE0000         PSVPlugin.dll
21:15:32: 5F710000         scenesw.dll
21:15:32: 61110000         VideoSourcePluginWrapper.dll
21:15:32: ------------------------------------------
21:15:32: Adapter 1
21:15:32:   Video Adapter: NVIDIA GeForce GTX 970
21:15:32:   Video Adapter Dedicated Video Memory: 3221225472
21:15:32:   Video Adapter Shared System Memory: 1073676288
21:15:32:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
21:15:32:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
21:15:32: =====Stream Start: 2015-05-14, 21:15:32===============================================
21:15:32:   Multithreaded optimizations: On
21:15:32:   Base resolution: 1920x1080
21:15:32:   Output resolution: 1280x720
21:15:32: ------------------------------------------
21:15:32: Loading up D3D10 on NVIDIA GeForce GTX 970 (Adapter 1)...
21:15:32: ------------------------------------------
21:15:32: Audio Format: 48000 Hz
21:15:32: ------------------------------------------
21:15:32: Audio Channels: 2 Ch
21:15:32: Playback device Default
21:15:32: ------------------------------------------
21:15:32: Using desktop audio input: Speakers (9- Logitech G430 Gaming Headset)
21:15:32: Global Audio time adjust: 0
21:15:32: Using 7.1 surround speaker setup
21:15:32: ------------------------------------------
21:15:32: Using auxilary audio input: Microphone (9- Logitech G430 Gaming Headset)
21:15:32: Mic time offset: 0
21:15:32: ------------------------------------------
21:15:32: Audio Encoding: AAC
21:15:32:     bitrate: 128
21:15:32: Using text output
21:15:34: Using bitmap image
21:15:34: Scene buffering time set to 400
21:15:34: Successfully loaded ObsNvenc.dll
21:15:34: ObsNvenc initialized successfully
21:15:34: CUDA loaded successfully
21:15:34: 1 CUDA capable devices found
21:15:34: [ GPU #0 - < GeForce GTX 970 > has Compute SM 5.2, NVENC Available ]
21:15:34: NVENC internal init finished successfully
21:15:35: NVENC supports 10 h264 presets
21:15:35: ------------------------------------------
21:15:35: Video Encoding: NVENC
21:15:35:     fps: 60
21:15:35:     width: 1280, height: 720
21:15:35:     preset: llhq
21:15:35:     profile: main
21:15:35:     level: autoselect
21:15:35:     keyint: 120
21:15:35:     CBR: yes
21:15:35:     CFR: yes
21:15:35:     max bitrate: 2750
21:15:35:     avg bitrate: 2750
21:15:35:     buffer size: 2750
21:15:35: ------------------------------------------
21:15:36:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
21:15:36: Completed handshake with rtmp://us-west.restream.io/live in 545 ms.
21:15:39: SO_SNDBUF was at 8192
21:15:39: SO_SNDBUF is now 65536
21:18:08: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
21:18:08:   New Scene
21:18:08: Using text output
21:18:08: Using text output
21:18:08: Using text output
21:18:08: Using text output
21:18:08: Using text output
21:18:08: Using text output
21:18:09: CLRHost:: Browser 2: Status message:
21:18:09: CLRHost:: Browser 3: Status message:
21:18:09: CLRHost:: Browser 2: 5 @http://www.twitchalerts.com/widgets/donation-ticker?token=8739B0A16870320802FD129
21:18:10: Using bitmap image
21:18:10: ------------------------------------------
21:18:10:     device: Logitech HD Pro Webcam C920,
21:18:10:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&11fae0c8&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
21:18:10:     chosen type: I420, usingFourCC: false, res: 960x720 - 960x720, frameIntervals: 333333-2000000
21:18:10:     use buffering: false - 20000, fourCC: 'I420'
21:18:10:     audio device: Disable,
21:18:10:     audio device id Disabled,
21:18:10:     audio time offset 0,
21:18:10:
21:18:10: Using directshow input
21:18:10: Using graphics capture
21:18:10: Trying to hook process: GTA5.exe
21:18:11: PERFORMANCE WARNING: Scene change took 2546 ms, maybe some sources should be global sources?
21:18:11: SharedTexCapture hooked
21:18:12: CLRHost:: Browser 1: Status message:
21:33:36: nvEncEncodePicture failed with error 0xa

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.

I've uploaded the Crash Dump file.

What else do you need to know to help me fix this? Thanks for any help in advance.

Veetus
 

R1CH

Forum Admin
Developer
Post a crash log with NVENC disabled then, since this log shows it crashing in NVENC.
 

Veetus

Member
Code:
20:24:58: CLR host plugin strings not found, dynamically loading 4 strings
20:24:58: CLRHost::Initialize() attempting to load and start the .NET runtime (null)
20:24:58: CLRHost::Initialize() Found version v2.0.50727 .NET runtime
20:24:58: CLRHost::Initialize() Found version v4.0.30319 .NET runtime
20:24:58: CLRHost::Initialize() attempting to use v4.0.30319 .NET runtime
20:24:58: CLRHost::LoadInteropLibrary() load the assembly plugins\CLRHostPlugin\CLRHost.Interop.dll
20:24:58: CLRHost::LoadPlugins() attempting to load the plugin assembly CLRBrowserSourcePlugin
20:24:58: CLRHost:: Could not find/load browser settings at location C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json
20:24:58: CLRHost:: Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json'.
20:24:58: File name: 'C:\Users\Vitus\AppData\Roaming\OBS\pluginData\browser.json'
20:24:58:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
20:24:58:    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)
20:24:58:    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
20:24:58:    at CLRBrowserSourcePlugin.Shared.BrowserSettings.Reload()
20:24:58: CLRHost::LoadPlugins() successfully added CLR plugin [Type: CLRBrowserSourcePlugin.CLRBrowserSourcePlugin, Name: CLR Browser Source Plugin]
20:24:58: Video Source Plugin strings not found, dynamically loading 52 strings
20:37:24: Open Broadcaster Software v0.651b - 32bit (´・ω・`)
20:37:24: -------------------------------
20:37:24: CPU Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
20:37:24: CPU Speed: 3500MHz
20:37:24: Physical Memory:  4095MB Total, 1992MB Free
20:37:24: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
20:37:24: monitor 1: pos={0, 0}, size={1920, 1080}
20:37:24: monitor 2: pos={1920, 0}, size={1920, 1080}
20:37:24: Windows Version: 6.1 Build 7601 S
20:37:24: Aero is Enabled
20:37:24: -------------------------------
20:37:24: OBS Modules:
20:37:24: Base Address     Module
20:37:24: 00BF0000         OBS.exe
20:37:24: 5F940000         OBSApi.dll
20:37:24: 609B0000         CLRHostPlugin.dll
20:37:24: 5F8A0000         DShowPlugin.dll
20:37:24: 5F870000         GraphicsCapture.dll
20:37:24: 5F840000         NoiseGate.dll
20:37:24: 607C0000         PSVPlugin.dll
20:37:24: 5F820000         scenesw.dll
20:37:24: 60970000         VideoSourcePluginWrapper.dll
20:37:24: ------------------------------------------
20:37:24: Adapter 1
20:37:24:   Video Adapter: NVIDIA GeForce GTX 970
20:37:24:   Video Adapter Dedicated Video Memory: 3221225472
20:37:24:   Video Adapter Shared System Memory: 1073676288
20:37:24:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
20:37:24:   Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
20:37:24: =====Stream Start: 2015-05-13, 20:37:24===============================================
20:37:24:   Multithreaded optimizations: On
20:37:24:   Base resolution: 1920x1080
20:37:24:   Output resolution: 1280x720
20:37:24: ------------------------------------------
20:37:24: Loading up D3D10 on NVIDIA GeForce GTX 970 (Adapter 1)...
20:37:24: ------------------------------------------
20:37:24: Audio Format: 48000 Hz
20:37:24: ------------------------------------------
20:37:24: Audio Channels: 2 Ch
20:37:24: Playback device Default
20:37:24: ------------------------------------------
20:37:24: Using desktop audio input: Speakers (9- Logitech G430 Gaming Headset)
20:37:24: Global Audio time adjust: 0
20:37:24: Using 7.1 surround speaker setup
20:37:24: ------------------------------------------
20:37:24: Using auxilary audio input: Microphone (9- Logitech G430 Gaming Headset)
20:37:24: Mic time offset: 0
20:37:24: ------------------------------------------
20:37:24: Audio Encoding: AAC
20:37:24:     bitrate: 128
20:37:24: Using text output
20:37:24: Using bitmap image
20:37:24: Scene buffering time set to 400
20:37:24: ------------------------------------------
20:37:24: Video Encoding: x264
20:37:24:     fps: 60
20:37:24:     width: 1280, height: 720
20:37:24:     preset: veryfast
20:37:24:     profile: main
20:37:24:     keyint: 120
20:37:24:     CBR: yes
20:37:24:     CFR: yes
20:37:24:     max bitrate: 2750
20:37:24:     buffer size: 2750
20:37:24: ------------------------------------------
20:37:26:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
20:37:27: Completed handshake with rtmp://us-west.restream.io/live in 803 ms.
20:37:29: SO_SNDBUF was at 8192
20:37:29: SO_SNDBUF is now 65536
20:39:48: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:39:48:   New Scene
20:39:49: Using text output
20:39:49: Using text output
20:39:49: Using text output
20:39:49: Using text output
20:39:49: Using text output
20:39:49: Using text output
20:39:49: Using bitmap image
20:39:49: ------------------------------------------
20:39:49:     device: Logitech HD Pro Webcam C920,
20:39:49:     device id \\?\usb#vid_046d&pid_082d&mi_00#7&11fae0c8&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
20:39:49:     chosen type: I420, usingFourCC: false, res: 960x720 - 960x720, frameIntervals: 333333-2000000
20:39:49:     use buffering: false - 20000, fourCC: 'I420'
20:39:49:     audio device: Disable,
20:39:49:     audio device id Disabled,
20:39:49:     audio time offset 0,
20:39:49:
20:39:49: Using directshow input
20:39:49: Using graphics capture
20:39:49: Trying to hook process: GTA5.exe
20:39:49: PERFORMANCE WARNING: Scene change took 935 ms, maybe some sources should be global sources?
20:39:50: SharedTexCapture hooked
20:39:50: CLRHost:: Browser 2: Status message:
20:39:50: CLRHost:: Browser 3: Status message:
20:39:50: CLRHost:: Browser 2: 5 @http://www.twitchalerts.com/widgets/donation-ticker?token=8739B0A16870320802FD129
20:39:52: CLRHost:: Browser 1: Status message:
20:59:30: Audio timestamp for device 'Microphone (9- Logitech G430 Gaming Headset)' was behind target timestamp by 80
21:31:17: Audio timestamp for device 'Microphone (9- Logitech G430 Gaming Headset)' was behind target timestamp by 90
21:35:59: Audio timestamp for device 'Microphone (9- Logitech G430 Gaming Headset)' was behind target timestamp by 100

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

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.
 

R1CH

Forum Admin
Developer
Your GPU isn't stable. Try downclocking it and make sure your PSU is sufficient, or try different driver versions.
 

Kenshii

Member
Got this same Problem too since i got my GTX 960. and i try downclocking too and i got this message 2 times already and got the GraphicCard since 2 Weeks. I use different driver versions but this happened today again with the newest nVidia driver.
 

Kenshii

Member
The Drivers for nVidia are always the same. And there comes a new driver out for The Witcher 3, I dont use Beta drivers and this Problem and Error Message comes only when i Stream with OBS. When iam not Streaming i can play for hours without any Problem.

Try OBS Multiplatform for 3 days and got this freeze only 1 time.
 

R1CH

Forum Admin
Developer
Apparently you need to underclock or overvolt your GPU to get it stable since the stock settings are not good enough.
 

dbl

New Member
Same problem here. GTX 970. Games work without OBS. But when I stream I see random Timeout Detection & Recovery followed by OBS crash with the same message. I didn't have this problem before with my old 560Ti.
 
Top