locaal-ai / obs-backgroundremoval

An OBS plugin for removing background in portrait images (video), making it easy to replace the background when recording or streaming.
GNU General Public License v2.0
2.86k stars 196 forks source link

Debian Linux background removal not shown in filter list, no error in log #533

Closed RyanGoat closed 8 months ago

RyanGoat commented 8 months ago

Describe the bug

Installed .deb file. I see the plugin load in the OBS log. But the background removal choice is not shown in the Effect Filters list.

To Reproduce

Steps to reproduce the behavior: (Debian Linux 12, OBS Studio 29.1.2)

  1. sudo dpkg -i obs-backgroundremoval-1.1.10-x86_64-linux-gnu.deb
  2. sudo apt install libqt6widgets6
  3. Run OBS Studio
  4. Highlight Video Capture Device (V4L2)
  5. Open Filters dialog
  6. Open Add Filter dialog
  7. Notice Background Removal choice is missing!

Expected behavior

Background Removal is in the list of available filters.

Log and Crash Report

16:37:21.399: [obs-backgroundremoval] Plugin loaded successfully (version 1.1.10) ... 16:37:21.468: Loaded Modules: ... 16:37:21.468: obs-backgroundremoval.so

Desktop (please complete the following information):

agsilvio commented 8 months ago

This happens to me too on OBS version 29.0.2.1-1+b1 (64 bit)

umireon commented 8 months ago

@agsilvio Please post here the whole log to help us investigate the cause.

RyanGoat commented 8 months ago

Here is the full OBS log... 2024-01-22 07-08-16.txt

agsilvio commented 8 months ago

Here is my full, startup, stdout log. I could not find any other. Thank you.

startup-stdout.log

image

RyanGoat commented 8 months ago

@agsilvio I think you are looking in the wrong place. It should be under "Effects Filters".

umireon commented 8 months ago

@agsilvio Can you open a separate issue for us to support you? Your problem is different from @RyanGoat 's one.

umireon commented 8 months ago

@RyanGoat Can you give us some screenshots that indicate our plugin does not appear on the list?

RyanGoat commented 8 months ago

@umireon Screenshot showing the list of available filters: obs bacgroundremoval filter missing

umireon commented 8 months ago

@RyanGoat We don't support Qt 5. Can you use Qt 6?

agsilvio commented 8 months ago

@agsilvio I think you are looking in the wrong place. It should be under "Effects Filters".

Thank you. I reached my conclusion based on this tutorial, linked on the plugin's page. Needless to say, at the time, I checked both lists of filters and it is not found.

evidence: image

agsilvio commented 8 months ago

@agsilvio Can you open a separate issue for us to support you? Your problem is different from @RyanGoat 's one.

Thank you but I cannot see the difference. Can you identify the difference? I am also on Debian and having the same symptoms. I also installed the plugin the same way the OP did; with the deb package.

RyanGoat commented 8 months ago

@RyanGoat We don't support Qt 5. Can you use Qt 6?

The debian stable repository package seems to be compiled against QT5. I tried installing the latest unstable package (with OBS studio 30). But the packaging system outsmarted me. I'll see if I can figure out a way to get a newer build of OBS studio on my machine.

umireon commented 8 months ago

@RyanGoat Can you install OBS and our plugin via FlatPak? FlatPak is another official distribution by OBS-Studio for other distributions than Ubuntu. (Note that Debian is not Ubuntu).

umireon commented 8 months ago

@agsilvio Your OBS version is different from @RyanGoat 's, and this might make a huge difference. I decided to handle @agsilvio 's issue on another issue but if it reveals that the root cause was the same, we will go on the same issue.

RyanGoat commented 8 months ago

@RyanGoat Can you install OBS and our plugin via FlatPak? FlatPak is another official distribution by OBS-Studio for other distributions than Ubuntu. (Note that Debian is not Ubuntu).

I don't like FlatPak. It feels like a very microsoft way to install programs. But that is a different discussion.

I compiled obs studio 30.0.2 from source. It is using QT 6.4.2. Now the problem is it doesn't seem to find any plugins what so ever. No errors in the log either. Just no mention of any plugins at all.

umireon commented 8 months ago

537 will close this issue.

thedeveloperdavid commented 5 months ago

.deb release is not for debian users, only ubuntu. The package don't respect the official stable debian dependencies and is useless on debian.

flatpak is not a system solution, is a container solution and don't respect the path's and plugins of inner system.

Bottom line: only ubuntu is supported.

umireon commented 5 months ago

@thedeveloperdavid I don't think the OBS project supports Debian officially so that you have to build our plugin by yourself and this restriction is intended.