Linvst: hanging processes

Discuss running non-Linux applications and plugins on Linux, for example via wine

Moderators: MattKingUSA, khz

jonetsu
Established Member
Posts: 1069
Joined: Sat Jun 11, 2016 12:05 am

Linvst: hanging processes

Postby jonetsu » Fri Feb 08, 2019 6:56 pm

After running Bitwig twice and terminating the last instance, the following processes are still running. This is running linvst from git, compiled locally for 64-bit support only.

Code: Select all

 
SLl  12:09   0:11 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/PrimeEQ.dll,1I6bvnER0y1KVyRf1o0SCJuIl96bpybg68fpjI5a6WIPlqTc
 SLl  12:09   0:33 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Warmifier.dll,ER0y1KVyRf1o0SCJuIl96bpybg68fpjI5a6WIPlqTcEJU5ic
 SLl  12:09   0:32 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Tone2/RayBlaster/RayBlasterX64.dll,VyRf1o0SCJuIl96bpybg68fpjI5a6WIPlqTcEJU5icBuaxvp
 SLl  12:09   0:26 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Boogex.dll,kxIyoQhJJ0gtOKMtKsaPS3CzSfrL9LZj6xIkdNRKDY3fwGw6
 SLl  12:09   0:19 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/Reverb/MReverbMB.dll,hJJ0gtOKMtKsaPS3CzSfrL9LZj6xIkdNRKDY3fwGw6WwJCp9
 SLl  12:09   0:15 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/PsychicModulation/EchoMelt/EchoMelt2_x64.dll,q5hNLGrUv8mi4upqceMXDciR08pbq53GZ8jAFziYvu7pMkFM
 SLl  12:09   0:24 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/MUnison.dll,rUv8mi4upqceMXDciR08pbq53GZ8jAFziYvu7pMkFMogyQiG
 SLl  12:25   0:12 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/PrimeEQ.dll,gHdhk8FMgJvo4RLDqVLDhP0dH7bboaYuI2AQ05q6CJkuqTVE
 SLl  12:25   0:46 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Warmifier.dll,FMgJvo4RLDqVLDhP0dH7bboaYuI2AQ05q6CJkuqTVECx8KcW
 SLl  12:25   0:49 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Tone2/RayBlaster/RayBlasterX64.dll,4RLDqVLDhP0dH7bboaYuI2AQ05q6CJkuqTVECx8KcWLHUMH6
 SLl  12:25   0:35 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Boogex.dll,TAgn7RETDfCVPCmafrEAf4WnG1irtPQcdWn9CSQ3VjOyJYzO
 SLl  12:25   0:21 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/Reverb/MReverbMB.dll,ETDfCVPCmafrEAf4WnG1irtPQcdWn9CSQ3VjOyJYzOf3fiVZ
 SLl  12:25   0:17 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/PsychicModulation/EchoMelt/EchoMelt2_x64.dll,iqOUaby028B7NbZsArlhaDN08wrTKByQPaAPbYF3V4Yy3MRu
 SLl  12:25   0:28 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/MUnison.dll,y028B7NbZsArlhaDN08wrTKByQPaAPbYF3V4Yy3MRu30z2tc
 SLl  12:44   2:29 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Warmifier.dll,EarydEEss23eNcwZQNP3K3jILiUDkztMzIaAcDTtvMv6MRWq
 SLl  12:44   1:11 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Tone2/RayBlaster/RayBlasterX64.dll,Ess23eNcwZQNP3K3jILiUDkztMzIaAcDTtvMv6MRWqszj2sq
 SLl  12:44   1:46 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/Voxengo/Boogex.dll,CU6kMZT5I0JGq4nTs1AhOeylbt5oCS12AXddKU6gKFLYzWHP
 SLl  12:44   0:45 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/Reverb/MReverbMB.dll,T5I0JGq4nTs1AhOeylbt5oCS12AXddKU6gKFLYzWHPN5Wpai
 SLl  12:44   0:44 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/PsychicModulation/EchoMelt/EchoMelt2_x64.dll,q4nTs1AhOeylbt5oCS12AXddKU6gKFLYzWHPN5WpaiA9Bwn2
 SLl  12:44   0:53 Z:\usr\bin\lin-vst-server.exe.so /B3/Windows-Xubuntu/MeldaProduction/MUnison.dll,Z2OfMMiMtisMDDaQVe1QTE0Kij90e5K1Vo4xZc8iioSKSToB


It's a matter of running 'killall lin-vst-server.exe.so' to get rid of them, though. Also, when Bitwig exits after running these processes, it crashes jackd which then needs to be restarted.

I ran jackd from the command line at that time so here's the output when Bitwig terminates (the Bitwig project was using linvst) with a few lines showing the regular connections first.

Code: Select all

