Just did a zyyper up. I noticed a number of pipewire updates. Sound no longer works. Checked with YaST. Both cards needed re-configuring, but still no sound. Where do I start to diagnose?
Thanks in advance.
Your sound cards do not need to be configured in YaST sound in order to work, so doing that alone will probably do nothing if sound worked before and is broken. (I.e. they probably were not configured before, but still worked.)
If you noticed the pipewire updates, you might want to look to see if it is generating any error messages. Do you notice anything in the system log? I usually start by looking at dmesg to see if there are any kernel-level error messages. You can also run the command journalctl -xe | grep pipewire
to see things related to pipewire specifically. Usually if it is working, that command will return nothing.
Both cards? What desktop environment are you using?
Like others have mentioned, don’t use YaST to configure sound cards. Usually no explicit configuration required in any case.
Show the results (run as user) of
inxi -Aa
systemctl --user list-units | egrep -i "wire|pulse"
wpctl status
Here is the output from it.
ion@localhost:~> sudo journalctl -xe | grep pipewire
[sudo] password for root:
Aug 14 07:28:58 localhost.localdomain pipewire[3592]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
Aug 14 07:28:58 localhost.localdomain pipewire[3592]: spa.v4l2: error: Input/output error
Aug 14 07:28:58 localhost.localdomain pipewire[3592]: [0:00:17.697392482] [3592] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib64/libcamera'
Aug 14 07:28:58 localhost.localdomain pipewire[3592]: [0:00:17.697428680] [3592] INFO Camera camera_manager.cpp:284 libcamera v0.2.0
ion@localhost:~>
I don’t see anything I can understand.
Using XFCE.
ion@localhost:~> inxi -Aa
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 06:00.1
chip-ID: 1002:15de class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.4.0-150600.23.17-default status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.0.5 status: off with: wireplumber status: active
tools: pw-cat,pw-cli,wpctl
Server-2: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl,pavucontrol
ion@localhost:~> systemctl --user list-units | egrep -i "wire|pulse"
pipewire.service loaded active running PipeWire Multimedia Service
pulseaudio.service loaded active running Sound Service
wireplumber.service loaded active running Multimedia Service Session Manager
pipewire.socket loaded active running PipeWire Multimedia System Sockets
pulseaudio.socket loaded active running Sound System
ion@localhost:~> wpctl status
PipeWire 'pipewire-0' [1.0.5, ion@localhost.localdomain, cookie:1381810503]
└─ Clients:
32. xdg-desktop-portal [1.0.5, ion@localhost.localdomain, pid:3536]
33. WirePlumber [1.0.5, ion@localhost.localdomain, pid:3594]
41. WirePlumber [export] [1.0.5, ion@localhost.localdomain, pid:3594]
49. wpctl [1.0.5, ion@localhost.localdomain, pid:7528]
Audio
├─ Devices:
│
├─ Sinks:
│
├─ Sources:
│
├─ Filters:
│
└─ Streams:
Video
├─ Devices:
│ 42. Integrated Camera [v4l2]
│ 43. Integrated Camera [v4l2]
│ 46. Integrated Camera: Integrated C [libcamera]
│
├─ Sinks:
│
├─ Sources:
│ 44. Integrated Camera (V4L2)
│ * 47. Integrated Camera Integrated C
│
├─ Filters:
│
└─ Streams:
Settings
└─ Default Configured Devices:
ion@localhost:~>
Is there a simple way to revert to before the update?
Strange…inxi thinks that pipewire is not active and no audio devices shown in wpctl ouput either…
Server-1: PipeWire v: 1.0.5 status: off with: wireplumber status: active
tools: pw-cat,pw-cli,wpctl
I wonder if PulseAudio is hogging the devices. Please show
lsof /dev/snd/*
Since you are using PipeWire, you can install the wrapper service and API provided by ‘pipewire-pulseaudio’ which will replace PulseAudio. Most desktop environments are running this way these days.
As requested.
ion@localhost:~> lsof /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 1886 ion 18u CHR 116,6 0t0 870 /dev/snd/controlC0
pulseaudi 1886 ion 23u CHR 116,6 0t0 870 /dev/snd/controlC0
pulseaudi 1886 ion 24u CHR 116,12 0t0 926 /dev/snd/controlC1
pulseaudi 1886 ion 31u CHR 116,12 0t0 926 /dev/snd/controlC1
pulseaudi 1886 ion 36u CHR 116,12 0t0 926 /dev/snd/controlC1
ion@localhost:~>
Installing pipewire-pulseaudio solved the probem. Many thanks.
That output does suggest pulseaudio is hogging the devices here. My suggestion is to install ‘pipewire-pulseaudio’
sudo zypper in pipewire-pulseaudio
This will remove pulseaudio and install the wrapper service instead. Follow the prompts given, and once done log out of the desktop and back in, then test again.
At that point show the results from
pactl info
pactl list cards
Great! Glad to have been of assistance.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.