osxmidi / LinVst

Linux Windows vst wrapper/bridge
GNU General Public License v3.0
682 stars 41 forks source link

[VST] Torpedo Wall of Sound #124

Closed tduboys closed 4 years ago

tduboys commented 4 years ago

Hi, First, thanks for this project, it works great with a lot of VST !

I just acquierd a Two-Notes Torpedo Captor that includes a licence for Torpedo Wall of Sound (HP simulation), but I cant use it and I dont know why.

My setup :

The VST is available in vst2 and vst3 format and 32 or 64 bits. I've tried a lot of setups with linvst2 2.5, linvst2 2.7.4, linvst3 1.7.3. I installed some dll with winetricks (urlmon), disabled d2d1 (it didnt load with libvst 2.7 if d2d1 enabled) but I've 2 issues that made the VST not working.

On the 1st start, I need to register my licence. I've 2 options for that : online and offline. The VST says that I'm not connected to internet, so the online method didnt work When trying to use the offline method, I got a wine crash in both linvst2 and 3, when VST tries to decrypt the licence file. Here is the full backtrace from wine :

Unhandled exception: page fault on read access to 0x00000058 in 64-bit code (0x00000001800fe490).
Register dump:
 rip:00000001800fe490 rsp:000000000022cde0 rbp:000000000022cf50 eflags:00010246 (  R- --  I  Z- -P- )
 rax:00000001805e6508 rbx:0000000000000000 rcx:000000000022cf20 rdx:0000000000000048
 rsi:0000000000000048 rdi:000000000022cf20  r8:0000000007f80000  r9:0000000007cde618 r10:0000000000000002
 r11:0000000007cde4b8 r12:000000018063d1bc r13:0000000184465960 r14:00000001805e64f8 r15:0000000000000000
Stack dump:
0x000000000022cde0:  000000000022ce10 000000018042cad5
0x000000000022cdf0:  0000000000000000 0000000100000000
0x000000000022ce00:  000000000022cf20 00000001800fd690
0x000000000022ce10:  0000000000927ad0 0000000000000000
0x000000000022ce20:  00000001805e6508 00000001805e6508
0x000000000022ce30:  0000000000000000 fffffffffffffffe
0x000000000022ce40:  000000000000006f 0000000180372fc0
0x000000000022ce50:  000000000022cf20 0000000000000001
0x000000000022ce60:  0000000000599de0 00000001805e6508
0x000000000022ce70:  0000000000000000 0000000000000000
0x000000000022ce80:  0000000007cde4d0 0000000007bdc950
0x000000000022ce90:  0000000007b72220 0000000000000000
Backtrace:
=>0 0x00000001800fe490 EntryPoint+0xffe9cf28() in torpedo wall of sound (x64) (0x000000000022cf50)
  1 0x00000001800fd690 EntryPoint+0xffe9c127() in torpedo wall of sound (x64) (0x000000000022cf50)
  2 0x0000000180372fc0 EntryPoint+0x100111a57() in torpedo wall of sound (x64) (0x000000000022cf50)
  3 0x000000018013e0d5 EntryPoint+0xffedcb6c() in torpedo wall of sound (x64) (0x000000000022d380)
  4 0x000000018043848d EntryPoint+0x1001d6f24() in torpedo wall of sound (x64) (0x000000000022d380)
  5 0x00000001802dc983 EntryPoint+0x10007b41a() in torpedo wall of sound (x64) (0x000000000022d380)
  6 0x00000001802dc61e EntryPoint+0x10007b0b5() in torpedo wall of sound (x64) (0x000000000022d380)
  7 0x00000001802de7be EntryPoint+0x10007d255() in torpedo wall of sound (x64) (0x000000000022d380)
  8 0x0000000180358806 EntryPoint+0x1000f729d() in torpedo wall of sound (x64) (0x000000000022d380)
  9 0x000000018035f0b8 EntryPoint+0x1000fdb4f() in torpedo wall of sound (x64) (0x000000000022d380)
  10 0x0000000180469d53 EntryPoint+0x1002087ea() in torpedo wall of sound (x64) (0x000000000022d380)
0x00000001800fe490 EntryPoint+0xffe9cf28 in torpedo wall of sound (x64): movl   0x0000000000000010(%rdx),%eax
Modules:
Module  Address                                 Debug info      Name (165 modules)
ELF             7b400000-        7b841000       Deferred        kernel32<elf>
  \-PE          7b420000-        7b841000       \               kernel32
ELF             7bc00000-        7bd6c000       Deferred        ntdll<elf>
  \-PE          7bc20000-        7bd6c000       \               ntdll
ELF             7c000000-        7c005000       Deferred        <wine-loader>
PE             180000000-       188ff1000       Export          torpedo wall of sound (x64)
PE           7ff776d0000-     7ff777fa000       Deferred        wininet
PE           7ff7c5a0000-     7ff7c7f9000       Deferred        iertutil
PE           7ff7c800000-     7ff7c978000       Deferred        urlmon
ELF         7f8ddc321000-    7f8ddc3cc000       Deferred        dwrite<elf>
  \-PE      7f8ddc330000-    7f8ddc3cc000       \               dwrite
ELF         7f8ddc3cc000-    7f8ddc3f3000       Deferred        combase<elf>
  \-PE      7f8ddc3d0000-    7f8ddc3f3000       \               combase
ELF         7f8ddc409000-    7f8ddc44b000       Deferred        rsaenh<elf>
  \-PE      7f8ddc410000-    7f8ddc44b000       \               rsaenh
ELF         7f8ddc44b000-    7f8ddc469000       Deferred        kerberos<elf>
  \-PE      7f8ddc450000-    7f8ddc469000       \               kerberos
ELF         7f8ddc469000-    7f8ddc49d000       Deferred        iphlpapi<elf>
  \-PE      7f8ddc470000-    7f8ddc49d000       \               iphlpapi
ELF         7f8ddc49d000-    7f8ddc4e6000       Deferred        netapi32<elf>
  \-PE      7f8ddc4b0000-    7f8ddc4e6000       \               netapi32
ELF         7f8ddc4e6000-    7f8ddc53a000       Deferred        secur32<elf>
  \-PE      7f8ddc4f0000-    7f8ddc53a000       \               secur32
ELF         7f8ddc53a000-    7f8ddc551000       Deferred        schannel<elf>
  \-PE      7f8ddc540000-    7f8ddc551000       \               schannel
ELF         7f8ddc551000-    7f8ddc55a000       Deferred        libnss_dns.so.2
ELF         7f8ddc55a000-    7f8ddc5a7000       Deferred        libnss_resolve.so.2
ELF         7f8ddc5a7000-    7f8ddc5bf000       Deferred        libnss_myhostname.so.2
ELF         7f8ddc5bf000-    7f8ddc60d000       Deferred        libnss_mymachines.so.2
ELF         7f8ddc61e000-    7f8ddc657000       Deferred        wintrust<elf>
  \-PE      7f8ddc630000-    7f8ddc657000       \               wintrust
ELF         7f8ddc657000-    7f8ddc674000       Deferred        rasapi32<elf>
  \-PE      7f8ddc660000-    7f8ddc674000       \               rasapi32
ELF         7f8ddc674000-    7f8ddc68a000       Deferred        normaliz<elf>
  \-PE      7f8ddc680000-    7f8ddc68a000       \               normaliz
ELF         7f8ddc68a000-    7f8ddc6a0000       Deferred        api-ms-win-appmodel-runtime-l1-1-1<elf>
  \-PE      7f8ddc690000-    7f8ddc6a0000       \               api-ms-win-appmodel-runtime-l1-1-1
ELF         7f8ddc6a0000-    7f8ddc6b6000       Deferred        api-ms-win-core-sysinfo-l1-2-1<elf>
  \-PE      7f8ddc6b0000-    7f8ddc6b6000       \               api-ms-win-core-sysinfo-l1-2-1
ELF         7f8ddca1d000-    7f8ddca33000       Deferred        api-ms-win-core-localization-l1-2-1<elf>
  \-PE      7f8ddca20000-    7f8ddca33000       \               api-ms-win-core-localization-l1-2-1
ELF         7f8ddca33000-    7f8ddca49000       Deferred        api-ms-win-core-fibers-l1-1-1<elf>
  \-PE      7f8ddca40000-    7f8ddca49000       \               api-ms-win-core-fibers-l1-1-1
