Question / Help Black Screen

Lain

Forum Admin
Lain
Forum Moderator
Developer
HUNTER - It's probably because you're on a laptop. See the laptop sticky for more information, laptops have two adapters and it causes capture issues.

Xphome - error 5 means access denied, which typically means you need to run OBS as admin to fix it.
 

HUNTERII7

New Member
Xphome said:
Jim said:
Some people seem to be experiencing this problem with arma 3, it was reported by another. This appears to be specific to just arma 3, and I don't currently know why it's occurring. I checked with some others and it was working fine with them though, so I'm trying to figure out what specifically is going wrong to cause this to happen.
It works fine for me most of the time, both with hotkey or if I select it in the drop-down menu. Sometimes it crashes the game tho and the log says:
18:48:15: Warning -- GraphicsCaptureSource::BeginScene: Failed to inject library, error code = -5
18:48:34: Capture window 0x04AA0C34 invalid or changing, terminating capture

Never while using OBS have a received an error message while previewing or streaming. Even when I had it working and streamed for four hours straight. If I got an error I think it would be alot easier pinpointing what is going on but instead I am getting a constant black screen and sound or I get OBS to record itself or something. Left ok at the picture I uploaded above.
 

HUNTERII7

New Member
Jim said:
HUNTER - It's probably because you're on a laptop. See the laptop sticky for more information, laptops have two adapters and it causes capture issues.

Xphome - error 5 means access denied, which typically means you need to run OBS as admin to fix it.

I know it must be because of my laptop but I did view the laptop topic, twice, once before making the post and after, I did everything twice. My drivers are up-to-date, in control panel all games and OBS are using NVIDIA GPU, in OBS settings the video adapter is set to NVIDIA GPU, the game is being run as Administrator. I don't know what else it could be.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well what I do see from your prior log that you had it running on the nvidia at least once, but other cases you had it running on the intel. Maybe the game is sometimes running on the intel as well, I've heard reports of that happening as well. Argh I can't stand laptops sometimes. Or maybe the problem could be that it's one of those optimus' or something. I'd probably have to be on the actual computer to know for sure, but I'm pretty sure that yea, the only way you can set up those god forsaken things to capture properly is by using the control panel and by setting your video adapter in OBS' settings to the very top one in the list.

Other than that, if you still have problems and don't really want to bother with it, the only other way is running the game in borderless/windows and using window capture with compatibility mode checked. It will force a cross-adapter capture.

I know these laptops can work with the proper capture though, and I know it seems like a pain that you have to deal with this, but the fact is that the most efficient type of capture is when OBS and the game are successfully running on the same graphics adapter -- It will incur the least system resources and the least system bus transfer doing so. I wish there were an easy way to just auto-detect everything to do this but there doesn't seem to be a way to do that programmatically, otherwise I'd do it so users such as yourself didn't have to jump through any of these annoying hoops.

Laptop manufacturers designed laptops this way for power saving, there's little I can do about it unfortunately.
 

HUNTERII7

New Member
Can you private message me? Maybe you can use teamview to see what's going down. I mean I know for a fact that in OBS and NVIDIA OBS is set to use the NVIDIA gpu. I was told that EVERYTHING on the laptop uses Intel integrated and the stuff that needed it will go to the GPU. Idk though. But if you could use teamview it would as if you were at my PC and maybe we can figure this thing out so OBS can be optimized for high performance laptops and not just desktops. It was working flawlessly before I believe we can get it working once more.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Sure, I don't mind. Might be better if you just come into the chat some time, I'm always in there and almost always available to talk to, and you can private message me on there as well. I might be busy for the next few hours though.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I meant the IRC chatroom - #obsproject in quakenet. There's a red icon that allows you to go there via a web plugin
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It seems you were around earlier but you never messaged me or tried to get my attention, message me and say my name. I'm almost always here (unless asleep)
 

HUNTERII7

New Member
Sorry yeah I was on my phone doing it just to see how it works. I wasn't home or at my PC because I had a kart race all day. Il hit you up tomorrow though.
 

HUNTERII7

New Member
Jim got it fixed!
I needed to select the top video adapter (there were two of the same and I had the bottom one selected) since my laptop is using optimus. also make sure the game is what you are trying to capture and that in the NVidia control panel obs is using the GPU.
 
Top