Artix Linux Forum

General Category => General Discussion => Topic started by: racuncai on 31 May 2024, 18:42:39

Title: Problems installing pipewire-pulse, please help.
Post by: racuncai on 31 May 2024, 18:42:39
When i try to install pipewire-pulse it shows this error:

Code: [Select]
$~: sudo pacman -S pipewire-pulse
[sudo] password for luis:
resolving dependencies...
:: There are 2 providers available for libmysofa.so=1-64:
:: Repository world
   1) libmysofa
:: Repository extra
   2) libmysofa

Enter a number (default=1): 1
looking for conflicting packages...
:: pipewire-pulse-1:1.0.7-2.1 and pulseaudio-17.0-3 are in conflict. Remove pulseaudio? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: pipewire-pulse-1:1.0.7-2.1 and pulseaudio-17.0-3 are in conflict


But i cannot remove pulseaudio either:

Code: [Select]
$~: sudo pacman -R pulseaudio    
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pulseaudio breaks dependency 'pulseaudio' required by pulseaudio-alsa
:: removing pulseaudio breaks dependency 'pulseaudio=17.0-3' required by pulseaudio-bluetooth
:: removing pulseaudio breaks dependency 'pulseaudio=17.0-3' required by pulseaudio-zeroconf

I don't want to remove things if it breaks something, please help.
Title: Re: Problems installing pipewire-pulse, please help.
Post by: gripped on 31 May 2024, 18:59:49
Repeat the first part of what you did but answer y to
Remove pulseaudio? [y/N]

You can't simply remove pulseaudio as you tried because other packages depend on it.
But pipewire-pulse 'provides' pulseaudio so it will work so long as you answer y
Title: Re: Problems installing pipewire-pulse, please help.
Post by: racuncai on 31 May 2024, 19:06:07
Repeat the first part of what you did but answer y to
Remove pulseaudio? [y/N]

You can't simply remove pulseaudio as you tried because other packages depend on it.
But pipewire-pulse 'provides' pulseaudio so it will work so long as you answer y


If y press "y" (yes) it just shows this error message:

Code: [Select]
$~: sudo pacman -S pipewire-pulse
[sudo] password for luis:
resolving dependencies...
:: There are 2 providers available for libmysofa.so=1-64:
:: Repository world
   1) libmysofa
:: Repository extra
   2) libmysofa

Enter a number (default=1): 1
looking for conflicting packages...
:: pipewire-pulse-1:1.0.7-2.1 and pulseaudio-17.0-3 are in conflict. Remove pulseaudio? [y/N] y
:: pipewire-pulse-1:1.0.7-2.1 and pulseaudio-bluetooth-17.0-3 are in conflict. Remove pulseaudio-bluetooth? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing pulseaudio breaks dependency 'pulseaudio=17.0-3' required by pulseaudio-zeroconf

It's the same problem with those dependencies, i had this problem before but it's better to ask things step by step.
Title: Re: Problems installing pipewire-pulse, please help.
Post by: gripped on 31 May 2024, 19:26:51
Remove pulseaudio-zeroconf first
Then try again.
Title: Re: Problems installing pipewire-pulse, please help.
Post by: racuncai on 31 May 2024, 20:47:24
Remove pulseaudio-zeroconf first
Then try again.

I uninstall pulseaudio-zeroconf, installed  pipewire-pulse and pipewire-alsa, rebooted my machine, run pipewire pulse and i have this error message:

Code: [Select]
pipewire-pulse
[E][00234.729109] mod.fallback-sink | [module-fallback-:  426 pipewire__module_init()] can't connect: Host is down
[E][00234.729139] default      | [           cmd.c:   51 do_cmd()] can't run command load-module module-always-sink: Host is down
[E][00239.249856] mod.protocol-pulse | [  pulse-server.c: 1089 do_set_client_name()] 0x5fcc8ed38d10: failed to connect client: Host is down
[W][00239.249868] mod.protocol-pulse | [         reply.c:   54 reply_error()] client 0x5fcc8ed3e2c0 [xfce4-pulseaudio-plugin]: ERROR command:9 (SET_CLIENT_NAME) tag:1 error:6 (Host is down)
Title: Re: Problems installing pipewire-pulse, please help.
Post by: gripped on 31 May 2024, 21:44:18
It's in the wiki (https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio) but you need to run
pipewire, pipewire-pulse & wireplumber

How you do that depends on how you start X or whyland.
Title: Re: Problems installing pipewire-pulse, please help.
Post by: racuncai on 31 May 2024, 22:14:28
It's in the wiki (https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio) but you need to run
pipewire, pipewire-pulse & wireplumber

How you do that depends on how you start X or whyland.

Thank you sound is working now  :)  (i actually saw the list of commands on another post you answered xD)

I'm using XFCE with lighdm as a login manager, i guess i have to use an autostart script on ~/.config/autostart/ to start the audio services, thanks again for the help.
Title: Re: Problems installing pipewire-pulse, please help.
Post by: gripped on 31 May 2024, 22:22:35
Your welcome.