ELF         7f8ddca49000-    7f8ddca5f000       Deferred        api-ms-win-core-synch-l1-2-0<elf>
  \-PE      7f8ddca50000-    7f8ddca5f000       \               api-ms-win-core-synch-l1-2-0
ELF         7f8ddcacb000-    7f8ddcb94000       Deferred        wineps<elf>
  \-PE      7f8ddcb20000-    7f8ddcb94000       \               wineps
ELF         7f8ddcb94000-    7f8ddcbc0000       Deferred        localspl<elf>
  \-PE      7f8ddcba0000-    7f8ddcbc0000       \               localspl
ELF         7f8ddcbc0000-    7f8ddcbe3000       Deferred        libgpg-error.so.0
ELF         7f8ddcbe3000-    7f8ddcd01000       Deferred        libgcrypt.so.20
ELF         7f8ddcd01000-    7f8ddcd23000       Deferred        liblz4.so.1
ELF         7f8ddcd23000-    7f8ddcdca000       Deferred        libsystemd.so.0
ELF         7f8ddcdca000-    7f8ddce14000       Deferred        libdbus-1.so.3
ELF         7f8ddce14000-    7f8ddce2d000       Deferred        libresolv.so.2
ELF         7f8ddce2d000-    7f8ddce3d000       Deferred        libkrb5support.so.0
ELF         7f8ddce3d000-    7f8ddce77000       Deferred        libcrypt.so.1
ELF         7f8ddce77000-    7f8ddceac000       Deferred        libk5crypto.so.3
ELF         7f8ddceac000-    7f8ddcf9a000       Deferred        libkrb5.so.3
ELF         7f8ddcf9a000-    7f8ddcfea000       Deferred        libgssapi_krb5.so.2
ELF         7f8ddcfea000-    7f8ddd084000       Deferred        libcups.so.2
ELF         7f8ddd084000-    7f8ddd28a000       Deferred        libxfixes.so.3
ELF         7f8ddd301000-    7f8ddd308000       Deferred        libkeyutils.so.1
ELF         7f8ddd308000-    7f8ddd31c000       Deferred        libavahi-client.so.3
ELF         7f8ddd31c000-    7f8ddd32a000       Deferred        libavahi-common.so.3
ELF         7f8ddd333000-    7f8ddd34f000       Deferred        spoolss<elf>
  \-PE      7f8ddd340000-    7f8ddd34f000       \               spoolss
ELF         7f8ddd374000-    7f8ddd380000       Deferred        libxcursor.so.1
ELF         7f8ddd380000-    7f8ddd393000       Deferred        libxi.so.6
ELF         7f8ddd393000-    7f8ddd398000       Deferred        libxcomposite.so.1
ELF         7f8ddd398000-    7f8ddd3a5000       Deferred        libxrandr.so.2
ELF         7f8ddd3a5000-    7f8ddd3b2000       Deferred        libxrender.so.1
ELF         7f8ddd3b2000-    7f8ddd5b8000       Deferred        libxxf86vm.so.1
ELF         7f8ddd5b8000-    7f8ddd7bb000       Deferred        libxinerama.so.1
ELF         7f8ddd7bb000-    7f8ddd847000       Deferred        setupapi<elf>
  \-PE      7f8ddd7d0000-    7f8ddd847000       \               setupapi
ELF         7f8ddd847000-    7f8ddd84f000       Deferred        libxdmcp.so.6
ELF         7f8ddd84f000-    7f8ddd854000       Deferred        libxau.so.6
ELF         7f8ddd854000-    7f8ddd87e000       Deferred        libxcb.so.1
ELF         7f8ddd87e000-    7f8ddd9be000       Deferred        libx11.so.6
ELF         7f8ddd9be000-    7f8ddd9d3000       Deferred        libxext.so.6
ELF         7f8ddd9d3000-    7f8ddda9b000       Deferred        winex11<elf>
  \-PE      7f8ddd9e0000-    7f8ddda9b000       \               winex11
