Menu

Jamulus crashes when I choose JackRouter as sound device

2020-04-16
2020-04-23
  • Aerodrummer

    Aerodrummer - 2020-04-16

    I am sorry, but I have the same problem as Fabricer here ( https://sourceforge.net/p/llcon/discussion/software/thread/b9c94789d5/ ) and any help would be greatly appreciated. As soon I chose JackRouter as the soundcard device, Jamulus crashes.

    Installed Jack version is “Jack_v1.9.11_64_setup.exe”. My soundcard is an U-phoria UMC1820 from Behringer with it’s official (and unique) driver installed (BEHRINGER_UMC_v4.59.0_2019-03-14) and my computer, an i7 with 16GB RAM running Windows 10 Pro 64bits.

    And I tried Jamulus-3.4.7 and Jamulus-3.5.0.

    The Background
    With the beginning of the “confinement” in France I was searching for solutions for playing together as a group and I found Jamulus. After some local testing I decided to give it a chance, opened the ports on my 2 routers, and made a little website in French for my bandmates hosted on my home-server. Thanks to the devs of Jamulus, I am able to play since 3 weeks with some of them, each-one confined at his home. I’m playing Aerodrums, a virtual drumming system based on optical motion capture @ 120fps, were you play just with the rebound of your sticks on the palm of your hands. You can freely setup your kit in front of you and play drums without disturbing anybody around you. Aerodrums is very hard to play if there is any latency, but by running my own Jamulus server I don’t feel any.

    For this to work I need 2 computers, one for Aerodrums because it ONLY supports 44,1 Khz and one for Jamulus @ 48 Khz.

    Some days ago I was speaking with one of the devs of Aerodrums and he was very interested in what I was doing with Aerodrums and Jamulus and asked me if I would mind to test Jamulus with a special Aerodrums version supporting 48 Khz, for doing all together on one computer.

    After having received his files, I wanted to use the Jack Router ASIO driver in Aerodrums to route Aerodrums outputs to the Jamulus inputs.

    So I installed Jack (64bits), setted up my soundcard @ 48KHz in qjackctl, configured Aerodrums to use JackRouter ASIO, but whenever I choose in Jamulus JackRouter as device, Jamulus crashes. And it doesn’t matter if Aerodrums or anything else is running or not.

    Someone has an idea?

    And anyway, thanks for having developed this software.

     
  • Volker Fischer

    Volker Fischer - 2020-04-16

    If you find a solution I would be very happy. It also crashes on my Windows PC when I select the Jack Router ASIO driver. Debugging into the problem is difficult. It seems the registration of the ASIO dll fails with some fatal Windows error which cannot be catched with the normal C++ try-catch mechanism. Maybe some dll-expert could give us a hint here...

     
  • Volker Fischer

    Volker Fischer - 2020-04-16

    BTW: Have you registered the jack dll with regsvr32 as written here: https://jackaudio.org/faq/jack_on_windows.html
    I did that but it did not help. Maybe something went wrong with the registration. That may explain the fatal Windows error.

     
    • Aerodrummer

      Aerodrummer - 2020-04-16

      I’ve tried two times, the second time by using a restore point taken before the first time.

      The first time I did like here https://jackaudio.org/faq/jack_on_windows.html by doing
      regsvr32 "C:\Program Files (x86)\Jack v1.9.8\64bits\JackRouter.dll"
      like they say, what didn’t work (because the folder Jack v1.9.8 doesn’t exist, it’s Jack). Going to C:\Program Files (x86)\Jack\64bits\ and doing regsvr32 JackRouter.dll worked. After I configured Portaudio’s command-line like they are telling on this page. At this point I didn’t know, that this is apparently also possible by configuring qjackctl.

      The second time I’ve tried to register both 32bit and 64bit versions of JackRouter like mentioned on this page: http://jamulus.drealm.info/jamulus (Configuration hint (no Reaper) by going respectively in the 32bits and 64bits folder and running regsvr32 JackRouter.dll. After I configured my soundcard with qjackctl.

      I still have my restore points (before having installed Jack) and can try other things. Thanks for looking into this.

       

      Last edit: Aerodrummer 2020-04-16
      • Volker Fischer

        Volker Fischer - 2020-04-16

        So both of your tests did not succeed? Maybe I should point pljones, the creator of jamulus.drealm.info, to this thread since obviously he made it to run Jamulus with Jack Audio under Windows...

         
        • Aerodrummer

          Aerodrummer - 2020-04-16

          No, no one succeeded, but other routings with Jack Control seems to work. Will do some testing later in the evening.

           
          • Aerodrummer

            Aerodrummer - 2020-04-16

            I’ve forgotten to say, the first time I was trying to do the same like Fabricer by going back to 3.4.4, because I needed to test if I could get Aerodrums @ 48KHz into Jamulus. And this worked, I even gained 2 ms Overall Delay compared to my normal use with 2 computers.

            But after I wasn’t able to install and run any other version over 3.4.4. More strange, after having tried to install and run all versions up to 3.4.7, I even couldn't go back to 3.4.4. And I had always deinstalled one version before installing another.

            Btw. I’ve made a Restore Point when it was working with 3.4.4 and before trying to update Jamulus.

             

            Last edit: Aerodrummer 2020-04-16
            • Volker Fischer

              Volker Fischer - 2020-04-16

              That is an important hint. If I look at the ChangeLog:

              3.4.5 (2020-04-04)
              - Windows installer now contains a 32 and 64 bit version of Jamulus (the version to
              be installed is selected automatically according to the detected operating system)

              So 3.4.5 was the very first Jamulus version which was delivered as a 64 bit binary. So we now know that Jack Audio seems to have a problem with 64 bit binaries :-/.

               
  • Aerodrummer

    Aerodrummer - 2020-04-18

    So I made some tests with the programs of the Native Complete Starter Pack like Guitar Rig 5, Komplete Kontrol, Reaktor 6, all 64 bits programs and Reaper 32 and Reaper 64. All let me choose JackRouter as device and I can do routings in the connection window. And I tried with 44,1 and 48 Khz. The only one which crashes is Jamulus. I think in this case there is not too much to expect from the Jack devs side.

    Another thing. When I look in Files I see that the Linux branch is still stuck at 3.4.4. Is this related?

    Just an idea how to come out of this. What would be, if you give the choice to the user if he/she wants to install the 32 or the 64 bits version. I would be happy having a 32 bits version of Jamulus running on my 64 bits system, if like this I could have Aerodrums and Jamulus on the same computer.

     
    • Aerodrummer

      Aerodrummer - 2020-04-18

      PS.
      I’ve just seen NecroDM’s post in Fabricer’s tread. May I ask how you are doing this?

       
      • Volker Fischer

        Volker Fischer - 2020-04-18

        I have used 7zip. Right click on the setup.exe and "extract to directory [...]". Then it complains that two versions for Jamulus.exe are present and you should rename it. I agreed with the renaming and then in that directory I could find a file named jamulus_1.exe. This is the 32 bit binary which works with Jack Audio.

         
        • Aerodrummer

          Aerodrummer - 2020-04-19

          It was a little bit more complicated for me than just to extract jamulus_1.exe, but I’ve gotten the picture. All is running now like I want it to, c’est génial, vielen Dank.

           
    • Volker Fischer

      Volker Fischer - 2020-04-18

      Thank you for all the testing. If the other programs with with 64 bit, than Jamulus 64 bit has a problem which should be fixed.

      BTW: The linux releases are no longer done on Sourceforge. Download your tar.gz now from the following Github page: https://github.com/corrados/jamulus/releases

      I have created an Issue on Github: https://github.com/corrados/jamulus/issues/93

       
  • Aerodrummer

    Aerodrummer - 2020-04-18

    Thank you for all, you are very, very reactive.

     
  • swapan

    swapan - 2020-04-22

    Is there away to force jamulus to install as 32bit application? Maybe modify deploy_windows.bat or installer.nsi? I know this is a bit of a kluge ... But this might be an intrim fix.... Has anyone already tried this? Did that allow selecting Jack as an audio device?

     

    Last edit: swapan 2020-04-22
    • Volker Fischer

      Volker Fischer - 2020-04-22
       
    • Aerodrummer

      Aerodrummer - 2020-04-22

      Yes for all three questions. Just look 4 days ago in this discussion.

       
  • Matt

    Matt - 2020-04-22

    Yep, checked every install from 3.5.1 to 3.4.2. And only that last one works with jack on windows 8. Reaper works flawlessly.

     
    • Aerodrummer

      Aerodrummer - 2020-04-22

      For me the last one working was 3.4.4 on Windows 10.

       
  • swapan

    swapan - 2020-04-22

    3.4.4 works for me also....

     
  • mugnaio

    mugnaio - 2020-04-23

    A friend use windows 10, and Jamulus crash when JamulusRouter is selected.
    I sent to him the version I compiled for windows xp (because it works very well with Jack), and with my version (right now 3.5.2git) it works. If I don't remember wrong, I compile the project and I copy the compiled Jamulus.exe on a 3.4.2 installation, because It doesn't work with newer dlls so I use dlls from 3.4.2.

     
    • swapan

      swapan - 2020-04-23

      What is the difference between 3.4.2 DLLs and 3.5.2 DLLs?

       
  • mugnaio

    mugnaio - 2020-04-23

    I use Jamulus in a 32 win XP, if I use last installer and I just overwrite the exe, it doesn't work, because some dll error.
    If I install the old version (I think 3.4.2 that by the way it doesn't work as is, because the exe is not a valid 32 application for my win xp) , then I can overwrite just the file of last compilaiton, and I have a working last version of Jamulus .
    So dll have to be different in some way.