Bug Report OBS worked fine until last update. [fixed]

amd098

New Member
Specs: Lenovo y570 i7 2670
8gb ram
2gb GF 555m / HD3000
Nvidia drivers 314.22 Current non beta.
Win7

Located in Gaithersburg MD
Twitch server ashburn VA [about 30min drive away XD]
Speedtest
http://www.speedtest.net/result/2702442546.png
testmynet
http://testmy.net/gQHhEYp.ChdtXli.png

So I had obs since feb and it worked fine.

Specifically I had it set to stream League of Legends client with window capture then it'd auto switch the scene for game capture. Game capture worked capturing my game in full screen mode as borderless/windowed would drop me in FPS a lot.
Today I updated to 0.522b and then I tried to stream, black screen. I thought ok w/e, checked settings which looked fine, then I figured remove the scene and re add it, nothing, still black screen.

Ok fine, so they I threatened it, and nothing happened. Then I yelled at it, and nothing still.

So I uninstalled it, thinking it blotched the update. I also removed the files from the Users\my name\OBS folder. Then I restarted the pc.

When I update it and it runs for the first time, I get that there are updates for the three plugins [directshow, gamecapture, mic noise], I said ok. Then it says 'All available updates are already installed'.

So with this new install, I made the permissions so both 64 and 32 bit run as admin.

Run new install of obs for the first time, trying 32bit as thats what I used to use. Enter stream key, ok. Settings - Video - Use the gf555m

Whitelist the game for both 32 an 64 bit in the nvidia panel.

Open LoL. In OBS - New scene - LoL. New source - Window Capture - PVP.net client [the LoL client] , Entire Window, Ok.

Ok this streams fine. Checking on my roommate's Laptop and it works ok.

Run a game of LoL.

In OBS - [same scene] - add source - game capture - LoL client ok.

Nothing happens. Audio streams, but no video. I have the game capture above the client, but no go. Turn client off, black screen. Alt tab so game is the main window, nothing, still black screen on stream.
So I exit OBS, and retry, nothing.

Open 64 bit, and try with that. Nothing.

Back to 32bit, make new scene with LoL game source only. Same thing. Closed it, open 64bit, and try it. Nothing.

Now if I set the game to borderless and stream it, it works fine, but that cuts my FPS in game to around 25, and it drops at times to 5 in teamfights. Whereas a week ago in the game capture mode, i'd stream it happily at 45 fps and it'd go to 40 or so in teamfights [down from 60 capped when not streaming].

I can upload my logs, but let me know if you want the 32 bit or 64 bit. From what I see though, this is whats happening to me every time I use game capture.

Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057

Lines like this appear in all logs, like here when I managed to get it to stream in borderless after failing the game capture. Heres an example

