Bug Report Crash on desktop capture on two gpu laptop...

Caliber Mengsk

New Member
So a month or two ago, I switch to a new laptop I just bought instead of the desktop I was using. I had an issue when I first got it that I couldn't capture any games. This was simply due to the fact the games were running on the intel card in the laptop instead of the nvidia card that the games were running on. Simple fix was simply to tell the nvidia display properties to force obs to open with the nvidia card. Problem solved.

Well, recently, I've had the need to screen record the desktop. It starts to display the desktop being captured and everything is fine for the first few seconds most the time. After that it crashes. Sometimes it crashes instantly on trying to capture the desktop. I'm fairly certain this is the same issue where the program is trying to capture the intel run desktop from the nvidia run program. This is using Windows 8.1 (and the issue was there in windows 8.0).

I don't remember if it gave a specific error code, but there was a crash box that popped up. I'll do it again tonight and see if it crashes, and if it does, get a screenshot. I know I should have all this before submitting the bug report, but still... I thought you should know about it.
 

Krazy

Town drunk
If you are on Windows 8.1 with an NVIDIA dual GPU laptop, this is a known crash. For the time being you will have to avoid monitor capture.
 

Caliber Mengsk

New Member
Ok, thanks for letting me know. I tried to do it again, and it gave me a different crash this time. It made a full crash report instead of just a messagebox saying it broke and needed to close.
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\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: 80000003
Fault address: 00007FFA7A7B9532 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.583b
Windows version: 6.2 (Build 9200)
CPU: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
00000000003DEDD8 00007FFA7A7B9532 00007FFA6A035810 0000000000007530 00000000003DED38 00000000003DF430 kernelbase.dll!0x7ffa7a7b9532
00000000003DEDE0 00007FFA69EAD123 0000000000000001 0000195000001950 0000000000000000 0000195000000000 obsapi.dll!OSTerminateThread+0x33
00000000003DEE10 00007FF6BDAC137D 0000000000000001 00000000003DF430 0000000000861000 0000000000000000 obs.exe!OBS::Stop+0x9d
00000000003DEEA0 00007FF6BDABC27F 0000000000000000 0000000000000001 00000000003DF430 0000000000000000 obs.exe!OBS::~OBS+0x3f
00000000003DF300 00007FF6BDABC214 0000000000010AEA 00000000003DF430 0000000000861000 0000000000861000 obs.exe!OBS::`scalar deleting destructor'+0x14
00000000003DF330 00007FF6BDAB4FEB 0000000000000000 0000000000000000 00007FF6BDA90000 0000000000000000 obs.exe!WinMain+0xa1b
00000000003DF8D0 00007FF6BDB2AAE0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!strstr+0x1ac
00000000003DF980 00007FFA7ACD15BD 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffa7acd15bd
00000000003DF9B0 00007FFA7D2B43D1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffa7d2b43d1

A minidump was saved to C:\Users\Randy\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-11-06_1.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address Module
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
That second log is actually a different crash, usually triggered when you have massive network drops or frame lag. You happen to have a log from that particular session?
 

Caliber Mengsk

New Member
I haven't run it after that last crash that I remember, so here's the log.
09:39:46: Open Broadcaster Software v0.583b - 64bit ( ^ω^)
09:39:46: -------------------------------
09:39:46: CPU Name: Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
09:39:46: CPU Speed: 2394MHz
09:39:46: Physical Memory: 12207MB Total, 9215MB Free
09:39:46: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
09:39:46: monitor 1: pos={0, 0}, size={1920, 1080}
09:39:46: monitor 2: pos={1920, 0}, size={1920, 1080}
09:39:46: Windows Version: 6.2 Build 9200
09:39:46: Aero is Enabled
09:39:46: -------------------------------
09:39:46: OBS Modules:
09:39:46: Base Address Module
09:39:46: 00000000BDA90000 OBS.exe
09:39:46: 0000000069E80000 OBSApi.dll
09:39:46: 000000006E250000 DShowPlugin.dll
09:39:46: 000000006E070000 GraphicsCapture.dll
09:39:46: 000000006E050000 NoiseGate.dll
09:39:46: 000000006A100000 PSVPlugin.dll
09:39:46: ------------------------------------------
09:39:46: Adapter 1
09:39:46: Video Adapter: Intel(R) HD Graphics 4600
09:39:46: Video Adapter Dedicated Video Memory: 0
09:39:46: Video Adapter Shared System Memory: 1879048192
09:39:46: Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
09:39:46: Video Adapter Output 2: pos={1920, 0}, size={1920, 1080}, attached=true
09:39:46: ------------------------------------------
09:39:46: Adapter 2
09:39:46: Video Adapter: NVIDIA GeForce GTX 765M
09:39:46: Video Adapter Dedicated Video Memory: 2085482496
09:39:46: Video Adapter Shared System Memory: 2147610624
09:39:46: =====Stream Start: 2013-11-06, 09:39:46===============================================
09:39:46: Multithreaded optimizations: On
09:39:46: Base resolution: 1280x720
09:39:46: Output resolution: 1280x720
09:39:46: ------------------------------------------
09:39:46: Loading up D3D10 on Intel(R) HD Graphics 4600...
09:39:56: ------------------------------------------
09:39:56: Audio Format: 48000hz
09:39:56: Playback device Default
09:39:56: ------------------------------------------
09:39:56: Using desktop audio input: Speakers (Plantronics GameCom 780)
09:39:56: ------------------------------------------
09:39:56: Using auxilary audio input: Microphone (Plantronics GameCom 780)
09:39:56: ------------------------------------------
09:39:56: Audio Encoding: AAC
09:39:56: bitrate: 128
09:39:56: Using text output
09:39:57: Using bitmap image
09:39:57: Using bitmap image
09:39:57: Using bitmap image
09:39:59: ------------------------------------------
09:39:59: device: BisonCam, NB Pro,
09:39:59: device id \\?\usb#vid_5986&pid_014c&mi_00#7&22f8b42c&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
09:39:59: chosen type: MJPG, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-333333
09:39:59: use buffering: false - 0, fourCC: 'MJPG'
09:39:59: audio device: Disable,
09:39:59: audio device id Disabled,
09:39:59:
09:40:10: Using directshow input
09:40:10: Using graphics capture
09:40:10: Scene buffering time set to 400
09:40:10: ------------------------------------------
09:40:10: Video Encoding: x264
09:40:10: fps: 30
09:40:10: width: 1280, height: 720
09:40:10: preset: veryfast
09:40:10: profile: high
09:40:10: keyint: 60
09:40:10: CBR: yes
09:40:10: CFR: yes
09:40:10: max bitrate: 3000
09:40:10: buffer size: 3000
09:40:10: ------------------------------------------
09:40:10: MMDeviceAudioSource: Frequency for device 'Speakers (Plantronics GameCom 780)' is 352800, samples per sec is 44100
09:40:10: MMDeviceAudioSource: Frequency for device 'Microphone (Plantronics GameCom 780)' is 352800, samples per sec is 44100
09:40:20: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
09:40:20: New Scene
09:40:20: Using Monitor Capture
09:40:21: PERFORMANCE WARNING: Scene change took 596 ms, maybe some sources should be global sources?

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.
09:51:34: Total frames encoded: 20476, total frames duplicated: 551 (2.69%)
09:52:04: WARNING: Forcibly terminating a thread after 30000 ms timeout!

EDIT:
I should also mention, this was not while actually streaming, but was just in the preview state (though it crashes while streaming as well). Up until switching scenes to the desktop, there were no framedrops or lags.
 
Top