publicsamples / Oi-Grandad

4 Voice Granular Synth
GNU General Public License v3.0
296 stars 8 forks source link

Ardour cannot scan correctly Oi-Grandad #39

Open RaffaelloC opened 8 months ago

RaffaelloC commented 8 months ago

Whenever I try to scan Oi Grandad with Ardour, it returns this message for VST3

VST3 module-path '/home/lain/VST/oi grandad.vst3/Contents/x86_64-linux/oi grandad.so' [Info]: Scanning: /home/lain/VST/oi grandad.vst3 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 Scan Failed.

With the VST2 it is [Info]: Scanning: /usr/lib/vst/oi grandad.so [WARNING]: Cannot open VST2 module '/usr/lib/vst/oi grandad.so' Scan Failed.

My OS is Artix with the kernel 6.7.9 with the OpenRC init system

RickTaylor79 commented 8 months ago

Does it work in any other host? Reaper, or Carla maybe?

RaffaelloC commented 8 months ago

I tried also from Reaper, it crashes the whole program and in the terminal it just says "Killed" I will try with Carla and give you an update, I also have another laptop running another distro (Gentoo with OpenRC) and see if it works there

RaffaelloC commented 8 months ago

Tried again on the artix machine with Qtractor and Carla Carla can't even scan it Qtractor gives the same error On ardour in the gentoo install, it still cannot seem to scan it

tank-trax commented 8 months ago

please try this command

ldd "/usr/lib/vst/oi grandad.so"

RaffaelloC commented 8 months ago

Here's the output: linux-vdso.so.1 (0x00007ffe47df6000) libasound.so.2 => /usr/lib/libasound.so.2 (0x00007d721a31c000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007d721a24e000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007d721c684000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007d721c67f000) libGL.so.1 => /usr/lib/libGL.so.1 (0x00007d721c5f9000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007d7219e00000) libm.so.6 => /usr/lib/libm.so.6 (0x00007d721a162000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007d721a13d000) libc.so.6 => /usr/lib/libc.so.6 (0x00007d7219c1e000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007d721c6bb000) libz.so.1 => /usr/lib/libz.so.1 (0x00007d721a123000) libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007d721a110000) libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007d721a0d6000) libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007d7219b10000) libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007d721a0c7000) libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007d7219a58000) libGLX.so.0 => /usr/lib/libGLX.so.0 (0x00007d721a095000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007d721990d000) libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007d72198ea000) libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007d72198c7000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00007d7219784000) libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007d72196e9000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007d72196be000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007d721c5ec000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007d721a08d000)

RickTaylor79 commented 8 months ago

Sorry for the lack of response so far, I'm really crap with Linux and currently my attention is elsewhere (only so many hours in a day). If anyone would care to speculate on what's going wrong here, I'd appreciate it.

The latest version was complied in Ubuntu 20.02 and it seemed to work fine. I'lll try to get a handle on this for the next release. In the meantime, you might consider:

Trying an earlier version

v1.1.6 was compiled in a different environment to earlier versions. If 1.1.4/5 work let me know, it might help me pin down what's going wrong.

Building it yourself

This should be pretty trivial for most Linux users, right? :) I wrote up some instructions on how to do this a while back, they're for Quetzalcoatl, but it's the same process for Oi, Grandad!. Just ignore the parts where you're working with the sample content.

https://github.com/publicsamples/Quetzalcoatl/wiki/Build-it-yourself

WINE

Not ideal, but the Windows version should work with a VST bridge like Yabridge.