I realize this bug is old but I can confirm it's still happening to me (Ubuntu 
12.10 running on a MacBook Pro).
Restarting pulseaudio (pulseaudio -k) fixes the issue... until the next time it 
happens :)
A little annoying, but I guess it must be hard to fix do to the 'random' nature 
of it...

-- 
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/778852

Title:
  Sound is distorted sometimes

Status in “pulseaudio” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: pulseaudio

    When I'm listening to rythmbox sometimes sound becomes distorted.
  Sometimes it is distorted when I unpause playback, but if I pause and
  unpause once more it becomes fine again.

    I found pretty good way to reproduce though:
  1) Have rythmbox playing.
  2) Open video file in totem
  3) Close totem
  4) repeat 2-3

    Always, when totem opens/closes I hear a small dropout in music. But 
sometimes along with dropout distortion begins. And distortion finishes when I 
open/close totem again. I.e. I open totem - just dropout, I close totem - 
distortion begins, I open totem again - distortion disappears.
    Distortion doesn't appear 100% of the time, but pretty often. Dropout can 
be heard always.

    This problem appeared after upgrade to Natty. Before this update I
  never heard any distortion on this laptop.

  Here is an alsa debug output when I start totem and distortion begins:
  
---------------------------------------------------------------------------------------
  I: client.c: Created 19 "Native client (UNIX socket client)"
  D: protocol-native.c: Protocol version: remote 16, local 16
  I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
  D: protocol-native.c: SHM possible: yes
  D: protocol-native.c: Negotiated SHM: yes
  D: module-augment-properties.c: Looking for .desktop file for totem
  I: client.c: Freed 19 "Видеопроигрыватель Totem"
  I: protocol-native.c: Connection died.
  I: client.c: Created 20 "Native client (UNIX socket client)"
  D: protocol-native.c: Protocol version: remote 16, local 16
  I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
  D: protocol-native.c: SHM possible: yes
  D: protocol-native.c: Negotiated SHM: yes
  D: module-augment-properties.c: Looking for .desktop file for totem
  I: module-stream-restore.c: Restoring volume for sink input 
sink-input-by-media-role:video.
  I: module-stream-restore.c: Restoring mute state for sink input 
sink-input-by-media-role:video.
  D: module-suspend-on-idle.c: Sink alsa_output.default becomes busy.
  D: memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=8, 
prebuf=0, minreq=1 maxrewind=0
  D: memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, 
base=8, prebuf=0, minreq=8 maxrewind=0
  I: sink-input.c: Created input 8 "Playback Stream" on alsa_output.default 
with sample spec s32le 2ch 48000Hz and channel map front-left,front-right
  I: sink-input.c:     media.name = "Playback Stream"
  I: sink-input.c:     application.name = "Видеопроигрыватель Totem"
  I: sink-input.c:     native-protocol.peer = "UNIX socket client"
  I: sink-input.c:     native-protocol.version = "16"
  I: sink-input.c:     media.role = "video"
  I: sink-input.c:     application.process.id = "29881"
  I: sink-input.c:     application.process.user = "kolya"
  I: sink-input.c:     application.process.host = "kolya-laptop"
  I: sink-input.c:     application.process.binary = "totem"
  I: sink-input.c:     application.icon_name = "totem"
  I: sink-input.c:     window.x11.display = ":0.0"
  I: sink-input.c:     application.language = "ru_RU.UTF-8"
  I: sink-input.c:     application.process.machine_id = 
"3e9af0d0cb0c30aa9ae927604bde08d5"
  I: sink-input.c:     application.process.session_id = 
"3e9af0d0cb0c30aa9ae927604bde08d5-1304615509.920354-630699833"
  I: sink-input.c:     module-stream-restore.id = 
"sink-input-by-media-role:video"
  I: protocol-native.c: Requested tlength=200.00 ms, minreq=10.00 ms
  D: protocol-native.c: Adjust latency mode enabled, configuring sink latency 
to half of overall latency.
  D: memblockq.c: memblockq requested: maxlength=4194304, tlength=42240, 
base=8, prebuf=0, minreq=3840 maxrewind=0
  D: memblockq.c: memblockq sanitized: maxlength=4194304, tlength=42240, 
base=8, prebuf=0, minreq=3840 maxrewind=0
  I: protocol-native.c: Final latency 200.00 ms = 90.00 ms + 2*10.00 ms + 90.00 
ms
  D: alsa-sink.c: Latency set to 90.00ms
  D: alsa-sink.c: hwbuf_unused=96512
  D: alsa-sink.c: setting avail_min=15425
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: sink-input.c: Requesting rewind due to uncorking
  D: alsa-sink.c: Requested to rewind 131072 bytes.
  D: module-suspend-on-idle.c: Sink alsa_output.default becomes busy.
  D: alsa-sink.c: Limited to 32352 bytes.
  D: alsa-sink.c: before: 4044
  D: alsa-sink.c: after: 4044
  D: alsa-sink.c: Rewound 32352 bytes.
  D: sink.c: Processing rewind...
  D: sink-input.c: Have to rewind 32352 bytes on render memblockq.
  D: source.c: Processing rewind...
  D: protocol-native.c: Requesting rewind due to end of underrun.
  D: alsa-sink.c: Requested to rewind 131072 bytes.
  D: alsa-sink.c: Limited to 32128 bytes.
  D: alsa-sink.c: before: 4016
  D: alsa-sink.c: after: 4016
  D: alsa-sink.c: Rewound 32128 bytes.
  D: sink.c: Processing rewind...
  D: sink-input.c: Have to rewind 32128 bytes on render memblockq.
  D: sink-input.c: Have to rewind 32128 bytes on render memblockq.
  D: source.c: Processing rewind...
  
---------------------------------------------------------------------------------------
   I'll be happy to provide any information I can to help resolve this issue.
  Thanks.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: pulseaudio 1:0.9.22+stable-queue-24-g67d18-0ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
  Uname: Linux 2.6.38-8-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  kolya     22806 F.... pulseaudio
   /dev/snd/pcmC0D0p:   kolya     22806 F...m pulseaudio
   /dev/snd/timer:      kolya     22806 f.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xefffc000 irq 45'
     Mixer name : 'SigmaTel STAC9200'
     Components : 'HDA:83847690,102801bd,00102201 
HDA:14f12bfa,14f100c3,00090000'
     Controls      : 12
     Simple ctrls  : 7
  Date: Fri May  6 22:50:44 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
   LANGUAGE=ru_RU:en
   PATH=(custom, user)
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: pulseaudio
  UpgradeStatus: Upgraded to natty on 2011-04-30 (6 days ago)
  dmi.bios.date: 06/13/2007
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A17
  dmi.board.name: 0XD720
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA17:bd06/13/2007:svnDellInc.:pnMM061:pvr:rvnDellInc.:rn0XD720:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: MM061
  dmi.sys.vendor: Dell Inc.
  mtime.conffile..etc.pulse.default.pa: 2011-05-06T12:21:54.526814

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/778852/+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