Score:2

Ubuntu 22.04, no sound from speakers

hm flag

I have a new laptop, HP Zbook firefly, which has Ubuntu 22.04 installed. This is the only OS on the computer, and I've never had any other versions.

The sound card is an Intel Alder Lake.

There is no sound from the internal speakers. The internal microphone works, external headphones work, and if I plug in to a monitor over the USB-C then the sound from the monitor works. The internal speakers do not work.

In the system sound settings, the speaker is listed as "Speaker sof-hda-dsp". If I play a video (in Firefox or Chrome), the blue output bar flashes as sound plays. But no sound actually comes out of the speakers.

system sound settings

The sound apparently works just fine -- unless I'm trying to play it from the internal speakers.

I checked inside the BIOS, turned off the speakers, and booted up. Then the only option for output was "dummy". Then re-started into the BIOS and turned the speakers back on inside the BIOS, then booted up, and the Speakers were there again. And they still didn't work.

In Alsa Mixer, the sound for the speakers is set to maximum, and says 00 (unmuted).

Alsa Mixer

I tried the Ubuntu Sound Troubleshooting Procedure and none of those suggestions fixed or discovered the problem. The killall command followed by either pulseaudio --start or by a reboot did nothing. The command from Step 3 generates a ton of output, but I believe the most important part of the output is this:

!!Kernel Information
!!------------------

Kernel release:    5.15.0-69-generic
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k5.15.0-69-generic
Library version:    1.2.6.1
Utilities version:  1.2.6


!!Loaded ALSA modules
!!-------------------

snd_soc_skl_hda_dsp (card 0)
snd_usb_audio (card 1)


!!Sound Servers on this system
!!----------------------------

PipeWire:
      Installed - Yes (/usr/bin/pipewire)
      Running - Yes

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp
                      HP-HPZBookFirefly16inchG9MobileWorkstationPC--8ABB
 1 [C920           ]: USB-Audio - HD Pro Webcam C920
                      HD Pro Webcam C920 at usb-0000:00:14.0-4.2, high speed


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:8abb]

Running pavucontrol does nothing the system sound settings can't do. The rest of the steps in the troubleshoot are about generating documentation or only pertinent to specific cases that don't match my own.

None of the quick fixes or solutions on any of the previously asked questions did anything to resolve the issue.

I'm new to Linux and not sure what info is needed to address this. Below is some info that might be helpful:

Output of aplay -l

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Output of lspci -nnk

$ lspci -nnk | grep -A2 Audio
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Alder Lake PCH-P High Definition Audio Controller [8086:51c8] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:8abb]
    Kernel driver in use: sof-audio-pci-intel-tgl

Result of also force-reload

$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-dummy snd-hrtimer snd-soc-skl-hda-dsp snd-soc-intel-hda-dsp-common snd-soc-hdac-hdmi snd-hda-codec-hdmi snd-hda-codec-realtek snd-soc-dmic snd-hda-codec-generic snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-soc-hdac-hda snd-hda-ext-core snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer snd-hda-scodec-cs35l41-spi snd-hda-scodec-cs35l41-i2c snd-hda-scodec-cs35l41 snd-soc-cs35l41-lib (failed: modules still loaded: snd-hrtimer snd-soc-skl-hda-dsp snd-soc-intel-hda-dsp-common snd-soc-hdac-hdmi snd-hda-codec-hdmi snd-hda-codec-realtek snd-soc-dmic snd-hda-codec-generic snd-hda-ext-core snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq snd-seq-device snd-timer).
Loading ALSA sound driver modules: snd-seq-dummy snd-hrtimer snd-soc-skl-hda-dsp snd-soc-intel-hda-dsp-common snd-soc-hdac-hdmi snd-hda-codec-hdmi snd-hda-codec-realtek snd-soc-dmic snd-hda-codec-generic snd-sof-pci-intel-tgl snd-sof-intel-hda-common snd-sof-intel-hda snd-sof-pci snd-sof-xtensa-dsp snd-sof snd-soc-hdac-hda snd-hda-ext-core snd-soc-acpi-intel-match snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-intel-dspcfg snd-intel-sdw-acpi snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer snd-hda-scodec-cs35l41-spi snd-hda-scodec-cs35l41-i2c snd-hda-scodec-cs35l41 snd-soc-cs35l41-lib.

Contents of /proc/asound/modules

$ cat /proc/asound/modules
 0 snd_hda_intel

Some other places with a similar issue, whose "solutions" did not work for my issue:

David avatar
cn flag
If it is new and came with Ubuntu preinstalled I would send kit back for repair.
rboston avatar
hm flag
It is a work computer, and IT set it up. When I got it, it was in the box and Ubuntu was installed, but it had been opened for IT to do some configuration. It may have once had Windows. I contacted IT, but it is very hard to get Linux support with them.
David avatar
cn flag
Same answer. Take it to them they built it they should have tested it. The hardware could be bad.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.