Wineasio (Ubuntu)

Official support for: energy-xt.com
sandsound
KVRist
130 posts since 13 Apr, 2007 from Denmark

Post Tue Mar 25, 2008 8:05 am

On my website ( http://www.sandgreen.dk/index.php?side=linux_wineasio ) I have made a simplyfied guide on how to install wineasio ( thanks to David Hayes and AlanPoPo :hail: ).

In the spirit of keeping things simple, I'm trying to make a script that will install and configure Ubuntu with wine, wineasio and so on...

If anyone's up for some alpha-testing, this is the script so far :

Code: Select all

#!/bin/bash
# by Sandy Sandgreen
# Install wineasio 0.7.3 on Ubuntu 8.04
#
# Thanks to Jacklab for the wineasio source
# but also to David Hayes and AlanPoPo who both made a great howto
#
echo "This script will download and install wineasio" ;
echo "This might take awhile, please be patient" ;
echo "First it will install the latest wine, jack and some other usefull stuff" ;
sudo apt-get -y install wine wine-dev libjack0.100.0-dev qjackctl build-essential
echo "Configuring wine" ;
wineprefixcreate -w
mkdir -p ~/wineasio_tmp
cd ~/wineasio_tmp
echo "REGEDIT4" >> alsa.reg
echo "[HKEY_CURRENT_USER\Software\Wine\Drivers]" >> alsa.reg
echo '"Audio"="alsa"' >> alsa.reg
wine regedit alsa.reg
echo "Then it will download the wineasio driver and place it in your wine-folder" ;
wget http://www.sandgreen.dk/xt2/files/wineasio_0.7.3/wineasio.dll.so
chmod u+rwx wineasio.dll.so
sudo mv wineasio.dll.so /usr/lib/wine/
rm -Rf ~/wineasio_tmp
regsvr32 wineasio.dll
sudo ln -s /usr/lib/libjack-0.100.0.so.0 /usr/lib/libjack.so.0
echo "All done ... Now you can use the win-version of EnergyXT2 with wineasio" ;
echo "Press [ENTER] to close the shell"
read

If anyone have ideas, suggestions or other input, you are more than welcome.

EDIT: For some reason the link in the script act strange when shown in this forum??
So don't copy/paste this, download it here :
http://www.sandgreen.dk/xt2/files/winea ... sio_script
Last edited by sandsound on Wed Mar 26, 2008 11:10 am, edited 2 times in total.

glurgle
KVRAF
1617 posts since 19 Mar, 2002 from Victoria, BC

Post Tue Mar 25, 2008 8:39 am

cool :D

I'll give it a run through later today

AllenPOPO
KVRian
1334 posts since 5 May, 2004 from fighting the kVr disInfo

Post Tue Mar 25, 2008 8:51 am

thanks sandy :D your awesome-o! Im gonna try this when I install new ubuntu!
i am me and i am free...k thx bai

sandsound
KVRist
130 posts since 13 Apr, 2007 from Denmark

Post Wed Mar 26, 2008 11:08 am

AllenPOPO wrote:thanks sandy :D your awesome-o! Im gonna try this when I install new ubuntu!
Thanks :-)

I just tried it in a clean install of Ubuntu 8.04 (Hardy beta)... and it worked :shock:
It should also work on any other version of Ubuntu.

AllenPOPO
KVRian
1334 posts since 5 May, 2004 from fighting the kVr disInfo

Post Thu Mar 27, 2008 8:25 am

sandsound wrote:
AllenPOPO wrote:thanks sandy :D your awesome-o! Im gonna try this when I install new ubuntu!
Thanks :-)

I just tried it in a clean install of Ubuntu 8.04 (Hardy beta)... and it worked :shock:
It should also work on any other version of Ubuntu.

worked on my pentium 4 using ubuntu 7.1 :clap:
i am me and i am free...k thx bai

Cygnus X-1
KVRist
493 posts since 20 Mar, 2006

Post Thu Jun 12, 2008 10:02 pm

