Menu

Server running on PI4: easy!

2020-04-03
2020-05-09
  • SIVA Frédéric

    SIVA Frédéric - 2020-04-03

    Hi, I managed to run Jamulus server on my new PI4 (2GB works fine), super easy:
    - installl Raspbian Buster. I allow VNC and SSH for comfort, it will ultimately run without VNC for high speed
    - Edit /boot/config.txt to enable boot without HDMI (hdmi_force_hotplug=0)
    - you may need to play with raspi-config to set a working resolution, and ask to boot with a desktop so that VNC can see work.
    - install a VNC client on another machine (works on tablet or smartphone too), I suggest realvnc
    - wget https://sourceforge.net/projects/llcon/files/Jamulus/3.4.3/Jamulus-3.4.3.tar.gz
    - tar xvf Jam*.gz
    - follow install.md instructions (get a few packages, qmake, clean, make)

    Cable with Ethernet to telco router, and setup forwarding rule for port 22124 to the IP of PI4.

    test by starting as, and watch GUI on VNC (or HDMI)
    ./Jamulus -s -w "MyJamulus"

    ultimately run with
    sudo chrt 99 ionice -c1 nice -n -20 ./Jamulus -s -n -l /var/log/jamulus.log -w "MyJamulus"&

    I am currently documenting the client installation for my friends musican here (very draft, not complete yet): https://github.com/fredsiva/corojam

    Would be glad to hear your feedback! And ready to help you setting your server also.

     

    Last edit: SIVA Frédéric 2020-04-04
    • Gilgongo

      Gilgongo - 2020-04-03

      Thanks! Would it be OK for us to put this on the Jamulus wiki? We have a section for Rpi but it's blank right now :-)

       
    • Tas Man

      Tas Man - 2020-04-13

      ...I think I found the answer to my problem in one of your comments, at the moment there's one thing missing in the raspijamulus.sh:

      sudo apt-get install libjack-jackd2 needs to be installed, at least now the shellscript continues with compilation of qt5?


      Feel free to ignore the following questions, but maybe it helps others as well.

      Hi, I tried to set up the jamulus server on a raspi 3 with the latest raspbian but didn't succeed.
      Do you have an idea what I did wrong?

      I used git clone as described in the wiki to download the files to the raspi.
      Then I did
      cd distributíons
      ./raspijamulus.sh
      I used this shell file even though it's not mentioned in the wiki. Before this I tried to follow the exact instructions of the wiki but had no success either.

      As far as I understand the raspijamalus script is meant to install jamulus with all dependencies on a fresh rasperry pi. A couple of lines are executed:
      Opus and Jack seem to get built successfully but then I get the following messages:
      Project MESSAGE: Header opus_custom.h wasn't found at the usual location..
      Project ERROR: jack development package not found....
      ...and then ALSA gets started but jamalus can't be found as it wasn't built...

       

      Last edit: Tas Man 2020-04-13
      • SIVA Frédéric

        SIVA Frédéric - 2020-04-13

        Sorry, can you please post the question on the forum rather than in a direct message, so all readers can benefit from our discussion?

        thanks,
        Frédéric

        Le 13 avr. 2020 à 21:55, Tas Man tasmanian@users.sourceforge.net a écrit :

        Hi, I tried to set up the jamulus server on a raspi 3 with the latest raspbian but didn't succeed.
        Do you have an idea what I did wrong?

        I used git clone as described in the wiki to download the files to the raspi.
        Then I did
        cd distributíons
        ./raspijamulus.sh
        I used this shell file even though it's not mentioned in the wiki. Before this I tried to follow the exact instructions of the wiki but had no success either.

        As far as I understand the raspijamalus script is meant to install jamulus with all dependencies on a fresh rasperry pi. A couple of lines are executed:
        Opus and Jack seem to get built successfully but then I get the following messages:
        Project MESSAGE: Header opus_custom.h wasn't found at the usual location..
        Project ERROR: jack development package not found....
        ...and then ALSA gets started but jamalus can't be found as it wasn't built...

        Server running on PI4: easy! https://sourceforge.net/p/llcon/discussion/server/thread/1fb6b9e6eb/?limit=25#806d/ba23
        Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/llcon/discussion/server/ https://sourceforge.net/p/llcon/discussion/server/
        To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions/

         
      • SIVA Frédéric

        SIVA Frédéric - 2020-04-13

        Do you need to run a client or a server?

        raspijamulus.sh is a low-latency client, not the server!
        To build the server, you have to look at the message at the top of this thread, which refers to the install.md file.

         
        • Tas Man

          Tas Man - 2020-04-14

          Thanks, I need to run the server, I understand that in that case raspijamulus.sh ist wrong.
          So I'll try it once more with the steps described in the wiki and in your comment above.

          edit: I followed the original instructions and this time it worked. CPU load if the raspi is neglectable but there are still some jitters, need to fine tune the settings. wired LAN on the client already helped to decreas delay by 10ms...

           

          Last edit: Tas Man 2020-04-14
  • SIVA Frédéric

    SIVA Frédéric - 2020-04-11

    Just so you know, the server is running very fine, no leaks or need to reboot, constant quality.
    We regularly are 7 musicians playing together, delay around 70ms for people within 30km distance. We set all clients at 10.67ms buffer delay, and set the jitter buffer manually slighly above what the auto selects (so around 10). No cracking at all in the sound (quality set to normal, Mono), but the latency makes is challenging to keep the time in the group.

    Here is the info I provide to my band-mades (in french, sorry):
    https://github.com/fredsiva/corojam/blob/master/README.md

    I am also recording our sessions using jack_capture.

    For info, my client is also a Pi4 (a second one).

     
    👍
    1
  • Matteo Fontana

    Matteo Fontana - 2020-04-20

    good evening everyone, Jamulus server started on Raspberry pi4 gives me a problem I connect and also the other musicians but after a few minutes it brings me out. can anyone give me some advice?

     
    • Volker Fischer

      Volker Fischer - 2020-04-20

      Have you checked the CPU load with, e.g., htop? Do you have a network issue? Are you using WLAN or Ethernet?

       
  • Ted Dillenkofer

    Ted Dillenkofer - 2020-05-09

    Followed your instructions and installed flawlessly on my Rpi 3B+. Moving to a Rpi 4 on Wednesday. Thanks so much for the tips!

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.