Segra icon indicating copy to clipboard operation
Segra copied to clipboard

[$100] Display capture (monitor_capture) causes lag

Open Segergren opened this issue 11 months ago • 2 comments

Monitor capture causes hitching and poor performance. This is possibly because we reset the video ResetVideoSettings() after loading modules obs_load_all_modules(), see InitializeAsync() in OBSUtils. However, changing the order causes the entire video to be black. This issue is only for monitor_capture.

See: https://docs.obsproject.com/frontends#initialization-and-shutdown

Since this is an important part of the application and I have debugged multiple times without success, I'm issuing a $100 bounty as a reward. The bug is considered fixed when the FPS no longer drops as it does now (~40%). I'll verify it with Counter-Strike 2.

Segergren avatar Feb 26 '25 21:02 Segergren

I've now created https://github.com/Segergren/obs-csharp-example/tree/main to make it easier to try to fix this issue!

Segergren avatar Jul 11 '25 16:07 Segergren

I'm still not sure what the issue is. I'm not even sure it's related to the order 🤔

Segergren avatar Dec 01 '25 00:12 Segergren