Question regarding audio backend

For some times now I wonder if there is something wrong with the audio backend I’m using, I’ve never really pay attention to it until recently…

Basically pipewire and pulseaudio are both installed but pipewire doesn’t seems to work, at least not with mpv both native and flatpak ( see: Flatpak Mpv broken since 20240306 snapshot - #18 by Aboutduck )

When I run inxi -A I can see that I’m using pulseaudio

inxi -A

Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel
  Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
  Device-3: Kingston HyperX 7.1 Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.7.7-1-default status: kernel-api
  Server-1: PulseAudio v: 17.0 status: active

And for the packages installed this is what I have

zypper se --installed-only alsa pipewire pulseaudio                                                                                                                                                                          

S  | Name                           | Summary                                                                  | Type
---+--------------------------------+--------------------------------------------------------------------------+--------
i+ | alsa                           | Advanced Linux Sound Architecture                                        | package
i+ | alsa-oss                       | LD_PRELOAD-able library that translates OSS into ALSA calls              | package
i  | alsa-oss-32bit                 | LD_PRELOAD-able library that translates OSS into ALSA calls              | package
i+ | alsa-plugins                   | Extra Plug-Ins for ALSA Library                                          | package
i  | alsa-plugins-pulse-32bit       | Pulseaudio Plug-In for ALSA Library                                      | package
i+ | alsa-plugins-speexrate         | Rate Converter Plug-In for ALSA Library using Speex                      | package
i+ | alsa-plugins-upmix             | PCM Up-mix Plug-In for ALSA Library                                      | package
i+ | alsa-ucm-conf                  | ALSA UCM Profiles                                                        | package
i+ | alsa-utils                     | Advanced Linux Sound Architecture Utilities                              | package
i  | kpipewire-imports              | QtQuick bindings for kpipewire                                           | package
i  | kpipewire6-imports             | QtQuick bindings for kpipewire6                                          | package
i  | libKPipeWire5                  | PipeWire integration for KDE Plasma - main library                       | package
i  | libKPipeWire5-lang             | Translations for package libKPipeWire5                                   | package
i  | libKPipeWire6                  | PipeWire integration for KDE Plasma - main library                       | package
i  | libKPipeWire6-lang             | Translations for package libKPipeWire6                                   | package
i  | libKPipeWireDmaBuf5            | PipeWire integration for KDE Plasma - DMA-BUF support                    | package
i  | libKPipeWireDmaBuf6            | PipeWire integration for KDE Plasma - DMA-BUF support                    | package
i  | libKPipeWireRecord5            | PipeWire integration for KDE Plasma - recording support                  | package
i  | libKPipeWireRecord6            | PipeWire integration for KDE Plasma - recording support                  | package
i+ | libpipewire-0_3-0              | A Multimedia Framework designed to be an audio and video server and more | package
i  | libpipewire-0_3-0-32bit        | A Multimedia Framework designed to be an audio and video server and more | package
i+ | pipewire                       | A Multimedia Framework designed to be an audio and video server and more | package
i  | pipewire-alsa                  | PipeWire media server ALSA support                                       | package
i  | pipewire-alsa-32bit            | PipeWire media server ALSA support                                       | package
i+ | pipewire-aptx                  | PipeWire Bluetooth aptX codec plugin                                     | package
i  | pipewire-lang                  | Translations for package pipewire                                        | package
i+ | pipewire-modules-0_3           | Modules For PipeWire, A Multimedia Framework                             | package
i  | pipewire-modules-0_3-32bit     | Modules For PipeWire, A Multimedia Framework                             | package
i+ | pipewire-spa-plugins-0_2       | Plugins For PipeWire SPA                                                 | package
i  | pipewire-spa-plugins-0_2-32bit | Plugins For PipeWire SPA                                                 | package
i+ | pipewire-spa-tools             | The PipeWire SPA Tools                                                   | package
i+ | pipewire-tools                 | The PipeWire Tools                                                       | package
i+ | pulseaudio                     | A Networked Sound Server                                                 | package
i+ | pulseaudio-bash-completion     | PulseAudio Bash completion                                               | package
i  | pulseaudio-lang                | Translations for package pulseaudio                                      | package
i+ | pulseaudio-module-bluetooth    | Bluetooth support for the PulseAudio sound server                        | package
i+ | pulseaudio-module-gsettings    | GSettings module for PulseAudio                                          | package
i+ | pulseaudio-module-x11          | X11 module for PulseAudio                                                | package
i+ | pulseaudio-module-zeroconf     | Zeroconf module for PulseAudio                                           | package
i+ | pulseaudio-setup               | Set-up script for PulseAudio                                             | package
i+ | pulseaudio-utils               | PulseAudio utilities                                                     | package
i  | pulseaudio-utils-32bit         | PulseAudio utilities                                                     | package

I’m not really sure if having both pulseaudio and pipewire installed is good … from my understanding I should replace pulseaudio with pipewire-pulseaudio and use pipewire only ?

So basically with this conflict with the latest zypper dup on my system I should select all solution that remove all pulseaudio-* related packages ?

sudo zypper dup

[...]

Problem: the to be installed pipewire-alsa-1.0.4-1.1.x86_64 requires 'pipewire-pulseaudio', but this requirement cannot be provided
  not installable providers: pipewire-pulseaudio-1.0.4-1.1.x86_64[download.opensuse.org-oss]
 Solution 1: deinstallation of pipewire-alsa-1.0.3-3.1.x86_64
 Solution 2: deinstallation of pulseaudio-17.0-3.2.x86_64
 Solution 3: keep obsolete pipewire-alsa-1.0.3-3.1.x86_64
 Solution 4: break pipewire-alsa-1.0.4-1.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/4/c/d/?] (c): 

Thanks in advance for the clarifications.

@Aboutduck Check the SDB on what to check, switch etc https://en.opensuse.org/openSUSE:Pipewire

1 Like

Thank you for the link I should have searched here first …

So after reading it I can see that pipewire was set the default on new install two months after I’ve installed Tumbleweed, explaining why I still have pulseaudio instead of pipewire …

Since the 20220708 openSUSE Tumbleweed release, new installations use PipeWire as the default audio engine instead of PulseAudio so there’s no need to do any manual installation. Note that a system upgrade from a previous release won’t automatically replace PulseAudio since that would be too intrusive for an installed system so in that case you’ll need to enable the audio support just as in Leap.

I think that answer my question, I will install pipewire-pulseaudio removing pulseaudio in the process.

Thanks again.

So just did the update removing all pulseaudio related package and everything is fine, audio is working and both flatpak and native mpv version are able to play audio with either pipewire or pulse audio output, so this is issue is also fixed … properly this time.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.