I'm using Ubuntu 7.04 64bit. I ran the script (I downloaded it, didn't copy) and got the following error, Reaper still does not 'see' any asio drivers installed, so I assume something went wrong.

Code: Select all

Warning: could not find DOS drive for current working directory '', starting in the Windows directory.
err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": libjack.so.0: cannot open shared object file: No such file or directory
Failed to load DLL wineasio.dll
sudo: cannot get working directory
All done :-) ... Now you can use the win-version of EnergyXT2 (or Reaper) with wineasio
Any idea what went wrong?

User avatar
odo
KVRAF
3338 posts since 1 Sep, 2002

Post Fri Jun 13, 2008 4:25 am

already have wineasio.Works great !!!!!!!! also with Aodix .Don't use it on BUZZ it will not start anymore.And i think you don't need it.BTW buzz is more stable in linux than windows xp :D
Make Your Voice Heard!!
EUROPEAN VAPERS PROTEST 29th 2.00PM.It saved my life.

sandsound
KVRist
130 posts since 13 Apr, 2007 from Denmark

Post Fri Jun 13, 2008 6:40 am

Cygnus X-1 wrote:Any idea what went wrong?
I have never tested this on a 64-bit, and I might not be the most qualified to answer, but can you run winecfg from a terminal and check that alsa is set ?

Drumfix
KVRer
28 posts since 24 Jul, 2007

Post Fri Jun 13, 2008 8:13 am

You cannot use this version of wineasio on a 64bit system, because jack there is
64bit also and does not allow a 32bit jack-client to connect.

The error you see tells me, that you don't have the 32bit version of libjack installed.

To make things work you need to install the 32bit version of jack first and
then wineasio-x, which provides a bridge from 32bit jack to 64bit.

You should find it on sourceforge now (i think Peter L Jones renamed it to
wineasio64 or something). Or check the Ubuntu forums for a ready to use .deb

Cygnus X-1
KVRist
493 posts since 20 Mar, 2006

Post Sat Jun 14, 2008 12:07 am

Thanks guys. I'll do more digging, it doesn't look like an easy fix (to me at least, I'm still a Linux newbie).

I ran winecfg and there are two audio drivers available ALSA and OSS, neither worked when I pressed the test button.

Thanks again.

crinimal
KVRer
5 posts since 8 Mar, 2008

Post Sun Jun 15, 2008 2:38 pm

sandsound wrote: If anyone's up for some alpha-testing, this is the script so far :
i tested it step by step (manually) and had an error with:

Code: Select all

>wine regedit alsa.reg
>regedit: File not found "./alsa.reg" (2)
when i moved alsa.reg to "~/.wine/drive_c/" regedit was successful with that.

//on an other machine that was fine...

also the symlink libjack.so.0 was already existing and pointing to libjack.so.0.0.28 - (which is no problem)

so everything seemed to be fine (reaper works for example) but it doesn't work in with tracktion 3.0.4.8 (demo)
"the audio playout device has unexpectedly stopped".

wine debug output:

Code: Select all

jack:
duplicate port name in port registration request
cannot deliver port registration request
(0x7f038358) Failed to register input port 0 ('input_1')
(ubuntu hardy 8.04, upgraded from gutsy, wine-0.9.59)

tibor
KVRist
124 posts since 12 Mar, 2008

Post Thu Jul 03, 2008 10:14 am

This script will download and install wineasio
This might take awhile, please be patient
First it will install the latest wine, jack and some other usefull stuff
[sudo] password for gundam:
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine is already the newest version.
wine-dev is already the newest version.
libjack0.100.0-dev is already the newest version.
qjackctl is already the newest version.
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Configuring wine
Note: wineprefixcreate is deprecated and shouldn't be needed anymore.
WINEPREFIX creation and updates now happen automatically when needed.

err:mshtml:check_version Could not open VERSION file
err:mshtml:check_version Could not open VERSION file
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/home/gundam/.wine' has been updated.
fixme:exec:SHELL_execute flags ignored: 0x00004000
fixme:shell:DllCanUnloadNow stub

stops here. what am i missing?

Return to “energyXT”