Code:
22:47:03: Using RTMP service: Twitch / Justin.tv
22:47:03:   Server selection: rtmp://live-iad.justin.tv/app
22:47:05: SO_SNDBUF was at 8192
22:47:05: SO_SNDBUF is now 65536
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
22:48:41: Using Window Capture
22:50:25: Using Window Capture
22:51:56: Total frames rendered: 8801, number of frames that lagged: 142 (1.61%) (it's okay for some frames to lag)
22:51:56: RTMPPublisher::SocketLoop: Aborting due to loop exit
22:51:56: Number of times waited to send: 0, Waited for a total of 0 bytes
22:51:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
22:51:56: =====Stream End: 2013-05-11,


Any help would be appriciated, lemme know if you want my logs as well, but i think that d3d10texture is the rat here.





EDIT: PASTEBIN
http://pastebin.com/BpMAYPBB
Here I made a new scene with gamecapture, put in LoL, then started to stream. Back screen only. Then I closed the stream.





FINAL EDIT
FIXED
Jim said:
Do not use the "select adapter" in video settings for multi-GPU laptops. Make sure it's set to the top one always, and then use the nvidia control panel or whatever to select the GPU to use with the app. To verify that you have the right adapter selected, the file %appdata%\global.ini should have Adapter=0 in [Video].

If you set it to use the nvidia in nvidia's control panel, you will most likely not be able to capture the main desktop or lobby without "compatibility mode" in window/monitor capture.
WORKS! Compatibility mode shows the desktop/LoL client, while game capture picks up league, sc2, super sf4ae, neverwinter!

Anyone else having this issue, that's what you gotta do!
 

Krazy

Town drunk
Re: OBS worked fine until last update.

Hey, can you also paste the contents of captureHookLog from %appdata%\OBS\Plugins

You can also set game capture to hook using a hotkey now, that's helped some people
 

amd098

New Member
Re: OBS worked fine until last update.

Tried the game capture by hotkey, no luck
then tried it again in game capture, no luck. I insulted the program but it didnt help either.

Here's the log
http://pastebin.com/shkLMbjw


EDIT
My friend suggested I reinstall the old versions. Heres what happened.
Game capture for me only works with the 0.472b, the rest don't work. But in that the window & monitor capture don't work o.O
 

WayZHC

Member
Re: OBS worked fine until last update.

Backup files from %appdata%/OBS somewhere and then delete all files from %appdata%/OBS . Then try to install obs 0.522b. If nothing changed and still doesn't work, put the backupped files back to %appdata%/OBS folder. If clearing the %appdata%/OBS folder did help, just redo your scenes and settings.
 

amd098

New Member
Re: OBS worked fine until last update.

Just tried that.

Made game capture in 0.47, backed up the appdata obs folder, uninstalled. Then reinstalled 0.522 and copied the contents of appdata obs folder. Tried to stream. Nothing, black screen again.

With 0.47 the game capture worked, but the window and monitor capture don't work.


EDIT
Just to let you all know its not just LoL, it's any game using game capture. Tried with Super SF 4 AE as well.


EDIT 2

Uninstalled nvidia drivers, tried 320 beta. No luck
Went back to current 314, no luck.
 

WayZHC

Member
Re: OBS worked fine until last update.

amd098 said:
Just tried that.

Made game capture in 0.47, backed up the appdata obs folder, uninstalled. Then reinstalled 0.522 and copied the contents of appdata obs folder. Tried to stream.

Try this WITHOUT copying the files back after reinstall. So reinstall with empty obs appdata folder and see if it works. If it works, do not copy the files back. Manually redo your scenes and settings
 

amd098

New Member
Re: OBS worked fine until last update.

Tried that, no go. just really odd how v472 works in game capture mode but its window capture doesnt
 

WayZHC

Member
Re: OBS worked fine until last update.

Hmmmm does your obs use the same gpu (look at settings, video setting tab) as the game uses. If obs uses your HD 3000 craphics instead of your gt 555M it causes black screen. Older versions uses the gt 555M since it's your primary gpu. In newer versions you have option for it. Choose the same gpu which runs the game.
 

amd098

New Member
Re: OBS worked fine until last update.

Yep I have that already http://i.imgur.com/fn8NuJ7.png
Nvidea panel shows obs and a game using it http://i.imgur.com/jWPIkd1.png
Nothing in the obs preview panel, or on my stream though.
I alt tab back into sf4 just to make sure, but nothing still.


19:28:07: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
19:28:07: -------------------------------
19:28:07: CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
19:28:07: CPU Speed: 2195MHz
19:28:07: Physical Memory: 4095MB Total, 4095MB Free
19:28:07: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
19:28:07: monitor 1: pos={0, 0}, size={1366, 768}
19:28:07: Windows Version: 6.1 Build 7601 S
19:28:07: Aero is Enabled
19:28:07: -------------------------------
19:28:07: OBS Modules:
19:28:07: Base Address Module
19:28:07: 01220000 OBS.exe
19:28:07: 577F0000 OBSApi.dll
19:28:07: 57610000 DShowPlugin.dll
19:28:07: 575F0000 GraphicsCapture.dll
19:28:07: 575D0000 NoiseGate.dll
19:28:07: ------------------------------------------
19:28:07: Adapter 1
19:28:07: Video Adapter: Intel(R) HD Graphics 3000
19:28:07: Video Adapter Dedicated Video Memory: 67108864
19:28:07: Video Adapter Shared System Memory: 1711276032
19:28:07: ------------------------------------------
19:28:07: Adapter 2
19:28:07: Video Adapter: NVIDIA GeForce GT 555M
19:28:07: Video Adapter Dedicated Video Memory: 2096693248
19:28:07: Video Adapter Shared System Memory: 2147037184
19:28:07: Using fixed low latency mode, factor 20
19:28:07: =====Stream Start: 2013-05-13, 19:28:07===============================================
19:28:07: Multithreaded optimizations: On
19:28:07: Base resolution: 1366x768
19:28:07: Output resolution: 1364x768
19:28:07: ------------------------------------------
19:28:07: Loading up D3D10...
19:28:07: Playback device Default
19:28:07: ------------------------------------------
19:28:07: Using desktop audio input: Speakers (Realtek High Definition Audio)
19:28:07: ------------------------------------------
19:28:07: Using auxilary audio input: Microphone (Realtek High Definition Audio)
19:28:07: ------------------------------------------
19:28:07: Audio Encoding: MP3
19:28:07: bitrate: 96
19:28:07: Using graphics capture
19:28:07: ------------------------------------------
19:28:07: Video Encoding: x264
19:28:07: fps: 30
19:28:07: width: 1364, height: 768
19:28:07: preset: veryfast
19:28:07: CBR: yes
19:28:07: CFR: no
19:28:07: max bitrate: 600
19:28:07: ------------------------------------------
19:28:09: Using RTMP service: Twitch / Justin.tv
19:28:09: Server selection: rtmp://live-iad.justin.tv/app
19:28:10: SO_SNDBUF was at 8192
19:28:10: SO_SNDBUF is now 65536
Warning -- D3D10Texture::CreateFromSharedHandle: Failed to open shared handle, result = 0x80070057
Warning -- SharedTexCapture::Init: Could not create shared texture
19:30:47: Total frames rendered: 4803, number of frames that lagged: 2 (0.04%) (it's okay for some frames to lag)
19:30:47: RTMPPublisher::SocketLoop: Aborting due to loop exit
19:30:47: Number of times waited to send: 0, Waited for a total of 0 bytes
19:30:47: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
19:30:47: =====Stream End: 2013-05-13, 19:30:47=================================================
19:31:46:
19:31:46: Profiler results:
19:31:46:
19:31:46: ==============================================================
19:31:46: frame - [100%] [avg time: 4.354 ms] [avg calls per frame: 1] [children: 42.7%] [unaccounted: 57.3%]
19:31:46: | scene->Preprocess - [0.023%] [avg time: 0.001 ms] [avg calls per frame: 1]
19:31:46: | video encoding and uploading - [42.7%] [avg time: 1.857 ms] [avg calls per frame: 1] [children: 40.6%] [unaccounted: 2.09%]
19:31:46: | | CopyResource - [0.597%] [avg time: 0.026 ms] [avg calls per frame: 0]
19:31:46: | | conversion to 4:2:0 - [0.528%] [avg time: 0.023 ms] [avg calls per frame: 0]
19:31:46: | | call to encoder - [38.9%] [avg time: 1.693 ms] [avg calls per frame: 0]
19:31:46: | | sending stuff out - [0.551%] [avg time: 0.024 ms] [avg calls per frame: 0]
19:31:46: ==============================================================
19:31:46:
 

WayZHC

Member
Re: OBS worked fine until last update.

Hmmm try "Use Hotkey" option in Game Capture settings. For example i use "Right Ctrl + F12". It's very handy feature and in some cases fixes this kind of problems. So while in game, just press the hotkey and it should find the right source and give you preview of it.

E: oh you have already tried this. You should go to the chat (link in top of the page) and ask help for this. I don't have any idea anymore. Maybe they can help you there. You can link this thread there so they can see your problem and what you have tried already.
 

thxnee

New Member
Re: OBS worked fine until last update.

I'm having the same exact issue. Everything was working fine until update :S Now just black screen on game capture.
 

amd098

New Member
Re: OBS worked fine until last update.

Ah, so good to know I'm not the only one with this issue. I'll try the chat, lets hope that works. I kind of like streaming with my friends so it's a sad sad day.
 

thxnee

New Member
Re: OBS worked fine until last update.

amd098 said:
Ah, so good to know I'm not the only one with this issue. I'll try the chat, lets hope that works. I kind of like streaming with my friends so it's a sad sad day.

Yup, same here. Enjoy streaming with friends and couldn't. Being that I personally find OBS far superior to Xsplit, I hope this issue is addressed and resolved soon.
 

amd098

New Member
Re: OBS worked fine until last update.

I spoke to JIM in the chat, and he wasnt sure what's going on. Did you try game capture with 0472b on the older versions? That worked for me, but the monitor/screen capture didnt work for me in that haha. But you could try that for just streaming a game.
 

thxnee

New Member
Re: OBS worked fine until last update.

Uninstalled the 522b, cleared the appdata and then tried 472b and it worked. ^_^

Edit: Welp, it worked for a little while until now I'm constantly getting an error pop up when starting the stream saying "Could not connect to server RTMP_Connect1, handshake failed." Tried changing stream key, different servers but still the same error continues to pop up.
 

thxnee

New Member
Re: OBS worked fine until last update.

Yup, window capture/monitor capture works but now game capture isn't working. lol. The odd server error isn't happening anymore though.
 

amd098

New Member
Re: OBS worked fine until last update.

You can use the latest version now :)

Jim said:
Do not use the "select adapter" in video settings for multi-GPU laptops. Make sure it's set to the top one always, and then use the nvidia control panel or whatever to select the GPU to use with the app. To verify that you have the right adapter selected, the file %appdata%\global.ini should have Adapter=0 in [Video].

If you set it to use the nvidia in nvidia's control panel and it still doesn't work, you will most likely not be able to capture the main desktop or lobby without "compatibility mode" in window/monitor capture.
WORKS! Compatibility mode shows the desktop/LoL client, while game capture picks up league, sc2, super sf4ae, neverwinter!

Anyone else having this issue, that's what you gotta do!
 
Top