|Summary:||snd-usb-audio: doesn't clear out hw playback buffer when opening PCM stream|
|Product:||[Fedora] Fedora||Reporter:||Konrad Karl <kk_konrad>|
|Component:||kernel||Assignee:||Jaroslav Kysela <jkysela>|
|Status:||CLOSED WONTFIX||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||11||CC:||bill-bugzilla.redhat.com, bnocera, erik-fedora, fedora, itamar, john.ellson, kernel-maint, lkundrak, lpoetter, mhlavink, nenad.rasic, philip.frampton, rhughes, robatino, rudd-o, stickster, torsten.rausche, wtogami|
|Fixed In Version:||0.9.15-14.fc11||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2010-06-28 12:13:35 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Konrad Karl 2009-04-26 19:24:13 UTC
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. ..just checked: 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 (in pavucontrol). 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. kernel-184.108.40.206-102.fc11.x86_64 alsa-lib-1.0.19-3.fc11.x86_64 pulseaudio-0.9.15-11.fc11.x86_64 How reproducible: happens almost always. just do: pulseaudio -k; sleep 1;pulseaudio -D Konrad.
Comment 1 Lennart Poettering 2009-04-27 02:03:58 UTC
Hmm, smells like driver issue. I have the same soundcard lying around here. Will try to reproduce.
Comment 2 Lennart Poettering 2009-04-27 02:08:54 UTC
I wonder ig this actually might be related to bug 497744.
Comment 3 Konrad Karl 2009-04-27 16:29:13 UTC
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 :)
Comment 4 Konrad Karl 2009-04-28 08:53:38 UTC
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 ..
Comment 5 Lennart Poettering 2009-05-20 14:23:29 UTC
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.
Comment 6 Lennart Poettering 2009-06-04 18:52:23 UTC
*** Bug 503374 has been marked as a duplicate of this bug. ***
Comment 7 Fedora Update System 2009-06-08 16:54:22 UTC
pulseaudio-0.9.15-13.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/pulseaudio-0.9.15-13.fc11
Comment 8 Bug Zapper 2009-06-09 14:37:01 UTC
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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 9 Fedora Update System 2009-06-09 18:23:58 UTC
pulseaudio-0.9.15-14.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/pulseaudio-0.9.15-14.fc11
Comment 10 Fedora Update System 2009-06-16 02:30:38 UTC
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
Comment 11 Paul W. Frields 2009-06-16 11:28:23 UTC
I no longer hear this strange sound when I plug in my USB headset. Suggest you try the updates-testing packages from above.
Comment 12 Michal Hlavinka 2009-06-17 18:14:16 UTC
I still here some irritating sound when I plug usb soundcard in (terratec aureon mkII), using: $ rpm -qa | grep pulse | sort alsa-plugins-pulseaudio-1.0.18-3.fc11.x86_64 pulseaudio-0.9.15-14.fc11.x86_64 pulseaudio-libs-0.9.15-14.fc11.x86_64 pulseaudio-module-x11-0.9.15-14.fc11.x86_64 pulseaudio-utils-0.9.15-14.fc11.x86_64 xine-lib-pulseaudio-220.127.116.11-2.fc11.x86_64
Comment 13 Michal Hlavinka 2009-06-17 18:17:09 UTC
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
Comment 14 Bill McGonigle 2009-06-17 18:20:17 UTC
I'm still getting it upon login (iMic, originally reported on bug 503374).
Comment 15 Michal Hlavinka 2009-06-17 19:31:12 UTC
(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
Comment 16 Konrad Karl 2009-06-17 21:39:09 UTC
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? pulseaudio-module-bluetooth-0.9.15-14.fc11.x86_64 pulseaudio-module-gconf-0.9.15-14.fc11.x86_64 pulseaudio-libs-glib2-0.9.15-14.fc11.x86_64 pulseaudio-module-x11-0.9.15-14.fc11.x86_64 pulseaudio-0.9.15-14.fc11.x86_64 pulseaudio-libs-0.9.15-14.fc11.x86_64 pulseaudio-utils-0.9.15-14.fc11.x86_64
Comment 17 Bastien Nocera 2009-06-18 09:06:04 UTC
*** Bug 506484 has been marked as a duplicate of this bug. ***
Comment 18 Lennart Poettering 2009-06-18 16:30:16 UTC
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.
Comment 19 Fedora Update System 2009-06-19 13:36:01 UTC
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.
Comment 20 Michal Hlavinka 2009-06-19 13:48:12 UTC
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
Comment 21 Rudd-O DragonFear 2009-06-21 03:21:26 UTC
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.
Comment 22 Bill McGonigle 2009-06-22 14:07:02 UTC
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.
Comment 23 Lennart Poettering 2009-06-25 16:09:33 UTC
Sorry, I accidentaly closed this.
Comment 24 Lennart Poettering 2009-06-25 16:09:49 UTC
*** Bug 506402 has been marked as a duplicate of this bug. ***
Comment 25 Rudd-O DragonFear 2009-06-26 07:21:13 UTC
Don't close this -- I still experience the horrible random noise, but it's a bit shorter now.
Comment 26 Nenad Rasic 2009-07-20 08:36:54 UTC
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.
Comment 27 Bug Zapper 2010-04-27 13:57:03 UTC
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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 28 Bug Zapper 2010-06-28 12:13:35 UTC
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.