Red Hat Bugzilla – Bug 497742
snd-usb-audio: doesn't clear out hw playback buffer when opening PCM stream
Last modified: 2010-06-28 08:13:35 EDT
Description of problem:
whenever I restart pulseaudio while the USB headset is connected
(ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350)
or whenever I am plugging the headset in an irritating distorted sound is audible
for about 0.25 .. 0.5 seconds.
Happens in KDE and also in Gnome.
ID 0ccd:0028 TerraTec Electronic GmbH Aureon 5.1 MkII USB sound device is
doing the same, at least when it is configured for analog stereo in and out
The volume may be quite high and the (varying) pitch is in the kilohertz range.
(...difficult to describe :-). It does not sound like /dev/urandom however.
happens almost always. just do: pulseaudio -k; sleep 1;pulseaudio -D
Hmm, smells like driver issue.
I have the same soundcard lying around here. Will try to reproduce.
I wonder ig this actually might be related to bug 497744.
In my case it seems to work normally after the initial glitch.
another logitech headset outputs the same glitch (i think its a 250,
the usb chips may be almost the same however...) so I have now
3 kinds of usb audio which all produces this sound. if you want to hear it
i can make a recording with a microphone :)
Yesterday evening it did even better :-(
1. I started aplay some.wav using onboard Intel ICH8 sound system.
2. put on my USB headset
3. started pavucontrol with the intent to move the aplay output
to the headset.
Result: a _very_ loud random noise for more than one second in the
headset. I have never been that fast to pull it from my head before.
( the noise 'color' was close to white as far as I can tell )
After that all worked normally.
If this would have happened to my stereo connected to the Aureon 5.1 MkII USB
i am not sure if the tweeters would have survived the high frequency energy ..
This is fixed since quite a while in PA git. The patch is very intrusive though, so I don't want to push this into F11 right now, and risk breakage causing further delay of the release.
I will shortly push this into updates-testing however so that folks can test it and it can enter F11 after the release.
The bug is actually a driver bug, but also a case that should probably be fixed in PA anyway.
*** Bug 503374 has been marked as a duplicate of this bug. ***
pulseaudio-0.9.15-13.fc11 has been submitted as an update for Fedora 11.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
pulseaudio-0.9.15-14.fc11 has been submitted as an update for Fedora 11.
pulseaudio-0.9.15-14.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update pulseaudio'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6410
I no longer hear this strange sound when I plug in my USB headset. Suggest you try the updates-testing packages from above.
I still here some irritating sound when I plug usb soundcard in (terratec aureon mkII), using:
$ rpm -qa | grep pulse | sort
well... I don't here this irritating sound, when using only front left+right, but when I use all 5.1 channels, it's still there
I'm still getting it upon login (iMic, originally reported on bug 503374).
(In reply to comment #13)
> well... I don't here this irritating sound, when using only front left+right,
> but when I use all 5.1 channels, it's still there
taking back. I've rewired my sound box yesterday and I was checking stereo with wrong switch. I can still here that sound
Problem still present (tried with USB headphone, will try with my Aureon 5.1 MkII when I get it back).
happens when restarting pulseaudio or after connecting headset.
Sorry Lennart... :-)
PS: could you pls drop a few lines about the bug details?
*** Bug 506484 has been marked as a duplicate of this bug. ***
Ok, this is not a PA bug then (wasn't in the first place anyway. My fix simply changed a bit the init logic of the ALSA logic and I assumed this would fix that).
The problem seems to be that snd-usb-audio does not properly clear out the playback buffer during playback startup, regardless how snd_pcm_sw_params_set_silence_threshold() is set. This only becomes noticable in PA since depending on the latency settings we only use a part of the playback buffer we actually ask for.
I will now reassign this to the kernel/Jaroslav.
pulseaudio-0.9.15-14.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
this bug still exists, it was only auto closed by bodhi, because bug number was specified in pulseaudio's push, but component has been changed since that
Oh yeah! Thanks for fixing this bug, I was very worried that the tweeters were about to blow on my huge-ass speakers, and I've been having to switch the receiver to Tape every time I switched the card on. I have not tried it yet, but it was really concerning in a "shit, this is gonna cost me thousands of dollars" way.
I seem to be getting identical symptoms when starting a VirtualBox guest. Not sure if that's another way to trigger the same problem or something else.
Sorry, I accidentaly closed this.
*** Bug 506402 has been marked as a duplicate of this bug. ***
Don't close this -- I still experience the horrible random noise, but it's a bit shorter now.
I am experiencing the same problem when i plug in my Harman/Kardnon soundsticks
i get the distorted noise even on welcome screen after that its fine. And when i play any mp3 file or ogg the noise comes and goes away after a second but if i try raise the volume the noise comes back and the sound starts stuttering.
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.