Lost audio after upgrade to 22.10

Additional Info: It looks like it's a kernel issue. If I boot with an older kernel (5.15, instead of 5.19) my audio works. Also, my audio device is actually "Family 17h/19h HD Audio Controller (AMD)". Is there anything special I need to do to ensure that older kernel doesn't get removed during subsequent updates?

After upgrading from 22.04 to 22.10, I lost my motherboard-integrated audio. It shows up in lshw as this:

*-multimedia:0 UNCLAIMED
description: Audio device
product: Raven/Raven2/Fenghuang HDMI/DP Audio Controller
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0.1
bus info: pci@0000:06:00.1
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list
configuration: latency=0
resources: memory:fcc88000-fcc8bfff

(Pretty sure that's it, anyway)

I had no audio issues before the upgrade. When I open the sound configuration in 22.10, the only output device I see is "Dummy Output".

Didn’t the interim release switch from Pulse Audio to Pipewire? I think all Ubuntu releases from now on will be on Pipewire for audio.

Yes, but when I boot with the older kernel, it's still using PipeWire, but audio works. So the problem seems to be with the new kernel.

I thought it might be an issue with my upgrade from 22.04 to 22.10 as well, so I created a bootable flash drive for 22.10 and booted with that -> still no audio. So, it looks like a clean install would have broken audio as well. Important to know, since you won't have an older kernel available in a clean install.

Out of curiosity what does lshw output under 22.04? I look at mine on 20.04 and 22.04 with different computers (AMD and Intel) and the line:

configuration: driver=snd_hda_intel latency=0

stands out as not being configured with a driver. I don't know if that means anything, but if others don't report the same problem as the days unfold, it might be hardware. Just a thought.

2 Likes

I agree with @mdd12.

But there is one thing I would like to know about your 'lshw' output:

*-multimedia:0 UNCLAIMED
description: Audio device
product: Raven/Raven2/Fenghuang HDMI/DP Audio Controller
vendor: Advanced Micro Devices, Inc. [AMD/ATI]

Are you sure this is your motherboard-integrated audio ?
The mention of HDMI/DP suggest that it could be the digital audio on your GPU/Videocard.

On most systems you will find two audio devices, both the GPU (for audio over HDMI) as well as motherboard-integrated audio (for audio over speakers/headset).

To see for which devices the drivers are loaded you could issue this command:

cat /proc/asound/cards

On my computer this results in:


 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfce60000 irq 99
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcd00000 irq 101

To compare with the above:
My kernelversion: 5.15.0-52-generic
My ALSA version 1.2.6
And here is a relevant excerpt of the lshw of my desktop. Everything works smooth at this end.
invoked: sudo lshw -class sound

  *-multimedia              
       description: Audio device
       product: Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0.1
       bus info: pci@0000:2d:00.1
       logical name: card0
       logical name: /dev/snd/controlC0
       logical name: /dev/snd/hwC0D0
       logical name: /dev/snd/pcmC0D10p
       logical name: /dev/snd/pcmC0D11p
       logical name: /dev/snd/pcmC0D3p
       logical name: /dev/snd/pcmC0D7p
       logical name: /dev/snd/pcmC0D8p
       logical name: /dev/snd/pcmC0D9p
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:99 memory:fce60000-fce63fff
  *-multimedia
       description: Audio device
       product: Starship/Matisse HD Audio Controller
       vendor: Advanced Micro Devices, Inc. [AMD]
       physical id: 0.4
       bus info: pci@0000:2f:00.4
       logical name: card1
       logical name: /dev/snd/controlC1
       logical name: /dev/snd/hwC1D0
       logical name: /dev/snd/pcmC1D0c
       logical name: /dev/snd/pcmC1D0p
       logical name: /dev/snd/pcmC1D1p
       logical name: /dev/snd/pcmC1D2c
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:101 memory:fcd00000-fcd07fff

The top one is the audio on my GPU-card
The bottom one is the motherboard-integrated audio

There is a possibility that with the new kernel, pulse or pipewire are sending their output to the wrong device. Especially when HDMI is in use (because that seems to be the 'user friendly' way).
Could that be the issue here ?

You question:

Is there anything special I need to do to ensure that older kernel doesn't get removed during subsequent updates?

you can mark packages (including the kernel) with "hold":
read: 'Introduction to Holding Packages' halfway down this page:
https://help.ubuntu.com/community/PinningHowto

It is much easier to mark packages for 'hold' in 'synaptic' but then 'apt' needs to get that info too.
Luckily a single symlink will do the trick.

sudo ln -s /var/lib/synaptic/preferences /etc/apt/preferences.d/locked_in_synaptic
2 Likes

Lost sound. Lost the icon in panel. Absolutely no idea how to get it back.

CPU: quad core 11th Gen Intel Core i7-1165G7 (-MT MCP-)
speed/min/max: 2800/400/4700 MHz
Kernel: 5.19.0-23-generic x86_64 Up: 22m
Mem: 4279.6/11730.4 MiB (36.5%)
Storage: 504.19 GiB (25.4% used) Procs: 302
Shell: Bash 5.2.2 inxi: 3.3.13

I DID reboot with the previous 5.15.0.27 kernel.... no change.

with some search around, I get:
error: Unable to locate package pipewire-audio-client-libraries
also
E: Unable to locate package libfdk-aac2
E: Unable to locate package libopenaptx0
E: Unable to locate package libspa-0.2-jack
E: Couldn't find any package by glob 'libspa-0.2-jack'
E: Couldn't find any package by regex 'libspa-0.2-jack'

Also: Evolution and Celluloid simply disappeared from the Menu.

Addendum: After many trials I got volume back. Had to play with the PPAs and so on. It appears that the upgrade wasn't completed. But I still can't figure how to have a sound indicator applet on the panel... so if one of you knows or have an idea... I want to get back the icon with media integration.

Regarding Celluloid, I reinstalled with 'Software'.

W

Maybe this will help:

sudo apt install ayatana-indicator-sound

And check if it's enabled in 'startup applications' in mate-control-center

If the install replies with 'already installed' try this:

sudo apt install --reinstall ayatana-indicator-sound
3 Likes

I did and it now shows in the control panel. Thanks.
But still no sound incon on the panel (i.e. the one that previously was patr of the "Indicator Applet Complete",

Well... don't know what I did that resulted into a solution. But I did a reboot and then the volume control is back...

Back to the usual happy state.

W

2 Likes

I did and it now shows in the control panel. Thanks.
But still no sound incon on the panel

It will take a logout/login or a reboot to activate because it is a startup action

2 Likes

Another thing I forgot to share
When upgrading Rhythmbox was 'flushed out'
I did have all my data protected.... except the radio stations that I had configured... :upside_down_face: :flushed: :weary:
My fault. These are the small things that makes upgrades frustrating sometimes.

W

thanx, all done!
it was real halpfull

2 Likes

Welcome @sherengovski to the community!

1 Like