rc8 causes VSTs to not work on Arch Linux, rc7 works

Having trouble with LMMS? Ask about it here.
EDIT 3: I have now identified the problem. If i disable the 'Sync VST plugins to host playback' option, it works fine. See later post.

EDIT 2: It seems that rc8 is the problem, rc7 works fine, see later posts.

EDIT: My initial problem was that all VST plugins cause my LMMS to crash. Now, they just don't produce any sound, see the fifth post in this thread.

Hello,

at this point I'm fairly certain that all VST plugins cause my lmms to immediately crash on Arch Linux, since I've tried about 15 different ones. I have already tried reinstalling LMMS 2 times.

Info on LMMS:
LMMS 1.2.0-rc8
(Linux x86_64, Qt 5.12.1, GCC 8.2.1 20181127)

After LMMS crashes, wine is still running, and I have to manually kill the processes.

Thanks
righton wrote:
April 7th, 2019, 5:31 pm
Info on LMMS:
LMMS 1.2.0-rc8
(Linux x86_64, Qt 5.12.1, GCC 8.2.1 20181127)
Ok so RC8 -but is it the supported AppImage-RC8 ?

If not get it here:
First:
*Back-up your own stuff
*Un-install current installation
*(re)move the config dot-file
https://lmms.io/wiki/index.php?title=LM ... h_Settings
*download a fresh new installation-pack Linux-user AppImage on the Linux-tab!
https://github.com/LMMS/lmms/releases/d ... 4.AppImage

Let us know the outcome :)
Hello musikbear,

I have only now been able to try your suggestion.
While LMMS no longer crashes upon trying to load a VST plugin, it now gives me this error:
Image

Clicking on 'Show Details' gives this:

Code: Select all

Unhandled exception: divide by zero in 32-bit code (0x100dae1b).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:100dae1b ESP:0032fbe4 EBP:0032fc0c EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000100 EBX:00000000 ECX:0051c4d8 EDX:00000000
 ESI:0051c4d8 EDI:00000000
Stack dump:
0x0032fbe4:  00000002 0051c4d8 100db172 0051cdf0
0x0032fbf4:  005a0f98 10036f74 00000000 0051c444
0x0032fc04:  00000000 0051be80 0032fc20 1008c284
0x0032fc14:  004c71e0 004c2e48 10075d7f 0032fc30
0x0032fc24:  100814e1 0051be80 004c2d88 0032fc54
0x0032fc34:  100748bf 005118f8 7d328330 00000000
Backtrace:
=>0 0x100dae1b EntryPoint+0xffffffff() in wrongmod (0x0032fc0c)
  1 0x1008c284 EntryPoint+0xffffffff() in wrongmod (0x0032fc20)
  2 0x100814e1 EntryPoint+0xffffffff() in wrongmod (0x0032fc30)
  3 0x100748bf EntryPoint+0xffffffff() in wrongmod (0x0032fc54)
  4 0x10004943 EntryPoint+0xffffffff() in wrongmod (0x0032fc60)
  5 0x100056a8 EntryPoint+0xffffffff() in wrongmod (0x0032fc88)
  6 0x100046c3 EntryPoint+0xffffffff() in wrongmod (0x0032fca8)
  7 0x7ea41cfb _ZN15RemoteVstPlugin14pluginDispatchEiiiPvf+0x46() in remotevstplugin (0x0032fcd8)
  8 0x7ea41a37 _ZN15RemoteVstPlugin10setResumedEb+0x64() in remotevstplugin (0x0032fd08)
  9 0x7ea3b4c4 _ZN15RemoteVstPlugin4initERKSs+0xa3() in remotevstplugin (0x0032fd58)
  10 0x7ea3affb _ZN15RemoteVstPlugin14processMessageERKN16RemotePluginBase7messageE+0x1e8() in remotevstplugin (0x0032fda8)
  11 0x7ea3ac09 _ZN15RemoteVstPluginC2EPKc+0x388() in remotevstplugin (0x0032fdf8)
  12 0x7ea3f929 main+0x47b() in remotevstplugin (0x0032fe78)
  13 0x7ea46bf0 __wine_spec_exe_entry+0x7f() in remotevstplugin (0x0032feb8)
  14 0x7b467f92 call_process_entry+0x11() in kernel32 (0x0032fed8)
  15 0x7b46a29c ExitProcess+0x22fb() in kernel32 (0x0032ffd8)
  16 0x7b467f9e call_process_entry+0x1d() in kernel32 (0x0032ffec)
0x100dae1b EntryPoint+0xffffffff in wrongmod: idivl\t%edi,%eax
Modules:
Module\tAddress\t\t\tDebug info\tName (84 modules)
PE\t  6c0000-  6dc000\tDeferred        inverter.sem
PE\t10000000-103b7000\tExport          wrongmod
ELF\t7b400000-7b81a000\tDwarf           kernel32<elf>
  \\-PE\t7b420000-7b81a000\t\\               kernel32
ELF\t7bc00000-7bd1d000\tDeferred        ntdll<elf>
  \\-PE\t7bc10000-7bd1d000\t\\               ntdll
ELF\t7c000000-7c005000\tDeferred        <wine-loader>
ELF\t7dc66000-7dc8b000\tDeferred        imm32<elf>
  \\-PE\t7dc70000-7dc8b000\t\\               imm32
ELF\t7ddf2000-7de2e000\tDeferred        libexpat.so.1
ELF\t7de2e000-7de7a000\tDeferred        libfontconfig.so.1
ELF\t7de7a000-7def3000\tDeferred        libpcre.so.1
ELF\t7def3000-7e02f000\tDeferred        libglib-2.0.so.0
ELF\t7e02f000-7e144000\tDeferred        libharfbuzz.so.0
ELF\t7e144000-7e15e000\tDeferred        libz.so.1
ELF\t7e15e000-7e19e000\tDeferred        libpng16.so.16
ELF\t7e19e000-7e274000\tDeferred        libfreetype.so.6
ELF\t7e2b7000-7e340000\tDeferred        rpcrt4<elf>
  \\-PE\t7e2c0000-7e340000\t\\               rpcrt4
ELF\t7e340000-7e47f000\tDeferred        gdi32<elf>
  \\-PE\t7e350000-7e47f000\t\\               gdi32
ELF\t7e47f000-7e693000\tDeferred        user32<elf>
  \\-PE\t7e490000-7e693000\t\\               user32
ELF\t7e693000-7e716000\tDeferred        advapi32<elf>
  \\-PE\t7e6a0000-7e716000\t\\               advapi32
ELF\t7e716000-7e87b000\tDeferred        ole32<elf>
  \\-PE\t7e730000-7e87b000\t\\               ole32
ELF\t7e87b000-7e898000\tDeferred        libgcc_s.so.1
ELF\t7ea1c000-7ea61000\tDwarf           remotevstplugin<elf>
  \\-PE\t7ea30000-7ea58000\t\\               remotevstplugin
ELF\t7eedb000-7eef0000\tDeferred        libnss_files.so.2
ELF\t7eef0000-7efbd000\tDeferred        libm.so.6
ELF\t7efd3000-7efe5000\tDeferred        libbz2.so.1.0
ELF\t7efe5000-7f000000\tDeferred        version<elf>
  \\-PE\t7eff0000-7f000000\t\\               version
ELF\tf66cf000-f6772000\tDeferred        gdiplus<elf>
  \\-PE\tf66e0000-f6772000\t\\               gdiplus
ELF\tf6848000-f6860000\tDeferred        dwmapi<elf>
  \\-PE\tf6850000-f6860000\t\\               dwmapi
ELF\tf6860000-f689a000\tDeferred        uxtheme<elf>
  \\-PE\tf6870000-f689a000\t\\               uxtheme
