Bug Report OBS Direct Game Capture - Only grabs single pixel [fixed]

Fenrir

Forum Admin
So, with a specific game I was trying to stream (FFXIV Character Benchmark), direct game capture appears to only be snagging a single pixel. It changes color as the game plays, but is only ever a single color. Example below, log file attached. I've tried both 32 and 64-bit versions, and both stable release and test builds, all with the same effect. I've tried changing just about every single setting within OBS trying to get it to do something else, with no effect. Works perfect with any other game I've tried, it's only this one that has issues. Tried searching, didn't see anything similar to this issue. Any ideas?

WfbR2dM.png
 

Attachments

  • 2013-08-01-2140-56.log
    7 KB · Views: 73

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

Ah yes, thank you for showing this, a known bug I have neglected (and I will dig into the code right now as we speak to hopefully fix it))
 

Fenrir

Forum Admin
Re: OBS Direct Game Capture - Only grabs single pixel

Awesome, glad to hear I'm not just doing something horrible wrong, haha. Looking forward to the update!
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

should be fixed in the latest test build as of this posting (0.54.07), try it out and let me know how it works
 

Fenrir

Forum Admin
Re: OBS Direct Game Capture - Only grabs single pixel

Posted in the test build thread as well, but did not resolve the issue. Same exact bug in both 32 and 64-bit builds.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

Give me captreHookLog.txt from it (unless it was in the other thread, in which I will checko ut)
 

ImRuKus

New Member
Re: OBS Direct Game Capture - Only grabs single pixel

Hey Jim, im having the exact same issue except it is happening to me in most options (mainly window capture which is my main one I use), I was using the newest stable version for a bit now suddenly every new window I create has a 95% chance it only captures 1 pixel. Its really doing my head in seeing as how I use OBS to stream speed runs and Im pretty much stuck not being able to stream runs anymore.

I have found a mild work around, and when i say mild i mean MILD. I can change it to screen region and notice its size is always 16 x 916, changing my size to something larger then 16 makes me be able to see more of my screen. However if I tr Fit to screen or reset size it instantly goes back to 1 pixel.

Hope you can get this fixed quickly.

Ive tried both the latest stable build and the newer beta build, both give the same issues, this problem only occurred when I updated to the newest, Is there a way to go back to the previous version to see if this bug happens?

*side note it seems since trying the new beta build (the one thats not stable) it records a pixel of my desktop not my actual window, or it records a completely different window, ie. I choose my Avermedia window to show my game, instead I get a internet tab i have open.

Ive included some pics to show you whats up.

Pic 1: Shows what its capturing when I create a new source and tell it to fit to screen.

Pic 2: Is my video settings, I rarely change these, Only time I do is if im playing around with aspect ratio, This one seems to stream fine with my Australian internet at 480p 16;9

Pic 3: Clearly shows I have RecCentral as my window selected to record from which is what I usually have while streaming console. Yet its showing Photoshop which was the window open behind it. Also shows that when i Change the screen region numbers that the view of the window does become bigger. However i cant get it to fit to screen properly without a bunch of stretching since fit to screen option wont work.


O9WnP76.jpg

dnjOrjB.jpg

3qHBnGJ.jpg
 

R1CH

Forum Admin
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

You cannot game capture RECcentral as it is not a game. You're probably just grabbing some random D3D resource.
 

ImRuKus

New Member
Re: OBS Direct Game Capture - Only grabs single pixel

I don't want to sound rude R1ch but "it is happening to me in most options (mainly window capture which is my main one I use)" I was saying it happens in window capture aswell as my game capture, You can clearly see im using window capture in Picture 3 yet the same result happens, only catches a slither of the screen.
 

ImRuKus

New Member
Re: OBS Direct Game Capture - Only grabs single pixel

Also, I have tried Uninstalling and installing a couple times, But OBS seems to know my settings already. Is there a way to uninstall and have my settings not saved? maybe I need to delete a folder somewhere after uninstalling? That way I can test to see if a complete fresh re install would work.

Hope to hear back soon, I really like using OBS over Xsplit, it dosn't lag my computer or drop frames (when my nets being good) one bit unlike Xsplit's lagtastic/Frame dropping ways :D
 

Fenrir

Forum Admin
Re: OBS Direct Game Capture - Only grabs single pixel

Jim said:
Give me captreHookLog.txt from it (unless it was in the other thread, in which I will checko ut)

Wasn't posted, here ya go:

