You are not logged in.
Hello. I just got my FA-66 device working through JACK -- you can see this thread where I discuss my PulseAudio/JACK/FireWire setup: https://bbs.archlinux.org/viewtopic.php?pid=1441979
But to summerize: I am using JACK with a firewire FA-66 device. I have it set up so that any audio going through PulseAudio goes through JACK. Basically, PulseAudio is automatically setting up a PulseAudio JACK Sink and PulseAudio JACK Source device (for audio output and input, respectively) for my applications to use. I can plug my headphones into my FireWire device and hear all the audio from my system.
However, Skype crashes this setup and renders my audio inoperable until I reboot the system. Even restarting PulseAudio and JACK after Skype is exited does not work. In fact, I cannot even start JACK. This is my full message readout in JACK after I've started the JACK server, Skype was opened, then I close the JACK server and reopen it:
15:18:48.013 Patchbay deactivated.
15:18:48.014 Statistics reset.
15:18:48.025 ALSA connection change.
15:18:48.099 D-BUS: Service is available (org.jackaudio.service aka jackdbus).
15:18:51.357 D-BUS: JACK server is starting...
Fri Aug 1 15:18:48 2014: Starting jack server...
Fri Aug 1 15:18:48 2014: JACK server starting in realtime mode with priority 10
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
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
15:18:51.367 ALSA connection graph change.
15:18:51.371 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus).
Fri Aug 1 15:18:51 2014: Saving settings to "/home/dunder/.config/jack/conf.xml" ...
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_MicIn1 left_in'
Fri Aug 1 15:18:51 2014: New client 'firewire_pcm' with PID 0
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_MicIn1 right_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineIn 3+4 left_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineIn 3+4 right_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_SpdifIn left_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_SpdifIn right_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_MidiPort_1_in'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineOut 1+2 left_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineOut 1+2 right_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineOut 3+4 left_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_LineOut 3+4 right_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_SpdifOut left_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_SpdifOut right_out'
Fri Aug 1 15:18:51 2014: graph reorder: new port 'firewire_pcm:0040ab0000c37041_MidiPort_1_out'
Fri Aug 1 15:18:51 2014: New client 'PulseAudio JACK Sink' with PID 661
Fri Aug 1 15:18:51 2014: Connecting 'PulseAudio JACK Sink:front-left' to 'firewire_pcm:0040ab0000c37041_LineOut 1+2 left_out'
Fri Aug 1 15:18:51 2014: Connecting 'PulseAudio JACK Sink:front-right' to 'firewire_pcm:0040ab0000c37041_LineOut 1+2 right_out'
Fri Aug 1 15:18:51 2014: New client 'PulseAudio JACK Source' with PID 661
Fri Aug 1 15:18:51 2014: Connecting 'firewire_pcm:0040ab0000c37041_MicIn1 left_in' to 'PulseAudio JACK Source:front-left'
Fri Aug 1 15:18:51 2014: Connecting 'firewire_pcm:0040ab0000c37041_MicIn1 right_in' to 'PulseAudio JACK Source:front-right'
15:18:53.569 JACK connection change.
15:18:53.570 Server configuration saved to "/home/dunder/.jackdrc".
15:18:53.570 Statistics reset.
15:18:53.572 Client activated.
15:18:53.573 Post-startup script...
15:18:53.573 /home/dunder/Scripts/jack_post_start.sh
15:18:53.987 Post-startup script terminated successfully.
15:18:53.987 JACK connection change.
15:18:54.101 JACK connection graph change.
Fri Aug 1 15:18:53 2014: New client 'qjackctl' with PID 746
Fri Aug 1 15:18:53 2014: Disconnecting 'firewire_pcm:0040ab0000c37041_MicIn1 left_in' from 'PulseAudio JACK Source:front-left'
Fri Aug 1 15:18:53 2014: Disconnecting 'firewire_pcm:0040ab0000c37041_MicIn1 right_in' from 'PulseAudio JACK Source:front-right'
Fri Aug 1 15:18:53 2014: Client 'PulseAudio JACK Source' with PID 661 is out
Fri Aug 1 15:18:53 2014: Disconnecting 'PulseAudio JACK Sink:front-left' from 'firewire_pcm:0040ab0000c37041_LineOut 1+2 left_out'
Fri Aug 1 15:18:53 2014: Disconnecting 'PulseAudio JACK Sink:front-right' from 'firewire_pcm:0040ab0000c37041_LineOut 1+2 right_out'
Fri Aug 1 15:18:53 2014: Client 'PulseAudio JACK Sink' with PID 661 is out
Fri Aug 1 15:18:54 2014: New client 'PulseAudio JACK Sink' with PID 882
15:18:54.188 JACK connection change.
Fri Aug 1 15:18:54 2014: Connecting 'PulseAudio JACK Sink:front-left' to 'firewire_pcm:0040ab0000c37041_LineOut 1+2 left_out'
Fri Aug 1 15:18:54 2014: Connecting 'PulseAudio JACK Sink:front-right' to 'firewire_pcm:0040ab0000c37041_LineOut 1+2 right_out'
Fri Aug 1 15:18:54 2014: New client 'PulseAudio JACK Source' with PID 882
Fri Aug 1 15:18:54 2014: Connecting 'firewire_pcm:0040ab0000c37041_MicIn1 left_in' to 'PulseAudio JACK Source:front-left'
Fri Aug 1 15:18:54 2014: Connecting 'firewire_pcm:0040ab0000c37041_MicIn1 right_in' to 'PulseAudio JACK Source:front-right'
15:19:22.621 XRUN callback (1).
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not finished, state = Running
Fri Aug 1 15:19:22 2014: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not finished, state = Running
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client PulseAudio JACK Source finished after current callback
Fri Aug 1 15:19:22 2014: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not finished, state = Running
Fri Aug 1 15:19:22 2014: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client = PulseAudio JACK Sink was not finished, state = Triggered
Fri Aug 1 15:19:22 2014: ERROR: JackEngine::XRun: client PulseAudio JACK Source finished after current callback
Fri Aug 1 15:19:22 2014: ERROR: JackAudioDriver::ProcessGraphAsyncMaster: Process error
15:19:24.182 XRUN callback (5 skipped).
Fri Aug 1 15:19:28 2014: ERROR: JackFFADODriver::ffado_driver_wait - unhandled xrun
Fri Aug 1 15:19:28 2014: ERROR: firewire ERR: wait status < 0! (= -1)
Fri Aug 1 15:19:28 2014: ERROR: JackAudioDriver::ProcessAsync: read error, stopping...
15:20:33.633 Client deactivated.
15:20:39.788 D-BUS: JACK server is stopping...
Fri Aug 1 15:20:32 2014: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Fri Aug 1 15:20:32 2014: ERROR: JackEngine::ClientDeactivate wait error ref = 5 name = qjackctl
Fri Aug 1 15:20:33 2014: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 1000000 err = Connection timed out
Fri Aug 1 15:20:33 2014: ERROR: JackEngine::ClientCloseAux wait error ref = 5
Fri Aug 1 15:20:33 2014: Client 'qjackctl' with PID 746 is out
Fri Aug 1 15:20:33 2014: Stopping jack server...
Fri Aug 1 15:20:38 2014: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out
Fri Aug 1 15:20:38 2014: ERROR: JackEngine::ClientDeactivate wait error ref = 2 name = dbusapi
Fri Aug 1 15:20:38 2014: ERROR: failed to deactivate dbusapi jack client. error is -1
Fri Aug 1 15:20:38 2014: Client 'firewire_pcm' with PID 0 is out
Fri Aug 1 15:20:38 2014: Client 'PulseAudio JACK Sink' with PID 882 is out
Fri Aug 1 15:20:38 2014: Client 'PulseAudio JACK Source' with PID 882 is out
15:20:39.795 D-BUS: JACK server was stopped (org.jackaudio.service aka jackdbus).
Fri Aug 1 15:20:39 2014: ERROR: JackPosixProcessSync::LockedTimedWait error usec = 1000000 err = Connection timed out
Fri Aug 1 15:20:39 2014: ERROR: JackEngine::ClientCloseAux wait error ref = 2
15:20:48.607 D-BUS: JACK server could not be started. Sorry
Fri Aug 1 15:20:46 2014: Starting jack server...
Fri Aug 1 15:20:46 2014: JACK server starting in realtime mode with priority 10
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
Fri Aug 1 15:20:48 2014: ERROR: Abort!
Fri Aug 1 15:20:48 2014: ERROR: info.si_signo = 6
Fri Aug 1 15:20:48 2014: ERROR: info.si_errno = 0
Fri Aug 1 15:20:48 2014: ERROR: info.si_code = -6 (unknown)
Fri Aug 1 15:20:48 2014: ERROR: info.si_addr = 0x3e800000307
Fri Aug 1 15:20:48 2014: ERROR: reg[00] = 0xfefefefefefefeff
Fri Aug 1 15:20:48 2014: ERROR: reg[01] = 0xfeff092d63646b68
Fri Aug 1 15:20:48 2014: ERROR: reg[02] = 0x0000000000000008
Fri Aug 1 15:20:48 2014: ERROR: reg[03] = 0x0000000000000202
Fri Aug 1 15:20:48 2014: ERROR: reg[04] = 0x00007fb2ed29805c
Fri Aug 1 15:20:48 2014: ERROR: reg[05] = 0x00007fb2ed298340
Fri Aug 1 15:20:48 2014: ERROR: reg[06] = 0x0000000000000001
Fri Aug 1 15:20:48 2014: ERROR: reg[07] = 0x0000000000000001
Fri Aug 1 15:20:48 2014: ERROR: reg[08] = 0x0000000000000307
Fri Aug 1 15:20:48 2014: ERROR: reg[09] = 0x0000000000000426
Fri Aug 1 15:20:48 2014: ERROR: reg[10] = 0x00007fb2ee71f338
Fri Aug 1 15:20:48 2014: ERROR: reg[11] = 0x00007fb2ef99b000
Fri Aug 1 15:20:48 2014: ERROR: reg[12] = 0x0000000000000006
Fri Aug 1 15:20:48 2014: ERROR: reg[13] = 0x0000000000000000
Fri Aug 1 15:20:48 2014: ERROR: reg[14] = 0xffffffffffffffff
Fri Aug 1 15:20:48 2014: ERROR: reg[15] = 0x00007fb2dd7f9c48
Fri Aug 1 15:20:48 2014: ERROR: reg[16] = 0x00007fb2ee5e9d67
Fri Aug 1 15:20:48 2014: ERROR: reg[17] = 0x0000000000000202
Fri Aug 1 15:20:48 2014: ERROR: reg[18] = 0x0000000000000033
Fri Aug 1 15:20:48 2014: ERROR: reg[19] = 0x0000000000000000
Fri Aug 1 15:20:48 2014: ERROR: reg[20] = 0x0000000000000000
Fri Aug 1 15:20:48 2014: ERROR: reg[21] = 0x0000000000005a07
Fri Aug 1 15:20:48 2014: ERROR: reg[22] = 0x0000000000000000
Fri Aug 1 15:20:48 2014: ERROR: Stack trace:
Fri Aug 1 15:20:48 2014: ERROR: 1: 0x7fb2ee5e9d67 <gsignal+55> (/usr/lib/libc.so.6)
Fri Aug 1 15:20:48 2014: ERROR: End of stack trace
15:20:50.619 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = Connection refused
Cannot connect to server request channel
jack server is not running or cannot be startedI can use the onboard audio (by setting JACK to use ALSA) fine; all audio including skype goes through this without a problem.
I can also set it so that PulseAudio uses my onboard audio and JACK uses my FireWire audio. Even when this is the case, and Skype does not use the JACK Sink device and Skype audio does not go through JACK or my FA-66 but instead uses my onboard audio device, JACK Sink/Source still crash and cannot be used until reboot. So I cannot use them as two separate systems, JACK applications going through FA-66 and other applications going through my onboard audio, because skype crashes it anyway.
In the previous thread, where I discussed setting up my FA-66 for use in JACK, it was suggested that the sample rate between Skype and JACK were different, but in the aforementioned setup Skype does not even go through JACK, and it still crashes.
Could anyone help me be able to work through this mystery? Near as I can tell, Skype might be causing PulseAudio JACK Sink have a problem which prevents it from being able to be recreated by JACK or used by another application?
Thanks.
Offline
Try to find another application that would communicate audio through pulseaudio--dbus--jack (or however it is done), to see if this is skype specific. Look into latency, pulseaudio has its own way of dealing with this (and increasing it on the fly, if I recall correctly), as does jack. To be safe, you could turn the parameters down (increase latency), use lower samplerate (skype probably uses 44,,1 kHz).
Offline
Every application that uses audio communicates the same way -- through pulse audio, and into the JACK sink device. I can load up pavucontrol and see them communicating through jack in the same way. Steam, amarok, firefox, flash plugin. They all work. Just skype doesn't, and causes audio to stop working. I've tried increasing latency and it still doesn't work.. as for samplerate, the FA-66 only supports one, 41100.
Offline
41,1 kHz? You probably mean 44,1 kHz. Have you written to Skype about it? Ask them portraying your current setup. Yes, write to them, do not put it off. It would not be surprising if their pulseaudio implementation would not meet all standards of the api or if this particular scenario would have never been considered.
Offline
Yes, 44100 I mean. I guess I'll look into filing some kinda bug report, or something.
Offline
I am struggling with this issue. Some more debug messages:
PulseAudio debug output after playing Amarok with JACK before Skype is run (works fine):
I: [pulseaudio] client.c: Created 7 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for amarok
I: [pulseaudio] module-suspend-on-idle.c: Sink jack_out idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink jack_out is 0x0004, suspending
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream ALSA Playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-application-name:ALSA plug-in [amarok].
I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input sink-input-by-application-name:ALSA plug-in [amarok].
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [pulseaudio] sink.c: Suspend cause of sink jack_out is 0x0000, resuming
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c: format s32le -> float32le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 10 "ALSA Playback" on jack_out with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.name = "ALSA Playback"
I: [pulseaudio] sink-input.c: application.name = "ALSA plug-in [amarok]"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "983"
I: [pulseaudio] sink-input.c: application.process.user = "dunder"
I: [pulseaudio] sink-input.c: application.process.host = "vertex"
I: [pulseaudio] sink-input.c: application.process.binary = "amarok"
I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: application.icon_name = "amarok"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [amarok]"
I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
D: [pulseaudio] protocol-native.c: Early requests mode enabled, configuring sink latency to minreq.
D: [pulseaudio] protocol-native.c: Requested latency=10.00 ms, Received latency=17.41 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=70560, base=8, prebuf=3528, minreq=6136 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=70560, base=8, prebuf=3528, minreq=6136 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 217.41 ms = 165.22 ms + 2*17.39 ms + 17.41 ms
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] sink-input.c: Requesting rewind due to corking
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 10 "ALSA Playback"
D: [pulseaudio] module-intended-roles.c: Not setting device for stream ALSA Playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-application-name:ALSA plug-in [amarok].
I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input sink-input-by-application-name:ALSA plug-in [amarok].
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c: format s32le -> float32le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 11 "ALSA Playback" on jack_out with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.name = "ALSA Playback"
I: [pulseaudio] sink-input.c: application.name = "ALSA plug-in [amarok]"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "983"
I: [pulseaudio] sink-input.c: application.process.user = "dunder"
I: [pulseaudio] sink-input.c: application.process.host = "vertex"
I: [pulseaudio] sink-input.c: application.process.binary = "amarok"
I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: application.icon_name = "amarok"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [amarok]"
I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
D: [pulseaudio] protocol-native.c: Early requests mode enabled, configuring sink latency to minreq.
D: [pulseaudio] protocol-native.c: Requested latency=10.00 ms, Received latency=17.41 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=70560, base=8, prebuf=64432, minreq=6136 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=70560, base=8, prebuf=64432, minreq=6136 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 217.41 ms = 165.22 ms + 2*17.39 ms + 17.41 ms
D: [jack-sink] sink-input.c: Requesting rewind due to corking
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 11 "ALSA Playback"
D: [pulseaudio] module-intended-roles.c: Not setting device for stream ALSA Playback, because it lacks role.
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] sink-input.c: Rate changed to 44100 Hz
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-application-name:ALSA plug-in [amarok].
I: [pulseaudio] module-stream-restore.c: Restoring mute state for sink input sink-input-by-application-name:ALSA plug-in [amarok].
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
I: [pulseaudio] resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 44100 -> 44100 (method copy)
D: [pulseaudio] resampler.c: format s32le -> float32le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 12 "ALSA Playback" on jack_out with sample spec s32le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: media.name = "ALSA Playback"
I: [pulseaudio] sink-input.c: application.name = "ALSA plug-in [amarok]"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "983"
I: [pulseaudio] sink-input.c: application.process.user = "dunder"
I: [pulseaudio] sink-input.c: application.process.host = "vertex"
I: [pulseaudio] sink-input.c: application.process.binary = "amarok"
I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: application.icon_name = "amarok"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [amarok]"
I: [pulseaudio] protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
D: [pulseaudio] protocol-native.c: Early requests mode enabled, configuring sink latency to minreq.
D: [pulseaudio] protocol-native.c: Requested latency=10.00 ms, Received latency=17.41 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=70560, base=8, prebuf=64432, minreq=6136 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=70560, base=8, prebuf=64432, minreq=6136 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 217.41 ms = 165.22 ms + 2*17.39 ms + 17.41 ms
D: [jack-sink] sink-input.c: Requesting rewind due to corking
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes idle, timeout in 5 seconds.
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.
I: [pulseaudio] sink-input.c: Freeing input 12 "ALSA Playback"
I: [pulseaudio] client.c: Freed 7 "ALSA plug-in [amarok]"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] module-suspend-on-idle.c: Sink jack_out idle for too long, suspending ...
D: [pulseaudio] sink.c: Suspend cause of sink jack_out is 0x0004, suspending
D: [pulseaudio] core.c: Hmm, no streams around, trying to vacuum.PulseAudio debug output upon running Skype (crashes audio):
I: [pulseaudio] client.c: Created 9 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 29, local 29
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for skype
D: [pulseaudio] module-augment-properties.c: Found /usr/share/applications/skype.desktop.JACK messages after Skype is run:
Sun Aug 3 09:55:05 2014: ERROR: JackFFADODriver::ffado_driver_wait - unhandled xrun
Sun Aug 3 09:55:05 2014: ERROR: firewire ERR: wait status < 0! (= -1)
Sun Aug 3 09:55:05 2014: ERROR: JackAudioDriver::ProcessAsync: read error, stopping...I suppose this indicates it is FFADO having an error?
Playing Amarok with JACK after Skype is run:
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.Using "Make a test sound" in Skype with JACK (audio at this point does not work):
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] sink-input.c: Requesting rewind due to corking
I: [pulseaudio] sink-input.c: Freeing input 15 "Output"
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-media-role:phone.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 48000 -> 44100 (method speex-float-1)
D: [pulseaudio] resampler.c: format s16le -> float32le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 19 "Output" on jack_out with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: window.icon_name = "skype"
I: [pulseaudio] sink-input.c: application.icon_name = "skype"
I: [pulseaudio] sink-input.c: media.role = "phone"
I: [pulseaudio] sink-input.c: media.name = "Output"
I: [pulseaudio] sink-input.c: application.name = "Skype"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "1171"
I: [pulseaudio] sink-input.c: application.process.user = "dunder"
I: [pulseaudio] sink-input.c: application.process.host = "vertex"
I: [pulseaudio] sink-input.c: application.process.binary = "skype"
I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-media-role:phone"
I: [pulseaudio] protocol-native.c: Requested tlength=60.00 ms, minreq=15.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=15.00 ms, Received latency=17.41 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=9104, base=4, prebuf=6228, minreq=2880 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=9104, base=4, prebuf=6228, minreq=2880 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 64.83 ms = 17.42 ms + 2*15.00 ms + 17.41 ms
D: [jack-sink] sink-input.c: Requesting rewind due to uncorking
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
I: [pulseaudio] module-stream-restore.c: Restoring device for stream source-output-by-media-role:phone.
D: [pulseaudio] module-intended-roles.c: Not setting device for stream Input, because already set.
D: [pulseaudio] source-output.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "48000" format.channels = "1" format.channel_map = "\"mono\""
I: [pulseaudio] source-output.c: Trying to change sample rate
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes busy, resuming.
D: [pulseaudio] source.c: Suspend cause of source jack_in is 0x0000, resuming
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes idle, timeout in 5 seconds.
D: [pulseaudio] resampler.c: Channel matrix:
D: [pulseaudio] resampler.c: I00 I01
D: [pulseaudio] resampler.c: +------------
D: [pulseaudio] resampler.c: O00 | 0.500 0.500
I: [pulseaudio] remap.c: Using generic matrix remapping
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 44100 -> 48000 (method speex-float-1)
D: [pulseaudio] resampler.c: format float32le -> s16le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 1 (resampling 1)
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] source-output.c: Created output 1 "Input" on jack_in with sample spec s16le 1ch 48000Hz and channel map mono
I: [pulseaudio] source-output.c: window.icon_name = "skype"
I: [pulseaudio] source-output.c: application.icon_name = "skype"
I: [pulseaudio] source-output.c: media.role = "phone"
I: [pulseaudio] source-output.c: media.name = "Input"
I: [pulseaudio] source-output.c: application.name = "Skype"
I: [pulseaudio] source-output.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] source-output.c: native-protocol.version = "29"
I: [pulseaudio] source-output.c: application.process.id = "1171"
I: [pulseaudio] source-output.c: application.process.user = "dunder"
I: [pulseaudio] source-output.c: application.process.host = "vertex"
I: [pulseaudio] source-output.c: application.process.binary = "skype"
I: [pulseaudio] source-output.c: application.language = "en_US.UTF-8"
I: [pulseaudio] source-output.c: window.x11.display = ":0"
I: [pulseaudio] source-output.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] source-output.c: application.process.session_id = "c1"
I: [pulseaudio] source-output.c: module-stream-restore.id = "source-output-by-media-role:phone"
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=0, base=2, prebuf=1, minreq=0 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=4194304, base=2, prebuf=2, minreq=2 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 11.60 ms = 5.79 ms + 5.80 ms
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes busy, resuming.
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes idle, timeout in 5 seconds.
D: [pulseaudio] module-suspend-on-idle.c: Source jack_in becomes idle, timeout in 5 seconds.
I: [pulseaudio] source-output.c: Freeing output 1 "Input"
D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
I: [pulseaudio] sink-input.c: Trying to change sample rate
I: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-media-role:phone.
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [pulseaudio] resampler.c: Resampler:
D: [pulseaudio] resampler.c: rate 48000 -> 44100 (method speex-float-1)
D: [pulseaudio] resampler.c: format s16le -> float32le (intermediate float32le)
D: [pulseaudio] resampler.c: channels 2 -> 2 (resampling 2)
I: [pulseaudio] resampler.c: Choosing speex quality setting 1.
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, prebuf=0, minreq=1 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=8, prebuf=0, minreq=8 maxrewind=0
I: [pulseaudio] sink-input.c: Created input 20 "Output" on jack_out with sample spec s16le 2ch 48000Hz and channel map front-left,front-right
I: [pulseaudio] sink-input.c: window.icon_name = "skype"
I: [pulseaudio] sink-input.c: application.icon_name = "skype"
I: [pulseaudio] sink-input.c: media.role = "phone"
I: [pulseaudio] sink-input.c: media.name = "Output"
I: [pulseaudio] sink-input.c: application.name = "Skype"
I: [pulseaudio] sink-input.c: native-protocol.peer = "UNIX socket client"
I: [pulseaudio] sink-input.c: native-protocol.version = "29"
I: [pulseaudio] sink-input.c: application.process.id = "1171"
I: [pulseaudio] sink-input.c: application.process.user = "dunder"
I: [pulseaudio] sink-input.c: application.process.host = "vertex"
I: [pulseaudio] sink-input.c: application.process.binary = "skype"
I: [pulseaudio] sink-input.c: application.language = "en_US.UTF-8"
I: [pulseaudio] sink-input.c: window.x11.display = ":0"
I: [pulseaudio] sink-input.c: application.process.machine_id = "3bd784d7109e4d42babe6caf9d46ddaa"
I: [pulseaudio] sink-input.c: application.process.session_id = "c1"
I: [pulseaudio] sink-input.c: module-stream-restore.id = "sink-input-by-media-role:phone"
I: [pulseaudio] protocol-native.c: Requested tlength=60.00 ms, minreq=15.00 ms
D: [pulseaudio] protocol-native.c: Adjust latency mode enabled, configuring sink latency to half of overall latency.
D: [pulseaudio] protocol-native.c: Requested latency=15.00 ms, Received latency=17.41 ms
D: [pulseaudio] memblockq.c: memblockq requested: maxlength=4194304, tlength=9104, base=4, prebuf=6228, minreq=2880 maxrewind=0
D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=4194304, tlength=9104, base=4, prebuf=6228, minreq=2880 maxrewind=0
I: [pulseaudio] protocol-native.c: Final latency 64.83 ms = 17.42 ms + 2*15.00 ms + 17.41 ms
D: [jack-sink] sink-input.c: Requesting rewind due to uncorking
D: [pulseaudio] module-suspend-on-idle.c: Sink jack_out becomes busy, resuming.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] protocol-native.c: Requesting rewind due to end of underrun.
D: [jack-sink] sink-input.c: Requesting rewind due to corking
I: [pulseaudio] sink-input.c: Freeing input 20 "Output"
I: [pulseaudio] module-suspend-on-idle.c: Source jack_in idle for too long, suspending ...
D: [pulseaudio] source.c: Suspend cause of source jack_in is 0x0004, suspendingIs this any help to anyone?
Offline
thorjelly, I have almost same bug with Skype. When Skype starts - it crash jackdbus to stop working, but after kill -s KILL jackdbus and start it with qjackctl, all works again, even skype. Did you make any bug report about this?
Offline