Can't shake "Safe Mode" and stuck at attempting to load advanced-scene-switcher-midi.so

jayrugman

New Member
System Info:
OS: Linux Mint 21.2 x86_64
Host: Dell G15 5520
Kernel: 5.15.0-119-generic
Packages: 3360 (dpkg), 32 (flatpak)
Shell: zsh 5.8.1
DE: Cinnamon 5.8.4
CPU: 12th Gen Intel i5-12500H (16) @ 4.500GHz
GPU: NVIDIA GeForce RTX 3050 Mobile
GPU: Intel Alder Lake-P
Memory: 3839MiB / 31777MiB

Flatpack version: 1.12.7
OBS Studio version: 30.2.3 (64 bit)

Application Launcher uses the following command:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio

When I click on the app launcher icon, it hangs and has to be killed via `killall obs`

When I run this command in the terminal, I get the "Safe Mode" dialogue box. When I select "Run Normally", the output in the terminal hangs at the following (full output attached):
info: [adv-ss] version: 510f83246ea264f56def58187bd9537b7c93b988
info: [adv-ss] attempting to load "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-base.so"
info: [adv-ss] successfully loaded "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-base.so"
info: [adv-ss] attempting to load "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-opencv.so"
info: [adv-ss] successfully loaded "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-opencv.so"
info: [adv-ss] attempting to load "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-twitch.so"
info: [adv-ss] successfully loaded "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-twitch.so"
info: [adv-ss] attempting to load "/app/plugins/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-midi.so"

I have to kill with CTRL+c. When I get the system dialogue "OBS is already running". If I hit "Launch Anyway," you can guess what happened (same as above)

To get it working from here, I have to CTRL+c again, run `killall obs`, run `/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio`, and select "Run in Safe Mode" when that system dialogue comes up again. If I shut down correctly from the GUI, but still have to open in safe mode.

Troubleshooting:
I verified that `/var/lib/flatpak/runtime/com.obsproject.Studio.Plugin.SceneSwitcher/x86_64/stable/9c3c7cf924f6c5d37d76403f020ec956115c05138f9bb3670e5fe06d65574726/files/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-midi.so`exists, is not empty, and has the same modification date as the other three files in that directory. I have no other way of testing integrity. However, here is the sha256sum: ff97bf04464e8969a5e8d6f09962d32b638b04831e76f2b8d88d17af8eb9a6fd

In safe mode, Tools does not contain Advanced Scene Switcher, but only has "Auto-configuration Wizard."

I don't know how to uninstall Advanced Scene Switcher from the CLI or from safe mode.

The Ask:
How do I either get the so for midi mentioned above, or uninstall Advanced Scene Switcher via safemode/cli?
 

Attachments

  • OBS_issue_obsprojectDOTcom_StartOutput_20240824.txt
    5.2 KB · Views: 16
  • OBS_issue_obsprojectDOTcom_StartOutput_Successful_20240824.txt
    13.8 KB · Views: 14

Warmuptill

Active Member
How do I either get the so for midi mentioned above, or uninstall Advanced Scene Switcher via safemode/cli?
You should be able to uninstall the advanced scene switcher by running this command, assuming it was installed using flatpak:
flatpak uninstall com.obsproject.Studio.Plugin.SceneSwitcher

Alternatively you can also try to remove the advanced-scene-switcher-midi.so if you don't need the MIDI functionality of the advanced scene switcher.

If either of those two approaches should resolve your freeze issue, can you please let me know what type of settings you had configured in the advanced scene switcher plugin, so I can investigate the root cause of the issue?
Thank you!
 

mark_l_g

New Member
I can confirm that with a flatpack install of Advanced Scene Switcher 1.27.2 / OBS Project 30.2.3 on RHEL8, removing
var/lib/flatpak/runtime/com.obsproject.Studio.Plugin.SceneSwitcher/x86_64/stable/21bd13a8ea1729f374561cd90fcb69b66a24fa47e71ab5bd23a244dfc01500b2/files/lib/obs-plugins/advanced-scene-switcher-plugins/advanced-scene-switcher-midi.so
allows it to start and function correctly.

Regards,

Mark
 
Top