Lost Sound in Ubuntu 23.04

System/OS details: Dual Boot Ubuntu 23.04 and Windows 11(on separate drives) HP OMEN Desktop. Ubuntu Desktop is configured for Cinnamon (Latest Upgrade).

Background Info:

I installed and been running this setup for several months and sound was working perfectly but the last time I booted into Ubuntu the sound was gone.

I update & upgrade every time I boot into Ubuntu. The sound works perfectly in Windows 11 but for some reason, I have lost sound in Ubuntu. I have checked the obvious (eg. mute & volume settings).

The sound settings displays the Device Out: Line Out Built-in Audio & the profile is Analog Stereo. I executed the Test Sound which worked previously, doesn’t output any sound. None of the system sounds work anymore either.

I researched numerous “Solutions” sources and have not had any of those to work. Since I am a relatively new Linux user, don’t tinker with system settings and have not installed any new programs. I am at a total dead end. Please help!


added Info Here are the results of some tests that were suggested from previous web searches. I am totally ignorant as to what the results actually indicate. pipewire.service - PipeWire Multimedia Service Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled) Active: active (running) since Fri 2023-09-08 14:34:48 CDT; 21min ago TriggeredBy: ● pipewire.socket Main PID: 1915 (pipewire) Tasks: 2 (limit: 38030) Memory: 6.8M CPU: 229ms CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service └─1915 /usr/bin/pipewire

Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx systemd[1908]: Started pipewire.service - PipeWire Multimedia Service. Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx pipewire[1915]: mod.rt: Can’t find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx pipewire[1915]: mod.rt: found session bus but no portal ~


dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lspci -nnk |grep -A3 -i aud 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:7a50] (rev 11) DeviceName: Onboard - Sound Subsystem: Hewlett-Packard Company Device [103c:8a97] Kernel driver in use: snd_hda_intel

03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_inteldogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lsmod | grep -i snd snd_seq_dummy 16384 0 snd_hrtimer 16384 1 snd_hda_codec_realtek 192512 1 snd_hda_codec_generic 118784 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_sof_pci_intel_tgl 16384 0 snd_sof_intel_hda_common 188416 1 snd_sof_pci_intel_tgl soundwire_intel 57344 1 snd_sof_intel_hda_common snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common snd_sof 311296 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda snd_sof_utils 20480 1 snd_sof snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_soc_acpi_intel_match 77824 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common snd_soc_core 417792 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda snd_hda_codec_hdmi 94208 2 snd_compress 32768 1 snd_soc_core ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 20480 1 snd_soc_core snd_hda_intel 61440 2 snd_intel_dspcfg 36864 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 204800 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_hwdep 20480 1 snd_hda_codec snd_pcm 192512 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 53248 1 snd_seq_midi snd_seq 94208 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm snd 135168 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi soundcore 16384 1 snd **************************************************************************************************dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ fuser /dev/snd/ /dev/snd/controlC0: 1949 /dev/snd/controlC1: 1949 /dev/snd/seq: 1946 dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$


dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lsof /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pipewire 1946 dogman 50u CHR 116,1 0t0 580 /dev/snd/seq pipewire 1946 dogman 51u CHR 116,1 0t0 580 /dev/snd/seq wireplumb 1949 dogman 31u CHR 116,19 0t0 1078 /dev/snd/controlC0 wireplumb 1949 dogman 35u CHR 116,9 0t0 1044 /dev/snd/controlC1 dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xx


04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp Western Digital WD Black SN850X NVMe SSD [15b7:5030] (rev 01) dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ enter image description here


Here are more test results: dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lsmod | grep -i snd snd_seq_dummy 16384 0 snd_hrtimer 16384 1 snd_hda_codec_realtek 192512 1 snd_hda_codec_generic 118784 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_sof_pci_intel_tgl 16384 0 snd_sof_intel_hda_common 188416 1 snd_sof_pci_intel_tgl soundwire_intel 57344 1 snd_sof_intel_hda_common snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common snd_sof 311296 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda snd_sof_utils 20480 1 snd_sof snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_soc_acpi_intel_match 77824 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common snd_soc_core 417792 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda snd_hda_codec_hdmi 94208 2 snd_compress 32768 1 snd_soc_core ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 20480 1 snd_soc_core snd_hda_intel 61440 2 snd_intel_dspcfg 36864 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 204800 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_hwdep 20480 1 snd_hda_codec snd_pcm 192512 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 53248 1 snd_seq_midi snd_seq 94208 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm snd 135168 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi soundcore 16384 1 snd **************************************************************************************************dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ fuser /dev/snd/ /dev/snd/controlC0: 1949 /dev/snd/controlC1: 1949 /dev/snd/seq: 1946 dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$


dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lsof /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pipewire 1946 dogman 50u CHR 116,1 0t0 580 /dev/snd/seq pipewire 1946 dogman 51u CHR 116,1 0t0 580 /dev/snd/seq wireplumb 1949 dogman 31u CHR 116,19 0t0 1078 /dev/snd/controlC0 wireplumb 1949 dogman 35u CHR 116,9 0t0 1044 /dev/snd/controlC1 dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xx


I hope somebody reads and responds. This issue is really discouraging because I didn’t do anything to the system, the sound used to work perfectly for several months, after the installation of Ubuntu 23.04. I did no tweeking (because I realize that I am totally ignorant about the inter workings of Linux… and the fact that the sound is working flawlessly on Windows 11.

Hi @KenS and welcome,
That proves it is not a hardware issue
therefore it has to be that a recent update has

  • installed a faulty package, or
  • changed some setting

Finding where the issue lies is going to be difficult
The first thing to do is to search with google for recent Ubuntu
bugs involving the sound system and recent updates.
You cant be the only one with this problem… if it is an update issue there will be bug reports… you need to read the bug reports to get a clue. Someone may have a workaround.

I dont know if you use pulseaudio. I find its volume control often loses its settings, particularly after an install. You need to check its settings carefully… I find them confusing.

If you find nothing, one option is to backup your data and reinstall Ubuntu.

Regards
Neville

3 Likes

Hi @KenS and welcome to the forum.

I believe Neville had some very good observations and ideas. I would like to add one other suggestion. Hopefully, you perform some type of backup of your system either a standalone or with something like Timeshift. If so, restore your OS back to a date when the sound was working.

I am not sure this is a good policy unless you are also performing a Timeshift every day too. It might be better to update weekly and have a backup done before the update. Having a backup gives a person the option of backing out a problem they are having with their system.

I have Timeshift set at 3 days and 2 weeks. I also take a monthly standalone backup. If you do not take backups, now would be a good time to consider setting up a schedule. It is even more important to be backing up your personal data.

3 Likes

I just noticed it is Ubuntu 23.04
That is an interim release
You would be better off with one of the LTS releases… more stable and longer term support. The very latest is not always the best.

The dual boot on separate disks is great. It would be easy to do a reinstall. i would change to 22.04.3 LTS

And Howard’s point should be taken… do less frequent upgrades an backup before each upgrade.

2 Likes

Welcome to the community @KenS

You have shared a long output which is not easily comprehensive for me.

Could you please share the output of this command:

lspci -nnk | grep -A4 -i aud

The command lspci lists all the PCI devices (think of it has hardware). The option nnkd tells it to show vendor and their device code along with the kernel driver handling the device.

The output will be long show we are only looking (around) the lines that match aud (for audio).

Basically, this should give us information about the sound card you have and the driver your system is using.

2 Likes

Thank you for your reply. Here is the output from your suggested command:

dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ lspci -nnk | grep -A4 -i aud
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:7a50] (rev 11)
DeviceName: Onboard - Sound
Subsystem: Hewlett-Packard Company Device [103c:8a97]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.0 Non-Volatile memory controller [0108]: Sandisk Corp Western Digital WD Black SN850X NVMe SSD [15b7:5030] (rev 01)
Subsystem: Sandisk Corp Western Digital WD Black SN850X NVMe SSD [15b7:5030]

Hi @KenS,
I don’t know if you’ve found the fault yet, but could you share the output of this command too?

pactl info

Thanks
Jorge

2 Likes

Thanks for your response. Here is the output you requested:
dogman@dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx:~$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 64
Tile Size: 65472
User Name: dogman
Host Name: dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx
Server Name: PulseAudio (on PipeWire 0.3.79)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Cookie: 7401:edbf

1 Like

Hi KenS,
Thank you for responding to my request.
First of all, I want to tell you that I don’t know how to solve the audio fault.

