Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Kinect source in OBS tanks performance in-game #78

Open
pinecones-sx opened this issue Feb 4, 2023 · 6 comments
Open

Using Kinect source in OBS tanks performance in-game #78

pinecones-sx opened this issue Feb 4, 2023 · 6 comments

Comments

@pinecones-sx
Copy link

pinecones-sx commented Feb 4, 2023

It took me a long time to track this down, but using a Kinect source in OBS while running some games (particularly Noita) will tank performance in the game. Using another webcam or no webcam prevents any impact to game otherwise.

For Noita, this may have something to do with the game only being able to use one thread? Not 100% sure.

Made sure everything was updated & reinstalled all related software with no improvement.

Computer specs:

  • i9-10900kf cpu (3.70GHz, 10-core)
  • GeForce RTX 2070 SUPER
  • 16 GB DDR4 3200
  • Kinect v2
@SirLynix
Copy link
Owner

SirLynix commented Feb 4, 2023

Hi,
What Kinect are you using?

@pinecones-sx
Copy link
Author

Sorry, that was dumb, the v2.

@SirLynix
Copy link
Owner

SirLynix commented Feb 5, 2023

The Kinect v2 is handled by a Windows service external to this plugin and ob, could you try to run a few experiments:

this will help to understand what the problem is and if I can do anything about it, obs-kinect already fetches frames from a separate thread.

@pinecones-sx
Copy link
Author

  • Service priority was already set to lowest (Normal)
  • disabling the green screen option seemed to greatly improve performance. (not sure if it was still causing a minor impact)
  • not 100% sure what you were looking for here but i installed the sdk and got a test app running that showed the depth and normal kinect camera views. it appeared to have no impact on game performance.

@SirLynix
Copy link
Owner

SirLynix commented Feb 6, 2023

Alright so from what you're telling me the performance impact comes from the greenscreen effect, which seems a bit odd as you have a good GPU.
How many FPS do you have on OBS? What's the GPU usage with and without the greenscreen effect? (without playing any game)
Does checking/unchecking the "Use GPU to fetch color-to-depth ..." improves the usage?

@pinecones-sx
Copy link
Author

pinecones-sx commented Feb 6, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants