Linux: freeze when loading any 32 bit VST plugin

This is Ubuntu Studio 16 with Renoise 3.1 64bit and using Jack Audio. Just wondering if anybody has an idea what I could be missing or how to further analyze this.

There is no suspicious error logged in the terminal:

Renoise LOG> Application: Init OK
Renoise LOG> StartupWindow: Closing the window...
Renoise LOG> Application: Enter MainLoop...
Renoise LOG> RemoteAudioPlugin: Instantiating '/home/ivo/.vst/Discovery.so'...
Renoise LOG> RemoteAudioPlugin: Creating pipes...
Renoise LOG> RemoteAudioPlugin: Launching plugin server process...
Renoise LOG> System: Executing '/stuff/renoise/rns_3_1_0_linux_x86_64/Resources/AudioPluginServer_x86 4719 /tmp/Renoise-0-4719/PipeMemory-0 RNS_PipeTrigger-4719-0 RNS_PipeWait-4719-0 /tmp/Renoise-0-4719/PipeMemory-1 RNS_PipeTrigger-4719-1 RNS_PipeWait-4719-1'
Renoise LOG> RemoteAudioPlugin: Connecting to the server...
Renoise Plugin Server LOG> IPP: Detected CPU type: 0x45
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: '/stuff/renoise/rns_3_1_0_linux_x86_64/Resources/AudioPluginServer_x86'
Renoise Plugin Server LOG> System: Running from directory '/stuff/renoise/rns_3_1_0_linux_x86_64/Resources/'...
Renoise Plugin Server LOG> System: Using '/stuff/renoise/rns_3_1_0_linux_x86_64/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: 79904, new: 262152, max: 262144)
Reading the plugin caches...

I have the same setup as you, (Ubuntu Studio x64) and I’ve noticed a short hang when loading 32bit vsts too. Are you using wine for anything? My assumption was that the plugin bridge is used for 32bit instruments, which causes some extra set-up time. How long does it hang for you, or are you saying it freezes permanently?

You should try using the 32bit Renoise and compare what happens. It should disable bridging, though I might be wrong. I’ve been meaning to try it myself, but hadn’t thought of it for a while. Let me know if you figure something out.

Thanks Skolskoly.

I found another threadthat sounds similar to my issue, except lapsda and dssi plugins seem to work of for me (in Renoise 64bit), just 32bit VSTs aren’t working (Disco DSP Discovery in particular, not a windows plugin but natively compiled for linux AFAIK).

However, when I tried running the 32bit version of Renoise 3.1 I can load load the VSTs and display their GUI but I cannot insert notes or start playback. Looking at the Jack message output I get a constant stream of errors, which seems just really odd (mind you everything works fine for 64bit apps).

I also get this with Renoise 2.8.2 32Bit, which used to work with an older Ubuntu install of Ubuntu 12, so this is not a regression from Renoise itself rather something about the OS, drivers or Jack audio configuration. Could it be related to the fact that Ubuntu moved to systemd in the meantime? Could also be completely untrue, it’s just a wild guess. Each time I get back to audio stuff on a new linux install it’s a pain to get my M-Audio Delta 1010LT soundcard to work properly.

Excerpt from the Jack Audio log (full log on pastebin)

Sun Oct 9 12:58:06 2016: Connecting 'renoise:output_01_right' to 'system:playback_2'
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 11
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 11
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 11
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 11
Sun Oct 9 12:58:06 2016: Jack: Process: graph not finished!
Sun Oct 9 12:58:06 2016: Jack: Process: waiting to switch delta = 23257
Sun Oct 9 12:58:06 2016: ERROR: JackEngine::XRun: client = renoise was not finished, state = Triggered
Sun Oct 9 12:58:06 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Sun Oct 9 12:58:06 2016: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 11
Sun Oct 9 12:58:06 2016: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 12
Sun Oct 9 12:58:06 2016: Jack: JackRequest::Notification
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 3
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 3
Sun Oct 9 12:58:06 2016: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3
Sun Oct 9 12:58:06 2016: Jack: JackClient::kXRunCallback
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 3
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 3
Sun Oct 9 12:58:06 2016: Jack: JackExternalClient::ClientNotify ref = 5 client = qjackctl name = qjackctl notify = 3
Sun Oct 9 12:58:06 2016: Jack: JackEngine::ClientNotify: no callback for notification = 3
Sun Oct 9 12:58:06 2016: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 14
Sun Oct 9 12:58:06 2016: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 16
Sun Oct 9 12:58:06 2016: Jack: JackSocketServerChannel::Execute : fPollTable i = 5 fd = 18
Sun Oct 9 12:58:06 2016: Jack: Process: graph not finished!
Sun Oct 9 12:58:06 2016: Jack: Process: waiting to switch delta = 46452
Sun Oct 9 12:58:06 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Sun Oct 9 12:58:06 2016: Jack: Process: graph not finished!
Sun Oct 9 12:58:06 2016: Jack: Process: waiting to switch delta = 69686
Sun Oct 9 12:58:06 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Sun Oct 9 12:58:06 2016: Jack: Process: graph not finished!
Sun Oct 9 12:58:06 2016: Jack: Process: waiting to switch delta = 92879
Sun Oct 9 12:58:06 2016: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Sun Oct 9 12:58:06 2016: Jack: Process: graph not finished!