You’re using PipeWire. I use it too, and from time to time I get no sound.
The only solution I have to solve the problem of no sound is to use alsamixer and increase the output volume.
In my case, the lack of sound is because the volume is set to minimum and the volume of the panel icon no longer controls the output volume.
So I’ll give you my example, to see if the problem you’re having with the audio might be similar to the one I usually have.
If you want to test it, open a console and type the following command:

alsamixer

If you don’t have it, make a backup of your system and install it:

sudo apt install alsa-utils

and then run alsamixer:

alsamixer

Use the following keys in alsamixer:
F6 - to select the sound card
Left and Right arrows - to select the column
Up and Down arrows - to increase or decrease the volume

Example of my alsamixer for the sound card:
image

You can see that the Master has 60, the Headphones have 100<>100 (Left<>Right), the PCM has 100<>100 and the Front has 100<>100, but below the Front bar there’s “MM”, meaning that the left and right channels are muted.

Check in alsamixer that the bars are not zero or muted. Use F6 to switch between all the sound cards you may have (HDMI monitor for example or external sound card).

Note: there are sources or outputs that are zeroed or muted. It’s up to you to know what audio system you have. I, for example, don’t have Surround or microphones connected.

In this test, turn the sound up to ~70% on for outputs and check that they don’t have “MM” under the bar. If they are, move the mouse arrow over them and press the left mouse button to change them to “00”.

Have you got audio?
We’ll wait for your reply to find out if you’ve solved the fault

Jorge

More about alsamiser: ALSA Mixer - Advanced Linux Sound Architecture

2 Likes

Well, there is progress - lol. After installing ALSA Mixer, I can test the sound and have very, very faint audio both left & right speakers BUT not nearly loud enough to be usable

2 Likes

Hi KenS,
Just to check: in alsamixer, can you try to increase the volume of the headphones?
Your headphones audio are muted, probably because the audio jack connection (it’s correct). You need to click on the “MM” bellow the headphones volume bar, to change to “00”, an increase de volume to test.

If the sound is still low, can you test it with some headphones?

Jorge

1 Like

I don’t have headphones but raising the headphone volume didn’t change anything.

1 Like

Hi KenS,
Sorry, I’m confused: you say you hear sound, but it’s very low?
Could you please do a test?
Close any programs that might be open, open your browser and, for example, play a YouTube video. Is the sound still low?

If you’re still getting a low sound, open alsamixer and unmute all sources (“MM” to “00”), including the microphone, and set all faders (bars) to ~70%.
Do you still hear the low sound or the volume is higher now?

A strange question, but it was one of the solutions I found on the net: did you disable the microphone in UEFI?
If so, enable it and run the audio test again.
I know this question doesn’t make sense, believe me!

2 Likes

Thank you Jorge
To clarify my previous reply, the sound, regardless of volume level settings, the audio output remains consistently at a fixed low volume level, as though the settings have no influence on the output.

1 Like

Jorge,
I got a headphone set and plugged it into my attached speakers and got a reasonable, but not high, audio volume with the setting suggestions you made. However, I did increase the volume to 100%. However, speaker volume never changed. It isn’t the speakers fault because these work fine through Windows and at one time worked with Ubuntu 23.4.

Anyhow, we have some progress.

2 Likes

Hi KenS,
I’m just writing to say that this issue has not been forgotten.
I don’t have enough knowledge to tell you how to solve your audio problem and I’ve been reading other forums to find out how to help you.
I haven’t had much time for forum, but between today and tomorrow and if you want, we’ll do some more tests.

If any member of the forum has any ideas, any help would be appreciated. I’ll start testing “from the scratch”, i.e. UEFI, Kernel, drivers, PipeWire…

Jorge

1 Like

Hi KenS,
If you’re available to do some tests, please do the following:

  1. In UEFI, do you have Fast Boot Enabled? if so, set it to Disabled. Save the configuration, reboot and test the audio.

  2. Can you run the following command and post the result here?

hostnamectl | grep -iE "Operating System|Kernel"

  1. Can you run the following command and post the result here?
pactl list sinks

Note: please put the result in preformatted text using 3 backticks on one line, on the following lines put the text you copied from your terminal and finish with a line with 3 backticks or you can use the preformatted text icon and follow the template instructions:

image

Jorge

1 Like

