Pulseaudio does not work

I want to change the sound from Alsa to Pulse Audio, but I can’t. Sometimes it’s because I break the Pipewire connection, other times it asks me for a server.

Apparently, I have to uninstall Pipewire to be able to install Pulse Audio?

sudo pacman -R manjaro-pipewire && sudo pacman -S manjaro-pulse

But that said, the above is only an answer to your direct question — which is about a perceived problem — and not a solution to the actual problem.

1 Like
So what is the current solution for this case?

Well, I don’t know your audio setup — i.e. which audio hardware is involved, and what usage scenario requires you to switch manually — and I am not exactly an expert on these matters. However, @nikgnomic is our resident audio expert, so perhaps he can provide further advice.

2 Likes
Thanks
1 Like

This approach is not possible. PulseAudio packages must be installed to replace some PipeWire packages

Manjaro has metapackages to switch audio servers:

To replace Pipewire with PulseAudio:

pamac install manjaro-pulse

To replace PulseAudio with PipeWire:

pamac install manjaro-pipewire

To check installed audio servers:

inxi  -Aa
2 Likes

Is it not necessary to remove manjaro-pulse first?

1 Like

To replace Pipewire with PulseAudio - pamac install manjaro-pulse

It has been quite a long time since anyone has installed either of these metapackages so I do not know if manjaro-pipewire needs to be removed before installing manjaro-pulse, but pamac will advise if this is needed

2 Likes

Well, I myself am still on manjaro-pulse, and I’ve never had any problems with it, so I also never thought of changing that. However, given that pipewire has already been the default in Manjaro for quite a while now, I’ve recently been contemplating switching over as well.

I reckon that pacman would certainly throw up a warning if one chooses to replace one with the other, but I didn’t know whether pamac would do the same or just silently remove the incompatible package(s) — I normally always use pacman for things from the official repositories, and pamac for the AUR.

1 Like
<pre><font color="#00AA00">pamac</font> install manjaro-pulse                                     <font color="#000000"></font><span style="background-color:#000000"><font color="#00AA00"> ✔ </font></span>

A preparar...
<font color="#FF5555"><b>==== AUTHENTICATING FOR org.manjaro.pamac.commit ====</b></font>
É necessária autenticação para instalar, atualizar ou remover pacotes
Authenticating as: fernando
Password: 
<font color="#FF5555"><b>==== AUTHENTICATION COMPLETE ====</b></font>
A sincronizar bases de dados de pacotes...

Escolher dependências opcionais para manjaro-pulse:
1:  paprefs: Configuration dialog
2:  pasystray: system tray application
3:  pavucontrol-qt: A Qt volume control tool
4:  pulseaudio-equalizer: Graphical equalizer
5:  pulseaudio-equalizer-ladspa: A 15-band equalizer
6:  pulseaudio-jack: Jack support
7:  pulseaudio-lirc: IR (lirc) support
8:  pulseaudio-rtp: RTP and RAOP support
9:  pulseaudio-zeroconf: Zeroconf support

Introduza uma seleção (padrão=nenhum)</pre>

This is the problem....which server?
Escolher dependências opcionais para manjaro-pulse:
1:  paprefs: Configuration dialog
2:  pasystray: system tray application
3:  pavucontrol-qt: A Qt volume control tool
4:  pulseaudio-equalizer: Graphical equalizer
5:  pulseaudio-equalizer-ladspa: A 15-band equalizer
6:  pulseaudio-jack: Jack support
7:  pulseaudio-lirc: IR (lirc) support
8:  pulseaudio-rtp: RTP and RAOP support
9:  pulseaudio-zeroconf: Zeroconf support

pamac is asking if you want to choose additional optional packages

If you do not need additional packages press Enter to continue install

3 Likes
Enter a selection (default=none): 

Resolving dependencies...
Checking for internal conflicts...
Error: An error occurred while preparing the transaction:
unable to fulfil dependencies:
- removing pipewire-pulse breaks dependency “pipewire-pulse” required by pulse-native-provider

At least the command did not fail because metapackage (manjaro-pipewire) was installed

Try this to install the 3 required packages discretely

pamac install pluseaudio pulseaudio-alsa pulseaudio bluetooth

pamac install pulseaudio pulseaudio-alsa pulseaudio-bluetooth

2 Likes
pamac install pulseaudio pulseaudio-alsa pulseaudio bluetooth                   
Error: object not found: pluseaudio

compare the two lines

you said you issued:

but the error message said:

This was no copy/paste of what was done.

You made a typo and didn’t copy the actual sequence.

it’s: pulseaudio
not
pluseaudio

ps:
no - you didn’t make a typo - you just copy/pasted the provided command - which included a typo :wink:

1 Like

My typo error - command was missing a dash

pamac install pulseaudio pulseaudio-alsa pulseaudio-bluetooth

Happy New Year
Fiddler’s Green - Auld Lang Syne

2 Likes
pamac install pulseaudio pulseaudio-alsa pulseaudio-bluetooth
Synchronising package databases...
Updating AUR...                                                              
Preparing...                                                                   
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages.
Authenticating as: Fernando (fernando)
Password: 
==== AUTHENTICATION COMPLETE ====
Synchronising package databases...

Select optional dependencies for pulseaudio:
1:  pulseaudio-equalizer: Graphical equaliser
2:  pulseaudio-jack: Jack support
3:  pulseaudio-lirc: IR (lirc) support
4:  pulseaudio-rtp: RTP and RAOP support
5:  pulseaudio-zeroconf: Zeroconf support

Enter a selection (default=none): 1
To install (6):
  pulseaudio-alsa       1:1.2.12-5                                                            extra  3.5 kB
  pulseaudio            17.0+r93+gbe2efb69b-1                                                 extra  1.2 MB
  python-pyqt5-sip      12.17.2-1              (Required by: pulseaudio-equalizer)          extra  64.6 kB
  python-pyqt5          5.15.11-3              (Required by: pulseaudio-equalizer)          extra  3.9 MB
  pulseaudio-equalizer  17.0+r93+gbe2efb69b-1                                                 extra  33.5 kB
  pulseaudio-bluetooth  17.0+r93+gbe2efb69b-1                                                 extra  96.6 kB
To be removed (2):
  manjaro-pipewire      20231009-1             (Conflicts with: pulseaudio-equalizer)  extra
  pipewire-pulse        1:1.4.9-2              (Conflicts with: pulseaudio)            extra
Executing post-transaction hooks...
Reloading user manager configuration...                                    [1/5]
Warning: The unit file, source configuration file or drop-ins of user@1000.service changed on disk. Run “systemctl daemon-reload” to reload units.
Reloading device manager configuration...                                  [2/5]
Arming ConditionNeedsUpdate...                                             [3/5]
Reloading system bus configuration...                                      [4/5]
Warning: The unit file, source configuration file or drop-ins of dbus.service changed on disk. Run “systemctl daemon-reload” to reload units.
Compiling GSettings XML schema files...                                    [5/5]
Transaction completed successfully.

I didn’t notice the error until later, and then I corrected it. But it didn’t work.


Mod edit: Please, only post code or command output as pre-formatted text – all normal/plain text should be typed normally. Pre-formatted enclosure removed. No charge.

But the command did work. :man_shrugging:

What do you mean with: … it didn’t work?

Reboot system to unload systemctl units for pipewire-pulse and load systemctl units for pulseaudio

If PulseAudio is not working as expected please post more information:

systemctl --user -l --no-pager status pulseaudio.socket pulseaudio.service
inxi -Aa
1 Like