[Jack-Devel] jack errors with firewire saffire pro 24, help please ?

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[Jack-Devel] jack errors with firewire saffire pro 24, help please ?

lunatikos
hello,

i have problems to configure jack :

i tried deleteing ./.config/jack/ folder but when i modify config, jack
shows errors.

so i tried to setup my saffire pro 24 (firewire) , and i got this error :



can you please help me ?



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Jonathan Woithe-2
On Sat, Mar 02, 2019 at 09:16:51AM -0700, lunatikos wrote:
> i tried deleteing ./.config/jack/ folder but when i modify config, jack
> shows errors.
>
> so i tried to setup my saffire pro 24 (firewire) , and i got this error :
>
>
>
> can you please help me ?

The error message doesn't seem to have made it into your post.  Could you
send it through?  Could you also describe how you are starting jackd and
what options you are using.

With the Saffire Pro 24 there are two ways to get audio into and out of the
device (what I'll call "streaming" here): one is jack-specific and the other
is not.

1. Use FFADO's user-space streaming driver.  This is accessed using jackd's
   "firewire" backend.  If running jackd from the command line you would do
   something like:

     jackd -d firewire -p512 -n3

   You will then be able to use your Saffire in any program which can
   connect to JACK.

   To use this method, you may have to blacklist the alternative
   kernel-based streaming driver, snd-dice.  For testing you can manually
   remove the module:

     rmmod snd-dice

   To make this permanent, add the line

     blacklist snd-dice

   to a file under /etc/modprobe.d/ or your distribution's equivalent.

2. Use the kernel streaming driver.  This comes from the ALSA project and
   relies on the snd-dice kernel driver which should be loaded by default
   on current distributions.  To use this method with jack:

     jackd -d alsa ...

   where "..." are any other options you might need in your situation.  If
   used this way, the saffire will be usable under programs which can use
   JACK.  Being an ALSA driver, your Saffire will also be accessible to
   programs which can use ALSA drivers directly at times when jackd is
   not running.

   Depending on your system setup, your pulseaudio configuration may or may
   not need adjusting so your audio programs can access the saffire in the
   way they need to.

Regards
  jonathan
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
here is the long error message :

......

00:35:58.248 Réinitialisation des statistiques.
00:35:58.269 Changement des connexions ALSA.
00:35:58.327 DBUS : le service est disponible (org.jackaudio.service soit
jackdbus).
00:35:58.704 DBUS : impossible de démarrer le serveur JACK. Désolé
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
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
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
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
00:35:58.731 Changement du graphique des connexions ALSA.
Sun Mar  3 00:35:58 2019: Starting jack server...
Sun Mar  3 00:35:58 2019: JACK server starting in realtime mode with
priority 10
Sun Mar  3 00:35:58 2019: self-connect-mode is "Don't restrict self connect
requests"
Sun Mar  3 00:35:58 2019: ERROR: firewire ERR: Could not prepare streaming
device!
Sun Mar  3 00:35:58 2019: ERROR: Cannot attach audio driver
Sun Mar  3 00:35:58 2019: ERROR: JackServer::Open failed with -1
Sun Mar  3 00:35:58 2019: ERROR: Failed to open server
Sun Mar  3 00:35:58 2019: ERROR: Segmentation Fault!
Sun Mar  3 00:35:58 2019: ERROR: Segmentation Fault!
Sun Mar  3 00:35:58 2019: ERROR: info.si_signo = 11
Sun Mar  3 00:35:58 2019: ERROR: info.si_signo = 11
Sun Mar  3 00:35:58 2019: ERROR: info.si_errno = 0
Sun Mar  3 00:35:58 2019: ERROR: info.si_errno = 0
Sun Mar  3 00:35:58 2019: ERROR: info.si_code  = 1 (SEGV_MAPERR)
Sun Mar  3 00:35:58 2019: ERROR: info.si_code  = 1 (SEGV_MAPERR)
Sun Mar  3 00:35:58 2019: ERROR: info.si_addr  = 0x7fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: info.si_addr  = 0x7fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: reg[00]       = 0x00000000000000d4
Sun Mar  3 00:35:58 2019: ERROR: reg[00]       = 0x00000000000000d4
Sun Mar  3 00:35:58 2019: ERROR: reg[01]       = 0x00007fc25a7451aa
Sun Mar  3 00:35:58 2019: ERROR: reg[01]       = 0x00007fc25a7451aa
Sun Mar  3 00:35:58 2019: ERROR: reg[02]       = 0x000000005643524f
Sun Mar  3 00:35:58 2019: ERROR: reg[02]       = 0x00000000544d584f
Sun Mar  3 00:35:58 2019: ERROR: reg[03]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[03]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[04]       = 0x00007ffcb0dddade
Sun Mar  3 00:35:58 2019: ERROR: reg[04]       = 0x00007ffcb0dddade
Sun Mar  3 00:35:58 2019: ERROR: reg[05]       = 0x00007ffcb0dddadf
Sun Mar  3 00:35:58 2019: ERROR: reg[05]       = 0x00007ffcb0dddadf
Sun Mar  3 00:35:58 2019: ERROR: reg[06]       = 0x00007ffcb0dddb80
Sun Mar  3 00:35:58 2019: ERROR: reg[06]       = 0x00007ffcb0dddb80
Sun Mar  3 00:35:58 2019: ERROR: reg[07]       = 0x00007fc24ce3df40
Sun Mar  3 00:35:58 2019: ERROR: reg[07]       = 0x00007fc24d63ef40
Sun Mar  3 00:35:58 2019: ERROR: reg[08]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[08]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[09]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[09]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[10]       = 0x00007fc24ce3ddd0
Sun Mar  3 00:35:58 2019: ERROR: reg[10]       = 0x00007fc24d63edd0
Sun Mar  3 00:35:58 2019: ERROR: reg[11]       = 0x0000000000f64000
Sun Mar  3 00:35:58 2019: ERROR: reg[11]       = 0x0000000000f63d80
Sun Mar  3 00:35:58 2019: ERROR: reg[12]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[12]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[13]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[13]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[14]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[14]       = 0x0000000000000000
Sun Mar  3 00:35:58 2019: ERROR: reg[15]       = 0x00007fc24ce3dd80
Sun Mar  3 00:35:58 2019: ERROR: reg[15]       = 0x00007fc24d63ed80
Sun Mar  3 00:35:58 2019: ERROR: reg[16]       = 0x00007fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: reg[16]       = 0x00007fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: reg[17]       = 0x0000000000010206
Sun Mar  3 00:35:58 2019: ERROR: reg[17]       = 0x0000000000010206
Sun Mar  3 00:35:58 2019: ERROR: reg[18]       = 0x002b000000000033
Sun Mar  3 00:35:58 2019: ERROR: reg[18]       = 0x002b000000000033
Sun Mar  3 00:35:58 2019: ERROR: reg[19]       = 0x0000000000000014
Sun Mar  3 00:35:58 2019: ERROR: reg[19]       = 0x0000000000000014
Sun Mar  3 00:35:58 2019: ERROR: reg[20]       = 0x000000000000000e
Sun Mar  3 00:35:58 2019: ERROR: reg[20]       = 0x000000000000000e
Sun Mar  3 00:35:58 2019: ERROR: reg[21]       = 0x0000000000005a07
Sun Mar  3 00:35:58 2019: ERROR: reg[21]       = 0x0000000000005a07
Sun Mar  3 00:35:58 2019: ERROR: reg[22]       = 0x00007fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: reg[22]       = 0x00007fc25a5f7319
Sun Mar  3 00:35:58 2019: ERROR: Stack trace:
Sun Mar  3 00:35:58 2019: ERROR: Stack trace:
Sun Mar  3 00:35:58 2019: ERROR: End of stack trace
Sun Mar  3 00:35:58 2019: ERROR: End of stack trace
00:36:00.914 Impossible de connecter le serveur JACK comme client. -
L'opération a échoué. - Incapable de se connecter au serveur. Veuillez
consulter la fenêtre des messages pour plus d'informations.
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
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

...

i got this for alsa default (worked before i change settings), and for
firewire.

what is the cause ?

how to fix ?



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
U mean jack firewire shows this error coz i must remove snddice ?



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Jonathan Woithe-2
In reply to this post by lunatikos
On Sat, Mar 02, 2019 at 04:43:09PM -0700, lunatikos wrote:
> here is the long error message :
>
> ......
>
> 00:35:58.248 Réinitialisation des statistiques.
> :
> Sun Mar  3 00:35:58 2019: ERROR: firewire ERR: Could not prepare streaming
> device!

This log file message indicates that you are using the FFADO streaming
driver, but something prevented it from starting.  One common cause is
having the snd-dice kernel driver loaded when starting FFADO.

For testing, try unloading the snd-dice kernel module as root before trying
to start jackd:

  rmmod snd-dice

After doing this, please try starting jackd again.  If you still have
errors, please:

 * Set the jackd *driver* verbosity level to 6 and capture the output.  I
   recommend you use the following command:

     jackd -dfirewire -p512 -n3 -v6 >& /tmp/jackd.log

 * Post the content of the /tmp/jackd.log file to me.  This will need to be
   off-list since it is likely to be too big for the list.

> i got this for alsa default (worked before i change settings), and for
> firewire.

So I understand from this that you first tried using ALSA and this worked.
Then you tried "firewire" and it did not.  If the snd-dice kernel module is
installed you would be able to use your saffire using the jackd "alsa"
driver.  You would need to know which ALSA device the Saffire was associated
with so you can pass this onto jackd, but it should be possible.

> what is the cause ?

The error when running with jackd's "firewire" driver is possibly due to the
snd-dice kernel driver being loaded.

> how to fix ?

Unload the snd-dice kernel module as described above.

If this fixes the error, you can made the fix permanent by blacklisting the
snd-dice driver as I mentioned in my earlier post.

Regards
  jonathan
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Jonathan Woithe-2
In reply to this post by lunatikos
On Sat, Mar 02, 2019 at 06:36:03PM -0700, lunatikos wrote:
> U mean jack firewire shows this error coz i must remove snddice ?

Yes, this is one possibility.

Regards
  jonathan
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
got this :

~$  rmmod snd-dice
rmmod: ERROR: Module snd_dice is in use

...

dunno wich app use it..., maybe pulse-effects ?



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
Added the line

 blacklist snd-dice

into

 /etc/modprobe.d/blacklist.conf

... it works PERFECT now ! :D

1000 thx Jonathan !



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
now i got no system sound :

when i listen radios in firefox, clementine, etc...

how i can do to got both Jack audio in my daw, and pulse audio in jack ?

i installed (i think) the jack-pulseaudio thing...

but at reboot it does not show in pavucontrol,

need help again Jonathan plz.



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Holger Marzen
On Sun, 3 Mar 2019, lunatikos wrote:

> now i got no system sound :
>
> when i listen radios in firefox, clementine, etc...
>
> how i can do to got both Jack audio in my daw, and pulse audio in jack ?
>
> i installed (i think) the jack-pulseaudio thing...
>
> but at reboot it does not show in pavucontrol,

There are many ways to enable jack-sink in Pulseaudio. One way is:

http://marzen.de/Holger/pulseaudio_and_jack/

Greets
Holger
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Jonathan Woithe-2
In reply to this post by lunatikos
Hi Lunatikos

On Sun, Mar 03, 2019 at 06:34:51AM -0700, lunatikos wrote:
> Added the line
>
>  blacklist snd-dice
>
> into
>
>  /etc/modprobe.d/blacklist.conf
>
> ... it works PERFECT now ! :D

Good job.  I was going to suggest trying this and a reboot in response to
your earlier message.

> 1000 thx Jonathan !

No problem.

Regards
  jonathan
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

Jonathan Woithe-2
In reply to this post by lunatikos
Hi Lunatikos

On Sun, Mar 03, 2019 at 07:47:04AM -0700, lunatikos wrote:
> now i got no system sound :
>
> when i listen radios in firefox, clementine, etc...

Are you intending to use the Saffire to produce the system sound, or do you
have another soundcard that you are using for that?  It appears that you
wish to send system sounds through the Saffire.  Please confirm to the list.

System sounds are delivered though pulseaudio via ALSA devices.  Your system
is now configured to use the Saffire only via jackd.  If you intend your
system sounds to go through the Saffire then this would be the reason you no
longer hear them.

> how i can do to got both Jack audio in my daw, and pulse audio in jack ?

There are several options I believe.  For example, I understand there is a
pulseaudio module which can be used to direct pulseaudio into jack but there
are other approaches too.  However, I do not run pulseaudio on my systems
which utilise jack so I have no experience in this area, nor do I know
which approach works best.  I'm sure others on the list will be able to help
with this.

If you don't receive many responses in this thread, perhaps post a new
message to the list with a revised subject: something like "sending
pulseaudio audio into jack", or "playing system sounds via jack".  Some
people who have no experience with firewire may be understandably skipping
this thread on the basis that it relates to firewire.  That issue is now
solved; the system sounds issue is a new topic so you would be justified in
posting a fresh message about it.

Regards
  jonathan
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
hi, Jonathan, i tried this but wont work :

" configure qjackctl to run the following command after startup. Copy it
into "Setup..." > "Options" > "Execute script after Startup":

pactl set-default-sink jack_out
"

...

yes i need saffire plays all sound from system, clementine, games, and
bitwig daw.

how i do ?



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: ?==?utf-8?q? jack errors with firewire saffire pro 24, help please ?

Ralf Mattes
 
Am Montag, 04. März 2019 11:43 CET, lunatikos <[hidden email]> schrieb:
 

> hi, Jonathan, i tried this but wont work :
>
> " configure qjackctl to run the following command after startup. Copy it
> into "Setup..." > "Options" > "Execute script after Startup":
>
> pactl set-default-sink jack_out
> "
>
> ...
>
> yes i need saffire plays all sound from system, clementine, games, and
> bitwig daw.
>
> how i do ?

IMHO the "easiest" way to get Jackd and PA to cooperate is to install Cadence, configure Jackd
with Cadence and use Cadence to start the PA<->Jack bridge (you can configure it to bring up
the brige at startup). Cadence also alows you to bridge Alsa to JAckd - very convenient.

Cheers, RalfD


 


_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: ?==?utf-8?q? jack errors with firewire saffire pro 24, help please ?

lunatikos
hi Ralf, i installed kxstudio repo but how i install their soft+plugs ? got
ubuntustudio, cadence is included in kxstudio suite.



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

lunatikos
In reply to this post by lunatikos
i need to listen my daw a(jack) and system (pulseaudio) together, to listen
renderings in file browser without closing daw sound.



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: ?==?utf-8?q? jack errors with firewire saffire pro 24, help please ?

Ralf Mattes
 
Am Montag, 04. März 2019 12:07 CET, lunatikos <[hidden email]> schrieb:
 
> i need to listen my daw a(jack) and system (pulseaudio) together, to listen
> renderings in file browser without closing daw sound.

Yes, and that's what Cadence gives you.


 RalfD

>
>
> --
> Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
> _______________________________________________
> Jack-Devel mailing list
> [hidden email]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
 
 
 
 


_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: ?==?utf-8?q? jack errors with firewire saffire pro 24, help please ?

lunatikos
ok all working perfect ;D

voilà what i done :

1- blacklisted snd-dice

2- installed cadence from kxsutdio repo. (dunno how to install all kxstudio
soft+plugs through....)

3- removed auto-jack and cadense-system-startup in "start at login" in
preferences...

4- added a custom auto-start like this :

"cadence-session-start --system-start --minimized"

...

all working as intended.

10000000 THX to you all people, mercé beaucoup !!!

:D

... good music to you all !



--
Sent from: http://jack-audio.10948.n7.nabble.com/Jackit-f3.html
_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Reply | Threaded
Open this post in threaded view
|

Re: jack errors with firewire saffire pro 24, help please ?

David Kastrup
In reply to this post by lunatikos
lunatikos <[hidden email]> writes:

> now i got no system sound :
>
> when i listen radios in firefox, clementine, etc...
>
> how i can do to got both Jack audio in my daw, and pulse audio in jack ?
>
> i installed (i think) the jack-pulseaudio thing...
>
> but at reboot it does not show in pavucontrol,
>
> need help again Jonathan plz.
I use the following script for it (I call it pulsejack):


Called without arguments, it tries to connect to an already running
jack, otherwise it starts one with the given arguments.

--
David Kastrup

_______________________________________________
Jack-Devel mailing list
[hidden email]
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

pulsejack (356 bytes) Download Attachment