sonosaurus / sonobus

Source code for SonoBus, a real-time network audio streaming collaboration tool.
https://sonobus.net
GNU General Public License v3.0
1.6k stars 119 forks source link

Sonobus VST3 won't load on Bitwig Studio Linux #126

Open thereblight opened 2 years ago

thereblight commented 2 years ago

I installed sonobus on Manjaro KDE with AUR package(https://aur.archlinux.org/packages/sonobus), and on Bitwig Studio the VST3 plugin fails to load. Standalone version or VST3 on Reaper works without issues.

Below is the message copied from the Bitwig log file.

About to start the following process:  /opt/bitwig-studio/bin/BitwigPluginHost-X64-SSE41 host Sonosaurus-SonoBus 48000 512 380771-1 12 not-dpi-aware 8 jack jack 163846
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Successfully set thread realtime priority to 50
Creating plugin audio thread proxy 0
PluginHost: Starting new audio thread for processing plugin 0
Successfully set thread realtime priority to 50
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  54
  Current serial number in output stream:  54
Could not read async reply: End of stream
Sending a shutdown request to the plugin host
Error sending request to plug-in host: Error writing to named pipe: Broken pipe
Waiting for plugin host process to exit
Plugin host process exited with code: 256
Child process with PID 381295 exited with error code: 1
Waiting for plugin host process to exit
Plugin host process exited with code: 256
icedream commented 2 years ago

I can confirm this issue with the current newest SonoBus version and a freshly set up Arch Linux + KDE + Ardour installation.

mrteathyme commented 2 years ago

Double confirmation on linux native vsts not working with the arch aur package install

My setup is arch + hyprland + pipewire with the jack and pulse drop in bindings, so unless there is a conflict with pipewire or the arch kernel there should be no conflicts (im not running a desktop environment so no weird audio setup thats only for one distro bullshit)

[carla] Starting plugin bridge, command is:
/usr/lib/carla/carla-bridge-native "VST2" "/usr/lib/vst3/SonoBus.vst3/Contents/x86_64-linux/SonoBus.so" "(none)" 0
[carla] Failed to set high priority, error 1: Operation not permitted
[carla] Plugin failed to load, error was:
Could not find the VST2 main entry in the plugin library

Result of attempting to drag and drop SonoBus.so directly onto a carla patchbay, from the looks of things its incorrectly reporting itself as a vst2

Did manage to get it to work by loading the windows vst instead with a wine bridge, but that has the caveat that I have to load the vst manually from cli, attempting to load it through carla will load the vst but the gui will crash it so cli is my only option to access the gui atm, which afaik also locks me out from saving plugin state notlikethis

eras commented 1 year ago

SonoBus 1.6.2-0 VST3 starts up fine and also works in Debian Stable with deb-packaged Bitwig 5 beta 3. However, I was not able to load it from Carla, so that issue also exists and is probably different from this.

I was not able to enter any input to the SonoBus VST3 this way (including the chat area that was excluded by #176 ), but I feel this is probably something related to JUCE or BitWig as this is the case also with librearp (turns out few plugins actually accept written input in the same window to test this out!). Entering text to the app works fine.