You are not logged in.

#1 2012-08-28 00:00:16

ciembor
Member
Registered: 2008-03-30
Posts: 57

Glitches and noises in PulseAudio (ALSA?)

Hi. Since last month I have some strange issues with sound. It affect flash in chrome (not in firefox), notification sound in skype, somtimes it shows up in a game in wine... it doesn't affect mplayer if other applications are turned off. I'm not sure how it bagun. It was after installing espeak and skype. I tried these fixes:

https://wiki.archlinux.org/index.php/Pu … _crackling
https://wiki.archlinux.org/index.php/Pu … oppy_sound

But they didn't helped. Even more, movies on youtube were played too fast for first couple of seconds. Did anyone have similar problem? I may publish some records if it's necessary. Most of the time I hear short gliches, sometimes loud white/pink noise, shorter than one second.

//edit

Here is my ps aux:

ciembor@peace ~> ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   4200   600 ?        Ss   sie27   0:00 init [3]  
root         2  0.0  0.0      0     0 ?        S    sie27   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    sie27   0:07 [ksoftirqd/0]
root         6  0.0  0.0      0     0 ?        S    sie27   0:00 [migration/0]
root         7  0.0  0.0      0     0 ?        S    sie27   0:00 [watchdog/0]
root         8  0.0  0.0      0     0 ?        S    sie27   0:00 [migration/1]
root        10  0.0  0.0      0     0 ?        S    sie27   0:09 [ksoftirqd/1]
root        12  0.0  0.0      0     0 ?        S    sie27   0:00 [watchdog/1]
root        13  0.0  0.0      0     0 ?        S<   sie27   0:00 [cpuset]
root        14  0.0  0.0      0     0 ?        S<   sie27   0:00 [khelper]
root        15  0.0  0.0      0     0 ?        S    sie27   0:00 [kdevtmpfs]
root        16  0.0  0.0      0     0 ?        S<   sie27   0:00 [netns]
root        17  0.0  0.0      0     0 ?        S    sie27   0:00 [sync_supers]
root        18  0.0  0.0      0     0 ?        S    sie27   0:00 [bdi-default]
root        19  0.0  0.0      0     0 ?        S<   sie27   0:00 [kblockd]
root        46  0.0  0.0      0     0 ?        S    sie27   0:00 [khungtaskd]
root        47  0.0  0.0      0     0 ?        S    sie27   0:00 [kswapd0]
root        48  0.0  0.0      0     0 ?        SN   sie27   0:00 [ksmd]
root        49  0.0  0.0      0     0 ?        SN   sie27   0:32 [khugepaged]
root        50  0.0  0.0      0     0 ?        S    sie27   0:00 [fsnotify_mark]
root        51  0.0  0.0      0     0 ?        S<   sie27   0:00 [crypto]
root        54  0.0  0.0      0     0 ?        S<   sie27   0:00 [kthrotld]
root        63  0.0  0.0      0     0 ?        S<   sie27   0:00 [deferwq]
root        84  0.0  0.0      0     0 ?        S<   sie27   0:00 [ata_sff]
root        86  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_0]
root        87  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_1]
root        91  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_2]
root        92  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_3]
root        93  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_4]
root        94  0.0  0.0      0     0 ?        S    sie27   0:00 [scsi_eh_5]
root        96  0.0  0.0      0     0 ?        S    sie27   0:00 [kworker/u:5]
root        98  0.0  0.0      0     0 ?        S    sie27   0:00 [kworker/u:6]
root       133  0.0  0.0      0     0 ?        S    sie27   0:01 [jbd2/sda2-8]
root       134  0.0  0.0      0     0 ?        S<   sie27   0:00 [ext4-dio-unwrit]
root       177  0.0  0.0  25908  1484 ?        Ss   sie27   0:00 /usr/lib/systemd/systemd-udevd --daemon
root       230  0.0  0.0      0     0 ?        S    sie27   0:00 [khubd]
root       234  0.0  0.0      0     0 ?        S<   sie27   0:00 [edac-poller]
root       235  0.0  0.0      0     0 ?        S<   sie27   0:00 [kpsmoused]
root       238  0.0  0.0      0     0 ?        S    sie27   0:07 [kworker/0:2]
root       306  0.0  0.0      0     0 ?        S    sie27   0:04 [jbd2/sda6-8]
root       307  0.0  0.0      0     0 ?        S<   sie27   0:00 [ext4-dio-unwrit]
root       381  0.0  0.0  30992   456 ?        S    sie27   0:00 supervising syslog-ng
root       382  0.0  0.0  63048  3304 ?        Ss   sie27   0:00 /usr/sbin/syslog-ng
root       437  0.0  0.0   6292   668 ?        Ss   sie27   0:00 /usr/sbin/crond -S -l info
dbus       486  0.0  0.0  17636  1412 ?        Ss   sie27   0:00 dbus-daemon --system
named      517  0.0  0.1  66976  7144 ?        Ss   sie27   0:00 /usr/sbin/named -u named
root       547  0.0  0.0  41992  1252 ?        Ss   sie27   0:00 /usr/sbin/sshd
root       587  0.0  0.2 219992  9252 ?        Ss   sie27   0:01 /usr/sbin/httpd -k start
boinc      636  0.1  0.1  58332  5172 ?        SNs  sie27   0:47 /usr/bin/boinc_client --daemon --dir /var/lib/boinc --redirectio
root       668  0.0  0.0  53972  1404 ?        Ssl  sie27   0:00 /usr/bin/synergys --config /etc/synergy.conf
http       697  0.0  0.1 214484  4180 ?        S    sie27   0:00 /usr/sbin/httpd -k start
root       702  0.0  0.0  26756   732 ?        Ss   sie27   0:00 /usr/bin/kdm
root       706  2.2  3.4 234392 138672 tty7    Rs+  sie27  14:39 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-6DgfMb
root       712  0.0  0.0 148488  1700 ?        Sl   sie27   0:00 /usr/lib/ruby/gems/1.9.1/gems/passenger-2.2.11/ext/apache2/ApplicationPoolServerExecutable 0 
root       713  0.0  0.1 177372  7476 ?        Sl   sie27   0:00 Passenger spawn server                                                                       
http       722  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
http       723  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
http       724  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
http       725  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
http       726  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
root       845  0.0  0.0      0     0 ?        S    sie27   0:01 [flush-8:0]
root       899  0.0  0.0  52280  2080 ?        S    sie27   0:00 -:0         
root      1163  0.0  0.0   6764   788 tty1     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty1 linux
root      1164  0.0  0.0   6764   784 tty2     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty2 linux
root      1165  0.0  0.0   6764   784 tty3     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty3 linux
root      1166  0.0  0.0   6764   788 tty4     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty4 linux
root      1167  0.0  0.0   6764   788 tty5     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty5 linux
root      1168  0.0  0.0   6764   784 tty6     Ss+  sie27   0:00 /sbin/agetty -8 38400 tty6 linux
root      2272  0.0  0.1 1042900 5652 ?        Sl   sie27   0:00 /usr/sbin/console-kit-daemon --no-daemon
root      2341  0.0  0.1 189420  4264 ?        Sl   sie27   0:00 /usr/lib/polkit-1/polkitd --no-debug
ciembor   2355  0.0  0.0  12804   708 ?        Ss   sie27   0:00 ck-launch-session fusion-icon
ciembor   2374  0.0  0.0  17968   548 ?        S    sie27   0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
ciembor   2376  0.0  0.0  18220  1664 ?        Ss   sie27   0:01 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
ciembor   2384  0.4  0.1 360144  7648 ?        S<l  sie27   2:41 /usr/bin/pulseaudio --start
rtkit     2386  0.0  0.0 164488  1164 ?        SNl  sie27   0:00 /usr/lib/rtkit/rtkit-daemon
ciembor   2419  0.0  0.0  68992  2352 ?        S    sie27   0:00 /usr/lib/pulse/gconf-helper
ciembor   2421  0.0  0.1  46084  4436 ?        S    sie27   0:00 /usr/lib/GConf/gconfd-2
ciembor   2433  0.0  0.2 129108  8116 ?        S    sie27   0:20 tint2
ciembor   2434  0.0  0.0      0     0 ?        Z    sie27   0:01 [pidgin] <defunct>
ciembor   2435  0.1  0.0      0     0 ?        Z    sie27   0:55 [skype] <defunct>
ciembor   2436  0.0  0.0      0     0 ?        Z    sie27   0:00 [setxkbmap] <defunct>
ciembor   2437  0.0  0.0      0     0 ?        Z    sie27   0:00 [synergys] <defunct>
ciembor   2438  0.0  0.0  12456  1796 ?        S    sie27   0:05 /bin/bash /home/ciembor/.scripts/temperature.sh
ciembor   2442  0.2  0.0 126164  2584 ?        Ssl  sie27   1:45 synergys
ciembor   2451  0.0  0.7 439568 28604 ?        Sl   sie27   0:00 /usr/bin/python2 /usr/bin/fusion-icon
ciembor   2589  0.0  0.0  41788  2492 ?        S    sie27   0:00 /usr/lib/gvfs/gvfsd
ciembor   2592  0.0  0.0 269080  2684 ?        Sl   sie27   0:00 /usr/lib/gvfs//gvfs-fuse-daemon -f /home/ciembor/.gvfs
ciembor   2661  1.5  1.1 235632 47720 ?        S    sie27   9:59 compiz --replace --sm-disable --ignore-desktop-hints ccp
ciembor   2874  0.0  0.2 148928 12128 ?        Ss   sie27   0:13 emerald --replace
guest     4471  0.0  0.0   2464   856 ?        Ss   sie27   0:00 sshd
ciembor   4559  0.0  0.0 265532  3272 ?        Sl   sie27   0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
ciembor   4938  0.0  0.0  12568  1988 ?        S    sie27   0:00 /bin/sh /usr/bin/xdg-open /home/ciembor/Downloads/[isoHunt] C970C05A50C7BAE5B61FFD7F333746C18
ciembor   5071  4.7  1.9 1270236 79124 ?       Sl   sie27  30:54 /usr/bin/python2 /usr/bin/deluge-gtk /home/ciembor/Downloads/[isoHunt] C970C05A50C7BAE5B61FFD
ciembor   5075  0.0  0.1 124700  4696 ?        Sl   sie27   0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
root      5078  0.0  0.1 339056  4564 ?        Sl   sie27   0:20 /usr/lib/udisks2/udisksd --no-debug
http      5098  0.0  0.1 220264  6984 ?        S    sie27   0:00 /usr/sbin/httpd -k start
ciembor   5577  0.0  0.0  12328  1608 ?        S    sie27   0:00 /bin/bash /usr/bin/aptana
ciembor   5578  0.0  0.0   9952   896 ?        S    sie27   0:00 /usr/share/aptana/AptanaStudio3
ciembor   5591  1.5  9.6 3575832 391424 ?      Sl   sie27   9:41 /usr/bin/java -Xms40m -Xmx512m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000
ciembor   5923  0.0  0.0  46488  3272 ?        S    sie27   0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.5 /org/gtk/gvfs/exec_spaw/0
ciembor   5925  0.0  0.0 255876  2884 ?        Sl   sie27   0:00 /usr/lib/dconf/dconf-service
ciembor   5932  0.0  0.0  41792  2616 ?        S    sie27   0:00 /usr/lib/gvfs/gvfsd-burn --spawner :1.5 /org/gtk/gvfs/exec_spaw/1
ciembor   5965  0.0  0.7 524592 31852 ?        Ssl  sie27   0:02 qnapi
ciembor   8221  4.8  5.7 859704 234536 ?       Sl   sie27  27:49 /opt/google/chrome/chrome       
ciembor   8226  0.0  0.1 253704  7524 ?        S    sie27   0:23 /opt/google/chrome/chrome       
ciembor   8228  0.0  0.0   6344   276 ?        S    sie27   0:00 /opt/google/chrome/chrome-sandbox /opt/google/chrome/chrome --type=zygote
ciembor   8231  0.0  0.5 315672 20688 ?        S    sie27   0:00 /opt/google/chrome/chrome --type=zygote
ciembor   8234  0.0  0.0 126968  3880 ?        S    sie27   0:00 /opt/google/chrome/nacl_helper_bootstrap /opt/google/chrome/nacl_helper --at-zero --r_debug=0
ciembor   8307  0.5  1.7 920660 69968 ?        Sl   sie27   3:11 /opt/google/chrome/chrome --type=renderer --lang=pl --force-fieldtrials=ConnCountImpact/conn_
ciembor   8400  0.4  2.5 433136 104368 ?       Sl   sie27   2:45 /opt/google/chrome/chrome --type=gpu-process --channel=8221.14.328087114 --ignored= --type=re
ciembor   8418  1.6  0.8 1400608 32900 ?       Sl   sie27   9:42 /opt/google/chrome/chrome --type=ppapi --channel=8221.16.1118359938
ciembor  10402  0.1  0.9 715084 40184 ?        Ssl  sie27   0:57 pidgin
ciembor  10687  0.0  0.4 442356 19400 ?        Ssl  sie27   0:03 terminal
ciembor  10688  0.0  0.0   8340   696 ?        S    sie27   0:00 gnome-pty-helper
ciembor  10693  0.0  0.0  14840   940 ?        Ss   sie27   0:00 fishd
ciembor  11431  1.3  3.0 977888 123256 ?       Sl   sie27   6:47 /opt/google/chrome/chrome --type=renderer --lang=pl --force-fieldtrials=ConnCountImpact/conn_
root     19054  0.0  0.0      0     0 ?        S    sie27   0:12 [kworker/0:1]
ciembor  26993  1.8  5.1 1080624 208036 ?      SNl  sie27   2:26 /opt/google/chrome/chrome --type=renderer --lang=pl --force-fieldtrials=ConnCountImpact/conn_
root     31095  0.0  0.0      0     0 ?        S    01:45   0:00 [kworker/1:1]
root     31670  0.0  0.0      0     0 ?        S    01:57   0:00 [kworker/1:2]
ciembor  32168  0.2  0.0 168364  3224 pts/2    Ss   02:08   0:00 fish
ciembor  32290  0.0  0.0   4652   352 ?        S    02:09   0:00 sleep 10
ciembor  32299  0.0  0.0   9676  1276 pts/2    R+   02:10   0:00 ps aux

