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

 

 

 

No Sound after boot [SOLVED]

Need help with peripherals or devices?
Message
Author
outzen
Posts: 20
Joined: 2020-03-29 07:44

No Sound after boot [SOLVED]

#1 Post by outzen »

When starting up there is No Sound. After using the following command
rm -r ~/.config/pulse
everything works fine (pc speaker and headphones to audio output when activating mp3 file).
However upon reboot im back to square one - i.e. no sound.

Setup:
PC: HP Elitebook
OS: Raspbian (Debian GNU/Linux 8.8 Jessie)
(correction: os is Debian GNU/Linux 8.8 Jessie - Raspbian is the desktop theme)

Command: dmesg|grep sound

Code: Select all

[    6.178573] sound hdaudioC1D0: autoconfig: line_outs=1 (0xa/0x0/0x0/0x0/0x0) type:line
[    6.178578] sound hdaudioC1D0:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[    6.178581] sound hdaudioC1D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[    6.178583] sound hdaudioC1D0:    mono: mono_out=0x0
[    6.178585] sound hdaudioC1D0:    inputs:
[    6.178588] sound hdaudioC1D0:      Mic=0xc
[    6.178591] sound hdaudioC1D0:      Internal Mic=0x11
[    6.178594] sound hdaudioC1D0:      Line=0xf
[    6.207934] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16
[    6.208023] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17
[    6.208101] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[    6.231291] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input15
[    6.231509] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input19
[    6.232117] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input20
[    6.232209] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input21
[    6.232815] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input22
Command: aplay -l

Code: Select all

**** 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: 92HD91BXX Analog [92HD91BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
command: lsmod|grep snd

Code: Select all

snd_hda_codec_hdmi     44414  2 
snd_hda_codec_idt      48266  1 
snd_hda_codec_generic    58021  1 snd_hda_codec_idt
snd_hda_intel          26023  1 
snd_hda_controller     26262  1 snd_hda_intel
snd_hda_codec          93797  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              12906  1 snd_hda_codec
snd_pcm                78128  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26149  1 snd_pcm
snd                    55101  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              12890  2 snd,snd_hda_codec
Last edited by outzen on 2020-03-29 17:40, edited 3 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#2 Post by Head_on_a_Stick »

outzen wrote:OS: Raspbian
That is not supported here, please ask over at https://www.raspbian.org/RaspbianForums instead.
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#3 Post by outzen »

OK, as you have maybee guessed im not an experienced linux user, so im not sure how to interpret your answer :-)
Debian 8 is the base linux distribution on this system - the raspbian is the desktop theme that I installed after debian.
Are you saying, when googling for solutions that I should look for Raspbian instead of debian 8? :-)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#4 Post by Head_on_a_Stick »

outzen wrote:Debian 8 is the base linux distribution on this system - the raspbian is the desktop theme that I installed after debian.
Ah, right, I think I understand now. I've never seen "Raspbian" used to describe a desktop theme.

Is your posted output from when you were suffering the problem? A before-and-after comparison would be useful.

Please also show the output of this command both while suffering with the problem and when the problem is fixed:

Code: Select all

pacmd list-sinks
Please use code tags when posting terminal output, go back and edit your OP to include them. They will make the thread *much* more readable.
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#5 Post by outzen »

OK, kan see that I should not refer to raspbian as part of the os - will be more precise next time :-)

*************************************************
Output after a fresh reboot;
Command: pacmd list-sinks
output: No PulseAudio deamon running, or not running as sessions deamon

command: dmesg|grep sound

Code: Select all

[    5.916842] sound hdaudioC1D0: autoconfig: line_outs=1 (0xa/0x0/0x0/0x0/0x0) type:line
[    5.916846] sound hdaudioC1D0:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[    5.916849] sound hdaudioC1D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[    5.916851] sound hdaudioC1D0:    mono: mono_out=0x0
[    5.916853] sound hdaudioC1D0:    inputs:
[    5.916856] sound hdaudioC1D0:      Mic=0xc
[    5.916859] sound hdaudioC1D0:      Internal Mic=0x11
[    5.916861] sound hdaudioC1D0:      Line=0xf
[    5.950625] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[    5.950713] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
[    5.950797] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20
[    5.974208] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input21
[    5.974420] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input23
[    5.974501] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input24
[    5.974579] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input25
[    5.974657] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input26
command: aplay -l

