Bug#687045: pulseaudio: Audio delay and crackling at startup
On 04/24/2014 08:17 AM, Felipe Sateler wrote: Good to know newer versions might be fixed. I'll wait for your report! Well I've thrown everything I've got at it, games, movies, music, etc. for days and haven't heard a single crackle. So it looks like 4.0-6~bpo7+1 fixes the problem for me. -David ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
Copying back the bug log with some side conversations between David and me: David wrote: On 04/22/2014 06:16 PM, Felipe Sateler wrote: On Fri, Apr 18, 2014 at 8:15 PM, David Smith sidic...@gmail.com wrote: On 04/18/2014 06:01 PM, Felipe Sateler wrote: This may be a problem of too high CPU usage. Can you try changing the resample-method key in daemon.pa? I think the 'trivial' resampler should be the less cpu-hungry, so you should probably try that first. That doesn't make any sense though, my laptop is an 8-core laptop that's sitting idle almost all the time when the crackling/popping happens. It *COULD* be something related to the frequency of my CPU changing.. I realized that the new intel power management stuff is clocking my CPU all over the place.. In the old days it would only cycle between 3 or 4 different frequencies and it would be very slow about reclocking.. Now it's almost instantaneous reclocking of the CPU to save power and it's got a lot of different frequencies it can clock to.. If I set my CPU to a fixed frequency, either the lowest or the highest possible frequency the CPU supports, the entire problem disappears. Possibly the cpu frequency changes cause pulseaudio or alsa to loose sync. But I'm not going to run my CPU on a fixed frequency like that because it's always either inconveniently slow or a power hog. So I need to use the configuration change to pulseaudio described above which seems to fix the problem entirely. By the configuration change you mean the one I suggested or the tsched one you suggested earlier in the bug report? tsched=0 And I wrote: On Wed, Apr 23, 2014 at 6:54 PM, David Smith sidic...@gmail.com wrote: On 04/23/2014 04:43 PM, David Smith wrote: The other really weird thing about it.. Whenever I seek in a audio/video file.. It will start crackling for a little bit and then go away.. And it happens everytime I seek no matter where in the file I go. Also if I play an audio file that's 30 mins long, it only crackles for the first 1-10 seconds or so and runs fine after that no matter what other things I do on the PC. -David That's why I thought it had something to do with the CPU clocking. When you seek in an audio/video track, it causes the CPU usage to spike and the CPU gets reclocked. But I've got an 8-core Ivy Bridge CPU here, it's not a problem of the CPU being too slow. When I set my CPU to a single frequency so it's not scaling up and down to save power, then the crackling is almost completely gone.. Not entirely though, but it also slaughters my battery life so it's not worth it at all. So the best solution, by far, is tsched=0 and make sure all my power management is enabled. Hmm, so we should probably document this in the README.Debian too. On Wed, Apr 23, 2014 at 9:51 PM, David Smith sidic...@gmail.com wrote: On 04/23/2014 05:25 PM, Felipe Sateler wrote: Hmm, so we should probably document this in the README.Debian too. Do you mind if forward this discussion back to the log? Well.. I just installed 4.0-6~bpo7+1 of pulseaudio and made sure it overwrote my config files. There's no tsched=0 in there, I did a reboot and I'm not hearing any crackling. I know i've installed the backport of pulseaudio shortly after wheezy came out and it still had crackling.. This must have fixed it within the past year or so. Gonna try a few games and report back in a few days. I knew it was pulseaudio and not the drivers :D. -David -- Saludos, Felipe Sateler ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
On Wed, Apr 23, 2014 at 9:51 PM, David Smith sidic...@gmail.com wrote: On 04/23/2014 05:25 PM, Felipe Sateler wrote: Hmm, so we should probably document this in the README.Debian too. Well.. I just installed 4.0-6~bpo7+1 of pulseaudio and made sure it overwrote my config files. There's no tsched=0 in there, I did a reboot and I'm not hearing any crackling. I know i've installed the backport of pulseaudio shortly after wheezy came out and it still had crackling.. This must have fixed it within the past year or so. Gonna try a few games and report back in a few days. I knew it was pulseaudio and not the drivers :D. Good to know newer versions might be fixed. I'll wait for your report! -- Saludos, Felipe Sateler ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
On Fri, Apr 18, 2014 at 8:00 PM, Felipe Sateler fsate...@debian.org wrote: Hi all, On Sat, Sep 08, 2012 at 08:50:23PM +0200, R33D3M33R wrote: Package: pulseaudio Version: 2.0-6 Severity: normal Dear Maintainers, I installed Wheezy KDE amd64 on several machines: *Sempron 3000+ on GA-M55S-S3 (motherboard output) *Athlon X2 4850e on MSI K9VGM-V with HD4670 (HDMI output from the graphics card) *Turion X2 TL56 (integrated speakers) *Core I3 2120 on ASUS P8H67 (motherboard output) and on startup I'm getting a strange audio delay/crackling. The worst sound delay is on the Sempron, the crackling there is so awful, you have to turn off speakers. On the i3, there is only a slight delay. It looks like this problem is related to the CPU speed and load on startup. If I try to open a folder at startup, the delay gets worse. I had squeeze installed before and it worked with no problems. I'm not sure what data to collect to pinpoint the source of this problem. This may be a problem of too high CPU usage. Can you try changing the resample-method key in daemon.pa? I think the 'trivial' resampler should be the less cpu-hungry, so you should probably try that first. -- Saludos, Felipe Sateler -- Saludos, Felipe Sateler ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
Hello, I'm aware of this fix and I'm using it, but while it fixes some problems, it introduces others. Apps that worked fine without tsched=0, have now massive crackling. I always thought the graphics drivers are the most problematic on Linux, but since I have been hit by this bug, I have changed my mind. Cheers, Andrej Dne 10. 02. 2014 19:07, piše David Smith: I've also had crackling and popping problems with pulseaudio ever since I started using it about a year ago. I've got a regular Intel sound card in an Ivy Bridge laptop. After about a year of ripping my hair out, I finally tracked my problem down. /etc/pulse/default.pa Try setting load-module module-udev-detect tsched=0 Then rebooting. That completely fixed it for me and it's been weeks and I haven't heard a single crackle or pop. I was hoping if you could give it a try and report back to see if that was your problem as well. It looks like this is a very common problem. -David ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
I've also had crackling and popping problems with pulseaudio ever since I started using it about a year ago. I've got a regular Intel sound card in an Ivy Bridge laptop. After about a year of ripping my hair out, I finally tracked my problem down. /etc/pulse/default.pa Try setting load-module module-udev-detect tsched=0 Then rebooting. That completely fixed it for me and it's been weeks and I haven't heard a single crackle or pop. I was hoping if you could give it a try and report back to see if that was your problem as well. It looks like this is a very common problem. -David ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel
Bug#687045: pulseaudio: Audio delay and crackling at startup
Package: pulseaudio Version: 2.0-6 Severity: normal Dear Maintainers, I installed Wheezy KDE amd64 on several machines: *Sempron 3000+ on GA-M55S-S3 (motherboard output) *Athlon X2 4850e on MSI K9VGM-V with HD4670 (HDMI output from the graphics card) *Turion X2 TL56 (integrated speakers) *Core I3 2120 on ASUS P8H67 (motherboard output) and on startup I'm getting a strange audio delay/crackling. The worst sound delay is on the Sempron, the crackling there is so awful, you have to turn off speakers. On the i3, there is only a slight delay. It looks like this problem is related to the CPU speed and load on startup. If I try to open a folder at startup, the delay gets worse. I had squeeze installed before and it worked with no problems. I'm not sure what data to collect to pinpoint the source of this problem. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=sl_SI.UTF-8, LC_CTYPE=sl_SI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pulseaudio depends on: ii adduser 3.113+nmu3 ii consolekit0.4.5-3.1 ii libasound21.0.25-4 ii libasound2-plugins1.0.25-2 ii libc6 2.13-35 ii libcap2 1:2.22-1 ii libdbus-1-3 1.6.0-1 ii libfftw3-33.3.2-3 ii libgcc1 1:4.7.1-2 ii libice6 2:1.0.8-2 ii libltdl7 2.4.2-1.1 ii liborc-0.4-0 1:0.4.16-2 ii libpulse0 2.0-6 ii libsamplerate00.1.8-5 ii libsm62:1.2.1-2 ii libsndfile1 1.0.25-5 ii libspeexdsp1 1.2~rc1-6 ii libstdc++64.7.1-2 ii libsystemd-daemon044-4 ii libsystemd-login0 44-4 ii libtdb1 1.2.10-2 ii libudev0 175-3.1 ii libwebrtc-audio-processing-0 0.1-2 ii libx11-6 2:1.5.0-1 ii libx11-xcb1 2:1.5.0-1 ii libxcb1 1.8.1-1 ii libxtst6 2:1.2.1-1 ii lsb-base 4.1+Debian7 ii udev 175-3.1 Versions of packages pulseaudio recommends: ii gstreamer0.10-pulseaudio 0.10.31-3 ii pulseaudio-module-x11 2.0-6 ii rtkit 0.10-2 Versions of packages pulseaudio suggests: pn paman none pn paprefs none ii pavucontrol 1.0-1 pn pavumeter none ii pulseaudio-utils 2.0-6 -- no debconf information ___ pkg-pulseaudio-devel mailing list pkg-pulseaudio-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel