Airwave - yet another WINE VST bridge for Linux (April 12 update)

Official support for: bitwig.com
Post Reply New Topic
RELATED
PRODUCTS

Post

phantom-one wrote: PS: And here is the commands for Ubuntu x86_64, which I used before building Airwave (maybe it could help someone):

Code: Select all

sudo apt-get install git cmake gcc-multilib g++multilib libx11-dev libx11-dev:i386 qt4-default libmagic-dev
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7 wine1.7-dev
Please note, I'm not Ubuntu user, so maybe someone will correct me. After installation of these dependences, you can use my instruction from this thread to build Airwave.
Hi, thanks for this ... on my Ubuntu i must use: g++-multilib :)

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
phantom-one: I am seeing the same log output as Strangetown. I did check on my POSIX shared memory mount, but it was already mounted by default. That was a good thing to check though.

I did try your suggestion of removing and re-adding the links with Bitwig running and got more or less the same output. Here is the logging I received from that experiment:

Code: Select all (#)

1407641847.886545726       airwave-plugin : Starting Airwave master unit 0.5.0
1407641847.886579024      SsdSampler64.so : Plugin binary: /home/andrew/Dropbox/SSD/64/SsdSampler64.so
1407641847.886596416      SsdSampler64.so : Host binary:   /usr/local/bin/airwave-host-64.exe
1407641847.886965217      SsdSampler64.so : VST binary:    /home/andrew/Dropbox/SSD/64/SsdSampler.dll
1407641847.887008735      SsdSampler64.so : Main thread id: 0x7fbfc4f1b780
1407641847.887170952      SsdSampler64.so : Child process started, pid=1357
1407641847.887212159      SsdSampler64.so : WINELOADER is not set, using wine from the PATH
1407641847.887235215      SsdSampler64.so : Callback thread started
1407641847.887249176      SsdSampler64.so : Waiting for child response...
1407641848.386607597         airwave-host : Starting Airwave slave unit 0.5.0
1407641848.386615856       SsdSampler.dll : Main thread id: 0x23
1407641848.719898421       SsdSampler.dll : Waiting for master unit request...
1407641850.887355827      SsdSampler64.so : Child process is not responding
1407641850.887528620      SsdSampler64.so : Unable to initialize master unit
I'm going to make sure I mention that I'm currently using the StudioDave's compiled airwave binary in my system because he's using Fedora as well. I'm on 20, he's on 19, but there shouldn't be enough of a difference there to cause too much trouble. I was having some pretty serious issues compiling airwave myself in Fedora 20.

Post

mrofo wrote:

Code: Select all

1407641848.386607597         airwave-host : Starting Airwave slave unit 0.5.0
1407641848.386615856       SsdSampler.dll : Main thread id: 0x23
1407641848.719898421       SsdSampler.dll : Waiting for master unit request...
So you have messages from the airwave-host and this is much better, than nothing ;-). Is there a VirtualBox image with Fedora 20 somewhere? I can try to build Airwave and reproduce your issue or at least I will write build-instruction. I have some assumption about what's going on, but it will be faster and easier to check it myself.

Post

So, I got Fedora 20 VirtualBox image from here and successfully built the Airwave inside. This VM doesn't have audio card enabled, so I didn't test a sound from VST. But everything else seems to work.

mrofo, I think that StudioDave's binaries may not work on Fedora 20. Try to build the Airwave one more time. To do this you should install all dependences and then follow my instruction from this thread:

Code: Select all

yum -y install gcc-c++ git cmake wine wine-devel wine-devel.i686 file file-devel libX11-devel libX11-devel.i686 qt4-devel glibc-devel.i686 glibc-devel
After doing so your build should succeed. And don't forget to recreate all VST links, that you've created before.

Post

Here is the binaries for Fedora 20 x86_64, that I built in VM - link.
If you will use it, do not change an installation path. I specifically made ​the absolute path to the files in the tarball.​ And all required libraries should be installed, of course. So it's better to build it by yourself for checking, that everything in place.

Post

Devogenes wrote:Well that worked. But then this happened.

Code: Select all

