Jack Problem
Moderators: MattKingUSA, khz, spamatica
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Jack Problem
For some reason JACK just stopped working on my rpi4, it was working just fine but now it isnt and im getting this error
MusE work just fine if i run "muse -t" to use just the PulseAudio-
- Established Member
- Posts: 1511
- Joined: Sun Jan 27, 2019 2:25 pm
- Location: Italy
- Has thanked: 382 times
- Been thanked: 298 times
Re: Jack Problem
Does it work if you start it manually (e.g. via qjackctl)?
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]
Please donate time (even bug reports) or money to libre software
Jam on openSUSE + GeekosDAW!
Please donate time (even bug reports) or money to libre software
Jam on openSUSE + GeekosDAW!
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
-
- Established Member
- Posts: 2041
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 207 times
- Contact:
Re: Jack Problem
Is there some jackd process hanging, or does this problem remain also after reboot?
At least I have every know and then situation where some jack client program dies, and jack goes to state where it passes audio for existing clients, but any changes in connections is not possible. See 'ps ax | grep jack', for me process that needs kill -9 is jackdbus
At least I have every know and then situation where some jack client program dies, and jack goes to state where it passes audio for existing clients, but any changes in connections is not possible. See 'ps ax | grep jack', for me process that needs kill -9 is jackdbus
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Re: Jack Problem
@tavasti The problem has persisted even after multiple times of turning off my computer(unplugging it and everything) and I don't see and jakc process when looking in the task manager
-
- Established Member
- Posts: 2041
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 207 times
- Contact:
Re: Jack Problem
1) make sure there is no any jack processes running. Don't know about task manager, take terminal and run:TheDiamondLego wrote: ↑Tue May 25, 2021 7:24 pm @tavasti The problem has persisted even after multiple times of turning off my computer(unplugging it and everything) and I don't see and jakc process when looking in the task manager
Code: Select all
tavasti@hermo:~$ ps ax | grep jack
3696 pts/2 SLl 17:27 qjackctl
3708 ? SLsl 108:32 /usr/bin/jackdbus auto
4003 pts/26 S+ 0:00 grep --color=auto jack
14093 pts/3 SLl 0:02 jackpatch
Code: Select all
kill -9 3708
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Re: Jack Problem
@tavasti all I see when I run "ps ax | grep jack" is the line that has the number 4003 in your example above and that number changes each time i run "ps ax | grep jack"
- sunrat
- Established Member
- Posts: 907
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 151 times
- Been thanked: 238 times
Re: Jack Problem
That number is the process ID (PID) which is dynamically allocated each time you start a process/application. It will usually be different each time.TheDiamondLego wrote: ↑Tue May 25, 2021 9:18 pm @tavasti all I see when I run "ps ax | grep jack" is the line that has the number 4003 in your example above and that number changes each time i run "ps ax | grep jack"
Did you ever have JACK working on this system? You have a Raspberry Pi iirc. If Muse works fine with PulseAudio, is there a reason you want to use JACK?
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Re: Jack Problem
I believe that JACK was working fine before, I didn't need to run muse with pulseaudio only before. I don't absolutely need JACK since pulseaudio does work, I just heard that JACK is better, and I'm kinda curious why it just suddenly stopped workingsunrat wrote: ↑Tue May 25, 2021 11:26 pmThat number is the process ID (PID) which is dynamically allocated each time you start a process/application. It will usually be different each time.TheDiamondLego wrote: ↑Tue May 25, 2021 9:18 pm @tavasti all I see when I run "ps ax | grep jack" is the line that has the number 4003 in your example above and that number changes each time i run "ps ax | grep jack"
Did you ever have JACK working on this system? You have a Raspberry Pi iirc. If Muse works fine with PulseAudio, is there a reason you want to use JACK?
-
- Established Member
- Posts: 2041
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 369 times
- Been thanked: 207 times
- Contact:
Re: Jack Problem
Sure, that grep PID changes everytime, but point is that jackdbus / other jackd process.TheDiamondLego wrote: ↑Tue May 25, 2021 9:18 pm @tavasti all I see when I run "ps ax | grep jack" is the line that has the number 4003 in your example above and that number changes each time i run "ps ax | grep jack"
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Re: Jack Problem
@tavasti @ForrestH I don't have those processes, all I have showing up this this: "5181 pts/0 S+ 0:00 grep --color=auto jack"
- sunrat
- Established Member
- Posts: 907
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 151 times
- Been thanked: 238 times
Re: Jack Problem
JACK is not running then. That only shows the grep command you are running.TheDiamondLego wrote: ↑Wed May 26, 2021 7:55 pm @tavasti @ForrestH I don't have those processes, all I have showing up this this: "5181 pts/0 S+ 0:00 grep --color=auto jack"
-
- Established Member
- Posts: 573
- Joined: Mon Feb 08, 2010 10:38 am
- Has thanked: 80 times
- Been thanked: 97 times
Re: Jack Problem
If this is the output from the ps command it means that currently there is no jackd process running.TheDiamondLego wrote: ↑Wed May 26, 2021 7:55 pm @tavasti @ForrestH I don't have those processes, all I have showing up this this: "5181 pts/0 S+ 0:00 grep --color=auto jack"
It seems that previously jack was auto started when MusE started, but for some reason this is no longer working.
As I don't really like to rely on automagical behaviour myself I would suggest that you try starting jack manually in a terminal (or using qjackctl)
A standard command line for starting jackd is:
Code: Select all
$ jackd -d alsa -d hw:0 -p 512 -r 48000
Code: Select all
jackd -d alsa
If the above does the trick it is quite certain the autostart is the issue.
On an Ubuntu based system there are (at least) two mechanisms for autostarting jack, likely raspberryos is similar.
1. jackdbus, which is controlled by dbus, a system service. How this works I actually do not know and I try to avoid it.
2. MusE will try to launch jack on startup, (unless the -J parameter is added)
And the latter actually confuses me a bit. We lack a few parameters to make a proper setup of jack, so this will probably be wrong most of the time.
Hmm, trying it now, it did not use the settings from the dialog, I do recognize the parameters though, probably jack has stored the last used settings or something... so I guess it's not so bad, but still it seems convoluted and unobvious.
MusE DAW
-
- Established Member
- Posts: 29
- Joined: Sat May 15, 2021 4:13 am
- Been thanked: 1 time
Re: Jack Problem
@spamatica neither command is working, the last 2 lines in the output is "DRIVER NT: could not run driver cycle jack main caught signal 12"