ELF         7f8ddda9b000-    7f8dddaa6000       Deferred        libffi.so.6
ELF         7f8dddaa6000-    7f8dddb3a000       Deferred        libgmp.so.10
ELF         7f8dddb3a000-    7f8dddb73000       Deferred        libhogweed.so.5
ELF         7f8dddb73000-    7f8dddbad000       Deferred        libnettle.so.7
ELF         7f8dddbad000-    7f8dddbc3000       Deferred        libtasn1.so.6
ELF         7f8dddbc3000-    7f8dddf43000       Deferred        libunistring.so.2
ELF         7f8dddf43000-    7f8dde065000       Deferred        libp11-kit.so.0
ELF         7f8dde065000-    7f8dde22a000       Deferred        libgnutls.so.30
ELF         7f8dde22e000-    7f8dde234000       Deferred        libcom_err.so.2
ELF         7f8dde234000-    7f8dde274000       Deferred        uxtheme<elf>
  \-PE      7f8dde240000-    7f8dde274000       \               uxtheme
ELF         7f8dde274000-    7f8dde302000       Deferred        dbghelp<elf>
  \-PE      7f8dde280000-    7f8dde302000       \               dbghelp
ELF         7f8dde302000-    7f8dde332000       Deferred        msacm32<elf>
  \-PE      7f8dde310000-    7f8dde332000       \               msacm32
ELF         7f8dde332000-    7f8dde3fb000       Deferred        winmm<elf>
  \-PE      7f8dde340000-    7f8dde3fb000       \               winmm
ELF         7f8dde4fb000-    7f8dde655000       Deferred        oleaut32<elf>
  \-PE      7f8dde520000-    7f8dde655000       \               oleaut32
ELF         7f8dde655000-    7f8dde6b9000       Deferred        winspool<elf>
  \-PE      7f8dde660000-    7f8dde6b9000       \               winspool
ELF         7f8dde6b9000-    7f8dde70b000       Deferred        usp10<elf>
  \-PE      7f8dde6c0000-    7f8dde70b000       \               usp10
ELF         7f8dde70b000-    7f8dde868000       Deferred        comctl32<elf>
  \-PE      7f8dde720000-    7f8dde868000       \               comctl32
ELF         7f8dde868000-    7f8dde900000       Deferred        rpcrt4<elf>
  \-PE      7f8dde880000-    7f8dde900000       \               rpcrt4
ELF         7f8dde900000-    7f8ddea74000       Deferred        ole32<elf>
  \-PE      7f8dde930000-    7f8ddea74000       \               ole32
ELF         7f8ddea74000-    7f8ddea9a000       Deferred        shcore<elf>
  \-PE      7f8ddea80000-    7f8ddea9a000       \               shcore
ELF         7f8ddea9a000-    7f8ddeb02000       Deferred        shlwapi<elf>
  \-PE      7f8ddeab0000-    7f8ddeb02000       \               shlwapi
ELF         7f8ddeb02000-    7f8ddf55b000       Deferred        shell32<elf>
  \-PE      7f8ddeb20000-    7f8ddf55b000       \               shell32
ELF         7f8ddf55b000-    7f8ddf664000       Deferred        comdlg32<elf>
  \-PE      7f8ddf560000-    7f8ddf664000       \               comdlg32
ELF         7f8ddf664000-    7f8ddf68b000       Deferred        bcrypt<elf>
  \-PE      7f8ddf670000-    7f8ddf68b000       \               bcrypt
ELF         7f8ddf68b000-    7f8ddf79e000       Deferred        crypt32<elf>
  \-PE      7f8ddf6a0000-    7f8ddf79e000       \               crypt32
ELF         7f8ddf79e000-    7f8ddf7e2000       Deferred        ws2_32<elf>
  \-PE      7f8ddf7b0000-    7f8ddf7e2000       \               ws2_32
ELF         7f8ddf8e2000-    7f8ddf908000       Deferred        imm32<elf>
  \-PE      7f8ddf8f0000-    7f8ddf908000       \               imm32
ELF         7f8ddf9d3000-    7f8ddfa00000       Deferred        libexpat.so.1
ELF         7f8ddfa00000-    7f8ddfa48000       Deferred        libfontconfig.so.1
ELF         7f8ddfa48000-    7f8ddfabb000       Deferred        libpcre.so.1
ELF         7f8ddfabb000-    7f8ddfae0000       Deferred        libgraphite2.so.3
ELF         7f8ddfae0000-    7f8ddfc05000       Deferred        libglib-2.0.so.0
ELF         7f8ddfc05000-    7f8ddfd09000       Deferred        libharfbuzz.so.0
ELF         7f8ddfd09000-    7f8ddff20000       Deferred        libz.so.1
ELF         7f8ddff20000-    7f8ddff58000       Deferred        libpng16.so.16
ELF         7f8ddff58000-    7f8ddff6b000       Deferred        libbz2.so.1.0
ELF         7f8ddff6b000-    7f8de0039000       Deferred        libfreetype.so.6
ELF         7f8de0039000-    7f8de00a8000       Deferred        libncursesw.so.6
ELF         7f8de00a8000-    7f8de01a2000       Deferred        msvcrt<elf>
  \-PE      7f8de00d0000-    7f8de01a2000       \               msvcrt