:~/airwave/build$ make
Linking CXX executable airwave-host-32
[ 12%] Built target airwave-host-32
Linking CXX executable airwave-host-64
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/i386-linux-gnu/wine/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (airwave-host-64.gJx4xL.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
host/CMakeFiles/airwave-host-64.dir/build.make:235: recipe for target 'host/airwave-host-64' failed
make[2]: *** [host/airwave-host-64] Error 2
CMakeFiles/Makefile2:112: recipe for target 'host/CMakeFiles/airwave-host-64.dir/all' failed
make[1]: *** [host/CMakeFiles/airwave-host-64.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
 
I think this is beyond me.

:cry:

Maybe I should switch to Arch Linux =|
devogenes, Just install wine-devel.i686 (Fedora 20). If it still actual for you ;-).

Post

phantom-one: I must have been missing a package because I was able to build airwave with the yum package list you provided me. I haven't tested the audio yet, but I have the Steven Slate Drums UI open in Bitwig. I'm sure it will work from here. I can't thank you enough! Do you have a link where I can donate some money to you? Your efforts were exceptional!

Post

mrofo wrote:I can't thank you enough! Do you have a link where I can donate some money to you? Your efforts were exceptional!
I'm glad to help you and please don't worry about donations. I do this for fun. :-)

Post

I have enabled shared memory with the fstab entry, I still get the same error messages

Post

Strangetown, I did fresh install of Ubuntu 14.04.1 in VirtualBox and still unable to reproduce your issue.

What I did is:
1. Installed all required packages

Code: Select all

sudo apt-get install git cmake gcc-multilib g++multilib libx11-dev libx11-dev:i386 qt4-default libmagic-dev
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7 wine1.7-dev
2. Downloaded VST SDK 3.6 in home directory: ~/vstsdk360_22_11_2013_build_100.zip
3. Built Airwave

Code: Select all

git clone https://github.com/phantom-code/airwave.git
cd airwave
unzip ~/vstsdk360_22_11_2013_build_100.zip -d .
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/airwave -DCMAKE_BUILD_TYPE="Release" -DVSTSDK_PATH="../VST3 SDK"
make
sudo make install
4. Installed u-he Zebra2 VST demo with WINE
5. Created link to Zebra2 with airwave-utility

I hope that this step-by-step instruction will help you.

Post

phantom-one I appreciate the time you've taken to help me out. I followed your instructions above. Still same error messages. Maybe I shall give up for now

Post

Strangetown, thanks to the contribution by James Stone I think I fixed your issue. If you still interested, you can fetch the latest changes from the develop branch by using this command:

Code: Select all

git clone -b develop https://github.com/phantom-code/airwave.git

Post

Phantom-one you are a star! It works :) I can happily report Camel Space and Ohmboyz work with it! Many thanks. :)

Post

Update:

Installed Reveal Sound Spire x64. Plugin loaded and recognised by Bitwig, however plugin crashes on preset change with the following errors:

Code: Select all

Unhandled exception: page fault on read access to 0x00000020 in 64-bit code (0x00000001800b0854).
Register dump:
 rip:00000001800b0854 rsp:00000000083de360 rbp:00000000083de470 eflags:00010202 (  R- --  I   - - - )
 rax:0000000000000000 rbx:0000000000350030 rcx:0000000000350140 rdx:0000000000000100
 rsi:0000000000350060 rdi:0000000000000100  r8:00007fd85952f020  r9:0000000000000400 r10:0000000000000000
 r11:0000000000000000 r12:000000007e627b80 r13:00007fd85952a040 r14:000000007e627b80 r15:00000000083df700
Stack dump:
0x00000000083de360:  0000000000000000 0000000000000002
0x00000000083de370:  0000000000000000 000000000000000f
0x00000000083de380:  0000000000000027 000000000137de20
0x00000000083de390:  0000000002dbf6d0 000000000271f600
0x00000000083de3a0:  00000000038d11d0 00000000010870a4
0x00000000083de3b0:  0000000000000000 0000000000000000
0x00000000083de3c0:  6157007845746365 5064656d614e7469
0x00000000083de3d0:  00000000083df700 000000007e627b80
0x00000000083de3e0:  00007fd85952a040 000000007e627b80
0x00000000083de3f0:  0000000000350060 0000000000000400
0x00000000083de400:  000000007e627b80 00007fd85cf0e76c
0x00000000083de410:  0000000000000032 00000000083de470
Backtrace:
=>0 0x00000001800b0854 in spire (+0xb0854) (0x00000000083de470)
0x00000001800b0854: repne (bad)q	
Modules:
Module	Address					Debug info	Name (92 modules)
ELF	        7b800000-        7bc73000	Deferred        kernel32<elf>
  \-PE	        7b820000-        7bc73000	\               kernel32
ELF	        7be00000-        7c103000	Deferred        <wine-loader>
PE	       180000000-       1814a3000	Export          spire
ELF	    7fd854506000-    7fd85471a000	Deferred        msimg32<elf>
  \-PE	    7fd854510000-    7fd85471a000	\               msimg32
