Page 1 of 1

Unable to start Jack with Qjackctl on armbian orangepipcplus

Posted: Sat Jul 15, 2023 5:49 pm
by juan_

Hi, I'm trying to use jack on an orange pi pc plus but when I try to run jack via qjackctl, qjackctl aborts. I have added my user to the audio group and also tried a few things like killing the pulseaudio process with:

Code: Select all

$ pulseaudio --kill 
$ jack_control  start

and uninstalling it completely with:

Code: Select all

$ sudo apt-get purge pulseaudio gstreamer1.0-pulseaudio pulseaudio-utils xfce4-pulseaudio-plugin

but the error persists.

Real time setting is enabled on the system:

Code: Select all

$ cat /etc/security/limits.d/audio.conf
@audio   -  rtprio     95
@audio   -  memlock    unlimited

I am attaching some screenshots of the system and I really appreciate suggestions to try to solve this problem

  • I am using a 1st generation Focusrite 2i2 interface and recording and playback of audio through the interface works correctly with arecord and aplay:

    Code: Select all

    $ arecord -d 10 -c 2 -f S32_LE -r 44100 -D hw:USB -t wav test.wav
    $ aplay -D hw:USB test.wav
    
  • Sound cards recognized by the system:
    $ cat /proc/asound/cards

    Image

  • Message when running qjackctl (Either with the standard interface of the system or with the USB interface, the same thing happens.):

    Image

  • Message when trying to start qjackctl (Either with the standard interface of the system or with the USB interface, the same thing happens.):

    Image


Re: Unable to start Jack with Qjackctl on armbian orangepipcplus

Posted: Mon Jul 17, 2023 5:40 pm
by juan_

Hi, thanks for the feddback. By installing asoundconf you mean writing the /etc/asound.conf file?

I have jack 2 installed.

Code: Select all

$ jackd --version
jackdmp version 1.9.20 tmpdir /dev/shm protocol 9

I don't have the ffado libraries installed because my interface is usb, not firewire.

When I try to connect my second interface (focusrite 2i2) qjackctl aborts its execution.

I don't have a realtime group in my system, only the audio group to which my user (opi) belong:

Code: Select all

$ cat /etc/group
...
sudo:x:27:opi
audio:x:29:pulse,opi
...
pulse:x:126:
pulse-access:x:127:
opi:x:1000:
...

I think the execution error is not due to realtime scheduling. It seems to be related to the fact that the device is being used by another driver in the system as you said, although I pretty much uninstalled pulseaudio.

I would like to understand how to manage this, in a dummy way, if possivel.

Thanks


Re: Unable to start Jack with Qjackctl on armbian orangepipcplus

Posted: Mon Jul 17, 2023 8:55 pm
by juan_

jak2 were not really working with any sound card of the system.

I uninstalled jack2 with:

Code: Select all

sudo apt-get purge jackd jackd2 libjack-jackd2-0 

I reinstalled qjackctl and installed jack1 and a mesurement module:

Code: Select all

sudo apt-get install jackd1 qjackctl jaaa  

Now it's working correctly with my USB sound card. Thanks a lot for feedback and suggestions!!

Image


Re: Unable to start Jack with Qjackctl on armbian orangepipcplus

Posted: Tue Jul 18, 2023 10:31 am
by juan_

I would appreciate a suggestion on how to use that jaaa mesurement window within a node.js application


Re: Unable to start Jack with Qjackctl on armbian orangepipcplus

Posted: Wed Jul 19, 2023 8:00 pm
by folderol

Interesting. Here I get better results with Jack2 :?: