#Pipewire not working

1 messages · Page 1 of 1 (latest)

gleaming marsh
#

pipewire
[E][00080.305710] mod.protocol-native | [module-protocol-: 760 lock_socket()] server 0x55f0dadca410: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00080.305816] pw.conf | [ conf.c: 577 load_module()] 0x55f0dad82cb0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00080.306564] default | [ pipewire.c: 105 main()] failed to create context: Resource temporarily unavailable

endeavouros after uninstall pulseaudio

weak summit
#

hm

#

endeavouros

#

this is not of arch

gleaming marsh
#

i have reboot them

weak summit
#

so why are you asking here

gleaming marsh
#

its arch

weak summit
#

no

gleaming marsh
#

based

weak summit
#

it is not.

#

based yes

#

thats it though

#

it's not arch

gleaming marsh
#

cmon

weak summit
#

... it uses a lot of different shit that arch kept.

#

don't "c'mon" me

gleaming marsh
#

might not

weak summit
#

no it does

#

this is absolutely true

gleaming marsh
#

they are quite similar

weak summit
#

i.e. dracut vs mkinitcpio

gleaming marsh
#

solve it or not

weak summit
#

they're similar yes

#

and dude you gave no info

#

did you look at the arch wiki?

gleaming marsh
weak summit
#

Jesus.

#

the command i gave you is something that removes it from the chain of dependencies

#

so there's other pulse stuff going on still more than likely

#

i just showed you how to uninstall the package itself

#

here

#

chatgpt gave me this:

gleaming marsh
#

where output

weak summit
#

FUCK

#

hang on.

#

im gonnahave to edit this so you see the bash code.

#

you should type "how do I switch from pulseaudio to pipewire with endeavouros?" in chatgpt like i did

#

without quotes

#

thats the output you'll get, probably the same answer

gleaming marsh
#

ight

weak summit
#

let me try to help anyway

#

wait no it shows the bash

#

``Step 1: Installation of PipeWire
Update Your System:
Open a terminal and run the following command to ensure your system is up to date:

bash
Copy code
sudo pacman -Syu
Install PipeWire:
Install PipeWire along with the necessary compatibility packages to support PulseAudio clients:

bash
Copy code
sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack
Step 2: Disabling PulseAudio
Disable PulseAudio Service:
PulseAudio should be disabled to prevent it from conflicting with PipeWire. Execute:

bash
Copy code
systemctl --user disable --now pulseaudio.socket pulseaudio.service
Enable PipeWire Services:
You need to enable the PipeWire and its Media Session daemon:

bash
Copy code
systemctl --user enable --now pipewire.socket pipewire.service
systemctl --user enable --now pipewire-media-session.service
Step 3: Verification
Verify PipeWire is Running:
Check if PipeWire is running correctly:

bash
Copy code
pactl info
Look for the Server Name: field in the output. It should indicate that PipeWire is handling the requests.

Testing Sound Output:
Test the sound output by playing audio through any media player. You can also use command-line tools like aplay (for ALSA) or paplay (for PulseAudio, it will be handled by PipeWire).

Step 4: Additional Configurations
Configuration Files:
If needed, you can customize PipeWire settings by editing the configuration files found in /etc/pipewire/ for system-wide changes or ~/.config/pipewire/ for user-specific changes.

Real-Time Priorities (Optional):
For professional audio work, you might want to enable real-time priorities for the PipeWire daemon:

bash
Copy code
sudo nano /etc/pipewire/pipewire.conf
Uncomment and modify the context.properties section as follows:

plaintext
Copy code
context.properties = {
...
"realtime.priority" = 9
...
}
Jack Applications (If Used):
If you use applications that rely on Jack, ensure that the pipewire-jack drop-in replacement is properly set up and recognized.``

#

made it smaller

gleaming marsh
#

ight

weak summit
#

``Step 5: Troubleshooting
If you encounter issues:

Check Status:
Check the status of PipeWire services to ensure they are active:

bash
Copy code
systemctl --user status pipewire.service
systemctl --user status pipewire-media-session.service
Logs:
Look at logs for any errors that might indicate what the issue is:

bash
Copy code
journalctl --user-unit=pipewire
Reverting Back to PulseAudio:
If something goes wrong and you wish to revert back to PulseAudio:

bash
Copy code
systemctl --user disable --now pipewire.socket pipewire.service pipewire-media-session.service
systemctl --user enable --now pulseaudio.socket pulseaudio.service
sudo pacman -R pipewire pipewire-pulse pipewire-alsa pipewire-jack
Switching to PipeWire can significantly improve audio handling on Linux, especially for complex setups involving professional audio work. The steps above should help you migrate smoothly from PulseAudio to PipeWire on EndeavourOS.``

#

also had that

#

the "message was too long"

gleaming marsh
#
[E][00983.401269] mod.protocol-native | [module-protocol-:  760 lock_socket()] server 0x61c647c9b410: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00983.401369] pw.conf      | [          conf.c:  577 load_module()] 0x61c647c53cb0: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00983.402198] default      | [      pipewire.c:  105 main()] failed to create context: Resource temporarily unavailable
[jake@macbook ~]$ pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
weak summit
#

