You are not logged in.

#1 2012-03-21 19:04:58

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Crackling sound when press volume up/down

After recent upgrade of udev (181-5), i think, i have this strange problem. Whenever i press volume up/down i get this crackling sound. I have enabled tsched=0. If i comment "load-module module-suspend-on-idle" in /etc/pulse/default.pa the problem goes away but then sound card doesn't go in suspend mode, ergo power saving is limited (i have laptop). I have KDE, kmix.

I have also noticed that every time i started new application the volume changed. I fixed the problem according to wiki - uncommenting flat-volumes = no.

If i open pavucontrol the problem goes away, but when i close it and issue "pulseaudio -k" the problem reappears.

lspci | grep Audio:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)

/var/log/errors.log:

Mar 21 19:33:51 localhost kernel: [ 4261.809210] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-. instead
Mar 21 19:33:51 localhost kernel: [ 4261.811376] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated).  Use CAP_NET_ADMIN and alias netdev-.. instead
Mar 21 19:40:37 localhost pulseaudio[8300]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
Mar 21 19:40:37 localhost pulseaudio[8300]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
Mar 21 19:40:37 localhost pulseaudio[8300]: [pulseaudio] main.c: Module load failed.
Mar 21 19:40:37 localhost pulseaudio[8305]: [pulseaudio] pid.c: Daemon already running.
Mar 21 19:41:39 localhost pulseaudio[8419]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
Mar 21 19:41:39 localhost pulseaudio[8419]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
Mar 21 19:41:39 localhost pulseaudio[8419]: [pulseaudio] main.c: Module load failed.
Mar 21 19:41:39 localhost pulseaudio[8424]: [pulseaudio] pid.c: Daemon already running.
Mar 21 19:45:57 localhost pulseaudio[8716]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
Mar 21 19:45:57 localhost pulseaudio[8716]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
Mar 21 19:45:57 localhost pulseaudio[8716]: [pulseaudio] main.c: Module load failed.
Mar 21 19:45:57 localhost pulseaudio[8721]: [pulseaudio] pid.c: Daemon already running.
Mar 21 19:47:11 localhost anacron[5386]: Can't find sendmail at /usr/sbin/sendmail, not mailing output
Mar 21 19:49:50 localhost pulseaudio[8716]: [alsa-sink] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Mar 21 19:49:50 localhost pulseaudio[8716]: [alsa-sink] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Mar 21 19:49:50 localhost pulseaudio[8716]: [alsa-sink] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Mar 21 19:50:25 localhost pulseaudio[12161]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
Mar 21 19:50:25 localhost pulseaudio[12161]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
Mar 21 19:50:25 localhost pulseaudio[12161]: [pulseaudio] main.c: Module load failed.
Mar 21 19:50:25 localhost pulseaudio[12170]: [pulseaudio] pid.c: Daemon already running.
Mar 21 19:50:25 localhost pulseaudio[12172]: [pulseaudio] pid.c: Daemon already running.
Mar 21 19:50:29 localhost pulseaudio[12161]: [alsa-sink] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Mar 21 19:50:29 localhost pulseaudio[12161]: [alsa-sink] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Mar 21 19:50:29 localhost pulseaudio[12161]: [alsa-sink] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Mar 21 19:51:31 localhost pulseaudio[12161]: [alsa-source] alsa-source.c: ALSA woke us up to read new data from the device, but there was actually nothing to read!
Mar 21 19:51:31 localhost pulseaudio[12161]: [alsa-source] alsa-source.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
Mar 21 19:51:31 localhost pulseaudio[12161]: [alsa-source] alsa-source.c: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Last edited by Shark (2012-03-21 19:11:05)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#2 2012-03-22 05:55:01

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Crackling sound when press volume up/down

I 'm not an expert, but why do you think this pulseaudio error is related to udev?

If udev is the issue, you can try downgrading it.

Offline

#3 2012-03-22 08:19:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Crackling sound when press volume up/down

Ok, udev is not the problem here. I downgraded it and the problem still exist. I downgraded xf86-videovdev also and the problem persist.
This were the latest updates:

[2012-03-17 14:08] starting full system upgrade
[2012-03-17 14:08] upgraded gnutls (3.0.15-1 -> 3.0.17-1)
[2012-03-17 19:54] Running 'pacman -Syu'
[2012-03-17 19:54] synchronizing package lists
[2012-03-17 19:54] starting full system upgrade
[2012-03-17 19:55] upgraded ffmpeg (20120127-3 -> 20120317-1)
[2012-03-17 19:55] upgraded wine_gecko (1.4-1 -> 1.5-1)
[2012-03-18 09:29] Running 'pacman -Syu'
[2012-03-18 09:29] synchronizing package lists
[2012-03-18 09:29] starting full system upgrade
[2012-03-18 09:29] upgraded perl-html-parser (3.68-2 -> 3.69-1)
[2012-03-18 09:29] upgraded python-distribute (0.6.24-1 -> 0.6.25-1)
[2012-03-18 10:43] Running 'pacman -Syu'
[2012-03-18 10:43] synchronizing package lists
[2012-03-18 10:44] starting full system upgrade
[2012-03-18 10:44] upgraded xf86-input-evdev (2.7.0-1 -> 2.7.0-2)
warning: /etc/bash.bashrc installed as /etc/bash.bashrc.pacnew
[2012-03-21 09:03] upgraded bash (4.2.024-1 -> 4.2.024-2)
[2012-03-21 09:04] upgraded bash-completion (1.3-3 -> 1.99-1)
[2012-03-21 09:04] upgraded device-mapper (2.02.90-1 -> 2.02.95-1)
[2012-03-21 09:04] upgraded iproute2 (3.2.0-2 -> 3.2.0-3)
[2012-03-21 09:04] upgraded libdrm (2.4.31-1 -> 2.4.32-1)
[2012-03-21 09:04] upgraded libtasn1 (2.9-2 -> 2.12-1)
[2012-03-21 09:04] upgraded lvm2 (2.02.90-1 -> 2.02.95-1)
[2012-03-21 09:04] upgraded neon (0.29.6-3 -> 0.29.6-4)
[2012-03-21 09:04] upgraded openssl (1.0.0.h-1 -> 1.0.1-1)
[2012-03-21 09:04] upgraded openssh (5.9p1-5 -> 5.9p1-8)
[2012-03-21 09:04] upgraded psmisc (22.15-1 -> 22.16-1)
[2012-03-21 09:04] upgraded python-sgmllib (5.1-3 -> 5.1.1-1)
[2012-03-21 09:04] upgraded python-feedparser (5.1-3 -> 5.1.1-1)

This problem occurs only when the laptop is on BATTERY.

Last edited by Shark (2012-03-22 11:34:18)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB