Package Details: obs-backgroundremoval 0.4.0-1

Git Clone URL: (read-only, click to copy)
Package Base: obs-backgroundremoval
Description: Background removal plugin for OBS studio (precompiled onnxruntime)
Upstream URL:
Keywords: background chroma-key obs opencv removal
Licenses: custom, MIT
Submitter: PedroHLC
Maintainer: None
Last Packager: chaotic-aur
Votes: 6
Popularity: 0.104299
First Submitted: 2021-08-13 14:15 (UTC)
Last Updated: 2022-02-28 09:22 (UTC)

Latest Comments

ngoonee commented on 2023-01-10 00:26 (UTC)

@Asipu check out obs-backgroundremoval-git where I pull in that change.

Asipu commented on 2022-12-16 20:33 (UTC)

ngoonee -- I'm not seeing the CUDA yet as part of the package. Were you able to request those changes, or are they all still local to you?

ngoonee commented on 2022-02-08 05:46 (UTC) (edited on 2022-02-10 08:44 (UTC) by ngoonee)

Upstream just merged a useful commit w.r.t utilising GPU (CUDA) instead of CPU. Haven't gotten it to work yet, if someone can do so please give some hints.

EDIT: Okay so I got it working, however I had to manually apply the changes in PR 57 because this isn't a git PKGBUILD. Also had to change the _onxx_runtime to linux-x64-gpu (big download) and add -DWITH_CUDA=On to the build. This is with 1.7.0, in 1.9.0 there's a bit more changes having to remove an include for cuda_provider_factor.h (did not try this)

EDIT 2: I decided having a git package was useful (and then I wouldn't need to manually apply the changes) so I've uploaded one based on this package (enabling CUDA/gpu). Much more usable for my use-case.

daurnimator commented on 2021-12-15 03:02 (UTC)

Missing dependency on tbb?

Without it installed I get:

error: os_dlopen(/usr//lib/obs-plugins/>/usr//lib/obs-plugins/ cannot open shared object file: No such file or directory

warning: Module '/usr//lib/obs-plugins/' not loaded

PedroHLC commented on 2021-11-05 11:01 (UTC) (edited on 2021-11-05 11:01 (UTC) by PedroHLC)

Hey guys, I'm quite busy with work, can someone make a PR with the update and send it to ? My bot will sync it back here...

ngoonee commented on 2021-10-28 06:10 (UTC)

Adding -DWITH_CUDA=ON doesn't do anything, when building I get the warning that the option doesn't do anything. Is that supposed to be the case?

too commented on 2021-10-12 13:10 (UTC)

When trying to add a filter in obs, it dumps core with the following callstack. What can I do to try to make it work?

(gdb) bt

0 0x00007f75c00d55b2 in __memmove_avx_unaligned_erms () at /usr/lib/
1 0x00007f74e4310b5c in () at /usr//lib/obs-plugins/
2 0x00007f74e4310fe9 in () at /usr//lib/obs-plugins/
3 0x00007f75c1171179 in () at /usr/lib/
4 0x0000561c602b5beb in ()
5 0x0000561c602b6024 in ()
6 0x00007f75c07ad91b in () at /usr/lib/
7 0x00007f75c133f237 in QAction::triggered(bool) () at /usr/lib/
8 0x00007f75c1342060 in QAction::activate(QAction::ActionEvent) () at /usr/lib/
9 0x00007f75c14d35f3 in () at /usr/lib/
10 0x00007f75c14db481 in () at /usr/lib/
11 0x00007f75c1389fce in QWidget::event(QEvent*) () at /usr/lib/
12 0x00007f75c1345ff6 in QApplicationPrivate::notify_helper(QObject, QEvent) () at /usr/lib/
13 0x00007f75c134de59 in QApplication::notify(QObject, QEvent) () at /usr/lib/
14 0x00007f75c07761ba in QCoreApplication::notifyInternal2(QObject, QEvent) () at /usr/lib/
15 0x00007f75c134c8ff in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer<QWidget>&, bool, bool) ()
at /usr/lib/
16 0x00007f75c13a49b3 in () at /usr/lib/
17 0x00007f75c13a7215 in () at /usr/lib/
18 0x00007f75c1345ff6 in QApplicationPrivate::notify_helper(QObject, QEvent) () at /usr/lib/
19 0x00007f75c07761ba in QCoreApplication::notifyInternal2(QObject, QEvent) () at /usr/lib/
20 0x00007f75c0b56c50 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/
21 0x00007f75c0b2bb15 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/

PedroHLC commented on 2021-08-13 22:08 (UTC)

@sebalis, feel free to open a PR to once merged a bot will resync it here with your authorship.

sebalis commented on 2021-08-13 18:51 (UTC) (edited on 2021-08-13 18:56 (UTC) by sebalis)

I did some work on the PKGBUILD file to make a possible future change to a different version of oonxruntime easier. Version 1.8.1 is available now (and so is 1.8.2 but the build result is not online yet). My file uses the same versions as the current one but changing it will now be easier: change the _onnxversion variable and update the checksums. I have published this PKGBUILD here:

Sadly this did not resolve my actual issue, namely that I can’t get the latest version of the main software, (0.3.0_beta), to run on my machine. If I build 0.3.0_beta (after changing version numbers and checksums) and install it, then OBS Studio crashes with a segmentation fault. I am on a rather old Dell laptop using the nvidia390xx-dkms driver (Dell Latitude E6420 with an NVIDIA NVS 4200M a.k.a GeForce GT 520M card).