Code: Select all

**** 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: 92HD91BXX Analog [92HD91BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
command: lsmod|grep snd

Code: Select all

snd_hda_codec_hdmi     44414  2 
snd_hda_codec_idt      48266  1 
snd_hda_codec_generic    58021  1 snd_hda_codec_idt
snd_hda_intel          26023  1 
snd_hda_controller     26262  1 snd_hda_intel
snd_hda_codec          93797  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              12906  1 snd_hda_codec
snd_pcm                78128  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26149  1 snd_pcm
snd                    55101  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              12890  2 snd,snd_hda_codec
******************************
After applying the " rm -r ~/.config/pulse " fix

Command: pacmd list-sinks

Code: Select all

1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 31008 /  47% / -19.50 dB,   front-right: 31008 /  47% / -19.50 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "92HD91BXX Analog"
		alsa.id = "92HD91BXX Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd0734000 irq 65"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9c20"
		device.product.name = "8 Series HD Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "IDT 92HD91BXX"
		alsa.components = "HDA:111d76e0,103c1991,00100303"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
command: dmesg|grep sound

Code: Select all

[    5.916842] sound hdaudioC1D0: autoconfig: line_outs=1 (0xa/0x0/0x0/0x0/0x0) type:line
[    5.916846] sound hdaudioC1D0:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[    5.916849] sound hdaudioC1D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[    5.916851] sound hdaudioC1D0:    mono: mono_out=0x0
[    5.916853] sound hdaudioC1D0:    inputs:
[    5.916856] sound hdaudioC1D0:      Mic=0xc
[    5.916859] sound hdaudioC1D0:      Internal Mic=0x11
[    5.916861] sound hdaudioC1D0:      Line=0xf
[    5.950625] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[    5.950713] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
[    5.950797] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20
[    5.974208] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input21
[    5.974420] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input23
[    5.974501] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input24
[    5.974579] input: HDA Intel PCH Dock Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card1/input25
[    5.974657] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input26
command: aplay -l

Code: Select all

**** 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: 92HD91BXX Analog [92HD91BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
command: lsmod|grep snd

Code: Select all

snd_hda_codec_hdmi     44414  2 
snd_hda_codec_idt      48266  1 
snd_hda_codec_generic    58021  1 snd_hda_codec_idt
snd_hda_intel          26023  5 
snd_hda_controller     26262  1 snd_hda_intel
snd_hda_codec          93797  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              12906  1 snd_hda_codec
snd_pcm                78128  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26149  1 snd_pcm
snd                    55101  18 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              12890  2 snd,snd_hda_codec
Last edited by outzen on 2020-03-29 12:58, edited 3 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#6 Post by Head_on_a_Stick »

Please edit your posts and surround the command output with code tags, as I requested above. Click on the "code tags" bit in my last post to find out how to do that.
deadbang

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#7 Post by Head_on_a_Stick »

Thanks for adding the code tags, that's much better :)
outzen wrote:Output after a fresh reboot;
Command: pacmd list-sinks
output: No PulseAudio deamon running, or not running as sessions deamon
^ There's the problem.

Which desktop environment is this?

Can we see

Code: Select all

systemctl --user status pulseaudio.s{ervice,ocket}
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#8 Post by outzen »

Yeah ... much more readable ... missed that from your first posts :-P

used this command; (not sure if you made a typo)
systemctl --user status pulseaudio.socket

Code: Select all

● pulseaudio.socket - Sound System
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; disabled; vendor preset: enabled)
   Active: inactive (dead)
   Listen: /run/user/1001/pulse/native (Stream)
ie, with the audio working ... do you also want me to run it after a reboot?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#9 Post by Head_on_a_Stick »

outzen wrote:do you also want me to run it after a reboot?
No, that's fine.

Try

Code: Select all

systemctl --user enable --now pulseaudio.s{ocket,ervice}
^ Run that command as your normal user.
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#10 Post by outzen »

command: systemctl --user enable --now pulseaudio.s{ocket,ervice}

Code: Select all

Created symlink /home/outzen/.config/systemd/user/sockets.target.wants/pulseaudio.socket → /usr/lib/systemd/user/pulseaudio.socket.
Created symlink /home/outzen/.config/systemd/user/default.target.wants/pulseaudio.service → /usr/lib/systemd/user/pulseaudio.service.
Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl status pulseaudio.service" and "journalctl -xe" for details.
command: systemctl status pulseaudio.service

Code: Select all

Unit pulseaudio.service could not be found.
Also ran the command: journalctl -xe
do you want this also (more than 2000 lines)? :-)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#11 Post by Head_on_a_Stick »

