Winasio, somebody know how make it work??

Questions about Wine on Linux
Locked
Splashman
Level 1
Level 1
Posts: 8
Joined: Wed May 02, 2012 11:07 am

Winasio, somebody know how make it work??

Post by Splashman »

Hi everybody
I am using a 12.04 Precise pangolin amd64 with jakd 1.5.8, wine 1.5.3 and wineasio 9.0 and i'm having a lot of problems to use de regsrv32 winasio.dll always drop me the "Failed to load DLL wineasio.dll"

I've copied the wineasio.dll.so in /usr/lib/x86_64-linux-gnu/wine and /usr/lib32/wine/
ive reinstalled wine, wineasio changed jackd2 to jackd did wineboot too so i dont know what more can i do

if someone have any trick for that i will be very thankfull
jordan

Winasio, somebody know how make it work??

Post by jordan »

hi,
I am using a 12.04 Precise pangolin amd64 with jakd 1.5.8, wine 1.5.3 and wineasio 9.0 and i'm having a lot of problems to > use de regsrv32 winasio.dll always drop me the "Failed to load DLL wineasio.dll"
I've copied the wineasio.dll.so in /usr/lib/x86_64-linux-gnu/wine and /usr/lib32/wine/
ive reinstalled wine, wineasio changed jackd2 to jackd did wineboot too so i dont know what more can i do
For one, wineASIO is 32bit - you should have never installed it in
/usr/lib/x86_64-linux-gnu/wine, as that is for wine64. I believe
wineASIO's documentation even explains that it is for 32bit not
wine64.

Secondly, are you using a 32bit wine prefix?? this can be accomplished
by running;

WINEARCH=win32 winecfg (after installing wine)

however, if you try it now, and it tells you that your prefix is 64bit
- than that is why it won't register wineasio.dll ~ because it won't
register your 32bit .dll in a 64bit environment. You may have to
either start a new prefix, or delete your current ~/.wine and then run
the above command again

after that try registering wineASIO again.

cheerz
jordan

Winasio, somebody know how make it work??

Post by jordan »

Also,

You need to have a version of jack(1 or 2) that has been compiled with
the --mixed flag. This allows jack to use both 64bit and 32bit
applications/clients...
Splashman
Level 1
Level 1
Posts: 8
Joined: Wed May 02, 2012 11:07 am

Post by Splashman »

Wineasio is for both u can find the 32 and 64bit compilations and inside the makefile in the sources they explain you must specify where is your wine path in the 64 bits compilations in /usr/lib/ or /usr/lib/etcetc../wine/ or correct it and copy the file manually the point of jack is what i am not sure at all, this --mixed ive never heard after i just installed from synaptic, the thing is i can watch the dll inside the library menu in winecfg but not his options in regedit i think that is the point becouse is not registered.
jordan

Winasio, somebody know how make it work??

Post by jordan »

On Wed, May 2, 2012 at 12:46 PM, Splashman <[email protected]> wrote:
Wineasio is for both u can find the 32 and 64bit compilations and inside the makefile in the sources they explain you must specify where is your wine path in the 64 bits compilations in /usr/lib/ or /usr/lib/etcetc../wine/ or correct it and copy the file manually the point of jack is what i am not sure at all, this --mixed  ive never heard after i just installed from synaptic, the thing is i can watch the dll inside the library menu in winecfg but not his options in regedit i think that is the point becouse is not registered.
please post where in the makefile it says -m64??? i can point you to
where it DOESN'T;

CEXTRA = -m32 -g -O2 -D__WINESRC__ -D_REENTRANT -fPIC
-Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith
CXXEXTRA = -m32 -D__WINESRC__ -D_REENTRANT -fPIC -Wall
-pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith

do you see any 64bit C/CXXFLAGS?? -> i dont. but i do see -m32 which
is telling gcc to compile 32bit. you require multilib to run wineASIO
on a 64bit system. As to where wineasio.dll.so goes -> /usr/lib32/wine

I've also tried to install wineASIO on a 64bit prefix (by accident)
and got the EXACT same error as you are posting. but if you want to
make the assumption that i haven't been using wineASIO for years on a
64bit system, than go right ahead. - in the end that won't be my
problem.

