locaal-ai/obs-backgroundremoval

Huge latency issue in Linux

yairmohr opened this issue · 6 comments

Version 1.1.12 (maybe 1.1.11 too - I happened to skip from 1.1.10 to 1.1.12) seems to introduce a huge, ~1s latency to any camera feed in OBS on Linux Mint (LM version 21.3, OBS version 30.1). When I uninstalled 1.1.12 and reinstalled 1.1.10 - it was back to no latency whatsoever.
It also caused OBS to take over 30s to even load.

@royshil I think we need to revert #556. That PR changes too much part of our plugin and it is hard to investigate what affects what.

I'm against stopping using video_tick. I think there are almost no benefits to use a standalone thread but it adds some complexities to our plugin.

@umireon I can revert the thread work and go back to video tick. Let me bring it up this evening

Thank you!

Thank you for fixing this in version 1.1.12 👍

Closing. Thanks!