Menu

new install, jackd server not starting

2020-03-30
2020-04-03
  • Ken Del Signore

    Ken Del Signore - 2020-03-30

    Hello all,
    first day rookie install, I'm getting the following errors when I try to run the app. The hightlighted jackd error seems critical. I can't tell if the others are severe or just warnings.
    if anyone can help point out what is wrong, many glasses of water in thank you will be earned.
    thanks
    Ken

    kwd1:Jamulus3.4.4$ ./Jamulus
    Gtk-Message: 12:25:27.059: Failed to load module "canberra-gtk-module"
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jackdmp 1.9.12
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2016 Grame.
    Copyright 2016-2017 Filipe Coelho.
    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
    Cannot create RT messagebuffer thread: Operation not permitted (1)
    Retrying messagebuffer thread without RT scheduling
    Messagebuffer not realtime; consider enabling RT scheduling for user
    no message buffer overruns
    Cannot create RT messagebuffer thread: Operation not permitted (1)
    Retrying messagebuffer thread without RT scheduling
    Messagebuffer not realtime; consider enabling RT scheduling for user
    no message buffer overruns
    Cannot create RT messagebuffer thread: Operation not permitted (1)
    Retrying messagebuffer thread without RT scheduling
    Messagebuffer not realtime; consider enabling RT scheduling for user
    no message buffer overruns
    JACK server starting in realtime mode with priority 10
    self-connect-mode is "Don't restrict self connect requests"
    Cannot lock down 82280346 byte memory area (Cannot allocate memory)
    audio_reservation_init
    Acquire audio card Audio0
    creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
    ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
    JackTemporaryException : now quits...
    Released audio card Audio0
    audio_reservation_finish
    Cannot initialize driver
    JackServer::Open failed with -1
    Failed to open server
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    kwd1:Jamulus3.4.4$

     
  • Volker Fischer

    Volker Fischer - 2020-03-30

    Can you please install qjackctl and start this to see if the jack server can be run. Maybe it is just a configuration error of the jack server.

     
  • Ken Del Signore

    Ken Del Signore - 2020-03-30

    Hi,
    I had tried that, here is the log output:
    thanks

    13:26:15.345 Statistics reset.
    13:26:15.350 ALSA connection change.
    13:26:15.354 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    13:26:15.372 ALSA connection graph change.

     
  • Volker Fischer

    Volker Fischer - 2020-03-30

    Have you configured the correct audio card? And have you set a small buffer size like 128 samples?

     
  • Ken Del Signore

    Ken Del Signore - 2020-03-30

    can you explain how to set those? I couldn't find any related options using ./Jamulus -h , or on google, thanks

     
  • Volker Fischer

    Volker Fischer - 2020-03-30

    You have to set it in qjackctl, not in Jamulus.

     
  • Ken Del Signore

    Ken Del Signore - 2020-03-30

    cool, set frames/period=128 and there were 4 interface types listed, tried them all and found
    hw:PCH worked, also set sample_rate = 48000 and then I can start start jackd with qjackctl and then can run Jamulus

    many thanks

     

    Last edit: Ken Del Signore 2020-03-30
  • Wayne Myers

    Wayne Myers - 2020-04-01

    I ahve tried a couple of the links on how to load Jamulus onto ubuntu 19.04 with little success. All goes well up until the "create a start script" section. Not sure how to go about it from there.

     
  • Wayne Myers

    Wayne Myers - 2020-04-01

    going by the instructions in Install.md all goes well until input the command
    run ./Jamulus. the message that comes back is run: command not found

     
    • Gilgongo

      Gilgongo - 2020-04-02

      Hehe, Wayne - I did exactly the same thing when I first compiled the Linux client (I thought "run" was some Qt thing)!

      We've since updated Install.md to clarify that it's simply $ ./Jamulus :-)

       
  • Gronaz

    Gronaz - 2020-04-02

    You have 2 ways : start jackd through qjackctl then open a terminal, change directory (cd) to where you compiled Jamulus an type ./Jamulus
    To prevent cd, just cd first (once) then sudo mv Jamulus /usr/local/bin/jamulus so that is is in the $PATH
    or
    create a shell script jamstart.sh e.g. in your $HOME

    1
    2
    3
    #!/bin/bash
    # jamulus
    jamulus -c "Your prefered server[:port]"
    

    and reference it in qjackctl's "Post Startup Script" for autostart

     

    Last edit: Gronaz 2020-04-02