ELF	    7fd85471a000-    7fd854941000	Deferred        imm32<elf>
  \-PE	    7fd854720000-    7fd854941000	\               imm32
ELF	    7fd854ad2000-    7fd854ce6000	Deferred        gnome-keyring-pkcs11.so
ELF	    7fd854ce6000-    7fd854f1e000	Deferred        p11-kit-trust.so
ELF	    7fd854f1e000-    7fd855126000	Deferred        librt.so.1
ELF	    7fd855126000-    7fd85532e000	Deferred        libffi.so.6
ELF	    7fd85532e000-    7fd855533000	Deferred        libgpg-error.so.0
ELF	    7fd855533000-    7fd85574e000	Deferred        libresolv.so.2
ELF	    7fd85574e000-    7fd855952000	Deferred        libkeyutils.so.1
ELF	    7fd855952000-    7fd855b97000	Deferred        libdbus-1.so.3
ELF	    7fd855b97000-    7fd855dd9000	Deferred        libp11-kit.so.0
ELF	    7fd855dd9000-    7fd855fed000	Deferred        libtasn1.so.6
ELF	    7fd855fed000-    7fd85626c000	Deferred        libgcrypt.so.11
ELF	    7fd85626c000-    7fd856477000	Deferred        libkrb5support.so.0
ELF	    7fd856477000-    7fd85667b000	Deferred        libcom_err.so.2
ELF	    7fd85667b000-    7fd8568aa000	Deferred        libk5crypto.so.3
ELF	    7fd8568aa000-    7fd856b75000	Deferred        libkrb5.so.3
ELF	    7fd856b75000-    7fd856d86000	Deferred        libavahi-client.so.3
ELF	    7fd856d86000-    7fd856f92000	Deferred        libavahi-common.so.3
ELF	    7fd856f92000-    7fd857250000	Deferred        libgnutls.so.26
ELF	    7fd857250000-    7fd857496000	Deferred        libgssapi_krb5.so.2
ELF	    7fd857496000-    7fd85770a000	Deferred        libcups.so.2
ELF	    7fd85772b000-    7fd857964000	Deferred        uxtheme<elf>
  \-PE	    7fd857730000-    7fd857964000	\               uxtheme
ELF	    7fd857964000-    7fd857b6a000	Deferred        libxfixes.so.3
ELF	    7fd857b6a000-    7fd857d74000	Deferred        libxcursor.so.1
ELF	    7fd857d74000-    7fd857f84000	Deferred        libxi.so.6
ELF	    7fd857f84000-    7fd858187000	Deferred        libxcomposite.so.1
ELF	    7fd858187000-    7fd858391000	Deferred        libxrandr.so.2
ELF	    7fd858391000-    7fd85859b000	Deferred        libxrender.so.1
ELF	    7fd85859b000-    7fd8587a1000	Deferred        libxxf86vm.so.1
ELF	    7fd8587a1000-    7fd8589a4000	Deferred        libxinerama.so.1
ELF	    7fd8589a4000-    7fd858baa000	Deferred        libxdmcp.so.6
ELF	    7fd858baa000-    7fd858dae000	Deferred        libxau.so.6
ELF	    7fd858dae000-    7fd858fcd000	Deferred        libxcb.so.1
ELF	    7fd858fcd000-    7fd859302000	Deferred        libx11.so.6
ELF	    7fd859302000-    7fd859514000	Deferred        libxext.so.6
ELF	    7fd859535000-    7fd8597d0000	Deferred        winex11<elf>
  \-PE	    7fd859550000-    7fd8597d0000	\               winex11
ELF	    7fd8597d0000-    7fd859a63000	Deferred        rpcrt4<elf>
  \-PE	    7fd8597e0000-    7fd859a63000	\               rpcrt4
ELF	    7fd859a63000-    7fd859de0000	Deferred        ole32<elf>
  \-PE	    7fd859a90000-    7fd859de0000	\               ole32
ELF	    7fd859de0000-    7fd85a027000	Deferred        winspool<elf>
  \-PE	    7fd859df0000-    7fd85a027000	\               winspool
ELF	    7fd85a027000-    7fd85a329000	Deferred        comctl32<elf>
  \-PE	    7fd85a030000-    7fd85a329000	\               comctl32
ELF	    7fd85a329000-    7fd85a5b7000	Deferred        shlwapi<elf>
  \-PE	    7fd85a340000-    7fd85a5b7000	\               shlwapi
