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:
Sun Apr 07, 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	%edi,%eax
Modules:
Module	Address			Debug info	Name (84 modules)
PE	  6c0000-  6dc000	Deferred        inverter.sem
PE	10000000-103b7000	Export          wrongmod
ELF	7b400000-7b81a000	Dwarf           kernel32<elf>
  \-PE	7b420000-7b81a000	\               kernel32
ELF	7bc00000-7bd1d000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bd1d000	\               ntdll
ELF	7c000000-7c005000	Deferred        <wine-loader>
ELF	7dc66000-7dc8b000	Deferred        imm32<elf>
  \-PE	7dc70000-7dc8b000	\               imm32
ELF	7ddf2000-7de2e000	Deferred        libexpat.so.1
ELF	7de2e000-7de7a000	Deferred        libfontconfig.so.1
ELF	7de7a000-7def3000	Deferred        libpcre.so.1
ELF	7def3000-7e02f000	Deferred        libglib-2.0.so.0
ELF	7e02f000-7e144000	Deferred        libharfbuzz.so.0
ELF	7e144000-7e15e000	Deferred        libz.so.1
ELF	7e15e000-7e19e000	Deferred        libpng16.so.16
ELF	7e19e000-7e274000	Deferred        libfreetype.so.6
ELF	7e2b7000-7e340000	Deferred        rpcrt4<elf>
  \-PE	7e2c0000-7e340000	\               rpcrt4
ELF	7e340000-7e47f000	Deferred        gdi32<elf>
  \-PE	7e350000-7e47f000	\               gdi32
ELF	7e47f000-7e693000	Deferred        user32<elf>
  \-PE	7e490000-7e693000	\               user32
ELF	7e693000-7e716000	Deferred        advapi32<elf>
  \-PE	7e6a0000-7e716000	\               advapi32
ELF	7e716000-7e87b000	Deferred        ole32<elf>
  \-PE	7e730000-7e87b000	\               ole32
ELF	7e87b000-7e898000	Deferred        libgcc_s.so.1
ELF	7ea1c000-7ea61000	Dwarf           remotevstplugin<elf>
  \-PE	7ea30000-7ea58000	\               remotevstplugin
ELF	7eedb000-7eef0000	Deferred        libnss_files.so.2
ELF	7eef0000-7efbd000	Deferred        libm.so.6
ELF	7efd3000-7efe5000	Deferred        libbz2.so.1.0
ELF	7efe5000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f66cf000-f6772000	Deferred        gdiplus<elf>
  \-PE	f66e0000-f6772000	\               gdiplus
ELF	f6848000-f6860000	Deferred        dwmapi<elf>
  \-PE	f6850000-f6860000	\               dwmapi
ELF	f6860000-f689a000	Deferred        uxtheme<elf>
  \-PE	f6870000-f689a000	\               uxtheme
ELF	f689a000-f69d2000	Deferred        oleaut32<elf>
  \-PE	f68b0000-f69d2000	\               oleaut32
ELF	f69d2000-f6a13000	Deferred        winspool<elf>
  \-PE	f69e0000-f6a13000	\               winspool
ELF	f6a13000-f6a63000	Deferred        usp10<elf>
  \-PE	f6a20000-f6a63000	\               usp10
ELF	f6a63000-f6bb2000	Deferred        comctl32<elf>
  \-PE	f6a70000-f6bb2000	\               comctl32
ELF	f6bb2000-f6bd8000	Deferred        shcore<elf>
  \-PE	f6bc0000-f6bd8000	\               shcore
ELF	f6bd8000-f6c59000	Deferred        shlwapi<elf>
  \-PE	f6bf0000-f6c59000	\               shlwapi
ELF	f6c59000-f7630000	Deferred        shell32<elf>
  \-PE	f6c70000-f7630000	\               shell32
ELF	f7630000-f7735000	Deferred        comdlg32<elf>
  \-PE	f7640000-f7735000	\               comdlg32
ELF	f7735000-f7766000	Deferred        msacm32<elf>
  \-PE	f7740000-f7766000	\               msacm32
ELF	f7766000-f7823000	Deferred        winmm<elf>
  \-PE	f7770000-f7823000	\               winmm
ELF	f7845000-f784d000	Deferred        libxfixes.so.3
ELF	f784d000-f7859000	Deferred        libxcursor.so.1
ELF	f7859000-f786d000	Deferred        libxi.so.6
ELF	f786d000-f7871000	Deferred        libxcomposite.so.1
ELF	f7871000-f7880000	Deferred        libxrandr.so.2
ELF	f7880000-f788e000	Deferred        libxrender.so.1
ELF	f788e000-f78ba000	Deferred        libxcb.so.1
ELF	f78ba000-f7a07000	Deferred        libx11.so.6
ELF	f7a0f000-f7a25000	Deferred        msimg32<elf>
  \-PE	f7a20000-f7a25000	\               msimg32
ELF	f7a4a000-f7ae0000	Deferred        winex11<elf>
  \-PE	f7a60000-f7ae0000	\               winex11
ELF	f7af0000-f7af6000	Deferred        libdl.so.2
ELF	f7af6000-f7b00000	Deferred        libuuid.so.1
ELF	f7b03000-f7b0a000	Deferred        libxxf86vm.so.1
ELF	f7b0a000-f7b0f000	Deferred        libxinerama.so.1
ELF	f7b0f000-f7b16000	Deferred        libxdmcp.so.6
ELF	f7b16000-f7b1b000	Deferred        libxau.so.6
ELF	f7b1b000-f7b30000	Deferred        libxext.so.6
ELF	f7b39000-f7d16000	Deferred        libc.so.6
ELF	f7d16000-f7d37000	Deferred        libpthread.so.0
ELF	f7d37000-f7eee000	Dwarf           libwine.so.1
ELF	f7ef0000-f7f1a000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 RemoteVstPlugin.exe
	00000038    0
	0000002a    0
	00000029    0
	00000009    0
0000000e services.exe
	00000020    0
	0000001b    0
	00000013    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000018    0
	00000017    0
	00000016    0
	00000012    0
00000019 plugplay.exe
	0000001d    0
	0000001c    0
	0000001a    0
0000001e winedevice.exe
	00000025    0
	00000022    0
	00000021    0
	0000001f    0
00000023 explorer.exe
	00000028    0
	00000027    0
	00000026    0
	00000024    0
0000002b RemoteVstPlugin.exe
	0000002f    0
	0000002e    0
	0000002d    0
	0000002c    0
00000030 RemoteVstPlugin.exe
	00000033    0
	00000032    0
	00000031    0
00000034 (D) Z:\tmp\.mount_lmms-1wUBa1A\usr\lib\lmms\RemoteVstPlugin.exe
	00000035    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:
Fri Apr 12, 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:
Sun Apr 14, 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:
Thu Apr 18, 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 :|