You are not logged in.
Pages: 1
Hi,
recently I bought a Thinkpad T450s and installed Arch with LightDM and linux advanced power management (tlp). But every time I log in there is a cracking/poping/scratching sound.
I searched a lot to get rid of this problem..
So i tried to disable the powersaving features for the sound card, because I installed tlp. I did it in the file /etc/modprobe.d/alsa-base.conf with
options snd-hda-intel power_save=0 power_save_controller=Y
But with no success..
Or is it possible that the HDMI part of my soundcard causes problems? My /proc/asound/cards told me, that this is activated:
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xe1230000 irq 50
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xe1234000 irq 48
Additionally I tried to set the power options via:
echo N | sudo tee /sys/module/snd_hda_intel/parameters/power_save_controller
echo 0 | sudo tee /sys/module/snd_hda_intel/parameters/power_save
But with no success..
Here some system information:
uname -r
cat /proc/asound/cards
aplay -l
aplay /usr/share/sounds/alsa/Noise.wav
lspci -nnk | grep -iA2 audio
ps -C esd
ps -C arts
ps -C pulseaudio
grep "^audio" /etc/group | grep "$USER" | wc -l
lsmod | grep "snd"
head -n 3 /proc/asound/card0/codec#0
head -n 3 /proc/asound/card0/codec97#0/ac97#0-0
head -n 3 /proc/asound/card0/codec97#0/ac97#0-0+regs
cat ~/.asoundrc
cat ~/.asoundrc.asoundconf
cat /etc/asound.conf
Output:
4.1.6-1-ARCH
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xe1230000 irq 50
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xe1234000 irq 48
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Lenovo Device [17aa:5034]
Kernel driver in use: snd_hda_intel
--
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
Subsystem: Lenovo Device [17aa:5036]
Kernel driver in use: snd_hda_intel
PID TTY TIME CMD
PID TTY TIME CMD
PID TTY TIME CMD
746 ? 00:00:00 pulseaudio
0
snd_hda_codec_hdmi 53248 1
snd_hda_codec_realtek 77824 1
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
snd_hda_intel 28672 8
snd_hda_controller 28672 1 snd_hda_intel
snd_hda_codec 98304 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hda_core 28672 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_controller
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 90112 5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer 28672 1 snd_pcm
snd 69632 24 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
soundcore 16384 1 snd
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}ctl.!default {
type pulse
fallback "sysdefault"
}
I hope someone is able to help..
UPDATE:
The cracking sound seems to occur when the soundcard is activated. Currently I hear it when I login or when I start a sound source during I'm in battery-mode.
Last edited by fynex (2015-09-30 20:10:26)
Offline
Hi,
Just for say I have the same problem (I use fedora 22).
I use pulseaudio too and powersave settings.
Offline
Same problem, tried a lot of ways (modifying laptop mode tools config) to stop (static) noise in my headphones but without success. (I use t450s with a dock.)
Last edited by kaptoxic (2015-09-29 06:30:02)
Offline
The cracking sound seems to occur when the soundcard is activated. Currently I hear it when I login or when I start a sound source during I'm in battery-mode.
Kernel 4.1.x does not seem to have this problem, at least for me.
As you mentioned the sound accours every time on my mashine (W450) when the sound controller is getting turned on.
You can search for the following lines in the /etc/default/tlp and change it like this:
# Enable audio power saving for Intel HDA, AC97 devices (timeout in secs).
# A value of 0 disables, >=1 enables power save.
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=0
# Disable controller too (HDA only): Y/N
SOUND_POWER_SAVE_CONTROLLER=N
the sound controller sould not go into standby anymore but since the new Kernel 4.2 I can't get rid of the log-in crack sound.
Last edited by hyphone (2015-10-07 18:43:24)
Offline
I had the same problem on my T440s. A loud and unpleasant cracking sound happend when I logged in. It was definitely caused by Pulseaudio. After disabling Pulseaudio it was gone. My desktop environment doesn't need it anyways (I'm using i3), so good old ALSA is enough for me.
Try to disable Pulseaudio just to see if it is causing your problem as well as it did for me. If it does, you have at least a starting point for further debugging.
QUxMIFlPVVIgQkFTRTY0IEFSRSBCRUxPTkcgVE8gVVMK
Offline
Thanks for your replys.
@hyphone: thanks for the hint. This avoids the cracking in battery mode. But the sound is still presend when i log in.
@mbklr: You are right, it seems to be pulseaudio. When it's disabled, there is no cracking sound on login. I also use i3. Did you just uninstall pulseaudio?
So I have to take a deeper look into pulseaudio or switch to alsa.
Offline
Uninstalling PulseAudio wasn't that simple as far as remember. Other packages depended on PA so I decided not to uninstall but to disable it. Simplest solution was to add "autospawn=no" to /etc/pulse/client.conf.
Hope this works for you as well.
QUxMIFlPVVIgQkFTRTY0IEFSRSBCRUxPTkcgVE8gVVMK
Offline
Yes, it worked!
Thank you very much mbklr.
Offline
Some time ago I had similar problems, sound would crackle at the beginning of movies and songs and sometimes after skipping. Fiddling with the config helped, changing tsched and/or fragment number/buffer size. Have a look at the wiki if you want PulseAudio in the future:
https://wiki.archlinux.org/index.php/Pu … io_quality
Offline
Pages: 1