Video and audio freeze when JACK is on

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
hudkins
Established Member
Posts: 38
Joined: Wed Jan 20, 2016 2:01 am

Video and audio freeze when JACK is on

Post by hudkins »

I recently installed Ubuntu Studio 16.04 with the KXstudio repos. Everything is working fine except when JACK is turned on video and audio won't play. Tried several audio and video files in several formats, all with the same result. This also affects video in Firefox and Chrome.

No odd terminal output from the browsers or media players. When exiting the following appears in the JACK log

Code: Select all

Tue Mar 20 23:12:47 2018: Stopping jack server...
Tue Mar 20 23:12:47 2018: Client 'system' with PID 0 is out
Tue Mar 20 23:12:47 2018: Client 'PulseAudio JACK Sink' with PID 1717 is out
Tue Mar 20 23:12:47 2018: Client 'PulseAudio JACK Source' with PID 1717 is out
Tue Mar 20 23:12:47 2018: ERROR: Cannot write socket fd = 17 err = Broken pipe
Tue Mar 20 23:12:47 2018: ERROR: CheckRes error
Tue Mar 20 23:12:47 2018: ERROR: Could not write notification
Tue Mar 20 23:12:47 2018: ERROR: ClientNotify fails name = system notification = 1 val1 = 0 val2 = 0
Tue Mar 20 23:12:47 2018: ERROR: Cannot write socket fd = 21 err = Broken pipe
Tue Mar 20 23:12:47 2018: ERROR: CheckRes error
Tue Mar 20 23:12:47 2018: ERROR: Could not write notification
Tue Mar 20 23:12:47 2018: ERROR: ClientNotify fails name = system notification = 1 val1 = 0 val2 = 0
Tue Mar 20 23:12:47 2018: Released audio card Audio4
Tue Mar 20 23:12:47 2018: ERROR: Cannot write socket fd = 17 err = Broken pipe
Tue Mar 20 23:12:47 2018: ERROR: CheckRes error
Tue Mar 20 23:12:47 2018: ERROR: Could not write notification
Tue Mar 20 23:12:47 2018: ERROR: ClientNotify fails name = freewheel notification = 1 val1 = 0 val2 = 0
Tue Mar 20 23:12:47 2018: ERROR: Cannot write socket fd = 21 err = Broken pipe
Tue Mar 20 23:12:47 2018: ERROR: CheckRes error
Tue Mar 20 23:12:47 2018: ERROR: Could not write notification
Tue Mar 20 23:12:47 2018: ERROR: ClientNotify fails name = freewheel notification = 1 val1 = 0 val2 = 0
JACK seems to start normally

Code: Select all

Tue Mar 20 23:14:28 2018: Starting jack server...
Tue Mar 20 23:14:28 2018: JACK server starting in realtime mode with priority 10
Tue Mar 20 23:14:28 2018: self-connect-mode is "Don't restrict self connect requests"
Tue Mar 20 23:14:29 2018: Acquired audio card Audio4
Tue Mar 20 23:14:29 2018: creating alsa driver ... hw:CI1,0|hw:CI1,0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Tue Mar 20 23:14:29 2018: Using ALSA driver USB-Audio running on card 4 - Yamaha Corporation Steinberg CI1 at usb-0000:00:1d.0-1.6, full speed
Tue Mar 20 23:14:29 2018: configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
Tue Mar 20 23:14:29 2018: ALSA: final selected sample format for capture: 24bit little-endian in 3bytes format
Tue Mar 20 23:14:29 2018: ALSA: use 2 periods for capture
Tue Mar 20 23:14:29 2018: ALSA: final selected sample format for playback: 24bit little-endian in 3bytes format
Tue Mar 20 23:14:29 2018: ALSA: use 2 periods for playback
Tue Mar 20 23:14:29 2018: graph reorder: new port 'system:capture_1'
Tue Mar 20 23:14:29 2018: New client 'system' with PID 0
Tue Mar 20 23:14:29 2018: graph reorder: new port 'system:capture_2'
Tue Mar 20 23:14:29 2018: graph reorder: new port 'system:playback_1'
Tue Mar 20 23:14:29 2018: graph reorder: new port 'system:playback_2'
Tue Mar 20 23:14:29 2018: New client 'PulseAudio JACK Sink' with PID 1717
Tue Mar 20 23:14:29 2018: port 'PulseAudio JACK Sink:front-left' created
Tue Mar 20 23:14:29 2018: port 'PulseAudio JACK Sink:front-right' created
Tue Mar 20 23:14:29 2018: Connecting 'PulseAudio JACK Sink:front-left' to 'system:playback_1'
Tue Mar 20 23:14:29 2018: Connecting 'PulseAudio JACK Sink:front-right' to 'system:playback_2'
Tue Mar 20 23:14:29 2018: New client 'PulseAudio JACK Source' with PID 1717
Tue Mar 20 23:14:29 2018: port 'PulseAudio JACK Source:front-left' created
Tue Mar 20 23:14:29 2018: port 'PulseAudio JACK Source:front-right' created
Tue Mar 20 23:14:29 2018: Connecting 'system:capture_1' to 'PulseAudio JACK Source:front-left'
Tue Mar 20 23:14:29 2018: Connecting 'system:capture_2' to 'PulseAudio JACK Source:front-right'
I'm using the alsa > pulseaudio >jack bridge

I can't find any info online about this error. Any help is very much appreciated.
User avatar
thetotalchaos
Established Member
Posts: 211
Joined: Mon Sep 29, 2014 8:29 pm
Has thanked: 53 times
Been thanked: 9 times
Contact:

Re: Video and audio freeze when JACK is on

Post by thetotalchaos »

Try this,
Open your Pulseaudio volume control app, and change the output to Jack. Or try force reloading jack from Cadence.
Ubuntu Studio is set to work out-of-the-box. But Cadence is NOT part of this experience. :roll:
You can listen to my music at: https://totalchaos-music.bandcamp.com/

Take a journey to wonderland with The Butterfly Effect 2016
https://totalchaos-music.bandcamp.com/a ... fly-effect
Post Reply