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

Yabridge is crashing when running REAPER from launcher #328

Open
1 task done
aidanhadley opened this issue Apr 4, 2024 · 4 comments
Open
1 task done

Yabridge is crashing when running REAPER from launcher #328

aidanhadley opened this issue Apr 4, 2024 · 4 comments

Comments

@aidanhadley
Copy link

Thanks for giving yabridge a shot!

  • I read through both the troubleshooting and the known issues sections, and my issue wasn't listed there

Problem description

Ubuntu 23.10, latest version of yabridge, wine-staging 9.4. When i run REAPER from the terminal, I'm able to load windows plugins (such as Meowsynth, one of my favorites) just fine. However, when I run it from the cockos-reaper.desktop launcher, it crashes. Logs and info are below.

What did you expect to happen?

Reaper to not crash

What actually happened?

Reaper crashed

Operating system

Ubuntu 23.10

How did you install yabridge?

Releases page

yabridge version

5.1.0

yabridgectl version

5.1.0

Wine version

wine-staging 9.4

Plugin

All Windows Plugins, but Meowsynth is the first I noticed

Plugin type

both VST2 and VST3

Plugin architecture

both 64-bit and 32-bit

Host

REAPER 7.13

Desktop environment or WM

GNOME 45

GPU model

No response

GPU drivers and kernel

No response

Debug log

22:49:14 [MeowSynth-08Zfghor] library: '/home/ldas/.local/share/yabridge/libyabridge-vst2.so'
22:49:14 [MeowSynth-08Zfghor] host: '/home/ldas/.local/share/yabridge/yabridge-host-32.exe'
22:49:14 [MeowSynth-08Zfghor] plugin: '/home/ldas/.wine/drive_c/Program Files/Steinberg/VstPlugins/MeowSynth.dll'
22:49:14 [MeowSynth-08Zfghor] plugin type: 'VST2'
22:49:14 [MeowSynth-08Zfghor] realtime: 'no'
22:49:14 [MeowSynth-08Zfghor] sockets: '/run/user/1000/yabridge-MeowSynth-08Zfghor'
22:49:14 [MeowSynth-08Zfghor] wine prefix: '/home/ldas/.wine'
22:49:14 [MeowSynth-08Zfghor] wine version: ''
22:49:14 [MeowSynth-08Zfghor]
22:49:14 [MeowSynth-08Zfghor] config from: ''
22:49:14 [MeowSynth-08Zfghor] hosting mode: 'individually, 32-bit'
22:49:14 [MeowSynth-08Zfghor] other options: ''
22:49:14 [MeowSynth-08Zfghor]
22:49:14 [MeowSynth-08Zfghor] Enabled features:
22:49:14 [MeowSynth-08Zfghor] - bitbridge support
22:49:14 [MeowSynth-08Zfghor] - CLAP support
22:49:14 [MeowSynth-08Zfghor] - VST3 support
22:49:14 [MeowSynth-08Zfghor]
22:49:14 [MeowSynth-08Zfghor] [Wine STDERR] /home/ldas/.local/share/yabridge/yabridge-host-32.exe: 36: exec: wine: not found
22:49:14 [MeowSynth-08Zfghor] The Wine host process has exited unexpectedly. Check the output above for more information.

Anything else?

here is the .exe file:

ldas@framevirgin:~$ cat .local/share/yabridge/yabridge-host-32.exe
#!/bin/sh

appname="yabridge-host-32.exe.so"
# determine the application directory
appdir=''
case "$0" in
  */*)
    # $0 contains a path, use it
    appdir=`dirname "$0"`
    ;;
  *)
    # no directory in $0, search in PATH
    saved_ifs=$IFS
    IFS=:
    for d in $PATH
    do
      IFS=$saved_ifs
      if [ -x "$d/$appname" ]; then appdir="$d"; break; fi
    done
    ;;
esac

# figure out the full app path
if [ -n "$appdir" ]; then
    apppath="$appdir/$appname"
    WINEDLLPATH="$appdir:$WINEDLLPATH"
    export WINEDLLPATH
else
    apppath="$appname"
fi

# determine the WINELOADER
if [ ! -x "$WINELOADER" ]; then WINELOADER="wine"; fi

# and try to start the app
exec "$WINELOADER" "$apppath" "$@"
ldas@framevirgin:~$ 

and here is the launcher:

ldas@framevirgin:~$ cat ~/.local/share/applications/cockos-reaper.desktop 
[Desktop Entry]
Version=1.1
Type=Application
Name=REAPER
Comment=REAPER
Icon=cockos-reaper
Exec=reaper %F
MimeType=application/x-reaper-project;application/x-reaper-project-backup;application/x-reaper-theme;
Categories=Audio;AudioVideo;AudioVideoEditing;Recorder;Video;
StartupWMClass=REAPER
Name[en]=REAPER
Name[en_US]=REAPER
Name[en_US.UTF-8]=REAPER
Comment[en]=REAPER
Comment[en_US]=REAPER
Comment[en_US.UTF-8]=REAPER
Hidden=false
NoDisplay=false
StartupNotify=false
Terminal=false

ldas@framevirgin:~$ 

and finally here's my $PATH (idk if this is safe to post):

/home/ldas/.local/bin:/home/ldas/bin:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/x86/x86_energy_perf_policy:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/x86/turbostat:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/cpupower:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/perf:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/x86/x86_energy_perf_policy:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/x86/turbostat:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/power/cpupower:/usr/src/linux-headers-6.7.11-1-liquorix-amd64/tools/perf:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/opt/wine-staging/bin:/home/ldas/.local/share/yabridge
@LeontKing2
Copy link

it says wine was not found... also reaper is a 64 Bit Plugin/Program. you have given the 32 bit host bash file for yabridge.

@aidanhadley
Copy link
Author

yeah, the thing is, i have wine installed, and i can access it through wine on the terminal. the reason it's a 32-bit shared object file is because the plugin itself is a 32-bit plugin.

i'm now on arch, and have had no issue. after i finish this semester of school i'm going to tinker with it and see what's happening

@LeontKing2
Copy link

pretty strange... have you ran reaper with any arguments or such? (from terminal)

@aidanhadley
Copy link
Author

no, i havent.

i'd like an update, i'm on fedora now and i'm having this issue. i had to add wine into my $PATH through /opt/wine-staging/bin. i feel like this is, perhaps, the issue. maybe running it from a launcher is not finding the exec?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants