VSTs on 64-Bit Linux

Hi,

I have several 32-bit native Linux VSTs which I’d like to continue to use on Ubuntu 15.04 64-Bit. When I try loading a 32-Bit VST instrument in 64-Bit Renoise (both 3.0.1 or 3.1.0rc2), it hangs while displaying “Initializing plugin instance…” in the status bar. The last console output says “Reading the plugin caches…”. Ctrl-C doesn’t kill renoise, only kill -9 does.

I then tried 3.1.0rc2 32 bit - this apparently failed while enumerating 64-bit plugins. Here’s an extract from stdout:

Renoise Plugin Server LOG> Server: Connected

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fcfefff4d10]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fcfef016267]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7fcfef017eca]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf527) [0x7fcfefff3527]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x51c4b2]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x43a775]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d814]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40e239]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fcfef001a40]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d16d]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(+0x10dc8) [0x7fcfeeff1dc8]

Renoise Plugin Server LOG> CrashLog: [0x7fcff0a0f000]

Renoise Plugin Server LOG> Application: Caught an unhandled fatal exception (Thread: ???)!

Renoise Plugin Server LOG> Application: Saving a backup...

A fatal error occurred (unhandled exception in thread: ???). Nevertheless, a backup of the current document was successfully saved...

Renoise LOG> RemoteAudioPlugin: Creating server thread...

Renoise LOG> RemoteAudioPlugin: Creating plugin instance in the server...

...................

..................

.................

................

...............

..............

.............

............

...........

..........

.........

........

.......

......

.....

....

...

..

.

Renoise Plugin Server LOG> Application: Terminating...

Terminating...

Renoise LOG> RemoteAudioPlugin: Closing ''...

Renoise LOG> RemoteAudioPlugin: Stopping server thread...

Renoise LOG> RemoteAudioPlugin: Shutting down server process...

Renoise LOG> RemoteAudioPlugin: Disconnecting pipes...

Renoise LOG> RemoteAudioPlugin: Instantiating '/usr/lib/ladspa/adsr_1653.so'...

Renoise LOG> RemoteAudioPlugin: Creating pipes...

Renoise LOG> RemoteAudioPlugin: Launching plugin server process...

Renoise LOG> System: Executing '/tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64 4136 /tmp/Renoise-0-4136/PipeMemory-20 RNS_PipeTrigger-4136-20 RNS_PipeWait-4136-20 /tmp/Renoise-0-4136/PipeMemory-21 RNS_PipeTrigger-4136-21 RNS_PipeWait-4136-21'

Renoise LOG> RemoteAudioPlugin: Connecting to the server...

Renoise Plugin Server LOG> IPP: Detected CPU type: 0x46

Renoise Plugin Server LOG> Graphport: Initializing Freeimage...

Renoise Plugin Server LOG> Graphport: Initialising XThreads...

Renoise Plugin Server LOG> Graphport: Opening XDisplay ':0.0' (configured via 'DISPLAY' env)...

Renoise Plugin Server LOG> Graphport: XDisplay was successfully opened

Renoise Plugin Server LOG> GraphPort: Loading cursor images (libXcursor is present)...

Renoise Plugin Server LOG> System: Application path retrieved from /proc/self/exe: '/tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64'

Renoise Plugin Server LOG> System: Running from directory '/tmp/rns_3_1_0_linux_x86/Resources/'...

Renoise Plugin Server LOG> System: Using '/tmp/rns_3_1_0_linux_x86/Resources/' as local resource directory...

Renoise Plugin Server LOG> GraphPort: Initializing the Font Engine...

Renoise Plugin Server LOG> GraphPort: Enumerating system fonts...

Renoise Plugin Server LOG> Graphport: Initializing Keyboard mappings...

Renoise Plugin Server LOG> Graphport: Initializing XAtoms...

Renoise Plugin Server LOG> Application: Initializing Icon Bitmaps...

Renoise Plugin Server LOG> Application: Skipped high resolution icon image(s) (too less space for selection - cur: 159808, new: 524304, max: 262144)

Reading the plugin caches...

Renoise Plugin Server LOG> Server: Connected

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7f7cb1697d10]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f7cb06b9267]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f7cb06baeca]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf527) [0x7f7cb1696527]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x51c4b2]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x43a775]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d814]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40e239]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7cb06a4a40]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d16d]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(+0x10dc8) [0x7f7cb0694dc8]

Renoise Plugin Server LOG> CrashLog: [0x7f7cb20b2000]

Renoise Plugin Server LOG> Application: Caught an unhandled fatal exception (Thread: ???)!

Renoise Plugin Server LOG> Application: Saving a backup...

A fatal error occurred (unhandled exception in thread: ???). Nevertheless, a backup of the current document was successfully saved...

Renoise LOG> RemoteAudioPlugin: Creating server thread...

Renoise LOG> RemoteAudioPlugin: Creating plugin instance in the server...

...................

..................

.................

................

...............

..............

.............

............