[...]
JackGraphManager::Connect already connected port_src = 3 port_dst = 47
JackGraphManager::Connect already connected port_src = 48 port_dst = 13
JackGraphManager::Connect already connected port_src = 49 port_dst = 14
JackGraphManager::Connect already connected port_src = 50 port_dst = 15
JackGraphManager::Connect already connected port_src = 51 port_dst = 16
JackFreewheelDriver::ProcessSync: SuspendRefNum error
JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!!
JackAudioDriver::ProcessGraphSync: SuspendRefNum error, engine may now behave abnormally!!
JackFreewheelDriver::ProcessSync: SuspendRefNum error
JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!!
JackAudioDriver::ProcessGraphSync: SuspendRefNum error, engine may now behave abnormally!!
JackFreewheelDriver::ProcessSync: SuspendRefNum error
JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!!
JackAudioDriver::ProcessGraphSync: SuspendRefNum error, engine may now behave abnormally!!
JackFreewheelDriver::ProcessSync: SuspendRefNum error
JackAudioDriver::ProcessGraphSync: ProcessWriteSlaves error, engine may now behave abnormally!!
JackAudioDriver::ProcessGraphSync: SuspendRefNum error, engine may now behave abnormally!!
JackFreewheelDriver::ProcessSync: SuspendRefNum error
[...]

ubuntuuser
Established Member
Posts: 206
Joined: Mon Jan 02, 2017 9:46 am

Re: Linvst: hanging processes

Postby ubuntuuser » Sat Feb 09, 2019 4:06 am

I havn't seen that before.

What command are you using to list the processes?

Usually the wine process is terminated when an effClose command is sent to the (Linux) plugin by the DAW.

jonetsu
Established Member
Posts: 1069
Joined: Sat Jun 11, 2016 12:05 am

Re: Linvst: hanging processes

Postby jonetsu » Sat Feb 09, 2019 5:47 pm

Yes, the processes are closed when everything goes fine. Like inside Bitwig, having a project with several Windows VSTs with audio activated. All linvst processes will be lsited. Disabling audio for that project then all linvst processes will be terminated. However, when Bitwig terminates with an active project there's a jackd crash and in that case only, there'll be several linvst processes (i'd all that were used in the project) that will not be terminated. Why is there a crash ? I did not see that on the previous system Linux Mint 18.1 running wine-staging and linvst from about April 2018.

I simply use 'ps aux | grep vst' to list those processes.

Wait, I'll try something.

I load a Bitwig project with several Windows VSTs, with active audio. I list the linvst processes, there are there.

I disable audio for that project. The linvst processes are gone.

I exit Bitwig. No jackd crash.

However there's always a jackd crash if Bitwig terminates with the audio active and the linvst processes running.

We could say that there's somethign wrong going one when Bitwig exits with the linvst processes running. This is linvst with the Melda fix compiled from git.

No show stopper though. It's simply a matter of disactiving audio before exiting Bitwig. Or if not, restarting jackd after exiting Bitwig.

ubuntuuser
Established Member
Posts: 206
Joined: Mon Jan 02, 2017 9:46 am

Re: Linvst: hanging processes

Postby ubuntuuser » Sun Feb 10, 2019 5:57 am

I tested MBassador with Bitwig and Jack and I can't seem to reproduce the error on MX Linux.

It seems like from what you are describing that there is some sort of Bitwig exit crash (involving jackd and maybe wine) and Bitwig therefore doesn't send an effClose command to the LinVst plugins and so their processes don't finish.

If it is that, then something like that might be system dependent, like that systems wine libraries causing a clash of some sort or some other thing etc etc.

Maybe if you could start Bitwig from a terminal and then look at the terminal output to see if there is any clue from Bitwig about the exit besides the above jack error output.

jonetsu
Established Member
Posts: 1069
Joined: Sat Jun 11, 2016 12:05 am

Re: Linvst: hanging processes

Postby jonetsu » Sun Feb 10, 2019 6:09 pm

Same here when loading only one MBassador in a new project (a template). It exits cleanly. I tried with a full project and it crashed at the exit. So I tried to isolate the plugin that would cause that so I loaded one in a template then exited: no crash. I did that for all plugins found in the project that crashed: no crash.

So I tried for fun with 7 MBassador, one on each track and nothing else, using a template : It crashed at exit. It seems that the number of them makes a difference.

And so I tried with 3. No crash.

Then with 5 MBassador. Crash. The following is output to the console from Bitwig:

Code: Select all

[2019-02-10 13:07:42 ramona-server error] Connection broken with client:
   java.io.EOFException
   at com.bitwig.ramona.serial.QdQ.wOw(SourceFile:263)
   at com.bitwig.ramona.serial.QdQ.izw(SourceFile:413)
   at bqr.kL(SourceFile:885)
   at bqr.ytz(SourceFile:707)
   at bqr.ytz(SourceFile:688)
   at com.bitwig.ramona.protocol.rM.ytz(SourceFile:88)
   at brn.jPq(SourceFile:387)
   at bro.run(SourceFile:278)

ubuntuuser
Established Member
Posts: 206
Joined: Mon Jan 02, 2017 9:46 am

Re: Linvst: hanging processes

Postby ubuntuuser » Mon Feb 11, 2019 5:58 am

I tried with 5 instances of MBassador and it was all ok.

I would guess that it's some sort of wine connected problem.

jonetsu
Established Member
Posts: 1069
Joined: Sat Jun 11, 2016 12:05 am

Re: Linvst: hanging processes

Postby jonetsu » Mon Feb 11, 2019 11:54 pm

Which version of wine(-staging ?) are you using ?

ubuntuuser
Established Member
Posts: 206
Joined: Mon Jan 02, 2017 9:46 am

Re: Linvst: hanging processes

Postby ubuntuuser » Tue Feb 12, 2019 10:44 am

Wine Staging 4.1.

It's the Debian Wine binary build from WineHQ used with MX Linux.


Return to “Running non-linux software”

Who is online

Users browsing this forum: No registered users and 1 guest