← Back to team overview

kernel-packages team mailing list archive

[Bug 1025578] Re: espeak sound output very slow if bluez-alsa installed

 

Any fix for this? This also affects me (using saucy x64) when using
multiple many sound applications (lmms, audacity, mixxx...).
Uninstalling bluetooth support for ALSA is not an option because I daily
use sound over bluetooth. Please fix.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1025578

Title:
  espeak sound output very slow if bluez-alsa installed

Status in “bluez” package in Ubuntu:
  Confirmed

Bug description:
  Running espeak if bluetooth is enabled via the panel applet and bluez-
  alsa is installed slows down espeak sound output *significantly*...

  With bluetooth disabled...

  $ time echo hello|espeak
  ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
  ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
  Cannot connect to server socket err = No such file or directory
  Cannot connect to server socket
  jack server is not running or cannot be started

  real    0m0.823s
  user    0m0.032s
  sys     0m0.064s
  $ 

  
  With bluetooth enabled...

  $ time echo hello|espeak
  ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
  ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
  ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
  Cannot connect to server socket err = No such file or directory
  Cannot connect to server socket
  jack server is not running or cannot be started

  real    0m21.329s
  user    0m0.048s
  sys     0m0.044s
  $ 

  "A" way (not ideal! ;-) to resolve the problem is to simply remove the
  bluez-alsa package:

  $ sudo apt-get remove blue-alsa

  
  Notes:

  - I have no bluetooth audio devices within range or enabled.
  - I have no ~/.asoundrc so unclear why I'm getting all the alsa cruft.

  Attached is the output of 'sudo hcidump -XYt'.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: bluez-alsa 4.98-2ubuntu7
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19
  Uname: Linux 3.2.0-26-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: i386
  Date: Tue Jul 17 10:06:48 2012
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  InterestingModules: bnep rfcomm btusb bluetooth
  MachineType: LENOVO 2516CTO
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=fr_CA.UTF8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=7ad192e9-7b26-49d1-8e1c-fefc7dc495cb ro quiet splash vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: Upgraded to precise on 2012-01-12 (186 days ago)
  dmi.bios.date: 08/27/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6IET72WW (1.32 )
  dmi.board.name: 2516CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6IET72WW(1.32):bd08/27/2010:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 2516CTO
  dmi.product.version: ThinkPad T410
  dmi.sys.vendor: LENOVO
  hciconfig:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1025578/+subscriptions