Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS 30.2.0 flatpak, custom plugins fail to load #10981

Closed
lefty82 opened this issue Jul 13, 2024 · 13 comments
Closed

OBS 30.2.0 flatpak, custom plugins fail to load #10981

lefty82 opened this issue Jul 13, 2024 · 13 comments
Labels
Confirmed This bug report has been confirmed by project members Linux Affects Linux

Comments

@lefty82
Copy link

lefty82 commented Jul 13, 2024

Operating System Info

Other

Other OS

arch linux

OBS Studio Version

30.2.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/Oy4q2U9ul0NgE87P

OBS Studio Crash Log URL

No response

Expected Behavior

Custom plugins should be able to load. The native arch linux package works fine, but not the flatpak.

Current Behavior

Custom plugins fail to load. This was also tested on a debian virtual machine with the flatpak version, same error.

Steps to Reproduce

  1. Install a custom plugin, you can use "com.obsproject.Studio.Plugin.OBSVkCapture" from flathub to test it
  2. Check the current log if it has loaded.

...

Anything else we should know?

No response

@lefty82 lefty82 changed the title OBS 30.2.0 flatpak, plugins fail to load OBS 30.2.0 flatpak, custom plugins fail to load Jul 13, 2024
@Penwy
Copy link
Contributor

Penwy commented Jul 13, 2024

Can duplicate on ubuntu 22.04
Any plugin installed via flathub doesn't even log an attempt to load.
Plugins installed by copying in the plugins config folder fail to load with :
os_dlopen(/app/plugins/lib/obs-plugins/linux-vkcapture.so->/app/plugins/lib/obs-plugins/linux-vkcapture.so): libobs.so.0: cannot open shared object file: No such file or directory

@lefty82
Copy link
Author

lefty82 commented Jul 13, 2024

The flatpak version loads manually installed plugins from $HOME/.var/app/com.obsproject.Studio/config/obs-studio/plugins/

Those fail as well. Worked fine on the previous version.

@tytan652 tytan652 added Linux Affects Linux Confirmed This bug report has been confirmed by project members labels Jul 13, 2024
@tytan652
Copy link
Collaborator

tytan652 commented Jul 13, 2024

Just to set the scope of the issue:

  • Plugins manually installed (copy-paste in the config folder) are not supported in the Flatpak and never was.
  • "Flatpak extensions can't be loaded since 30.2" is the scope of the issue

@tytan652
Copy link
Collaborator

The easiest solution, would be to have every extension re-built against the latest Flathub.

I asked Flathub, I'll see how it is going.

@lefty82
Copy link
Author

lefty82 commented Jul 13, 2024

That leaves the issue with extensions that are not through FP, and just dropped in $HOME/.var/app/com.obsproject.Studio/config/obs-studio/plugins/

I guess it will be up to the individual devs for those

@tytan652
Copy link
Collaborator

tytan652 commented Jul 13, 2024

Flathub accepted to start re-build of plugins, in +3 hours most of the re-built plugins will be pushed to Flathub.

If a plugin is not re-built (in the next 24 hours), please open an issue on it's Flathub manifest repo.

@tytan652
Copy link
Collaborator

tytan652 commented Jul 13, 2024

That leaves the issue with extensions that are not through FP, and just dropped in $HOME/.var/app/com.obsproject.Studio/config/obs-studio/plugins/

I guess it will be up to the individual devs for those

Like I said we don't support this, for the Flatpak we only support Flatpak extensions.

@jaedolph
Copy link

jaedolph commented Jul 14, 2024

Also having this issue, the OBSVkcapture plugin is not working for me (installed via the flatpak)

Works fine when I downgrade the OBS flatpak to the previous version.

@Gamertech
Copy link

Unfortunately, 27 hours later and none of the extensions appear to have been modified.

Rolled back for now, but has anyone got more info on what's being done atm?

@joaojotta
Copy link

joaojotta commented Jul 15, 2024

Unfortunately, 27 hours later and none of the extensions appear to have been modified.

Rolled back for now, but has anyone got more info on what's being done atm?

I'm having the same issue. None of the plugins are loading. Tried to rollback but I OBS wouldn't open after that.

Any workarounds?

@tytan652
Copy link
Collaborator

tytan652 commented Jul 15, 2024

Re-build have been normally publish unless the build failed or the plugin did not keep up with KDE Sdk updates.

If a plugin is not re-built (does not work), please open an issue on the Flathub manifest repo.

@tytan652 tytan652 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2024
@rmnvgr
Copy link
Contributor

rmnvgr commented Jul 15, 2024

Hello,

I help maintain the Waveform Flatpak plugin, and, from what I can see, no rebuild has been triggered for it: https://buildbot.flathub.org/#/apps/com.obsproject.Studio.Plugin.waveform

I tried to manually build it and update it to the latest KDE SDK, but the build fails because it's not finding an OBS symbol:

-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /run/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /run/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Deprecation Warning at deps/cpu_features/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for getauxval
-- Looking for getauxval - found
-- Looking for obs_properties_add_color_alpha
CMake Error in /run/build/waveform/CMakeFiles/CMakeScratch/TryCompile-qP7bFG/CMakeLists.txt:
  No known features for CXX compiler

  ""

  version .


CMake Error at /usr/share/cmake-3.29/Modules/CheckSymbolExists.cmake:140 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/share/cmake-3.29/Modules/CheckSymbolExists.cmake:66 (__CHECK_SYMBOL_EXISTS_IMPL)
  CMakeLists.txt:228 (check_symbol_exists)


-- Configuring incomplete, errors occurred!

Please let me know if you have any idea on how to resolve this.

@tytan652
Copy link
Collaborator

@rmnvgr, outdated SDK, for the build error this is an issue with upstream plugin CMake from what I see.

Issues are not meant for support. So for maintainers, for further assistance either the OBS Comnunity Discord or the Flathub Matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed This bug report has been confirmed by project members Linux Affects Linux
Projects
None yet
Development

No branches or pull requests

7 participants