...........

..........

.........

........

.......

......

.....

....

...

..

.

Renoise Plugin Server LOG> Application: Terminating...

Terminating...

Renoise LOG> RemoteAudioPlugin: Closing ''...

Renoise LOG> RemoteAudioPlugin: Stopping server thread...

Renoise LOG> RemoteAudioPlugin: Shutting down server process...

Renoise LOG> RemoteAudioPlugin: Disconnecting pipes...

Renoise LOG> RemoteAudioPlugin: Instantiating '/usr/lib/ladspa/adsr_1680.so'...

Renoise LOG> RemoteAudioPlugin: Creating pipes...

Renoise LOG> RemoteAudioPlugin: Launching plugin server process...

Renoise LOG> System: Executing '/tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64 4136 /tmp/Renoise-0-4136/PipeMemory-22 RNS_PipeTrigger-4136-22 RNS_PipeWait-4136-22 /tmp/Renoise-0-4136/PipeMemory-23 RNS_PipeTrigger-4136-23 RNS_PipeWait-4136-23'

Renoise LOG> RemoteAudioPlugin: Connecting to the server...

Renoise Plugin Server LOG> IPP: Detected CPU type: 0x46

Renoise Plugin Server LOG> Graphport: Initializing Freeimage...

Renoise Plugin Server LOG> Graphport: Initialising XThreads...

Renoise Plugin Server LOG> Graphport: Opening XDisplay ':0.0' (configured via 'DISPLAY' env)...

Renoise Plugin Server LOG> Graphport: XDisplay was successfully opened

Renoise Plugin Server LOG> GraphPort: Loading cursor images (libXcursor is present)...

Renoise Plugin Server LOG> System: Application path retrieved from /proc/self/exe: '/tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64'

Renoise Plugin Server LOG> System: Running from directory '/tmp/rns_3_1_0_linux_x86/Resources/'...

Renoise Plugin Server LOG> System: Using '/tmp/rns_3_1_0_linux_x86/Resources/' as local resource directory...

Renoise Plugin Server LOG> GraphPort: Initializing the Font Engine...

Renoise Plugin Server LOG> GraphPort: Enumerating system fonts...

Renoise Plugin Server LOG> Graphport: Initializing Keyboard mappings...

Renoise Plugin Server LOG> Graphport: Initializing XAtoms...

Renoise Plugin Server LOG> Application: Initializing Icon Bitmaps...

Renoise Plugin Server LOG> Application: Skipped high resolution icon image(s) (too less space for selection - cur: 159808, new: 524304, max: 262144)

Reading the plugin caches...

Renoise Plugin Server LOG> Server: Connected

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0x10d10) [0x7fedb6f59d10]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fedb5f7b267]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7fedb5f7ceca]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libpthread.so.0(+0xf527) [0x7fedb6f58527]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x51c4b2]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x43a775]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d814]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40e239]

Renoise Plugin Server LOG> CrashLog: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fedb5f66a40]

Renoise Plugin Server LOG> CrashLog: /tmp/rns_3_1_0_linux_x86/Resources/AudioPluginServer_x86_64() [0x40d16d]

Renoise Plugin Server LOG> CrashLog: /lib64/ld-linux-x86-64.so.2(+0xa7b2) [0x7fedb779b7b2]

Renoise Plugin Server LOG> CrashLog: [0x506]

Renoise Plugin Server LOG> Application: Caught an unhandled fatal exception (Thread: ???)!

Renoise Plugin Server LOG> Application: Saving a backup...

A fatal error occurred (unhandled exception in thread: ???). Nevertheless, a backup of the current document was successfully saved...

Renoise LOG> RemoteAudioPlugin: Creating server thread...

Renoise LOG> RemoteAudioPlugin: Creating plugin instance in the server...

...................

..................

.................

................

...............

..............

.............

............

...........

..........

.........

........

.......

......

.....

....

...

..

.

I really want to get this working, some of my old songs use VSTs. It must have worked in some previous version, maybe 2.7… Any help?

Do you know which vsts are giving you the problem (unless I’m missing that in the log)?

Looks like a weired general problem with the plugin server on your machine/setup. It’s crashing in libc’s “sem_post”. Maybe a permission issue or broken libraries/dependencies.

You’re launching Renoise from the /tmp folder. Does it work when launching it from somewhere else like your home dir (not a temp dir)?
Are you running Renoise as root or regular user? To check if it’s a permission issue, does running it as root work for you?
Do file permissions of the Renoise executable and plugin servers look OK?

Which Linux dist and version is this?

Sorry for the late reply. In the meantime I upgraded to Ubuntu 15.10 and Renoise 3.1.0 (both still 64-bit).

Now the behaviour is different: I don’t see crashes, but instead renoise just hangs when enumerating 32-bit VSTs.

stdout:

Renoise LOG> Audio Plugins: Searching for VST plugins in '/home/johannesk/bin/vst/'
Renoise LOG> RemoteAudioPlugin: Instantiating '/home/johannesk/bin/vst/libsorollet_vsti.so'...
Renoise LOG> RemoteAudioPlugin: Creating pipes...
Renoise LOG> RemoteAudioPlugin: Launching plugin server process...
Renoise LOG> System: Executing '/usr/local/share/renoise-3.1.0/AudioPluginServer_x86 17549 /tmp/Renoise-0-17549/PipeMemory-582 RNS_PipeTrigger-17549-582 RNS_PipeWait-17549-582 /tmp/Renoise-0-17549/PipeMemory-583 RNS_PipeTrigger-17549-583 RNS_PipeWait-17549-583'
Renoise LOG> RemoteAudioPlugin: Connecting to the server...
Renoise Plugin Server LOG> IPP: Detected CPU type: 0x46
Renoise Plugin Server LOG> Graphport: Initializing Freeimage...
Renoise Plugin Server LOG> Graphport: Initialising XThreads...
Renoise Plugin Server LOG> Graphport: Opening XDisplay ':0.0' (configured via 'DISPLAY' env)...
Renoise Plugin Server LOG> Graphport: XDisplay was successfully opened
Renoise Plugin Server LOG> GraphPort: Loading cursor images (libXcursor is present)...
Renoise Plugin Server LOG> System: Application path retrieved from /proc/self/exe: '/usr/local/share/renoise-3.1.0/AudioPluginServer_x86'
Renoise Plugin Server LOG> System: Running from directory '/usr/local/share/renoise-3.1.0/'...
Renoise Plugin Server LOG> System: Using '/usr/local/share/renoise-3.1.0/' as local resource directory...
Renoise Plugin Server LOG> GraphPort: Initializing the Font Engine...
Renoise Plugin Server LOG> GraphPort: Enumerating system fonts...
Renoise Plugin Server LOG> Graphport: Initializing Keyboard mappings...
Renoise Plugin Server LOG> Graphport: Initializing XAtoms...
Renoise Plugin Server LOG> Application: Initializing Icon Bitmaps...
Renoise Plugin Server LOG> Application: Skipped high resolution icon image(s) (too less space for selection - cur: 79904, new: 262152, max: 262144)
Reading the plugin caches...

And this is from ~/.renoise/V3.1.0/Log.txt:

Audio Plugins: Searching for VST plugins in '/home/johannesk/bin/vst/'

RemoteAudioPlugin: Instantiating '/home/johannesk/bin/vst/libsorollet_vsti.so'...
RemoteAudioPlugin: Creating pipes...
RemoteAudioPlugin: Launching plugin server process...

System: Executing '/usr/local/share/renoise-3.1.0/AudioPluginServer_x86 17549 /tmp/Renoise-0-17549/PipeMemory-582 RNS_PipeTrigger-17549-582 RNS_PipeWait-17549-582 /tmp/Renoise-0-17549/PipeMemory-583 RNS_PipeTrigger-17549-583 RNS_PipeWait-17549-583'

RemoteAudioPlugin: Connecting to the server...

Then it hangs. I waited for 10 minutes or so, nothing happens.

At that point, when I ‘killall -9 AudioPluginServer_x86’, the same thing happens with the next plugin. I tried about 20 and the same thing happens with all of them.

I was running renoise from /tmp before because I was trying different versions. Now I have installed V3.1.0 and running that.

File permissions look OK to me:

lrwxrwxrwx 1 root root 28 Feb 13 08:02 /usr/local/bin/renoise -> /usr/local/bin/renoise-3.1.0*
-rwxr-xr-x 1 root root 26M Feb 13 08:02 /usr/local/bin/renoise-3.1.0*
-rwxr-xr-x 1 root root 6.6M Feb 13 08:02 /usr/local/share/renoise-3.1.0/AudioPluginServer_x86*
-rwxr-xr-x 1 root root 26M Feb 27 2015 /usr/local/bin/renoise-3.0.1*

Running as sudo root gave the same result.

Distro info: see above.

Thanks for good support as always and let me know if I can help with other info etc.

Hi,

any ideas on this?

Is there a way to disable the 32-bit plugin bride? So I can at least start Renoise?

Is there any news on this? The issues are still the same – 64-bit Renoise crashes when loading 32-bit VSTs and 32-bit Renoise crashes when trying to load some other plugins.

I’m willing to install debug symbols, post stack traces and help however I can. Please do something about this. I can’t open any of my older songs.

Update: To check whether the problem was related to my specific software setup or config, I created a fresh Linux Mint 18 x86_64 VirtualBox VM. The problem exists there as well: Renoise can’t load any 32-bit VSTs.

Can you do a “ldd [your_vst].so” to see if any 32bit libs are missing on our system?

Can you do a “ldd [your_vst].so” to see if any 32bit libs are missing on our system?

Good idea, but that’s not it. All the libs are there. I can load my 32-Bit VSTs on my 64-Bit OS in “Bridged Mode” in Carla.

bump

bump