ELF	    7fd85a5b7000-    7fd85aa16000	Deferred        shell32<elf>
  \-PE	    7fd85a5d0000-    7fd85aa16000	\               shell32
ELF	    7fd85aa16000-    7fd85ad03000	Deferred        comdlg32<elf>
  \-PE	    7fd85aa20000-    7fd85ad03000	\               comdlg32
ELF	    7fd85ad03000-    7fd85af40000	Deferred        ws2_32<elf>
  \-PE	    7fd85ad10000-    7fd85af40000	\               ws2_32
ELF	    7fd85af40000-    7fd85b221000	Deferred        crypt32<elf>
  \-PE	    7fd85af50000-    7fd85b221000	\               crypt32
ELF	    7fd85b50e000-    7fd85b738000	Deferred        libexpat.so.1
ELF	    7fd85b738000-    7fd85b974000	Deferred        libfontconfig.so.1
ELF	    7fd85b974000-    7fd85bb9a000	Deferred        libpng12.so.0
ELF	    7fd85bb9a000-    7fd85bdb3000	Deferred        libz.so.1
ELF	    7fd85bdb3000-    7fd85c056000	Deferred        libfreetype.so.6
ELF	    7fd85c056000-    7fd85c26f000	Deferred        version<elf>
  \-PE	    7fd85c060000-    7fd85c26f000	\               version
ELF	    7fd85c26f000-    7fd85c4f3000	Deferred        advapi32<elf>
  \-PE	    7fd85c280000-    7fd85c4f3000	\               advapi32
ELF	    7fd85c4f3000-    7fd85c854000	Deferred        gdi32<elf>
  \-PE	    7fd85c510000-    7fd85c854000	\               gdi32
ELF	    7fd85c854000-    7fd85cbf3000	Deferred        user32<elf>
  \-PE	    7fd85c870000-    7fd85cbf3000	\               user32
ELF	    7fd85cef7000-    7fd85d113000	Deferred        airwave-host-64<elf>
  \-PE	    7fd85cf00000-    7fd85d113000	\               airwave-host-64
ELF	    7fd85d113000-    7fd85d31f000	Deferred        libnss_files.so.2
ELF	    7fd85d31f000-    7fd85d52b000	Deferred        libnss_nis.so.2
ELF	    7fd85d52b000-    7fd85d745000	Deferred        libnsl.so.1
ELF	    7fd85d745000-    7fd85d94f000	Deferred        libnss_compat.so.2
ELF	    7fd85dc18000-    7fd85de2e000	Deferred        libgcc_s.so.1
ELF	    7fd85de2e000-    7fd85e134000	Deferred        libm.so.6
ELF	    7fd85e134000-    7fd85e42f000	Deferred        ntdll<elf>
  \-PE	    7fd85e150000-    7fd85e42f000	\               ntdll
ELF	    7fd85e432000-    7fd85e636000	Deferred        libdl.so.2
ELF	    7fd85e636000-    7fd85e9fc000	Deferred        libc.so.6
ELF	    7fd85e9fc000-    7fd85ec1a000	Deferred        libpthread.so.0
ELF	    7fd85ec3c000-    7fd85efe1000	Dwarf           libwine.so.1
ELF	    7fd85efe3000-    7fd85f208000	Deferred        ld-linux-x86-64.so.2
ELF	    7fffbc7fe000-    7fffbc7ff000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	0000001d    0
	0000001c    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001b    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001f    0
	0000001e    0
	0000001a    0
00000020 explorer.exe
	00000021    0
00000022 (D) Z:\opt\airwave\bin\airwave-host-64.exe
	00000026    0
	00000025    0
	00000024    0 <==
	00000023    0
System information:
    Wine build: wine-1.7.22
    Platform: x86_64
    Host system: Linux
    Host version: 3.13.0-34-lowlatency
Also installed D16 Phoscyon and Redoptor also both loaded and recognised by Bitwig but the options submenu is not correctly displayed in Phoscyon (this also occurred with the license page with Phoscyon and Redoptor though I managed to (by luck) click on the right place to enter the license file location. Phoscyon was working but doesn't seem to any more after the Spire crash. I really appreciate all your efforts phantom-one and am more than happy to provide any more info you request. I'd really like to see this amazing bit of software running smoothly. One last thing I have disabled the enable tmpfs line in /etc/fstab as it doesn't seem to be needed :)

Post

Strangetown, glad to hear this, but actually I only have implemented James Stone's suggestion. ;-)
About your crash report: I have similar issues with several vst's, I will try to fix them, seems like it is my mistake somewhere.

Post Reply

Return to “Bitwig”