Here is lsmod:

ciembor@peace ~> lsmod
Module                  Size  Used by
snd_usb_audio          93519  2 
snd_usbmidi_lib        18744  1 snd_usb_audio
hwmon_vid               3196  0 
lp                      9314  0 
fuse                   68768  2 
snd_hda_intel          24053  0 
snd_hda_codec          94305  1 snd_hda_intel
snd_seq_dummy           1463  0 
snd_seq_oss            28696  0 
snd_seq_midi_event      5692  1 snd_seq_oss
snd_seq                50881  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            38896  0 
snd_mixer_oss          15283  1 snd_pcm_oss
slhc                    5226  0 
nvidia              11180125  62 
ppdev                   5902  0 
snd_emu10k1           137400  0 
serio_raw               4653  0 
snd_util_mem            2360  1 snd_emu10k1
edac_mce_amd           12469  0 
powernow_k8            13360  1 
psmouse                70792  0 
edac_core              36656  0 
snd_ac97_codec        113300  1 snd_emu10k1
pcspkr                  1899  0 
mperf                   1299  1 powernow_k8
k8temp                  3403  0 
evdev                   9754  4 
snd_hwdep               6300  3 snd_usb_audio,snd_hda_codec,snd_emu10k1
snd_rawmidi            18479  2 snd_usbmidi_lib,snd_emu10k1
snd_seq_device          5300  5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
snd_pcm                74958  6 snd_pcm_oss,snd_usb_audio,snd_ac97_codec,snd_hda_codec,snd_hda_intel,snd_emu10k1
snd_page_alloc          7217  3 snd_pcm,snd_hda_intel,snd_emu10k1
snd_timer              18966  3 snd_pcm,snd_seq,snd_emu10k1
snd                    58997  19 snd_pcm_oss,snd_usb_audio,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss
soundcore               5410  1 snd
ac97_bus                1238  1 snd_ac97_codec
emu10k1_gp              1918  0 
gameport                7727  2 emu10k1_gp
floppy                 58615  0 
ohci_hcd               21752  0 
parport_pc             30797  1 
parport                31395  3 lp,ppdev,parport_pc
ehci_hcd               41026  0 
asus_atk0110            9824  0 
usbcore               147565  5 snd_usb_audio,ohci_hcd,snd_usbmidi_lib,ehci_hcd
i2c_nforce2             5064  0 
wmi                     8475  0 
i2c_core               20369  2 nvidia,i2c_nforce2
usb_common               954  1 usbcore
button                  4502  0 
processor              26567  1 powernow_k8
forcedeth              56097  0 
ext4                  424871  2 
crc16                   1359  1 ext4
jbd2                   73919  1 ext4
mbcache                 5977  1 ext4
pata_acpi               3408  0 
ata_generic             3295  0 
ahci                   20549  3 
libahci                20023  1 ahci
pata_amd               11427  0 
libata                167611  5 ahci,pata_acpi,libahci,pata_amd,ata_generic
sr_mod                 14823  0 
cdrom                  35648  1 sr_mod
sd_mod                 29239  4 
sg                     25344  0 
scsi_mod              132736  4 sg,libata,sd_mod,sr_mod

