You are not logged in.
Pages: 1
If you saw any earlier posts on mine, you are completely right, I am the same guy about somewhat of the same issue. It is a whole other case tho...
Not long ago, I had an issue with pipewire found in this post: https://bbs.archlinux.org/viewtopic.php?id=275706
Since non of the things we tried helped anything and I really need pipewire since I wanna record on wayland, I did a fresh install with sway and pipewire. I was cassually installing some packages, (at that time installing steam and OBS) when my pipewire fell out. No audio whatsoever... I checked
systemctl --user status pipewire
which outputted:
x pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2022-05-28 21:42:29 CEST; 11s ago
Duration: 21ms
TriggeredBy: x pipewire.socket
Process: 1288 ExecStart=/usr/bin/pipewire (code=exited, status=245)
Main PID: 1288 (code=exited, status=245)
CPU: 16ms
May 28 21:42:29 arch systemd[866]: pipewire.service: Scheduled restart job, restart counter is at 5.
May 28 21:42:29 arch systemd[866]: Stopped PipeWire Multimedia Service.
May 28 21:42:29 arch systemd[866]: pipewire.service: Start request repeated too quickly.
May 28 21:42:29 arch systemd[866]: pipewire.service: Failed with result 'exit-code'.
May 28 21:42:29 arch systemd[866]: Failed to start PipeWire Multimedia Service.
typing
pipewire
in console ouputs:
[E][00137.349194] mod.protocol-native | [module-protocol-: 708 lock_socket()] server 0x55b2246186a0: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00137.349341] pw.conf | [ conf.c: 560 load_module()] 0x55b2245fde70: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00137.349505] default | [ pipewire.c: 125 main()] failed to create context: Resource temporarily unavailable
I tried removing /etc/pipewire and I tried removing steam and obs, with reboots in between every time, non of it worked.. I am lost here... Anyone has any idea on how to fix this?
Some other outputs:
aplay -lL
gave
Unknown command: aplay
pactl list cards
,
pactl list sinks
,
pactl list sink-outputs
all gave
Connection failure: Connection refused
and
sudo fuser -v /dev/snd/*
gave a prompt but no output.
Offline
I just tested using pipewire-media-session without luck.
Offline
Install alsa-utils for the aplay command, post
ps -ef | grep -E 'pulse|pipewire'
printenv | grep DBUS
how exactly are you starting your sway session?
Offline
I am launching it through gdm and
ps -ef | grep -E 'pulse|pipewire'
printenv | grep DBUS
outputs:
rat 969 1 0 19:57 ? 00:00:00 pipewire
rat 1090 884 0 19:57 ? 00:00:00 /usr/bin/pipewire-pulse
rat 5488 4909 0 20:01 pts/1 00:00:00 grep -E pulse|pipewire
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
[rat@arch ~]$ aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA ATI HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA ATI HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA ATI HDMI, HDMI 3
HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
HDA ATI HDMI, HDMI 4
HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
HDA ATI HDMI, HDMI 5
HDMI Audio Output
sysdefault:CARD=Generic
HD-Audio Generic, ALC892 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=Headset
G935 Gaming Headset, USB Audio
Default Audio Device
front:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
Front output / input
surround21:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
G935 Gaming Headset, USB Audio
IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Headset [G935 Gaming Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I got frustrated yesterday and I did a reinstall. Everything worked, but after installing steam (flatpak version since normal doesn't work for me) and some other things (no OBS this time), I got exactly the same issue after rebooting. I am pretty sure it a some service blocking the use of pipewire. How .can I list all active services? Maybe then you could have a look and see what is blocking it from working.
Offline
got it,
systemctl list-unit-files --state=enabled
ouputs:
UNIT FILE STATE VENDOR PRESET
gdm.service enabled disabled
getty@.service enabled enabled
NetworkManager-dispatcher.service enabled disabled
NetworkManager-wait-online.service enabled disabled
NetworkManager.service enabled disabled
remote-fs.target enabled enabled
6 unit files listed.
Offline
Looks normal so far:
pacman -Qs pipewire
systemctl --user status pipewire pipewire-media-session pipewire-pulse
Offline
local/easyeffects 6.2.5-1
Audio Effects for Pipewire applications
local/pipewire 1:0.3.51-1
Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.51-1
Low-latency audio/video router and processor - ALSA configuration
local/pipewire-jack 1:0.3.51-1
Low-latency audio/video router and processor - JACK support
local/pipewire-pulse 1:0.3.51-1
Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.4.10-3
Session / policy manager implementation for PipeWire
Unit pipewire-media-session.service could not be found.
x pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-05-30 20:09:38 CEST; 41min ago
Duration: 31ms
TriggeredBy: x pipewire.socket
Main PID: 12272 (code=exited, status=245)
CPU: 16ms
May 30 20:09:38 arch systemd[884]: pipewire.service: Scheduled restart job, restart counter is at 5.
May 30 20:09:38 arch systemd[884]: Stopped PipeWire Multimedia Service.
May 30 20:09:38 arch systemd[884]: pipewire.service: Start request repeated too quickly.
May 30 20:09:38 arch systemd[884]: pipewire.service: Failed with result 'exit-code'.
May 30 20:09:38 arch systemd[884]: Failed to start PipeWire Multimedia Service.
* pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2022-05-30 19:57:22 CEST; 53min ago
TriggeredBy: * pipewire-pulse.socket
Main PID: 1090 (pipewire-pulse)
Tasks: 2 (limit: 19086)
Memory: 2.7M
CPU: 1.666s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
`-1090 /usr/bin/pipewire-pulse
May 30 20:12:32 arch pipewire-pulse[1090]: mod.protocol-pulse: 0x556fdb3dccb0: failed to connect client: Host is down
May 30 20:12:32 arch pipewire-pulse[1090]: mod.protocol-pulse: client 0x556fdb595370 [Chromium]: ERROR command:9 (SET_CLIEN>
May 30 20:19:41 arch pipewire-pulse[1090]: mod.protocol-pulse: 0x556fdb3dccb0: failed to connect client: Host is down
May 30 20:19:41 arch pipewire-pulse[1090]: mod.protocol-pulse: client 0x556fdb520690 [Chromium]: ERROR command:9 (SET_CLIEN>
May 30 20:43:24 arch pipewire-pulse[1090]: mod.protocol-pulse: 0x556fdb3dccb0: failed to connect client: Host is down
May 30 20:43:24 arch pipewire-pulse[1090]: mod.protocol-pulse: client 0x556fdb5a2a10 [Chromium]: ERROR command:9 (SET_CLIEN>
May 30 20:48:32 arch pipewire-pulse[1090]: mod.protocol-pulse: 0x556fdb3dccb0: failed to connect client: Host is down
May 30 20:48:32 arch pipewire-pulse[1090]: mod.protocol-pulse: client 0x556fdb595370 [Chromium]: ERROR command:9 (SET_CLIEN>
May 30 20:48:40 arch pipewire-pulse[1090]: mod.protocol-pulse: 0x556fdb3dccb0: failed to connect client: Host is down
May 30 20:48:40 arch pipewire-pulse[1090]: mod.protocol-pulse: client 0x556fdb595370 [Chromium]: ERROR command:9 (SET_CLIEN>
lines 1-36/36 (END)
Offline
Wait no this doesn't read normal, why is your pipewire started by PID 1 ? That reads like you tried setting it up as a system service or so, also why is it started as "pipewire" and not with the full path? kill that pipewire and try starting the service again, find out where exactly it is being started. Do you have the flatpak steam in your autostart or so? Can you post a full journal?
sudo journalctl -b --no-pager
Offline
Okay so I had been tinkering around with disabling and enabling the service, but when I restarted after you asked me to do these things, it fixed itself somehow... I don't know what is happening but I'll return here when it's broken again.
Offline
In general pipewire is an user service and should be started on a per user basis. If your experiments where ever ran as sudo/with root that is wrong and will lead to logical clashes in various forms. If you want to look at the service status, always pass the --user flag to systemctl and run that from your normal user.
Offline
Pages: 1