bluetooth audio (a2dp) and pulse audio network support missing

Bug #1079203 reported by Matthias
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jackd2 (Ubuntu)
New
Medium
Unassigned

Bug Description

You have recorded something with ardour or rosegarden, want to hear it in the train or library and all you have is a bluetooth headset?

Admittedly Bluetooth isn't about the main goals jack wants to archive: It is neither low-latency nor high quality. But many bluetooth devices supporting the a2dp protocol provide a quality that is more than sufficient for everyday's work, for some tasks latency doesn't really matter this much -
but as long as jackd doesn't support bluetooth you might not even be able to start up your favourite application. Fixing this would be hard, though: bluetooth audio isn't supported by alsa, but only by pulseaudio.

There exists a workaround, though:
- open terminal „pactl load-module module-jack-source“
- open pulse audio preferences from the panel
          - select input: jack source
          - select output: Bluetooth device
open terminal „pactl load-module module-loopback”

Attention ever use first „pactl load-module module-jack-source“ then plug on the bluetooth device. The other way around the module load fails.

Would making loading the pulseaudio jack source module automatically do any harm?

Revision history for this message
Matthias (funny-hangman-gmx) wrote :

By the way; the „loopback” can cause some seconds latency over the time.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1079203

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: bluetooth pulse jack audio connection defect

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.7 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7-rc5-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Matthias (funny-hangman-gmx) wrote : AcpiTables.txt

apport information

tags: added: apport-collected precise
description: updated
Revision history for this message
Matthias (funny-hangman-gmx) wrote : AlsaDevices.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : BootDmesg.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : IwConfig.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : Lspci.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : Lsusb.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : PciMultimedia.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : ProcModules.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : PulseList.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : RfKill.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : UdevDb.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : UdevLog.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : WifiSyslog.txt

apport information

Revision history for this message
Matthias (funny-hangman-gmx) wrote : Re: bluetooth pulse jack audio connection defect

I tested it with the last 3.7 kernel (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3.7-precise/)
kernel-bug-exists-upstream

I don´t think it´s a kernel bug. Also jack (1.9.8) crash if bluetooth audio device is connected bevore jack starts. You have to disconnect the device and kill jackdbus manually, bevore it starts again.

"D-BUS: jack could not start" Window

jack output:
Fri Nov 16 23:32:08 2012: Starting jack server...
Fri Nov 16 23:32:08 2012: JACK server starting in non-realtime mode
Fri Nov 16 23:32:09 2012: control device hw:0
Fri Nov 16 23:32:09 2012: control device hw:0
Fri Nov 16 23:32:09 2012: Acquired audio card Audio0
Fri Nov 16 23:32:09 2012: creating alsa driver ... hw:0|hw:0|512|2|44100|0|0|nomon|swmeter|soft-mode|32bit
Fri Nov 16 23:32:09 2012: control device hw:0
Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
Cannot connect to server socket
jack server is not running or cannot be started
Fri Nov 16 23:32:09 2012: ERROR:
ATTENTION: The capture device "hw:0" is already in use. The following applications are using your soundcard(s) so you should check them and stop them as necessary before trying to start JACK again:
jackdbus (process ID 3150)

Fri Nov 16 23:32:09 2012: ERROR: Cannot initialize driver
Fri Nov 16 23:32:09 2012: ERROR: JackServer::Open() failed with -1
Fri Nov 16 23:32:09 2012: ERROR: Failed to open server
Fri Nov 16 23:32:10 2012: Saving settings to "/home/lxuser/.config/jack/conf.xml" ...

Revision history for this message
Matthias (funny-hangman-gmx) wrote :

By the way, you need the same workaraund if you want to stream the output over your pulse network device.

summary: - bluetooth pulse jack audio connection defect
+ bluetooth and network device pulse audio - jack audio connection defect
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: bluetooth and network device pulse audio - jack audio connection defect

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
PeterPall (peterpall) wrote :

Jack over bluetooth still doesn't work. But I guess this isn't a kernel problem.
Normally a discussion about this problem leads to the question if the quality and latency of bluetooth audio is high enough that it actually is worth to consider. But sometimes you just don't want to do real-time work, don't care if in theory you could buy a better stereo headset than this one, just get some work done. ...and are surprised that this still isn't supported.

Changed in linux (Ubuntu):
status: Expired → Confirmed
affects: linux (Ubuntu) → jackd2 (Ubuntu)
Changed in jackd2 (Ubuntu):
status: Confirmed → New
summary: - bluetooth and network device pulse audio - jack audio connection defect
+ bluetooth audio (a2dp) and pulse audio network support missing
PeterPall (peterpall)
description: updated
description: updated
tags: added: trusty vivid
removed: precise
description: updated
PeterPall (peterpall)
description: updated
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.