I added a section on regression potential. Since I'm not that big of a
coder, I can't really define the risk better than I did, but I hope that
will do.

Thanks for the upload! Time for some testing then.

** Description changed:

  [Impact]
  
  jackd (jackd2) is unable to start when trying to acquire the same audio
  device used by pulseaudio. (jackd1 is currently not able to acquire the
  card through dbus).
  
  Users are often unable to use jack at all, without disabling pulseaudio.
  
  [Test Case]
  
-  * First, make sure a pulseaudio client is actively playing audio through 
pulseaudio
-  * Start qjackctl.
-  * Select the same device that pulseaudio is using. 
-  * Start jack. Sometimes it takes a few attempts for the bug to appear. 
Eventually, jack will not start, and an error message like this will appear:
+  * First, make sure a pulseaudio client is actively playing audio through 
pulseaudio
+  * Start qjackctl.
+  * Select the same device that pulseaudio is using.
+  * Start jack. Sometimes it takes a few attempts for the bug to appear. 
Eventually, jack will not start, and an error message like this will appear:
  
  ATTENTION: The playback device "hw:0" is already in use. Please stop the
  application using it and run JACK again
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15.2
  ProcVersionSignature: Ubuntu 3.2.0-39.41-lowlatency 3.2.39
  Uname: Linux 3.2.0-39-lowlatency x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Card0.Amixer.info:
-  Card hw:0 'SB'/'HDA ATI SB at 0xfe300000 irq 16'
-    Mixer name : 'Realtek ALC892'
-    Components : 'HDA:10ec0892,1462d693,00100302'
-    Controls      : 43
-    Simple ctrls  : 20
+  Card hw:0 'SB'/'HDA ATI SB at 0xfe300000 irq 16'
+    Mixer name : 'Realtek ALC892'
+    Components : 'HDA:10ec0892,1462d693,00100302'
+    Controls      : 43
+    Simple ctrls  : 20
  Card1.Amixer.info:
-  Card hw:1 'M66'/'M Audio Delta 66 at 0xd040, irq 21'
-    Mixer name : 'ICE1712 - multitrack'
-    Components : ''
-    Controls      : 60
-    Simple ctrls  : 38
+  Card hw:1 'M66'/'M Audio Delta 66 at 0xd040, irq 21'
+    Mixer name : 'ICE1712 - multitrack'
+    Components : ''
+    Controls      : 60
+    Simple ctrls  : 38
  Card2.Amixer.info:
-  Card hw:2 'NVidia'/'HDA NVidia at 0xfe080000 irq 24'
-    Mixer name : 'Nvidia GPU 0b HDMI/DP'
-    Components : 'HDA:10de000b,10de0101,00100100'
-    Controls      : 24
-    Simple ctrls  : 4
+  Card hw:2 'NVidia'/'HDA NVidia at 0xfe080000 irq 24'
+    Mixer name : 'Nvidia GPU 0b HDMI/DP'
+    Components : 'HDA:10de000b,10de0101,00100100'
+    Controls      : 24
+    Simple ctrls  : 4
  Date: Wed Apr  3 02:45:46 2013
  InstallationMedia: Ubuntu-Studio 12.04.1 "Precise Pangolin" - Release amd64 
(20120818)
  MarkForUpload: True
  ProcEnviron:
-  LANGUAGE=en_US:en
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/15/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.8
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-G46 (MS-7693)
  dmi.board.vendor: MSI
  dmi.board.version: 2.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 2.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV1.8:bd06/15/2012:svnMSI:pnMS-7693:pvr2.0:rvnMSI:rn970A-G46(MS-7693):rvr2.0:cvnMSI:ct3:cvr2.0:
  dmi.product.name: MS-7693
  dmi.product.version: 2.0
  dmi.sys.vendor: MSI
+ 
+ [Regression Potential]
+ 
+ The fix adds code that deals with reserving the card for pulseaudio, so
+ if there's any regression, it should be around that functionality. To my
+ knowledge, that would only come to play in dealing with jackd, which is
+ the most likely application to try unreserve pulseaudio reserved cards.

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

Title:
  pulseaudio fails to release card to jack

Status in “pulseaudio” package in Ubuntu:
  Fix Released
Status in “pulseaudio” source package in Precise:
  Fix Committed
Status in “pulseaudio” source package in Quantal:
  Fix Committed

Bug description:
  [Impact]

  jackd (jackd2) is unable to start when trying to acquire the same
  audio device used by pulseaudio. (jackd1 is currently not able to
  acquire the card through dbus).

  Users are often unable to use jack at all, without disabling
  pulseaudio.

  [Test Case]

   * First, make sure a pulseaudio client is actively playing audio through 
pulseaudio
   * Start qjackctl.
   * Select the same device that pulseaudio is using.
   * Start jack. Sometimes it takes a few attempts for the bug to appear. 
Eventually, jack will not start, and an error message like this will appear:

  ATTENTION: The playback device "hw:0" is already in use. Please stop
  the application using it and run JACK again

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pulseaudio 1:1.1-0ubuntu15.2
  ProcVersionSignature: Ubuntu 3.2.0-39.41-lowlatency 3.2.39
  Uname: Linux 3.2.0-39-lowlatency x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  Card0.Amixer.info:
   Card hw:0 'SB'/'HDA ATI SB at 0xfe300000 irq 16'
     Mixer name : 'Realtek ALC892'
     Components : 'HDA:10ec0892,1462d693,00100302'
     Controls      : 43
     Simple ctrls  : 20
  Card1.Amixer.info:
   Card hw:1 'M66'/'M Audio Delta 66 at 0xd040, irq 21'
     Mixer name : 'ICE1712 - multitrack'
     Components : ''
     Controls      : 60
     Simple ctrls  : 38
  Card2.Amixer.info:
   Card hw:2 'NVidia'/'HDA NVidia at 0xfe080000 irq 24'
     Mixer name : 'Nvidia GPU 0b HDMI/DP'
     Components : 'HDA:10de000b,10de0101,00100100'
     Controls      : 24
     Simple ctrls  : 4
  Date: Wed Apr  3 02:45:46 2013
  InstallationMedia: Ubuntu-Studio 12.04.1 "Precise Pangolin" - Release amd64 
(20120818)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/15/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V1.8
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-G46 (MS-7693)
  dmi.board.vendor: MSI
  dmi.board.version: 2.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 2.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV1.8:bd06/15/2012:svnMSI:pnMS-7693:pvr2.0:rvnMSI:rn970A-G46(MS-7693):rvr2.0:cvnMSI:ct3:cvr2.0:
  dmi.product.name: MS-7693
  dmi.product.version: 2.0
  dmi.sys.vendor: MSI

  [Regression Potential]

  The fix adds code that deals with reserving the card for pulseaudio,
  so if there's any regression, it should be around that functionality.
  To my knowledge, that would only come to play in dealing with jackd,
  which is the most likely application to try unreserve pulseaudio
  reserved cards.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to