Bug Report Sniper Elite V2 records a black screen

mrchuckles

New Member
OBS is a fantastic program. It works so well with BF3. However, it doesn't seem to work with Sniper Elite V2. There is sound, but the video is just black. I downloaded and compiled the code and see how it hooks into the program and tries to grab the screen from the Present hook. But I can't tell why the screen is black.

Any pointers on how to fix this? I'd really like to be able to record with OBS. It is so much better than Fraps (which does work with this game btw).

Thanks,
Mark
 

sickfriend

New Member
Press ALT GR and ENTER to run it in window mode. You might have to enable "Windows XP compability mode" for this!

Now, use OBS to record the monitor you're playing on instead of a game source!
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
This should be fixed in the latest test version for this I think. Was a slight bug in game capture.
 

mrchuckles

New Member
Unfortunately, the latest test version crashes in D3D10Texture.cpp line 89:

if(FAILED(err = GetD3D()->OpenSharedResource(handle, __uuidof(ID3D10Resource), (void**)&tempResource)))

In the debug output:

D3D10: UM Driver Internal Error.
Removing Device.
D3D10: Raising UM Driver Internal Error to continuable exception.First-chance exception at 0x7650c41f in OBS.exe: 0x00000879: 0x879.
Unhandled exception at 0x7650c41f in OBS.exe: 0x00000879: 0x879.

Callstack:
KernelBase.dll!7650c41f()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
KernelBase.dll!7650c41f()
dxgi.dll!6bdc508d()
d3d10_1core.dll!6bd5a80b()
d3d10_1core.dll!6bd7cc8f()
d3d10level9.dll!5071da0b()
d3d10level9.dll!5071daed()
d3d10level9.dll!5071f00b()
d3d10level9.dll!5072f74a()
d3d10level9.dll!50722dd8()
d3d10_1core.dll!6bd604fc()
d3d10_1core.dll!6bd63a71()
d3d10_1core.dll!6bd6aed8()
d3d10_1core.dll!6bd6b743()
nvd3dum.dll!647d0261()
dxgi.dll!6bdc4534()
dxgi.dll!6bdc4501()
dxgi.dll!6bdc48c5()
dxgi.dll!6bdc47b6()
dxgi.dll!6bdc4739()
dxgi.dll!6bdc41a8()
d3d10_1core.dll!6bd729e5()
d3d10_1core.dll!6bd670c9()
d3d10_1core.dll!6bd673cf()
d3d10_1core.dll!6bd5beac()
d3d10_1core.dll!6bd6cbb1()
> OBS.exe!D3D10Texture::CreateFromSharedHandle(unsigned int width=1600, unsigned int height=1024, GSColorFormat colorFormat=GS_RGBA, void * handle=0x800043c0) Line 88 + 0x31 bytes C++
OBS.exe!D3D10System::CreateTextureFromSharedHandle(unsigned int width=1600, unsigned int height=1024, GSColorFormat colorFormat=GS_RGBA, void * handle=0x800043c0) Line 333 + 0x15 bytes C++
GraphicsCapture.dll!SharedTexCapture::Init(CaptureInfo & info={...}) Line 68 + 0x39 bytes C++
GraphicsCapture.dll!GraphicsCaptureSource::NewCapture() Line 227 + 0x19 bytes C++
GraphicsCapture.dll!GraphicsCaptureSource::Preprocess() Line 281 C++
OBSApi.dll!Scene::Preprocess() Line 212 + 0x17 bytes C++
OBS.exe!OBS::MainCaptureLoop() Line 482 + 0x17 bytes C++
OBS.exe!OBS::MainCaptureThread(void * lpUnused=0x00000000) Line 35 C++
 
Top