Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4421

new 22.04 install cannot play sound on speakers

$
0
0

I have a fresh install of Ubuntu 22.04. The Bang & Olufsen speakers aren't playing sound.

I've gone through https://help.ubuntu.com/stable/ubuntu-help/sound-nosound.html.en but nothing there helps.

I can get sound on headphones, but when I pull the headphones out, the sound is gone, even though the volume is set to max.

Speaker - sof-hda-dsp shows in the settings as being recognized, but it's not being used. When I pull the headphones out, the Output device switches.

sudo lspci -v gives:

00:1f.3 Multimedia audio controller: Intel Corporation Device 51ca (rev 01)    Subsystem: Hewlett-Packard Company Device 8bdd    Flags: bus master, fast devsel, latency 32, IRQ 204, IOMMU group 15    Memory at 601d1d0000 (64-bit, non-prefetchable) [size=16K]    Memory at 601d000000 (64-bit, non-prefetchable) [size=1M]    Capabilities: [50] Power Management version 3    Capabilities: [80] Vendor Specific Information: Len=14 <?>    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+    Kernel driver in use: sof-audio-pci-intel-tgl    Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

Similarly, I have an older laptop with a nearly identical setup, that actually works:

lspci -v | fgrep -m1 -A19 '00:1f.3'

gives

   00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH-LP cAVS    Subsystem: Hewlett-Packard Company Comet Lake PCH-LP cAVS    Flags: bus master, fast devsel, latency 32, IRQ 154    Memory at b431c000 (64-bit, non-prefetchable) [size=16K]    Memory at b4000000 (64-bit, non-prefetchable) [size=1M]    Capabilities: [50] Power Management version 3    Capabilities: [80] Vendor Specific Information: Len=14 <?>    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+    Kernel driver in use: snd_hda_intel    Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl

Perhaps switching the kernel driver in use is the key? How can I do that, if it will help?

Sound card not detecting and the command sudo apt-get install build-essential linux-headers-uname -r alsa-base alsa-firmware-loaders alsa-oss alsa-source alsa-tools alsa-tools-gui alsa-utils alsamixergui didn't fix the problem.

How to install Bang and Olufsen Audio drivers for HP laptop? failed to solve my problem.

No sound on headphones with sof-hda-dsp audio on ubuntu (and variants) also failed.

Audio output doesn't switch when headphones connect or disconnect didn't help either.

Ubuntu 20.04 - No sound also failed

cat /proc/asound/cards produces the following output:

 0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp                      HP-HPEnvyLaptop17_cw0xxx-Type1ProductConfigId-8BDDsudo gedit /etc/modprobe.d/alsa-base.conf

and add

options snd-hda-intel model=generic

as suggested Ubuntu 20.04 - No sound also failed.

using sof-bin as suggested by Sound card not detected - Ubuntu 20.04 - sof-audio-pci also failed.

I'm also getting

[    0.475866] pci 0000:00:07.0: DPC: RP PIO log size 0 is invalid[    0.476486] pci 0000:00:07.2: DPC: RP PIO log size 0 is invalid

during the boot process. Is this connected to why my speakers don't work?

I have done the standard sudo apt update && sudo apt upgrade to no avail, as well.

when I grep for audio within dmesg:

[    0.116257] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)[    7.147645] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100[    7.147677] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver[    7.147696] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)[    7.148080] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100[    8.341717] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])[    8.407947] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode[    8.441644] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5[    8.441649] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now[    8.441653] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2[    8.442691] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864[    8.442695] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:21:0[    8.442697] sof-audio-pci-intel-tgl 0000:00:1f.3: FW ABI is more recent than kernel[    8.442701] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30[    8.538642] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864[    8.538647] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:21:0[    8.538649] sof-audio-pci-intel-tgl 0000:00:1f.3: FW ABI is more recent than kernel[    8.555720] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:21:0[    8.555726] sof-audio-pci-intel-tgl 0000:00:1f.3: warn: topology ABI is more recent than kernel[    8.585014] snd_hda_codec_realtek ehdaudio0D0: autoconfig for ALC245: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker[    8.585021] snd_hda_codec_realtek ehdaudio0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)[    8.585023] snd_hda_codec_realtek ehdaudio0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)[    8.585025] snd_hda_codec_realtek ehdaudio0D0:    mono: mono_out=0x0[    8.585026] snd_hda_codec_realtek ehdaudio0D0:    inputs:[    8.585028] snd_hda_codec_realtek ehdaudio0D0:      Mic=0x19[    8.634984] snd_hda_codec_realtek ehdaudio0D0: ASoC: sink widget AIF1TX overwritten[    8.634992] snd_hda_codec_realtek ehdaudio0D0: ASoC: source widget AIF1RX overwritten

I have also tried adding snd-intel-dspcfg.dsp_driver=1 to /boot/grub/grub.cfg but that changed nothing https://bbs.archlinux.org/viewtopic.php?id=275737

cat /proc/asound/cards gives the output:

 0 [sofhdadsp      ]: sof-hda-dsp - sof-hda-dsp                      HP-HPEnvyLaptop17_cw0xxx-Type1ProductConfigId-8BDD

sudo aplay -l

gives the output:

card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []  Subdevices: 1/1  Subdevice #0: subdevice #0card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []  Subdevices: 1/1  Subdevice #0: subdevice #0

How can I get the sound working on my speakers?


Viewing all articles
Browse latest Browse all 4421

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>