ELF         7f8de01a2000-    7f8de0240000       Deferred        advapi32<elf>
  \-PE      7f8de01b0000-    7f8de0240000       \               advapi32
ELF         7f8de0240000-    7f8de03f8000       Deferred        gdi32<elf>
  \-PE      7f8de0260000-    7f8de03f8000       \               gdi32
ELF         7f8de03f8000-    7f8de0696000       Deferred        user32<elf>
  \-PE      7f8de0420000-    7f8de0696000       \               user32
ELF         7f8de0884000-    7f8de08a3000       Deferred        libidn2.so.0
ELF         7f8de0d4c000-    7f8de0dfe000       Deferred        kernelbase<elf>
  \-PE      7f8de0d60000-    7f8de0dfe000       \               kernelbase
ELF         7f8de0dfe000-    7f8de0e12000       Deferred        libnss_files.so.2
ELF         7f8de1012000-    7f8de103a000       Deferred        liblzma.so.5
ELF         7f8de103a000-    7f8de1054000       Deferred        libgcc_s.so.1
ELF         7f8de1054000-    7f8de119a000       Deferred        libm.so.6
ELF         7f8de119a000-    7f8de11b4000       Deferred        libunwind.so.8
ELF         7f8de11b6000-    7f8de11bb000       Deferred        libdl.so.2
ELF         7f8de11bc000-    7f8de11d4000       Deferred        version<elf>
  \-PE      7f8de11c0000-    7f8de11d4000       \               version
ELF         7f8de11d4000-    7f8de11df000       Deferred        librt.so.1
ELF         7f8de11df000-    7f8de1205000       Deferred        lin-vst-servertrack<elf>
  \-PE      7f8de11f0000-    7f8de1205000       \               lin-vst-servertrack
ELF         7f8de1205000-    7f8de13cc000       Deferred        libc.so.6
ELF         7f8de13cc000-    7f8de13ee000       Deferred        libpthread.so.0
ELF         7f8de13ee000-    7f8de1591000       Dwarf           libwine.so.1
ELF         7f8de1593000-    7f8de15c0000       Deferred        ld-linux-x86-64.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
        00000043    0
        00000042    0
        00000026    0
        0000001a    0
        00000013    0
        00000010    0
        0000000f    0
00000011 plugplay.exe
        00000017    0
        00000016    0
        00000012    0
00000018 winedevice.exe
        00000020    0
        0000001d    0
        0000001c    0
        0000001b    0
        00000019    0
0000001e explorer.exe
        00000023    0
        00000022    0
        00000021    0
        0000001f    0
00000024 winedevice.exe
        00000029    0
        00000028    0
        00000027    0
        00000025    0
0000002a (D) Z:\usr\bin\lin-vst-servertrack.exe
        00000046   -2
        00000045    0
        00000044    0
        00000040    0
        0000003f    0
        0000003e    0
        0000003d    0
        00000036    0
        00000032    1
        0000002f    0
        0000002e    0
        0000002d    0
        0000002b    0 <==
System information:
    Wine build: wine-4.18
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.3.11-arch1-1

I suppose that the issue is on wine side, like missing dll, but if you have any idea… Thanks !

osxmidi commented 4 years ago

Someone else had a problem like this https://linuxmusicians.com/viewtopic.php?f=62&t=20679

It's a Wine/libraries thing.

The plugin should be connecting via crypt libraries and why it isn't would be a Wine/libraries thing.

Maybe there are solutions via Winetricks and/or installing crypt libraries, maybe try looking at Wine gaming forums.

tduboys commented 4 years ago

Just for information, using a clean wine prefix resolves all my issues. Sorry for the noise, but now, I confirm Torpedo Wall of Sound works on LinVST ! Thx