Code:
2013-08-06, 18:22:42: we're booting up: 
18:22:42: D3D9 Present
18:22:42: D3D9EndScene called
18:22:42: D3DPRESENT_PARAMETERS {
18:22:42: 	BackBufferWidth: 1
18:22:42: 	BackBufferHeight: 1
18:22:42: 	BackBufferFormat: D3DFMT_X8R8G8B8
18:22:42: 	BackBufferCount: 1
18:22:42: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:22:42: 	MultiSampleQuality: 0
18:22:42: 	SwapEffect: D3DSWAPEFFECT_DISCARD
18:22:42: 	hDeviceWindow: 1246240
18:22:42: 	Windowed: true
18:22:42: 	EnableAutoDepthStencil: false
18:22:42: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
18:22:42: 	Flags: None
18:22:42: 	FullScreen_RefreshRateInHz: 0
18:22:42: 	PresentationInterval: 2147483648
18:22:42: };
18:22:42: successfully set up d3d9 hooks
18:22:42: D3D9SwapPresent called
18:22:42: DXGI Present
18:22:42: (half life scientist) everything..  seems to be in order
18:22:42: DoD3D9GPUHook: success
18:22:42: D3DSURFACE_DESC {
18:22:42: 	Format: D3DFMT_X8R8G8B8
18:22:42: 	Type: D3DRTYPE_SURFACE
18:22:42: 	Usage: D3DUSAGE_RENDERTARGET 
18:22:42: 	Pool: D3DPOOL_DEFAULT
18:22:42: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:22:42: 	MultiSampleQuality: 0
18:22:42: 	Width: 2560
18:22:42: 	Height: 1440
18:22:42: };
18:22:42: successfully capturing d3d9 frames via GPU
18:22:45: ---------------------- Cleared D3D9 Capture ----------------------
18:22:45: D3D9EndScene called
18:22:45: D3D9SwapPresent called
18:22:49: received restart event, capturing
18:22:49: DoD3D9GPUHook: success
18:22:49: D3DSURFACE_DESC {
18:22:49: 	Format: D3DFMT_X8R8G8B8
18:22:49: 	Type: D3DRTYPE_SURFACE
18:22:49: 	Usage: D3DUSAGE_RENDERTARGET 
18:22:49: 	Pool: D3DPOOL_DEFAULT
18:22:49: 	MultiSampleType: D3DMULTISAMPLE_NONE
18:22:49: 	MultiSampleQuality: 0
18:22:49: 	Width: 2560
18:22:49: 	Height: 1440
18:22:49: };
18:22:49: successfully capturing d3d9 frames via GPU
18:23:25: ---------------------- Cleared D3D9 Capture ----------------------
18:23:25: D3D9EndScene called
18:23:25: D3D9SwapPresent called

Let me know if you need anything else. Attached the log file from the same test capture.
 

Attachments

  • 2013-08-06-1805-12.log
    8.4 KB · Views: 38

ImRuKus

New Member
Re: OBS Direct Game Capture - Only grabs single pixel

*BUMP*
Any development on figuring this issue out guys?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

Yep, working on it.

As you can see:
18:22:42: BackBufferWidth: 1
18:22:42: BackBufferHeight: 1

is the problem, essentially. Should hopefully be fixed in the next build
 

ImRuKus

New Member
Re: OBS Direct Game Capture - Only grabs single pixel

Jim said:
Yep, working on it.

As you can see:
18:22:42: BackBufferWidth: 1
18:22:42: BackBufferHeight: 1

is the problem, essentially. Should hopefully be fixed in the next build

Awesome! Im about to try a fresh install, (deleted the appdata\roaming file so Ill ee if that works, Cant wait for the update! OBS is 100X better then Xsplit.

*EDIT* Deleting the Appdata\roaming\OBS folder fixed the issue. Dont know if it helps but would that mean there has been an error inside hat folder?
 

Fenrir

Forum Admin
Re: OBS Direct Game Capture - Only grabs single pixel

ImRuKus said:
Awesome! Im about to try a fresh install, (deleted the appdata\roaming file so Ill ee if that works, Cant wait for the update! OBS is 100X better then Xsplit.

*EDIT* Deleting the Appdata\roaming\OBS folder fixed the issue. Dont know if it helps but would that mean there has been an error inside hat folder?

Tried this on my issue, didn't correct it. Also still not working on 0.54.09 if it's supposed to (doubt it based on patch notes, but just FYI). Don't think a log would help as it's showing identical to the one I posted earlier.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: OBS Direct Game Capture - Only grabs single pixel

This is fixed in the latest version.
 

Fenrir

Forum Admin
Re: OBS Direct Game Capture - Only grabs single pixel

Tested and confirmed! Thanks so much. :)
 
Top