Package Details: obs-backgroundremoval 1.1.13-1

Git Clone URL: https://aur.archlinux.org/obs-backgroundremoval.git (read-only, click to copy)
Package Base: obs-backgroundremoval
Description: Background removal plugin for OBS studio
Upstream URL: https://github.com/occ-ai/obs-backgroundremoval
Keywords: background chroma-key obs opencv removal
Licenses: GPL2
Submitter: PedroHLC
Maintainer: umireon
Last Packager: umireon
Votes: 13
Popularity: 0.95
First Submitted: 2021-08-13 14:15 (UTC)
Last Updated: 2024-03-27 18:48 (UTC)

Latest Comments

« First ‹ Previous 1 2

jathanasiou commented on 2023-07-12 17:29 (UTC) (edited on 2023-07-12 17:40 (UTC) by jathanasiou)

EDIT: this seems to be fixed in upstream via https://github.com/royshil/obs-backgroundremoval/pull/377

Latest update (1.1.0-1) seems to be breaking build(). Output from yay:

-- Found XKB: /usr/lib/libxkbcommon.so (found suitable version "1.5.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /usr/include
-- Found OpenCV: /usr (found version "4.8.0") found components: core imgproc CMake Error at cmake/BuildMyCurl.cmake:15 (add_subdirectory): The source directory

/home/john/.cache/yay/obs-backgroundremoval/src/obs-backgroundremoval-1.1.0/vendor/curl

does not contain a CMakeLists.txt file. Call Stack (most recent call first): CMakeLists.txt:71 (include)

-- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> error making: obs-backgroundremoval-exit status 4 -> Failed to install the following packages. Manual intervention is required: obs-backgroundremoval - exit status 4

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/obs-backgroundremoval.so->/usr//lib/obs-plugins/obs-backgroundremoval.so): libtbb.so.12: cannot open shared object file: No such file or directory

warning: Module '/usr//lib/obs-plugins/obs-backgroundremoval.so' 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 https://github.com/chaotic-aur/pkgbuild-obs-backgroundremoval ? 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/libc.so.6
1 0x00007f74e4310b5c in () at /usr//lib/obs-plugins/obs-backgroundremoval.so
2 0x00007f74e4310fe9 in () at /usr//lib/obs-plugins/obs-backgroundremoval.so
3 0x00007f75c1171179 in () at /usr/lib/libobs.so.0
4 0x0000561c602b5beb in ()
5 0x0000561c602b6024 in ()
6 0x00007f75c07ad91b in () at /usr/lib/libQt5Core.so.5
7 0x00007f75c133f237 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
8 0x00007f75c1342060 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
9 0x00007f75c14d35f3 in () at /usr/lib/libQt5Widgets.so.5
10 0x00007f75c14db481 in () at /usr/lib/libQt5Widgets.so.5
11 0x00007f75c1389fce in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
12 0x00007f75c1345ff6 in QApplicationPrivate::notify_helper(QObject, QEvent) () at /usr/lib/libQt5Widgets.so.5
13 0x00007f75c134de59 in QApplication::notify(QObject, QEvent) () at /usr/lib/libQt5Widgets.so.5
14 0x00007f75c07761ba in QCoreApplication::notifyInternal2(QObject, QEvent) () at /usr/lib/libQt5Core.so.5
15 0x00007f75c134c8ff in QApplicationPrivate::sendMouseEvent(QWidget, QMouseEvent, QWidget, QWidget, QWidget**, QPointer<QWidget>&, bool, bool) ()
at /usr/lib/libQt5Widgets.so.5
16 0x00007f75c13a49b3 in () at /usr/lib/libQt5Widgets.so.5
17 0x00007f75c13a7215 in () at /usr/lib/libQt5Widgets.so.5
18 0x00007f75c1345ff6 in QApplicationPrivate::notify_helper(QObject, QEvent) () at /usr/lib/libQt5Widgets.so.5
19 0x00007f75c07761ba in QCoreApplication::notifyInternal2(QObject, QEvent) () at /usr/lib/libQt5Core.so.5
20 0x00007f75c0b56c50 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
21 0x00007f75c0b2bb15 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5

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

@sebalis, feel free to open a PR to https://github.com/chaotic-aur/pkgbuild-obs-backgroundremoval 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: https://ghostbin.com/paste/QaS9v

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).