Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Audio lost after every restart

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
fenestren
Posts: 4
Joined: 2021-05-14 20:40

Audio lost after every restart

#1 Post by fenestren »

Hi everybody,

I have two PC (one laptop HP Elitebook and a desktop PC) with the same version of Debian 10 installed: every time I restart these PC I lose the audio.
Somewhere I read that could be useful to give the following commands:

Code: Select all

sudo killall pulseaudio 

Code: Select all

pulseaudio -k

Code: Select all

pavucontrol 
On the Desktop PC sometimes it works without restarting, on the Laptop most of the time it works only after restarting.

Can you please support me on that?
Thank you.

Code: Select all

luca-hp@debian-hp:~$ lsmod | grep snd_hda_intel
snd_hda_intel          49152  10
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm               114688  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd                    94208  26 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm

Code: Select all

luca-hp@debian-hp:~$ sudo dmesg | grep -i audio
[sudo] password di luca-hp: 
[    0.271556] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[   14.808440] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   14.882606] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3228: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   14.882609] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.882610] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[   14.882611] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   14.882612] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   14.882614] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x1a
[   14.882615] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12

Code: Select all

luca-hp@debian-hp:~$ sudo lspci -vv | grep -i audio
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
	Subsystem: Hewlett-Packard Company Broadwell-U Audio Controller
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
	Subsystem: Hewlett-Packard Company Wildcat Point-LP High Definition Audio Controller
UPDATE: I see that audio is working before I logon (I can hear a sound when I move the slider of the volume on the logon screen)!!! After logon audio disappears...

greg9
Posts: 34
Joined: 2021-09-14 06:29
Has thanked: 6 times

Re: Audio lost after every restart

#2 Post by greg9 »

Hi

It is best to trouble shoot only one device at a time. Choose one please

I have seen your other post. Intermittant errors are always more difficult than no sound or crackling sound etc.

I suggest if you have time, you consider removing pulseaudio or at least disable PA=pulseaudio

some web browsers need PA but if you can manage without for a while try as root

Code: Select all

apt remove --purge pulseaudio
We can always add it back in later. Ignore removal of pavucontrol at this point please, it won't interfere when PA is gone.

I know more about alsa than PA. Once we figure out what to do for device 1 we can then turn to device 2.

please read
viewtopic.php?f=16&t=53708

and at the minimum for device one we need the alsa-info.sh output.

Not intended to be rude.....but we are not mind readers.
Where do you want sound out of for device 1.
eg laptop speakers and or 3.5 mm headphone jack
-bluetooth speakers
-surround sound via hdmi
-surround sound via multiple 3.5 mm holes on PC
-desktop speakers (2 channel) via 3.5mm

alsa will default to hdmi while most laptop users (IMHO) need laptop analog to work as the default device

Post Reply