Jorge, Out of frustration, I decided to load the newest trial version of Ubuntu, figuring that I had nothing to lose. If all else fails, I can always go back to 22.04 rather than back to 23.04 even though I would like to solve this issue with 23.04 - some more interesting things that I can add is that my son was visiting, and we tried his bluetooth earbuds with Ubuntu and they worked great! so, I can get good volume levels from wired headphones and Bluetooth earbuds but not speakers…

I turned off Fastboot, rebooted but still no change. I ran your suggested commands and here are the results:

t~$ hostnamectl | grep -iE “Operating System|Kernel”
Operating System: Ubuntu Mantic Minotaur (development branch)
Kernel: Linux 6.5.0-5-generic

~$ pactl list sinks
Sink #46
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 55046 /  84% / -4.55 dB,   front-right: 55046 /  84% / -4.55 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC1220 Analog"
		alsa.long_card_name = "HDA Intel PCH at 0x6411130000 irq 201"
		alsa.name = "ALC1220 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HDA Intel PCH at 0x6411130000 irq 201"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "8"
		device.api = "alsa"
		device.class = "sound"
		device.id = "45"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
		node.nick = "ALC1220 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:0:front:0:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "34"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "46"
		object.serial = "46"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "3752445"
		device.product.id = "0x7a50"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "0"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 5, available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 6, available)
	Active Port: analog-output-lineout
	Formats:
		pcm

1 Like

Hi KenS,
Thanks for your reply

From what I know about PipeWire, it seems to me that it’s working correctly, because you only have a sound card, it’s not muted, you have 84% volume and it’s using the line out output.
extract from your report:

	Mute: no
	Volume: front-left: 55046 /  84% / -4.55 dB,   front-right: 55046 /  84% / -4.55 dB
	alsa.driver_name = "snd_hda_intel"
	Active Port: analog-output-lineout

What I can speculate is that the PipeWire is sending audio to your amplifier, but it’s not being processed by it, but I can’t find any concrete information about this fault…

One of the differences I see with my laptop’s PipeWire configuration is that it has Active Port: analog-output-speakers and yours is Active Port: analog-output-lineout.
This is correct: you have a Desktop PC

You’re using the audio codec ALC1220:

	alsa.name = "ALC1220 Analog"

If you want to check again, I use the following command to view my codec:

cat /proc/asound/card0/codec#0 | grep -i Codec

I still haven’t managed to find a concrete solution for your case, because you say you had audio and then you stopped having it from one moment to the next.

Unfortunately, I don’t have enough Linux knowledge to keep trying to solve the fact that you don’t have sound through the speakers. However, I found a bug reported in April which, although the error isn’t the same, is very similar and uses the same codec, the HD-Audio codec ALC1220.

This is the reported bug:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2018134

Could you please share the output of this command:

lspci -v | grep -A7 -i "audio"



Jorge

1 Like

Jorge,
I really appreciate all the effort you have put in to this. Here is the output:

$ lspci -v | grep -A7 -i "audio"
00:1f.3 Multimedia audio controller: Intel Corporation Device 7a50 (rev 11)
	DeviceName: Onboard - Sound
	Subsystem: Hewlett-Packard Company Device 8a97
	Flags: bus master, fast devsel, latency 32, IRQ 201
	Memory at 6411130000 (64-bit, non-prefetchable) [size=16K]
	Memory at 6411000000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
--
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 199
	Memory at 80520000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

04:00.0 Non-Volatile memory controller: Sandisk Corp Western Digital WD Black SN850X NVMe SSD (rev 01) (prog-if 02 [NVM Express])

Iooking down the road, if I can’t remedy this, I might get a Bluetooth sound bar for PC. I’m guessing it would work because my son’s bluetooth earbuds worked very well with my Ubuntu machine - is that a reasonable assumption???

Oops, here is the output for the other command:

cat /proc/asound/card0/codec#0 | grep -i Codec
Codec: Realtek ALC1220

What I find so ironic is that I have a Raspberry Pi 4 that is running Ubuntu 23.04 and the sound works like a charm.

DANG, I forgot to mention, I downloaded both Ubuntu 23.04 as well as 22.04 and made bootable USB flashdrives to test and the results were no different: headphones worked but extremely low speaker volume. I’m not sure if that’s relevant or not because I’m not sure if the “stick” version has all the drivers, etc.

1 Like