Closed ninbura closed 1 month ago
This is related to #1007
Even copying those required libs into the flatpak libs will fail. The current flatpaks for OBS look for libopencv_objdetect.so.4.5d
which is not present (same within newer distros). Fedora is on opencv 4.9, and Ubuntu is also newer. Symlinks won't work either as they are not backwards compatible.
What's odd is it actually will open the plugin and seems to work, even with the plugin failure message popup, so I'm not sure what opencv is even doing.
I'm still not understanding the situation fully, but I can say that the Flatpak versions of Advance Scene Switcher v1.26.4
+ OBS v30.1.2
were fully functional on my Ubuntu v23.10
install a week and a half ago without manual intervention of any kind before I upgraded to Ubuntu v24.04
. Contrary to the information found in https://github.com/WarmUpTill/SceneSwitcher/issues/1007.
I was never checking logs, because everything was working. So, it's possible there was still an error. But functionally there were no problems. I had been running Advance Scene Switcher and OBS via Flatpak for around 6 months, taking updates as they came, prior to updating to Ubuntu v24.04
.
Regarding the current situation on my system, the errors linked in the OP display, and the plugin is absent in the "Tools" dropdown list.
It seems not a problem on Ubuntu 24.04 cause I'm in 22.04 and I'm facing the same issue. Suddenly ASW desapered from the dropdown list and I can't use it anymore in OBS 30.2.2 via Flatpak.
Sorry for not replying earlier and thank you for reporting the issue! I will look into the issue as soon as I will be able to, which will likely be the end of next week.
I assume the issue is slightly different to #1007 as I would expect the dependencies to be handled by the flatpak runtime environment.
I managed to perform some quick tests already today.
Seems like the issue of the flatpak version of the advanced scene switcher not being able to load might have been caused by a change on OBS side. A simple re-build of the plugin against the latest OBS build for flatpak seems to resolve the issue on my end.
Can you please check if the following test build of the plugin works in combination with your fatpak OBS install?
flatpak install --user https://dl.flathub.org/build-repo/119862/com.obsproject.Studio.Plugin.SceneSwitcher.flatpakref
(The build was here: https://github.com/flathub/com.obsproject.Studio.Plugin.SceneSwitcher/pull/66)
If that is the case I will merge the changes officially.
It solves for me on Pop!_OS 22.04 LTS OBS 30.2.2 Thank you so much!
Can you please check if the following test build of the plugin works in combination with your fatpak OBS install?
flatpak install --user https://dl.flathub.org/build-repo/119862/com.obsproject.Studio.Plugin.SceneSwitcher.flatpakref
(The build was here: flathub/com.obsproject.Studio.Plugin.SceneSwitcher#66)
If that is the case I will merge the changes officially.
This fixed the problem on my machine as well 👍️
Great! I have merged the changes now.
Thanks for your support and patience!
Describe the bug OBS fails to load Advanced Scene Switcher plugin on Ubuntu 24.04 with OBS
v30.2.0
& Advanced Scene Switcherv1.26.4
plugin installed via Flatpak.To Reproduce
Expected behavior Advance scene switch should properly load when installed alongside OBS via Flatpak.
Logs
Version information
30.2.0
1.26.4
Additional context Seems like the issue isn't exclusive to the Advanced Scene Switcher plugin as seen here → https://github.com/sorayuki/obs-multi-rtmp/issues/436. As far as I can tell, this only started happening after the
v30.2.0
update for OBS. Likewise, it is not necessarily a problem for all plugins. The obs-ndi plugin installed via Flatpak still works just fine on the latest version of OBS.