Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] snapclient unable to find pipewire as an output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Jim5678
n00b
n00b


Joined: 23 Jan 2024
Posts: 13

PostPosted: Sat Mar 02, 2024 10:23 am    Post subject: [Solved] snapclient unable to find pipewire as an output Reply with quote

Hi,
I'm having problems getting my snapcast client to talk to my pipewire system. Snapserver is running as root on this system, and both of my standard users are members of the pipewire group. It looks like snapclient is only seeing low-level audio devices rather than servers. I've had this working fine on this machine until a recent update. The audio works fine for things like youtube. I'm using KDE and systemd. When I search for audio output using snapclient I get this;

Code:

└─(09:45:51)──> snapclient -l                                                                                                              ──(Sat,Mar02)─┘
0: null
Discard all samples (playback) or generate zero samples (capture)

1: hdmi:CARD=NVidia,DEV=0
HDA NVidia, DELL U2723QE
HDMI Audio Output

2: hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output

3: hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output

4: hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output

5: front:CARD=Generic
Front output / input

6: surround21:CARD=Generic
2.1 Surround output to Front and Subwoofer speakers

7: surround40:CARD=Generic
4.0 Surround output to Front and Rear speakers

8: surround41:CARD=Generic
4.1 Surround output to Front, Rear and Subwoofer speakers

9: surround50:CARD=Generic
5.0 Surround output to Front, Center and Rear speakers

10: surround51:CARD=Generic
5.1 Surround output to Front, Center, Rear and Subwoofer speakers

11: surround71:CARD=Generic
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

12: default:CARD=CODEC
USB Audio CODEC, USB Audio
Default Audio Device

13: sysdefault:CARD=CODEC
USB Audio CODEC, USB Audio
Default Audio Device

14: front:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
Front output / input

15: surround21:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
2.1 Surround output to Front and Subwoofer speakers

16: surround40:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
4.0 Surround output to Front and Rear speakers

17: surround41:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers

18: surround50:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
5.0 Surround output to Front, Center and Rear speakers

19: surround51:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers

20: surround71:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

21: iec958:CARD=CODEC,DEV=0
USB Audio CODEC, USB Audio
IEC958 (S/PDIF) Digital Audio Output

22: default:CARD=Audio
USB Audio, USB Audio
Default Audio Device

23: sysdefault:CARD=Audio
USB Audio, USB Audio
Default Audio Device

24: front:CARD=Audio,DEV=0
USB Audio, USB Audio
Front output / input

25: surround21:CARD=Audio,DEV=0
USB Audio, USB Audio
2.1 Surround output to Front and Subwoofer speakers

26: surround40:CARD=Audio,DEV=0
USB Audio, USB Audio
4.0 Surround output to Front and Rear speakers

27: surround41:CARD=Audio,DEV=0
USB Audio, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers

28: surround50:CARD=Audio,DEV=0
USB Audio, USB Audio
5.0 Surround output to Front, Center and Rear speakers

29: surround51:CARD=Audio,DEV=0
USB Audio, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers

30: surround71:CARD=Audio,DEV=0
USB Audio, USB Audio
7.1 Surround output to Front, C


Here's the output from systemd

Code:


─(~/Admin)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(james@hawaiian:pts/4)─┐
└─(10:19:48)──> systemctl --user  restart pipewire.socket pipewire-pulse.socket wireplumber.service                                        ──(Sat,Mar02)─┘
┌─(~/Admin)───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(james@hawaiian:pts/4)─┐
└─(10:19:58)──> systemctl --user  status pipewire.socket pipewire-pulse.socket wireplumber.service                                         ──(Sat,Mar02)─┘
● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Sat 2024-03-02 10:19:58 GMT; 1min 16s ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
             /run/user/1000/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

Mar 02 10:19:58 hawaiian systemd[1666]: Listening on PipeWire Multimedia System Sockets.

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
     Active: active (running) since Sat 2024-03-02 10:19:58 GMT; 1min 16s ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket

Mar 02 10:19:58 hawaiian systemd[1666]: Listening on PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sat 2024-03-02 10:19:58 GMT; 1min 16s ago
   Main PID: 3474 (wireplumber)
      Tasks: 5 (limit: 77059)
     Memory: 6.2M (peak: 6.7M)
        CPU: 222ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─3474 /usr/bin/wireplumber

Mar 02 10:19:58 hawaiian systemd[1666]: Started Multimedia Service Session Manager.
Mar 02 10:19:58 hawaiian wireplumber[3474]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Mar 02 10:19:58 hawaiian wireplumber[3474]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
Mar 02 10:19:58 hawaiian wireplumber[3474]: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed?
Mar 02 10:19:58 hawaiian wireplumber[3474]: PipeWire's V4L SPA missing or broken. Video4Linux not supported.
Mar 02 10:20:02 hawaiian wireplumber[3474]: <WpPortalPermissionStorePlugin:0x55a3a2f63e20> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error>
Mar 02 10:20:02 hawaiian wireplumber[3474]: <WpSiAudioAdapter:0x55a3a322e0b0> Object activation aborted: proxy destroyed
Mar 02 10:20:02 hawaiian wireplumber[3474]: <WpSiAudioAdapter:0x55a3a322e0b0> failed to activate item: Object activation aborted: proxy destroyed



Thanks for any help you can offer,


Last edited by Jim5678 on Sat Mar 02, 2024 3:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jim5678
n00b
n00b


Joined: 23 Jan 2024
Posts: 13

PostPosted: Sat Mar 02, 2024 3:02 pm    Post subject: Reply with quote

Needed to recompile pipewire with pipewire-alsa enabled. Job done,
Back to top
View user's profile Send private message
Desgraciado
n00b
n00b


Joined: 13 Aug 2024
Posts: 1

PostPosted: Tue Aug 13, 2024 8:50 am    Post subject: Snapclient Pipewire Reply with quote

Please, could give me a hint how to do the recompiling of Snapclient with pipewire-alsa enabled!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2400

PostPosted: Tue Aug 13, 2024 4:52 pm    Post subject: Re: Snapclient Pipewire Reply with quote

Desgraciado wrote:
Please, could give me a hint how to do the recompiling of Snapclient with pipewire-alsa enabled!


It's pipewire that needs to be recompiled, not snapclient. Do you know how to set use flags in package.use?

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum