You are not logged in.

#1 2020-12-27 13:31:06

replax
Member
Registered: 2011-02-12
Posts: 90

[SOLVED] PipeWire: no audio hardware found, "no node available"

Hello,

just for fun, I did a fresh arch install and wanted to test out pipewire (only) for audio.

However, no audio hardware devices are being recognised.
My hardware devices are an USB DAC and notebook speakers (thinkpad t480s).

I installed

pacman -S pipewire pipewire-pulse pipewire-alsa pavucontrol alsa-utils mpv
systemctl --user enable pipewire.socket pipewire-pulse.socket
systemctl --user enable pipewire.service pipewire-pulse.service
### REBOOT ###

Now, there is no sound. When I remove `pipewire-alsa`, I can listen to sound through my USB DAC (alsa, can adjust volume with `alsamixer`). With it installed, `pavucontrol` shows _No output devices available_.
Also whenever I run a program which would like to use a sound output, such as `mpv`, I get the error

[E][000004399.058880][stream.c:295 stream_set_state()] stream 0x55ef5a4723c0: error no node available

Did I forget to add myself to a certain user group or am I overseeing something very obvious here?
Thanks!

Further debug output:

[ab@archtp480s ~]$ systemctl --user status pipewire-pulse.service

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-12-27 14:56:00 CET; 33min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 4016 (pipewire-pulse)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.service
             └─4016 /usr/bin/pipewire-pulse

Dec 27 15:12:34 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50615030: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:12 error:19 (Operation not supported)
Dec 27 15:12:34 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50615030: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:13 error:19 (Operation not supported)
Dec 27 15:12:34 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50615030: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:14 error:19 (Operation not supported)
Dec 27 15:12:34 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50615030: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:15 error:19 (Operation not supported)
Dec 27 15:21:31 archtp480s pipewire-pulse[4016]: stream 0x55fc509cc070: error no node available
Dec 27 15:21:31 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc509d1300: [mpv] ERROR command:-1 (invalid) tag:2 error:25 (Input/output error)
Dec 27 15:25:21 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50601710: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:12 error:19 (Operation not supported)
Dec 27 15:25:21 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50601710: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:13 error:19 (Operation not supported)
Dec 27 15:25:21 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50601710: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:14 error:19 (Operation not supported)
Dec 27 15:25:21 archtp480s pipewire-pulse[4016]: pulse-server 0x55fc50601710: [PulseAudio Volume Control] ERROR command:87 (EXTENSION) tag:15 error:19 (Operation not supported)

[ab@archtp480s ~]$ systemctl --user status pipewire.service

● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-12-27 14:56:00 CET; 34min ago
TriggeredBy: ● pipewire.socket
   Main PID: 4017 (pipewire)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.service
             ├─4017 /usr/bin/pipewire
             └─4020 /usr/bin/pipewire-media-session

Dec 27 15:12:07 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:13 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:17 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:29 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:30 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:34 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:12:46 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:15:22 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:15:22 archtp480s pipewire-media-session[4020]: no node found for 38
Dec 27 15:21:31 archtp480s pipewire-media-session[4020]: no node found for 38

[ab@archtp480s ~]$ asoundconf list-all

Available devices for all sound cards:
hw:0,0: PCH : HDA Intel PCH : ALC257 Analog : ALC257 Analog
hw:0,3: PCH : HDA Intel PCH : HDMI 0 : HDMI 0
hw:0,7: PCH : HDA Intel PCH : HDMI 1 : HDMI 1
hw:0,8: PCH : HDA Intel PCH : HDMI 2 : HDMI 2
hw:0,9: PCH : HDA Intel PCH : HDMI 3 : HDMI 3
hw:0,10: PCH : HDA Intel PCH : HDMI 4 : HDMI 4
hw:1,0: Audio : SA9023 USB Audio : USB Audio : USB Audio
hw:1,1: Audio : SA9023 USB Audio : USB Audio : USB Audio #1

[ab@archtp480s ~]$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [SA9023 USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [SA9023 USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Last edited by replax (2020-12-27 14:50:13)

Offline

#2 2020-12-27 13:46:10

progandy
Member
Registered: 2012-05-17
Posts: 5,199

Re: [SOLVED] PipeWire: no audio hardware found, "no node available"

Can you try restarting pipewire? That may be a race condition during login:

systemctl --user restart ...

https://gitlab.freedesktop.org/pipewire … issues/439
https://gitlab.freedesktop.org/pipewire … issues/423

And pipewire does not have a dummy sink like pulseaudio: https://gitlab.freedesktop.org/pipewire … issues/430

Last edited by progandy (2020-12-27 13:46:55)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2020-12-27 13:47:24

replax
Member
Registered: 2011-02-12
Posts: 90

Re: [SOLVED] PipeWire: no audio hardware found, "no node available"

Yeah, a

systemctl --user restart pipewire.service pipewire-pulse.service

did not change anything unfortunately. Neither does adding myself to the

audio

group..

Also tried to use pipewire-git but that did not help either, although [this](https://gitlab.freedesktop.org/pipewire … issues/423) should be fixed there..


Any idea on how I could debug further?

Last edited by replax (2020-12-27 14:40:05)

Offline

#4 2020-12-27 14:49:49

replax
Member
Registered: 2011-02-12
Posts: 90

Re: [SOLVED] PipeWire: no audio hardware found, "no node available"

Ok, I am a bit stupid...

it does work now. Issue 423 was the deciding one, so I ofc also had to install

pipewire-alsa-git
pipewire-pulse-git
pipewire-git

for that to be fixed.

Interestingly enough, the following error remains on boot:

[ab@archtp480s ~]$ systemctl --user status pipewire.service

● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-12-27 16:46:10 CET; 18s ago
TriggeredBy: ● pipewire.socket
   Main PID: 483 (pipewire)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.service
             ├─483 /usr/bin/pipewire
             └─494 /usr/bin/pipewire-media-session

Dec 27 16:46:10 archtp480s systemd[475]: Started Multimedia Service.
Dec 27 16:46:10 archtp480s pipewire[483]: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of name 'org.freedesktop.portal.Desktop': no such name
Dec 27 16:46:11 archtp480s pipewire-media-session[494]: oFono: Register() failed: org.freedesktop.DBus.Error.ServiceUnknown
Dec 27 16:46:11 archtp480s pipewire-media-session[494]: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown

but doesn't affect the system. I can now see and switch in/outputs in pavucontrol.

Offline

Board footer

Powered by FluxBB