ELF\tf689a000-f69d2000\tDeferred        oleaut32<elf>
  \\-PE\tf68b0000-f69d2000\t\\               oleaut32
ELF\tf69d2000-f6a13000\tDeferred        winspool<elf>
  \\-PE\tf69e0000-f6a13000\t\\               winspool
ELF\tf6a13000-f6a63000\tDeferred        usp10<elf>
  \\-PE\tf6a20000-f6a63000\t\\               usp10
ELF\tf6a63000-f6bb2000\tDeferred        comctl32<elf>
  \\-PE\tf6a70000-f6bb2000\t\\               comctl32
ELF\tf6bb2000-f6bd8000\tDeferred        shcore<elf>
  \\-PE\tf6bc0000-f6bd8000\t\\               shcore
ELF\tf6bd8000-f6c59000\tDeferred        shlwapi<elf>
  \\-PE\tf6bf0000-f6c59000\t\\               shlwapi
ELF\tf6c59000-f7630000\tDeferred        shell32<elf>
  \\-PE\tf6c70000-f7630000\t\\               shell32
ELF\tf7630000-f7735000\tDeferred        comdlg32<elf>
  \\-PE\tf7640000-f7735000\t\\               comdlg32
ELF\tf7735000-f7766000\tDeferred        msacm32<elf>
  \\-PE\tf7740000-f7766000\t\\               msacm32
ELF\tf7766000-f7823000\tDeferred        winmm<elf>
  \\-PE\tf7770000-f7823000\t\\               winmm
ELF\tf7845000-f784d000\tDeferred        libxfixes.so.3
ELF\tf784d000-f7859000\tDeferred        libxcursor.so.1
ELF\tf7859000-f786d000\tDeferred        libxi.so.6
ELF\tf786d000-f7871000\tDeferred        libxcomposite.so.1
ELF\tf7871000-f7880000\tDeferred        libxrandr.so.2
ELF\tf7880000-f788e000\tDeferred        libxrender.so.1
ELF\tf788e000-f78ba000\tDeferred        libxcb.so.1
ELF\tf78ba000-f7a07000\tDeferred        libx11.so.6
ELF\tf7a0f000-f7a25000\tDeferred        msimg32<elf>
  \\-PE\tf7a20000-f7a25000\t\\               msimg32
ELF\tf7a4a000-f7ae0000\tDeferred        winex11<elf>
  \\-PE\tf7a60000-f7ae0000\t\\               winex11
ELF\tf7af0000-f7af6000\tDeferred        libdl.so.2
ELF\tf7af6000-f7b00000\tDeferred        libuuid.so.1
ELF\tf7b03000-f7b0a000\tDeferred        libxxf86vm.so.1
ELF\tf7b0a000-f7b0f000\tDeferred        libxinerama.so.1
ELF\tf7b0f000-f7b16000\tDeferred        libxdmcp.so.6
ELF\tf7b16000-f7b1b000\tDeferred        libxau.so.6
ELF\tf7b1b000-f7b30000\tDeferred        libxext.so.6
ELF\tf7b39000-f7d16000\tDeferred        libc.so.6
ELF\tf7d16000-f7d37000\tDeferred        libpthread.so.0
ELF\tf7d37000-f7eee000\tDwarf           libwine.so.1
ELF\tf7ef0000-f7f1a000\tDeferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 RemoteVstPlugin.exe
\t00000038    0
\t0000002a    0
\t00000029    0
\t00000009    0
0000000e services.exe
\t00000020    0
\t0000001b    0
\t00000013    0
\t00000010    0
\t0000000f    0
00000011 winedevice.exe
\t00000018    0
\t00000017    0
\t00000016    0
\t00000012    0
00000019 plugplay.exe
\t0000001d    0
\t0000001c    0
\t0000001a    0
0000001e winedevice.exe
\t00000025    0
\t00000022    0
\t00000021    0
\t0000001f    0
00000023 explorer.exe
\t00000028    0
\t00000027    0
\t00000026    0
\t00000024    0
0000002b RemoteVstPlugin.exe
\t0000002f    0
\t0000002e    0
\t0000002d    0
\t0000002c    0
00000030 RemoteVstPlugin.exe
\t00000033    0
\t00000032    0
\t00000031    0
00000034 (D) Z:\\tmp\\.mount_lmms-1wUBa1A\\usr\\lib\\lmms\\RemoteVstPlugin.exe
\t00000035    0 <==
System information:
    Wine build: wine-4.5
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 5.0.5-arch1-1-ARCH

