Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to bridge 64bit plugins on a 64bit wine bottle #109

Open
apoorv569 opened this issue Mar 4, 2020 · 4 comments
Open

not able to bridge 64bit plugins on a 64bit wine bottle #109

apoorv569 opened this issue Mar 4, 2020 · 4 comments

Comments

@apoorv569
Copy link

apoorv569 commented Mar 4, 2020

i have a 64bit wine bottle created with 64 bit plugins and 32 bit plugins also.. when creating airwave link everything is fine. but when i search for new plugin in ardour it detects both 64 and 32 bit plugins and after searching it only shows 32bit plugins and 64 bit plugin are not to be found in the plugin manager. i have been using this wine bottle for about 5-6 months it worked fine until now it suddenly stopped detecting 64bit plugins

also when ardour is in the process of searching new plugins on 32bit plugins its fine quick but on 64 bit plugins it takes a little time like it not getting something properly

@durutti
Copy link

durutti commented May 25, 2020

I have the same issue after a fresh build of airwave-vst. 32bit plugins work fine but I get an error with 64bit plugins on ubuntu 18.04 with mixbus and wine 5.9 (devel)

@apoorv569
Copy link
Author

I have the same issue after a fresh build of airwave-vst. 32bit plugins work fine but I get an error with 64bit plugins on ubuntu 18.04 with mixbus and wine 5.9 (devel)

its been 2 months i still haven't recieved any update or help

@DiligentKeyPresser
Copy link

I've got similar problem.

I managed to get 32bit VST plugins to work (mostly) but 64bit versions crash miserably upon load into a VST host. One of plugins have a standalone 64bit version which works under wine.

My system:

  • Intel(R) Core(TM) i7-8550U CPU
  • Arch Linux 5.6.15-arch1-1 / physical installation / mainstream kernel, not RT.
  • wine 5.9-1
  • airwave has been installed from AUR using https://github.com/phantom-code/airwave.git#branch=master repository, which means current master state
  • VST hosts tested:
    • carla 2.1-1
    • reaper 6.11 / native linux build

Wine log from one of the plugins :

couldn't load main module (2)
Unhandled exception: page fault on read access to 0xffffffffffffffff in 64-bit code (0x00007fde395c74e7).
Register dump:
 rip:00007fde395c74e7 rsp:000000000021cf08 rbp:000000000021d460 eflags:00010202 (  R- --  I   - - - )
 rax:0000000000000018 rbx:0000000000000000 rcx:000000000000000f rdx:7269612f706d742f
 rsi:000000000021d428 rdi:7269612f706d7420  r8:00000000ffffffff  r9:0000000000000007 r10:7269612f706d742f
 r11:0000000000000000 r12:000000000021d490 r13:00007fde394430c0 r14:000000000021fb30 r15:0000000000000073
Stack dump:
0x000000000021cf08:  00007fde394d1d1e 0000002200000000
0x000000000021cf18:  0000000000000001 0000000000000000
0x000000000021cf28:  0000000000000000 0000000000000000
0x000000000021cf38:  ffffffffffffffff 0000000000000000
0x000000000021cf48:  0000000000000000 000000000000000a
0x000000000021cf58:  0000000000000007 0000000000000020
0x000000000021cf68:  7269612f706d742f 0000000000000000
0x000000000021cf78:  0000000000000000 0000000200000000
0x000000000021cf88:  0000000000000d68 00007fde394430c7
0x000000000021cf98:  0000000000000000 0000000000000000
0x000000000021cfa8:  00007fde394430c8 0000000000000000
0x000000000021cfb8:  0000000000000000 0000000000000000
Backtrace:
=>0 0x00007fde395c74e7 (0x000000000021d460)
0x00007fde395c74e7: ldsl	%ebp,%edi
Modules:
Module	Address					Debug info	Name (12 modules)
PE	        7b010000-        7b017000	Deferred        kernelbase
PE	        7b420000-        7b5db000	Deferred        kernel32
PE	        7bc20000-        7bc24000	Deferred        ntdll
PE	    7fde37ef0000-    7fde37ef4000	Deferred        imm32
PE	    7fde38650000-    7fde38657000	Deferred        gdi32
PE	    7fde387f0000-    7fde387f4000	Deferred        rpcrt4
PE	    7fde38880000-    7fde38883000	Deferred        sechost
PE	    7fde388c0000-    7fde388c4000	Deferred        advapi32
PE	    7fde38950000-    7fde38954000	Deferred        ucrtbase
PE	    7fde38a70000-    7fde38a7f000	Deferred        setupapi
PE	    7fde38b00000-    7fde38be8000	Deferred        user32
PE	    7fde39060000-    7fde39064000	Deferred        version
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
	000000a0    0
	00000074    0
	0000005c    0
	00000058    0
	00000054    0
	00000040    0
	0000003c    0
00000044 plugplay.exe
	0000008c    0
	00000088    0
	00000084    0
	00000068    0
	00000064    0
	00000060    0
	00000048    0
0000004c explorer.exe
	000000b8    0
	000000b4    0
	000000b0    0
	00000050    0
0000006c winedevice.exe
	00000094    0
	00000090    0
	00000080    0
	0000007c    0
	00000078    0
	00000070    0
00000098 winedevice.exe
	000000ac    0
	000000a8    0
	000000a4    0
	0000009c    0
000000bc (D) unix\usr\bin\airwave-host-64.exe
	000000cc    0
	000000c0    0 <==
System information:
    Wine build: wine-5.9
    Platform: x86_64
    Version: Windows 10
    Host system: Linux
    Host version: 5.6.15-arch1-1

Airwave log:

1591097475.677251517         SparkDemo.so : Initializing plugin endpoint 1.3.3
1591097475.677268285         SparkDemo.so : Plugin binary: /home/daniil/vst/SparkDemo.so
1591097475.677278979         SparkDemo.so : WINE prefix:   /home/daniil/.wine
1591097475.677289147         SparkDemo.so : WINE loader:   /usr/bin/wine
1591097475.677295610         SparkDemo.so : VST binary:    /home/daniil/.wine/drive_c/Program Files/Steinberg/VSTPlugins/SparkDemo.dll
1591097475.681494029         SparkDemo.so : Host binary:   /usr/bin/airwave-host-64.exe
1591097475.681499391         SparkDemo.so : Log level:     trace
1591097475.681981632         SparkDemo.so : Callback thread started
1591097475.682009421         SparkDemo.so : Waiting response from host endpoint...

@szanni
Copy link

szanni commented Aug 24, 2020

@DiligentKeyPresser as you are on Arch and your crash dump looks similar to mine (page fault) you might want to try to downgrade your steinberg-vst36 package and recompile airwave. See my comment in #109
Because #111 and #112 did NOT close the issue for me.

agalakhov added a commit to agalakhov/airwave that referenced this issue Aug 13, 2021
The `__cdecl` for `main()` was once needed to workaround bug in some
versions of Wine. Current Wine versions do not have this bug anymore.

This change is needed to fix 64-bit VST plugins.

Closes: psycha0s#109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants