62

Problem: No sound after upgrade from ubuntu 21.10 to 22.04 (using development release) both built in speakers and hdmi output.

Some background: running on ubuntu 21.04, I noticed that my sound was not so great so I did some research for sound and I finally managed to get better sound using pipewire with easyeffects. My guess is that I have to either remove this setup or adjust it for ubuntu 22.04 but I cant find the config settings anymore which I changed earlier.

Some info regarding my setup:

➜  ~ pactl info | grep '^Server Name'                
Server Name: PulseAudio (on PipeWire 0.3.48)

➜ ~ inxi -SMA
System: Host: BEWELIN001L Kernel: 5.15.0-25-generic x86_64 bits: 64 Desktop: GNOME 42.0 Distro: Ubuntu 22.04 (Jammy Jellyfish) Machine: Type: Laptop System: Notebook product: PC5x_7xHP_HR_HS v: N/A serial: <superuser required> Mobo: Notebook model: PC5x_7xHP_HR_HS serial: <superuser required> UEFI: INSYDE v: 1.07.08 date: 09/07/2021 Audio: Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel Device-2: NVIDIA driver: snd_hda_intel Sound Server-1: ALSA v: k5.15.0-25-generic running: yes Sound Server-2: PipeWire v: 0.3.48 running: yes

no-output-device-listed-ubuntu-22.04

Sound settings just shows "dummy output" in the output device dropdown

enter image description here

Any ideas how to get this fixed?

ThdK
  • 731

7 Answers7

141

I had the same issue after upgrading from 21.10.

I was able to fix this by running:

sudo touch /usr/share/pipewire/media-session.d/with-pulseaudio
systemctl --user restart pipewire-session-manager

For some reason pipewire-media-session was no longer picking up /etc/pipewire/media-session.d/with-pulseaudio

Source: http://changelogs.ubuntu.com/changelogs/pool/main/p/pipewire-media-session/pipewire-media-session_0.4.1-2ubuntu1/changelog

Adam
  • 1,893
12

I was having the same issue in Ubuntu 20.04. I tried to restart but it didn't help. Finally, I got the solution here.

Just restart pulseaudio service it will start working again.

Kill the running instance:

pulseaudio -k

Start pulseaudio again as a daemon:

pulseaudio -D

Please note that it fixed my Dummy Output problem on Ubuntu 20.04. A try is always worth giving.

10

OPTION 1

Open the terminal.

  • Type alsamixer and press the Enter key.

  • You will see the some output in your terminal.

  • Use the left and right arrow keys to select a volume control. and use up and down arrow keys to increase and decrease volume levels for each control.

  • Note: the currently selected item is shown in red. If mixer control is muted, “MM” appears below the volume bar. You can unmute control by pressing the m key. This changes “MM” to “OO.”

  • To exit alsamixer, press the Esc key.

OPTION 2

Run the following on the terminal and restart your system

$ alsaloop

$ sudo alsa force-reload

reboot your computer, and test your sound again to see if it is working.

OPTION 3

If none of the above solutions work for you, try reinstalling ALSA and PulseAudio that must fix the problem for you. Open your terminal, and enter the following commands: sudo apt-get remove --purge alsa-base

sudo apt-get remove --purge pulseaudio

sudo apt-get install alsa-base

sudo apt-get install pulseaudio

Afuye Olawale
  • 201
  • 2
  • 4
5

after couple days of struggling this reddit answer worked for me

as the answer suggest remove pipewire config files then reinstall pipewire, pipewire-pulse, and pipewire-media-session

  1. Remove all the configuration files in /etc/pipewire (sudo mv /etc/pipewire /tmp)

  2. Reinstall pipewire, pipewire-pulse, and pipewire-media-session (sudo pacman -S pipewire pipewire-pulse pipewire-media-session)

  3. Enable and start the relevant services (systemctl --user enable pipewire pipewire-pulse pipewire-media-session) and (systemctl --user restart pipewire pipewire-pulse pipewire-media-session). After that, my devices appeared as usual and I was back in business.

3

In my case, the following command generally solve the problem.

systemctl --user restart wireplumber pipewire-pulse pipewire

The following also works:

systemctl --user restart pipewire.service
0

I tried so many things after the upgrade to 22.04 and nothing seemed to work, and what I noticed (in my case), is that the kernel was not using the snd_hda_intel driver and therefor couldn't see/load the soundcard while lspci was still showing the soundcard.

I tried several of the options found and what did work for me what eventually the last option found on this page:

https://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/

which was actually saying to add the following to the alsa-base.conf (/etc/modprobe.d/alsa-base.conf) and reboot:

options snd-hda-intel dmic_detect=0

after the reboot I finally had audio again!

FGOD
  • 55
0

Restarting Pipewire was no help to me, but I needed to install some missing components of it, as detailed here: Problem with sound in Ubuntu 22.10