As with the first case, it doesn't matter which plugin I try, I always get the same result.

Do you have any more suggestions for me?

Thanks

EDIT: maybe good to note, all these plugins have worked for me before. Not sure what I did to have it be like this.
righton wrote:
April 12th, 2019, 4:11 pm
it now gives error :: 'Show Details' gives this:

Code: Select all

    Wine build: wine-4.5
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 5.0.5-arch1-1-ARCH
it doesn't matter which plugin I try, I always get the same result.
So strange. I wish i had better insight in Linux, but i dont :|
There is however one thing that caught my eye

Code: Select all

 Wine build: wine-4.5
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
This: Version: Windows XP
I have to wonder if that is newest WINE ?
Do you have any more suggestions for me?
One, but First i like you to confirm that you already have done alle of this

* Removed all components of old/ previous LMMS installations
* Removed dot-file : .lmmsrc.xml
* Fetched the App-Image Linux here:
https://github.com/LMMS/lmms/releases/d ... 4.AppImage
OBS !!!

THIS IS A x64 FILE!
IS YOUR PC x64? ... it must be, you would have warnings if it wasent, but ..have to ask

* installed that App-Image without hiccups or warnings

All of this went fine ?

Then i only have one thing left..
Try the 'proof-of-concept VST, to test if VST works at all
Get MDA-Piano http://mda.smartelectronix.com/synths.htm
It is very small in size, and you can just copy it to your folder. -Eg NO installation! Further its a quite good piano-instrument, so it is a win win

If that fails, then im stumped, and need a Linux wizard
Hello musikbear,

the wine I'm using is the most recent one. I am using the lmms version you have linked. The mda piano plugin isn't working either.

It seems the app image file is an executable, not something that installs something on my system. I can't spot any error messages in the console while running it.

Maybe interesting:
I have now created a new wineprefix, and ran lmms pointed to that one. While LMMS doesn't crash and wine doesn't show me error messages, it seems that all my VST filters mute the instruments, and all VST instruments don't produce any sound.

When I click on 'test sound' in winecfg, it plays the test tune just fine over pulseaudio. In lmms, pulseaudio is selected as my audio interface.
I have tried both 32 bit and 64 bit wine prefixes. My Arch Linux is 64 bit.

Am I a lost cause?

Thanks
righton wrote:
April 14th, 2019, 4:26 pm
Am I a lost cause?
Neee 'lost' -no, but rather 'well hidden', im afraid..
Now a linux wizard is needed..
Hello,

I have now tried the rc7 version of LMMS, and it works perfectly! It seems that I have problems with rc8.

I will try updating my system when I get the chance to see if it is due to some incompatibilities with older libraries.

Thanks

EDIT: I have upgraded all my packages, and the problem persists with LMMS 1.2.0-rc8. For now, I will use rc7, hopefully the new version doesn't have cool new features I'm missing out on. Thank you
Hello again,

I have now identified the problem being the 'Sync VST plugins to host playback' setting. If I disable this, it works fine.

The rc7 version does not require me to disable this setting for VSTs to work.

Also, it seems that choosing 'no embedding' causes VSTs to work that have not previously worked.

Thanks
righton wrote:
April 18th, 2019, 11:32 am
problem being the 'Sync VST plugins to host playback' setting. If I disable this, it works fine.
OAHhh shooot.. I knew that! Its just that im not a linux user. Im so sorry, i should have remembered :|