outzen wrote:command: systemctl status pulseaudio.service

Code: Select all

Unit pulseaudio.service could not be found.
It's a user service so you should run the command with the --user option (as per my earlier commands).
outzen wrote:Also ran the command: journalctl -xe
do you want this also (more than 2000 lines)? :-)
Dear me, no. Let's narrow it down a bit:

Code: Select all

journalctl --unit puleaudio.service
But I'm not sure how that works for user services, you might not find any entries that way.

Another filtering method would be

Code: Select all

journalctl --since='1 minute ago'
^ Run that just after trying to start pulseaudio.service.
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#12 Post by outzen »

Both of them gives me "no entries"

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#13 Post by outzen »

Ahh ... sorry ... did not see that I should start the pulseaudio service

how do I do that :-)

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#14 Post by outzen »

OK, wrote "pulseaudio" on the command line and it gave me this;

Code: Select all

E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
Command: journalctl --unit pulseaudio.service
no entries

command: journalctl --since='1 minute ago'

Code: Select all

-- Logs begin at Sun 2020-03-29 14:01:25 BST, end at Sun 2020-03-29 16:46:37 BST. --
Mar 29 16:46:37 JO_Video rtkit-daemon[532]: Successfully made thread 17720 of process 17720 (n/a) owned by '1001' high priority at nice level -11.
Mar 29 16:46:37 JO_Video rtkit-daemon[532]: Supervising 4 threads of 2 processes of 1 users.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#15 Post by Head_on_a_Stick »

Code: Select all

systemctl --user start pulseaduio.service # as your normal user
journalctl --since='1 minute ago'
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#16 Post by outzen »

systemctl --user start pulseaduio.service

Code: Select all

Failed to start pulseaduio.service: Unit pulseaduio.service not found.
journalctl --since='1 minute ago'
-- No entries --

FYG ... since last reply I had to reboot and then ran the "rm -r ~/.config/pulse" again.
As before audio is currently working.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#17 Post by Head_on_a_Stick »

outzen wrote:

Code: Select all

Unit pulseaduio.service not found.

Code: Select all

# apt reinstall pulseaudio
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#18 Post by outzen »

it does not recognize the "reinstall" command

Code: Select all

E: Invalid operation reinstall
Guess I will have to remove and install again :-)

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No Sound after boot

#19 Post by Head_on_a_Stick »

outzen wrote:it does not recognize the "reinstall" command
Oh yes, sorry, that option was only added for stretch.

Try

Code: Select all

# aptitude reinstall pulseaudio
Or

Code: Select all

# apt-get install --reinstall pulseaudio
deadbang

outzen
Posts: 20
Joined: 2020-03-29 07:44

Re: No Sound after boot

#20 Post by outzen »

Completed removal and reinstall before I saw your last post.
It seems to work now, ie. have booted twice, and sound is still working.

Followed these instructions (found https://askubuntu.com/questions/426648/ ... untu-12-04)

Code: Select all

sudo apt-get purge pulseaudio
sudo apt-get clean && sudo apt-get autoremove
Reboot. Open a terminal again and type (ignore any errors with the rm command):

rm -r ~/.pulse ~/.asound* ~/.pulse-cookie ~/.config/pulse
sudo apt-get install pulseaudio
sudo alsa force-reload

Post Reply