On the jack note; I would assume Ubuntu packages jack2 with --mixed
... but since i don't use ubuntu - i couldn't tell you. There probably
is a lib32-jack package or something like that. Jack also requires
32bit support, because wineASIO is 32bit.

good luck
Splashman
Level 1
Level 1
Posts: 8
Joined: Wed May 02, 2012 11:07 am

Post by Splashman »

"Due to a bug in winegcc, and the confusion regarding where 32bit wine dlls go
on the various 64bit linux distributions, I've hardcoded support for
/usr/lib/wine and /usr/lib32/wine into the makefile"
i dont know if is writted for 32 or 64 but it dont care to me
i know u are very smart but i am just asking if someone what know more than me can help me if u dont want, ok dont do it[/quote][/code]
jordan

Winasio, somebody know how make it work??

Post by jordan »

"Due to a bug in winegcc, and the confusion regarding where 32bit wine dlls go
on the various 64bit linux distributions,  I've hardcoded support for
/usr/lib/wine and /usr/lib32/wine into the makefile"
i dont know if is writted for 32 or 64 but it dont care to me
i know u are very smart but i am just asking if someone what know more than me can help me if u dont want, ok dont do it
[/code]
[/quote]
I have no problem helping you, but in order to do that - you need to
listen, instead of asserting things that are *clearly* incorrect and
then ignoring what i've written.

Let me explain the /lib vs. /lib32 thing. it's actually pretty simple;

1. x86 (32bit) does not contain /usr/lib32 - it only exists on 64bit.
So by default on a 32bit system you will have /usr/lib (and that is
it).

2. x86_64 RPM distros have /usr/lib32 and /usr/lib64 ~ which was a
standard put out by Redhat. However - Debian, Archlinux and many other
distros use /usr/lib for 64bit libraries on a 64bit system (ie: there
is no /usr/lib64, in most cases), while adopting /usr/lib32 for their
respective 32bit libraries.

So don't install the .dll.so into /usr/lib - that is for 64bit
libraries on a debian-based system (which ubuntu is). Is this clear
and concise of an explanation for you? (it also might cause confusion
when trying to register the .dll later).

What you want to do is;

(1)make sure you have all of the dependencies you need, all the
mutilib/lib32 dependencies required. most if not all should be
installed, as wine pulls them in excluding jack. I think you can
verify your installed jack is supporting both 32/64bit by looking in
/usr/lib32 <- there should be jack-related files in there. if they
exist, you can check that off of your list. (2) make sure that your
home/username/.wine is 32bit, so that it links to your 32bit libs. -
which i've already told you how to do (3) after that wineasio.dll.so
is installed in the correct location, and not in /usr/lib - you can
then register the .dll. ~if it still doesn't register, type the
fullpath when registering it. (ie: regsvr32
/usr/lib32/wineasio.dll.so).

it should pick it up.

after that to test it -> run jackd, start your windows app that
supports ASIO, find the preferences and switch the driver to ASIO.
After that you should see (jack) ports appear in qjackctl, Ladish or
whatever tool you are using to handle connections... VSThost for
windows is a good choice (because it is small and i know that it
works).

you may want to run your wine application from a terminal, then you
can see (possibly) why it is failing (if it still isn't working. if it
doesn't work, your next step to take that ouput && also run;

env WINEDEBUG=+asio wine *your-app* from a terminal ... this tells
wine to spit out all of the debugging info for ASIO(wineASIO). -> this
might help someone else identify your issue, on the wine-list or
elsewhere. you can save it from your terminal into a text file, and
post it somewhere like pastebin (.com) - then post on the wine-list
with a link to your pasted debugging info.

cheerz
jordan

Winasio, somebody know how make it work??

Post by jordan »

ie: regsvr32/usr/lib32/wineasio.dll.so
oops, that was supposed to read;

regsvr32 /usr/lib32/wine/wineasio.dll.so

cheerz
tiago
Newbie
Newbie
Posts: 2
Joined: Wed Oct 10, 2012 3:47 pm

Re: Winasio, somebody know how make it work??

Post by tiago »

There're some wrong instructions here. Please take a look at this post which can help you on Debian and derivatives systems:

Getting REAPER with Wine and JACK in a 64bit Debian GNU/Linux system
http://acaia.ca/~tiago/posts/Reaper_+_w ... ux_system/
Locked