pulse jack bridging no sound from pulse clients

Bug #925257 reported by Len Ovens
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In ubuntustudio 12.04 alpha 2, a video or audio player that uses pulseaudio can't play (it is started but the position is not moving) while pulse audio is using jack to play sound through. Jack shows pulseaudio as being connected. As soon as jackd is stopped the player will start working.

Tags: iso-testing
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/925257

tags: added: iso-testing
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 925257] [NEW] pulse jack bridging no sound from pulse clients

Please get a log from PulseAudio whilst you are attempting to use jack for playback, https://wiki.ubuntu.com/PulseAudio/Log.

 affects ubuntu/pulseaudio
 status incomplete

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Len Ovens (len-ovenwerks) wrote :

Here is a log file... verbose is right. Pulse started - played some sound through firefox ok - started jackd - saw that pulse output was connected to jackd output with qjackctl connections dialogue - started firefox sound again... no sound... tried audacious no playback no position movement - used qjackctl to stop jackd - leftover sound in buffer from firefox played and audacious started playing too.

this is on ubuntustudio 12.04 A2

Revision history for this message
Len Ovens (len-ovenwerks) wrote :

> Title:
> pulse jack bridging no sound from pulse clients

More information:
  I was able to get PA-jackd bridging to work. Jackd must be running
before pulse is started. US doesn't do this. PA is running by default
and when jackd is started pulse connects to jackd as it should, but
doesn't let go of alsa. So when a client tries to send sound to PA, it
still tries to send audio to alsa (maybe at the same time as jackd) and
is blocked by jackd which has control of alsa. If I start jackd->killall
pulseaudio->open pulse control (starts pulse again) then the output only
shows one output instead of two. Now a pulse client is able to send
sound ->PA->jackd->alsa->speaker/outputjack.

It looks like either PA needs to let go of alsa as source and sink when it
connects to jack or needs to expect jackd (or the script starting jackd)
to stop and restart pulse. This restart may need to take place after jackd
stops as well.

Let me know if this makes any sense.

--
Len Ovens
www.OvenWerks.net

Revision history for this message
Kaj Ailomaa (zequence) wrote :

I suspect there is no bug.

1. Start jack (PA shows in jack connections, and is connected)
2. Go to pulseaudio settings, and choose jack as the output

Works here.

Revision history for this message
Len Ovens (len-ovenwerks) wrote : Re: [Bug 925257] Re: pulse jack bridging no sound from pulse clients

On Fri, March 23, 2012 5:19 am, Kaj Ailomaa wrote:
> I suspect there is no bug.
>
> 1. Start jack (PA shows in jack connections, and is connected)
> 2. Go to pulseaudio settings, and choose jack as the output
>
> Works here.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/925257
>
> Title:
> pulse jack bridging no sound from pulse clients

You may be right at this point, it seems to work well for me too. I think
there has been other work on either pulse or jackd that may have fixed it
as it is smoother/easier to use than it has been even a few days ago when
I couldn't even start jackd.

--
Len Ovens
www.OvenWerks.net

Changed in pulseaudio (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.