My sound card is USB M-Audio FastTrack. The second one (not used) is Sound Blaster.

Last edited by ciembor (2012-08-28 00:16:47)

Offline

#2 2012-08-28 01:08:04

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: Glitches and noises in PulseAudio (ALSA?)

It looks it was something with espeak, because after update everything is fine.

// UPDATE

No, it's still wrong... but it doesn't occure always. I can't record it. When I turn on recording in Audacity it is interfering, sound looks to have lower frequency, it's a noise very often...

Last edited by ciembor (2012-08-28 01:51:22)

Offline

#3 2012-08-28 09:19:04

acasnaovas
Member
Registered: 2011-11-10
Posts: 11

Re: Glitches and noises in PulseAudio (ALSA?)

Try to do that:

echo 0 > /sys/module/snd_hda_intel/parameters/power_save

It works for me.

Offline

#4 2012-08-28 17:51:07

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: Glitches and noises in PulseAudio (ALSA?)

Still the same...

Offline

#5 2012-08-28 19:54:58

acasnaovas
Member
Registered: 2011-11-10
Posts: 11

Re: Glitches and noises in PulseAudio (ALSA?)

Well, If it's an USB sound card the rute must be diferent, try with /sys/module/snd_usb_audio/parameters/power_save.

Last edited by acasnaovas (2012-08-28 19:55:37)

Offline

#6 2012-08-31 17:49:35

ciembor
Member
Registered: 2008-03-30
Posts: 57

Re: Glitches and noises in PulseAudio (ALSA?)

There is no file like this.

Offline

Board footer

Powered by FluxBB