Choppy sound on Vaio with powersaved on 9.1
When playing a sound from KDE and/or ALSA, and the powersaved daemon is running, I get choppy sound. If I stop powersaved with "rcpowersaved stop" the sound is normal again. This choppy sound is as the sound does not comes out for some miliseconds various times per second. This choppy effect is regular in time. I have tried to change values from /etc/powersaved.conf with no effect whatsoever, in particular the default value (333ms) sample rate for the daemon. My theory is that powersaved scans /proc some times per second to detect ACPI events. This seems to interrupt the playing of a sound since they both (and others...) share the INT9. -- --------------------------------------------------------------------- Murphy's 5th Law: If anything simply cannot go wrong, it will anyway. ---------------------------------------------------------------------
Diego Camacho wrote:
When playing a sound from KDE and/or ALSA, and the powersaved daemon is running, I get choppy sound. If I stop powersaved with "rcpowersaved stop" the sound is normal again. This choppy sound is as the sound does not comes out for some miliseconds various times per second. This choppy effect is regular in time.
I have tried to change values from /etc/powersaved.conf with no effect whatsoever, in particular the default value (333ms) sample rate for the daemon.
Same with my DELL Inspiron 8200
My theory is that powersaved scans /proc some times per second to detect ACPI events. This seems to interrupt the playing of a sound since they both (and others...) share the INT9. --
Try to unload the speedstep_xy module. On my machine sound works then. mfg kjm
Diego Camacho wrote:
When playing a sound from KDE and/or ALSA, and the powersaved daemon is running, I get choppy sound. If I stop powersaved with "rcpowersaved stop" the sound is normal again. This choppy sound is as the sound does not comes out for some miliseconds various times per second. This choppy effect is regular in time.
OK , I think I solved the problem finally: I installed a DSDT Table for my DELL Inspiron 8200 from http://acpi.sourceforge.net/dsdt/tables following the guidelines in the SUSE-Handbook p. 237 (In German). Now mp3s sound flawlessly via wlan from my server to my laptop. So my advice is to find a suitable DSDT for your laptop and install it. mfg kjm
On Fri, 18 Jun 2004, Diego Camacho wrote: Hi again. I have traced it to cpufreqd daemon. If I put POWERSAVE_CPUFREQD_MODULE="off" on /etc/sysconfig/powersave/common sound is ok again. Time to study cpufreqd... Ciao.
When playing a sound from KDE and/or ALSA, and the powersaved daemon is running, I get choppy sound. If I stop powersaved with "rcpowersaved stop" the sound is normal again. This choppy sound is as the sound does not comes out for some miliseconds various times per second. This choppy effect is regular in time.
I have tried to change values from /etc/powersaved.conf with no effect whatsoever, in particular the default value (333ms) sample rate for the daemon.
My theory is that powersaved scans /proc some times per second to detect ACPI events. This seems to interrupt the playing of a sound since they both (and others...) share the INT9. --
---------------------------------------------------------------------
Murphy's 5th Law: If anything simply cannot go wrong, it will anyway. ---------------------------------------------------------------------
--
On Fri, Jun 18, 2004 at 05:36:59PM +0200, Diego Camacho wrote:
On Fri, 18 Jun 2004, Diego Camacho wrote: Hi again. I have traced it to cpufreqd daemon. If I put POWERSAVE_CPUFREQD_MODULE="off" on /etc/sysconfig/powersave/common
sound is ok again. Time to study cpufreqd...
You don't have cpufreqd running, cpu frequency scaling is part of the functionality of powersaved. You could have achieved the same with "powersave -f" (always run at highest speed) or "powersave -l" (always run with lowest speed). The default (powersave -A) dynamically adjusts cpu speed (if available) to save battery. In some cases this seems to interfere with playing sound. -- Stefan Seyfried
You could have achieved the same with "powersave -f" (always run at highest speed) or "powersave -l" (always run with lowest speed). The default (powersave -A) dynamically adjusts cpu speed (if available) to save battery. In some cases this seems to interfere with playing sound.
I can verify this... When sound is playing, I usually got this choppy sound. When switching to "powersave -f" while sound is playing, the sound is immediatly fine. When I switch back to "powersave -A" the choppy sound is back again.
participants (4)
-
Diego Camacho
-
Kasimir.Mueller@t-online.de
-
Stefan Seyfried
-
yojoe@t-online.de