Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Cannot view asio inputs and outputs (Ninjam)

Help
msaul
2010-12-21
2013-01-27
  • msaul
    msaul
    2010-12-21

    I'm having a problem with wineasio when using Ninjam
    This was working well when using wineasio 0.7.5 until sometime with the past 3 weeks, but then froze when setting audio in Ninjam application to use my Jack server.

    I did upgrade to wineasio 0.8.0 and tried 0.9 beta, and doesn't freeze, but now cannot see inputs and outputs with wineasio driver in ninjam…

    I noticed another person has encountered same problem, but no solution…

    Here is the message in my shell when I'm running wine for NINJAM application, and select ASIO to use the wineasio Linux driver:

    msaul@studio:~$ wine /home/msaul/NINJAM/ninjam.exe
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    jackdmp 1.9.6
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns
    `default' server already active
    Failed to start server

    Any help or suggestions would be greatly appreciated…

    Murray Saul,
    Professor, school of computer studies
    Seneca College,
    Toronto, ON
    Canada

    This was working fine until recently (perhaps kernel upgrade). I'm using Ubuntu studio 10.10. anyone have any suggestions?

     
  • Peter L Jones
    Peter L Jones
    2010-12-21

    I would have to suggest reverting to a version that worked for you in the first instance.

    If you'd like to persevere, having the wine diagnostics would help identify any possible cause of the problem.  To get the wine diagnostics prefix your existing command with "WINEDEBUG=+asio".

    Please also state versions wine and kernel.  I'm running wine 1.3.6, jackd 1.9.6, kernel 2.6.32-26-server (x86_64).  For this test, I'm running wineasio 0.8.0 and Reaper 3.672.  It worked okay for me.

     
  • msaul
    msaul
    2010-12-22

    Thanks for fast reply - have been busy, but now am back to try your suggestion. I am currently running Ubuntu 10.10
    Linux studio 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux

    and the version of wine is:   wine-1.3.9 I  will try to backtrack to wineasio 0.7.5 (but I think I did, and to no avail).

    Here is the result when running diagnostics:

    WINEDEBUG=+asio wine /home/msaul/NINJAM/ninjam.exe
    trace:asio:DllMain (0x7d6b0000 1 (nil))
    trace:asio:DllMain DLL_PROCESS_ATTACH
    trace:asio:DllGetClassObject ({48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, {00000001-0000-0000-c000-000000000046}, 0x32aecc)
    trace:asio:CF_AddRef (0x7d6c553c) ref was 1
    trace:asio:CF_CreateInstance (0x7d6c553c, (nil), {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, 0x100053f0)
    trace:asio:asioCreateInstance ({48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, 0x100053f0)
    trace:asio:asioCreateInstance pobj = 0x1a9810
    trace:asio:asioCreateInstance return 0x1a9810
    trace:asio:CF_Release (0x7d6c553c) ref was 2
    trace:asio:__wrapped_IWineASIOImpl_init (0x1a9810, 0x200da)
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    jackdmp 1.9.6
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns
    `default' server already active
    Failed to start server
    warn:asio:__wrapped_IWineASIOImpl_init (0x1a9810) failed to open jack server
    trace:asio:__wrapped_IWineASIOImpl_getErrorMessage (0x1a9810, 0x32b024)
    trace:asio:IWineASIOImpl_Release (0x1a9810)
    trace:asio:IWineASIOImpl_Release (0x1a9810) ref was 1
    trace:asio:IWineASIOImpl_Release Entering state = Exit
    trace:asio:IWineASIOImpl_Release JACK client closed
    trace:asio:IWineASIOImpl_Release Setting Win32 thread termination to TRUE
    trace:asio:IWineASIOImpl_Release Win32 thread terminated
    trace:asio:IWineASIOImpl_Release (0x1a9810) released

    Based on this output, can anyone suggest what type of problem this is? Any suggestions would be greatly appreciated…

    Murray

     
  • msaul
    msaul
    2010-12-23

    When using wineasio 0.9.0 beta running with diagnostics give:

    WINEDEBUG=+asio wine /home/msaul/NINJAM/ninjam.exe
    err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /usr/bin/../lib32/wine/wineasio.dll.so: undefined symbol: jack_port_type_id
    err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"wineasio.dll"
    err:ole:CoGetClassObject no class object {48d0c522-bfcc-45cc-8b84-17f25f33e6e8} could be created for context 0x1

    I can't seem to "roll-back".
    I will try on another install of a computer to see if this duplicates…

    Murray

     
  • msaul
    msaul
    2010-12-23

    Also, when trying to register, I get

    regsvr32 wineasio.dll
    err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /usr/bin/../lib32/wine/wineasio.dll.so: undefined symbol: jack_port_type_id
    Failed to load DLL wineasio.dll

     
  • msaul
    msaul
    2010-12-23

    Thanks for fast reply - have been busy, but now am back to try your suggestion. I am currently running Ubuntu 10.10 Linux studio 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux and the version of wine is: wine-1.3.9

    I tried backtracking to wineasio 0.7.5 (but to no avail). Here is the result when running diagnostics when installing wineasio 0.8.0 and select audio configuration to Jack (only these messages appear then I try to do that):

    WINEDEBUG=+asio wine /home/msaul/NINJAM/ninjam.exe
    trace:asio:DllMain (0x7d6b0000 1 (nil))
    trace:asio:DllMain DLL_PROCESS_ATTACH
    trace:asio:DllGetClassObject ({48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, {00000001-0000-0000-c000-000000000046}, 0x32aecc) trace:asio:CF_AddRef (0x7d6c553c) ref was 1
    trace:asio:CF_CreateInstance (0x7d6c553c, (nil), {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, 0x100053f0)
    trace:asio:asioCreateInstance ({48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, 0x100053f0)
    trace:asio:asioCreateInstance pobj = 0x1a9810
    trace:asio:asioCreateInstance return 0x1a9810
    trace:asio:CF_Release (0x7d6c553c) ref was 2
    trace:asio:__wrapped_IWineASIOImpl_init (0x1a9810, 0x200da)
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    jackdmp 1.9.6
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns `default' server already active
    Failed to start server
    warn:asio:__wrapped_IWineASIOImpl_init (0x1a9810) failed to open jack server
    trace:asio:__wrapped_IWineASIOImpl_getErrorMessage (0x1a9810, 0x32b024)
    trace:asio:IWineASIOImpl_Release (0x1a9810) trace:asio:IWineASIOImpl_Release (0x1a9810) ref was 1
    trace:asio:IWineASIOImpl_Release Entering state = Exit trace:asio:IWineASIOImpl_Release JACK client closed trace:asio:IWineASIOImpl_Release Setting Win32 thread termination to TRUE trace:asio:IWineASIOImpl_Release Win32 thread terminated trace:asio:IWineASIOImpl_Release (0x1a9810) released

    When removing wineasio 0.8.0 and installing wineasio 0.9.0 beta running with diagnostics gives:

    WINEDEBUG=+asio wine /home/msaul/NINJAM/ninjam.exe
    err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /usr/bin/../lib32/wine/wineasio.dll.so: undefined symbol: jack_port_type_id
    err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"wineasio.dll"
    err:ole:CoGetClassObject no class object {48d0c522-bfcc-45cc-8b84-17f25f33e6e8} could be created for context 0x1 I can't seem to "roll-back".

    Also, when trying to register (after installing wineasio 0.9.0), I get:

    regsvr32 wineasio.dll
    err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /usr/bin/../lib32/wine/wineasio.dll.so: undefined symbol: jack_port_type_id
    Failed to load DLL wineasio.dll

    Any ideas to what these error messages via diagnostics indicate? I will try on another install of a computer to see if this duplicates…

    Thanks,
    Murray

     
  • Peter L Jones
    Peter L Jones
    2010-12-24

    Please keep trying with wineasio-0.8.0 (wineasio-Current) for now.  (The later ones aren't known to be safe or are known not to be.)

    I've just updated to wine-1.3.9 and installed the NINJAM client and it still works okay for me, so I'm really at a loss what to think.

    It sounds most like a problem with your jackd set up.  If you open QJackCtl, can you start Jack 1.9.6 from there?  Can you then connect apps to it?  What happens if you run the NINJAM client if you've already got Jack running?

     
  • msaul
    msaul
    2010-12-25

    Yes,

    it runs jackd, and I can connect instruments like my TASCAM US122 and Maudio keyboard, to play Qsynth or Bristol Organ no problem. I can also use Ardour, etc.

    I can use NINJAM to listen via other sound driver OTHER than wineasio, but problems when setting NINJAM for jack via wineasio..

    I don't know what version jackd I have, but here is version of qjackctl:
    qjackctl -v
    /home/msaul/.gtkrc-2.0:19: error: invalid string constant "#ffffff", expected valid string constant
    Qt: 4.7.0
    QjackCtl: 0.3.6

    I'm running 4 monitors via by X-windows system, and it is the only thing different before I have noticed this problem.

    Here is a link to my wiki regarding my 4 monitors:

    http://zenit.senecac.on.ca/wiki/index.php/Four_Monitor_X-Windows

    Here is a wiki I have regarding online collaboration that I did (second part regarding NINJAM):

    http://zenit.senecac.on.ca/wiki/index.php/How_to_Collaborate_On-line

    I'm wondering if there is some sort of conflict.
    I will be rebuilding another system (without 4 monitors) to see if it works. I will keep posting here with updates to keep in touch with this problem…

    Thanks for at least keeping in contact…

    Murray

     
  • msaul
    msaul
    2010-12-25

    Here is information regarding jackd version:

    msaul@studio:~$ jackd -V
    jackdmp 1.9.6
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns
    jackdmp version 1.9.6 tmpdir /dev/shm protocol 8

    Instruments run fine with NINJAM running. Before and after I set NINJAM audio to wineasio, instruments work perfectly.
    I just can't get NINJAM audio setup to show inputs and outputs, and shows the message:

    err:module:load_builtin_dll failed to load .so lib for builtin L"wineasio.dll": /usr/bin/../lib32/wine/wineasio.dll.so: undefined symbol: jack_port_type_id err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"wineasio.dll" err:ole:CoGetClassObject no class object {48d0c522-bfcc-45cc-8b84-17f25f33e6e8} could be created for context 0x1 I can't seem to "roll-back".

    Murray

     
  • Peter L Jones
    Peter L Jones
    2010-12-25

    What version of wineasio are you now running?

    The error you've shown for jack looks very strange, as if you've build against a different version of jack to your runtime.

     
  • msaul
    msaul
    2010-12-26

    OK,

    I got it working again.

    Here was an older post by another individual that helped:

    For me everything works fine now ! (Ubuntu 10.10 32 bits , Fl studio 9.1 )
    You have to use jackd1 instead of jackd2 drivers in synaptic installer;
    For wineasio use 0.8.1 version : http://sourceforge.net/projects/kxstudio/files/DEBs/wineasio_0.8.1_32bit.deb/download

    What worked for me was back-tracking to wineasio 0.7.5, and now works.
    I haven't tried it for wineasio 0.8.0

    It seems the problem is jackd2…
    Is this a problem that will be fixed with jackd2 in the future?

    Thanks,
    Murray

     
  • Peter L Jones
    Peter L Jones
    2010-12-26

    It's running perfectly well with jackd2 here already.

     
  • Hi,

    I have a similar problem with Ubuntu 11.04 (Natty Narwhal, amd64) and jackd2. I compiled and installed wineasio 0.9.0 and registered it with regsvr32 wineasio.dll and tried to connect Pianoteq (win32 version) with winasio. I get following messages in the terminal:

    trace:asio:DllMain hInstDLL: 0x7cf10000, fdwReason: 1 lpvReserved: (nil))
    trace:asio:DllGetClassObject rclsid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, riid: {00000001-0000-0000-c000-000000000046}, ppv: 0x32faac)
    trace:asio:CF_AddRef iface: 0x7cf2458c, ref has been set to 2
    trace:asio:CF_CreateInstance iface: 0x7cf2458c, pOuter: (nil), riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x3aeb040)
    trace:asio:CF_CreateInstance Creating the WineASIO object
    trace:asio:WineASIOCreateInstance riid: {48d0c522-bfcc-45cc-8b84-17f25f33e6e8}, ppobj: 0x3aeb040
    trace:asio:WineASIOCreateInstance pobj = 0x159108
    trace:asio:WineASIOCreateInstance return 0x159108
    trace:asio:CF_Release iface 0x7cf2458c, ref has been set to 1
    trace:asio:Init iface: 0x159108, sysRef: 0x20068
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    warn:asio:Init Unable to open a JACK client as: Pianoteq
    trace:asio:GetErrorMessage iface: 0x159108, string: 0x32f9d8)
    trace:asio:DisposeBuffers iface: 0x159108
    warn:asio:DisposeBuffers Unable to dispose buffers, wrong driver state
    trace:asio:Release iface: 0x159108, ref count is 0
    trace:asio:Release WineASIO terminated

    Qjackctl reports jack 1.9.7. Natty Narwhal currently uses kernel 2.6.38-8. Native Linux applications (e.g. Jack Rack) work with jack 1.9.7.

    Note that I get wineasio working when I switch to jack1. I also get it working under Ubuntu 10.04 (Lucid Lynx, amd64) with both jack1 and jack2 (kernel 2.6.32-31). It is only strange that I get lower latencies with jack1 than with jack2 here.

    Thanks
    Markus

     
  • Peter L Jones
    Peter L Jones
    2011-04-27

    Something's clearly changed in the more recent Jack2 versions that wineasio isn't compatible with, unfortunately.  I can now reproduce the "unknown option character l" reliably since upgrading to Ubuntu 10.10 / jack-1.9.7.

    I'll try to spend some time investigating - I'm hoping it's an easy fix, as I won't have a lot of time…  Any helpful hints appreciated, too! :)

     
  • Sorry for the late reply.  It seems like 99% of the errors people report are on Ubuntu.  I believe that they have an older broken Jack2 version or something else messed up.  The easiest fix is to add the kxstudio repos: http://kxstudio.sourceforge.net/mediawiki/index.php/KXStudio:Repositories.  They have working jack1/jack2 and even a wineasio binary among many other things.  Must really plug it as the best audio distro at the moment, and the repos apply to all ubuntu versions.

     
  • Peter L Jones
    Peter L Jones
    2011-05-06

    Thanks - I can confirm that the kxstudio ppa versions do let Wine apps use wineasio on Ubuntu 10.10/maverick.  I'm running 1.9.8-SVN4376 on my windows box, so I can't jacknet them together as there is a protocol change…  Any idea if anyone's tracking that for Ubuntu?  It would make my testing easier for wineasio.  (Like, I could hear stuff - the linux box is downstairs with no speakers! :))

     
  • Sorry Peter never used netjack so don't even know how that works, and even less what the situation on ubuntu is.  I know that there are 2 incompatible netjack protocols.  Maybe best to inquire on the jack-devel list.  Think there has been quite a lot of work done on that lately.

     
  • Thanks. I downloaded Jack source code (1.9.7) from jacḱaudio.org, compiled and installed it to replace the original ubuntu packages. Now it works.

    I only cannot use jack dbus. When i try this, jack crashes during startup. Ok, this is no wineasio problem, but if you have an idea…

    Markus

     
  • Don't know what would break jack2/dbus since I don't use it, again for ubuntu/debain users I can only strongly reccomend using the kxstudio repos for all audio related stuff…  Though not a user myself I am fairly confident that the have a working jack/dbus, and most likely all related dependencies.

     
  • Thanks for your recommendation. I know KXStudio. But the only thing I really need is jack and winesio. I simply do not want to add a new repository If I just need a handful of additional packages.

    I now found that Natty Narwhal installs both jack with and without dbus. And from Qjacktcl one normally starts the version without dbus.

     
  • You can also configure qjackctl to start the dbus version if you need that.

     
  • Yes, you are right. With a newer version of qjackctl this is possible. I tried it with a version that does not provide the option to activate dbus.

     
  • Itsnot Me
    Itsnot Me
    2011-07-08

    I still have the error "unknown option character l" with wineasio 0.9 and SVN, on Ubuntu 11.04 with Jack 1.9.7. I also tried KXStudios PPA, but didn't get anywhere with it.

    Using wineasio 0.8.1 with Kontakt 4 and Reaper, i get this:

    $ wine Kontakt\ 4.exe 
    fixme:heap:HeapSetInformation 0x5d9000 0 0x33fcd0 4
    fixme:win:RegisterDeviceNotificationW (hwnd=0xe003c, filter=0x32fcb0,flags=0x00000004) returns a fake device notification handle!
    fixme:mountmgr:harddisk_ioctl unsupported ioctl 2d4800
    fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
    fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x186cc8,0x1879a0): stub
    fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x18af00,0x18b3f8): stub
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    jackdmp 1.9.7
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns
    JACK server starting in realtime mode with priority 10
    control device hw:0
    control device hw:0
    audio_reservation_init
    Acquire audio card Audio0
    creating alsa driver ... hw:0,0|hw:0,2|1024|2|44100|0|0|nomon|swmeter|-|32bit
    control device hw:0
    Using ALSA driver HDA-Intel running on card 0 - HDA ATI SB at 0xfe024000 irq 16
    the playback device "hw:0,0" is already in use. Please stop the application using it and run JACK again
    JackTemporaryException : now quits...
    Cannot initialize driver
    JackServer::Open() failed with -1
    Failed to start server
    no message buffer overruns
    no message buffer overruns
    unknown option character l
    jackdmp 1.9.7
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2010 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    no message buffer overruns
    no message buffer overruns
    JACK server starting in realtime mode with priority 10
    control device hw:0
    control device hw:0
    audio_reservation_init
    Acquire audio card Audio0
    creating alsa driver ... hw:0,0|hw:0,2|1024|2|44100|0|0|nomon|swmeter|-|32bit
    control device hw:0
    Using ALSA driver HDA-Intel running on card 0 - HDA ATI SB at 0xfe024000 irq 16
    configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
    ALSA: final selected sample format for capture: 32bit integer little-endian
    ALSA: use 2 periods for capture
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: use 2 periods for playback
    

    But Kontakt 4 is frozen and i can't click on anything.

     
  • Itsnot Me
    Itsnot Me
    2011-07-08

    I have compiled Jack 1.9.7 and now everything works using wineasio 0.9.