all you're doing is typing pipewire

gleaming marsh
#
systemctl --user status pipewire-media-session.service
Warning: The unit file, source configuration file or drop-ins of pipewire.service changed on disk. Run 'systemctl --user daemon-reload' to reload units.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-04-14 23:25:24 +08; 3min 2s ago
TriggeredBy: ● pipewire.socket
   Main PID: 16191 (pipewire)
      Tasks: 3 (limit: 38216)
     Memory: 7.1M (peak: 7.4M)
        CPU: 26ms
     CGroup: /user.slice/user-1000.slice/[email protected]/session.slice/pipewire.service
             └─16191 /usr/bin/pipewire

Apr 14 23:25:24 macbook systemd[1828]: Started PipeWire Multimedia Service.
Unit pipewire-media-session.service could not be found.```
weak summit
#

dude

#

all you're doing is typing pipewire

#

and when it says daemon-reload

#

type it.

#

its telling you what to do

gleaming marsh
weak summit
#

yeah you're still trying to troubleshoot

#

go up further

#

make sure you change the configuration file

gleaming marsh
#

sudo daemon-reload

weak summit
#

oh my God.

#

yeah sudo systemctl --user daemon-reload

gleaming marsh
#
Failed to connect to bus: No medium found
#

ok

weak summit
#

"systemctl --user status pipewire.service
systemctl --user status pipewire-media-session.service
Warning: The unit file, source configuration file or drop-ins of pipewire.service changed on disk. Run 'systemctl --user daemon-reload' to reload units."

gleaming marsh
#

this right?

weak summit
#

that goes in the configuration file... /etc/pipewire/pipewire.conf

#

uncomment context.properties

#

then make sure it is as you showed me there

gleaming marsh
#

nothing in /etc/pipewire/pipewire.conf

weak summit
#

put it in there

gleaming marsh
weak summit
#

put it in

#

save it

gleaming marsh
#

yea

#

now

#
pipewire
[W][01410.061547] pw.context   | [       context.c:  354 pw_context_new()] 0x594d90dc7cb0: no modules loaded from context.modules

weak summit
#

stop typing pipewire.

#

thats not gonna change anything

#

systemctl --user disable --now pulseaudio.socket pulseaudio.service

gleaming marsh
#
Failed to disable unit: Unit file pulseaudio.socket does not exist.
weak summit
#

sudo pacman -S pipewire pipewire-pulse pipewire-alsa pipewire-jack

#

do it again

gleaming marsh
weak summit
#

yes

#

try rebooting first

#

just to get a handle on it

#

and go and and do sudo pacman -S pulseaudio -- we're gonna switch to it with it already there since we removed it

gleaming marsh
#

nop

#

aint workingp

weak summit
#

typing pipewire isnt gonna make it work

#

i hate to tell you that

#

i didnt say it would be working btw

#

you need to follow instructions

gleaming marsh
#

now what

weak summit
#

did it install?

gleaming marsh
#

firefox somehow crash

#

yes

weak summit
#

okay, firefox crashed, that has nothng to do with this

#

you annoy the fuck otu of me

gleaming marsh
#

what

weak summit
gleaming marsh
#

cant no longer open discord

weak summit
#

then you need to switch to pipewire or go back to pulse

gleaming marsh
#

im going with pipewire

weak summit
#

alright.

#

typing pipewire is not the same as typing pulseaudio, just saying

#

type pactl

#

pactl info

gleaming marsh
#

connection refusaed x2

weak summit
#

show what you're trying to say

#

or i cant do anything to help

gleaming marsh
#

ok

weak summit
#

keep pulseaudio package for now

gleaming marsh
#

ok

weak summit
#

there might be some configuration that could be used with it after disabling it

gleaming marsh
#

now the anything a new firefox tab no longer opens and would just crash

#

huh

weak summit
#

sigh

#

nothing.

#

you dont read or follow instructions.

gleaming marsh
#

ok im following

weak summit
#

im done.

gleaming marsh
#

need to go sleep

weak summit
#

then go to sleep

#

this is a long process

gleaming marsh
#

just give full jnstruction

weak summit
#

i did

gleaming marsh
#

okreally

weak summit
#

i gave what cahtgpt showed me, and i gave you a link for archwiki

#

im not gonna be able to tell you how to do things off of the top fo my head

#

yes, really

#

i dont know what your system is like

gleaming marsh
#

its endeavouros gnome

weak summit
#

i know that much

#

thats all i know

gleaming marsh
#

ok

weak summit
#

thats not even close to enough

gleaming marsh
#

ok

weak summit
#

what documentation have you read?

#

those are the instructions

#

use google too

#

you havent even used chatgpt

gleaming marsh
#

cant no longer use firefox

#

on desktop

weak summit
#

reinstall

#

im out

gleaming marsh
#

what

#

uhh

#

thanks for that i guess

weak summit
#

you dont read documentation, i provided a full guide and all you didnt even start at step 1

#

now goodbye