You are not logged in.

#1 2024-01-07 21:53:18

kecef
Member
Registered: 2014-06-05
Posts: 7

Loud POP sound on bootup

I have an irritating POP sound at bootup for at least 2 months or since I've installed Arch.
It is worse now, because that sound blew up subwoofer in my laptop and it is killing my ears.
It happens before login screen, probably when kernel loads sound card modules.

I've blacklisted
pcspkr and snd_pcsp - it hasn't resolved it
snd_hda_intel - there is no POP on bootup, but there's no sound at all either.

I wanted to check if it will POP after logging to GNOME and running

# modprobe snd_hda_intel      
modprobe: ERROR: could not insert 'snd_hda_intel': Operation not permitted

but above error is keeping me from testing it.

I'm using Arch install with GNOME on Wayland, so sound is using PulseAudio.

lspci:

$ lspci | grep -i "audio"
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)

Could somebody please help me solve it?

Last edited by kecef (2024-01-07 21:58:01)

Offline

#2 2024-01-07 23:38:21

jonno2002
Member
Registered: 2016-11-21
Posts: 855

Re: Loud POP sound on bootup

my media pc is an hp elitedesk which has this same problem, i fixed it by the following:

/etc/systemd/system/alsa-restore.service

#
# Note that two different ALSA card state management schemes exist and they
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
#

[Unit]
Description=Save/Restore Sound Card State
ConditionPathExists=!/etc/alsa/state-daemon.conf
ConditionPathExistsGlob=/dev/snd/control*

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=-/usr/bin/alsactl restore
ExecStart=-/usr/bin/amixer set Master unmute > /dev/null
ExecStop=-/usr/bin/alsactl store
ExecStop=-/usr/bin/amixer set Master mute > /dev/null
ExecStop=-/usr/bin/modprobe -r snd_hda_intel                                                                                                                                            

/etc/modprobe.d/soundfix.conf

options snd_hda_intel power_save=0 power_save_controller=N

then you just add this to your xinitrc or lxdm/gdm/sdm config:

pactl set-sink-mute 0 0 

i made a package for my setup to keep it all tidy but you can just add those files.

Offline

Board footer

Powered by FluxBB