Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant get pipewire to work
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
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Sun Mar 02, 2025 4:00 pm    Post subject: Cant get pipewire to work Reply with quote

Hello,
i just cant get pipewire to work. Its installed and my user is in the audio and pipewire groop, but eevrytime i do
Code:
wpctl status
for example i get back
Code:
Could not connect to PipeWire
, what am i doing wrong?
Back to top
View user's profile Send private message
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Sun Mar 02, 2025 6:24 pm    Post subject: Reply with quote

I fixed it now, i missinterpreted the wiki. But now it isnt showing any connected devices, does anyone know how to fix this?
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3538

PostPosted: Sun Mar 02, 2025 6:56 pm    Post subject: Reply with quote

So, what _does_ it show now? Post the full output, there's a bunch of stuff which might give some clues.
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Sun Mar 02, 2025 7:02 pm    Post subject: Reply with quote

This is the output:
Code:
marius@... ~ $ wpctl status
PipeWire 'pipewire-0' [1.2.7, marius@..., cookie:673999605]
 └─ Clients:
        33. WirePlumber                         [1.2.7, marius@..., pid:2292]
        34. pipewire                            [1.2.7, marius@..., pid:2297]
        47. WirePlumber [export]                [1.2.7, marius@..., pid:2292]
        62. wpctl                               [1.2.7, marius@..., pid:20320]

Audio
 ├─ Devices:
 │
 ├─ Sinks:
 │  *   35. Schein-Ausgabe                      [vol: 1.00]
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Video
 ├─ Devices:
 │
 ├─ Sinks:
 │
 ├─ Sources:
 │
 ├─ Filters:
 │
 └─ Streams:

Settings
 └─ Default Configured Devices:


Last edited by Nima0908 on Sun Mar 02, 2025 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3538

PostPosted: Sun Mar 02, 2025 7:14 pm    Post subject: Reply with quote

Whoa, there's no need to show your home address to everyone. I'm surprised your hostname is presented as an FQDN (though it's not related to pw issue)

Is it a new installation? Did you have working alsa before going for pipewire?
What kernel are you using? Are snd modules there?
Does aplay -l show any deices?
Is your user in audio group?

And what is this thing: Schein-Ausgabe?
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Sun Mar 02, 2025 7:33 pm    Post subject: Reply with quote

Hello,
Yes, this is a new installation. I didnt have working alsa before going to pipewire.
Iam using a self configured kernel, its the version 6.12. The snd modules are enabled in the kernel configs but
Code:
lsmod | grep snd
shows no output.
Code:
aplay -l
shows no devices. Yes, my user is in the audio group. Schein-Ausgabe is german and means something like fake output.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3538

PostPosted: Sun Mar 02, 2025 8:52 pm    Post subject: Reply with quote

I see. Well, how did you configure your kernel?
I start with defconfig and then disable stuff I know I don't need. You can try to trim the fat by rebuilding kernel again with localdefconfig once you have everything running properly.

Does lspci -k show your audio devices and its driver?
Audio stuff should be built as modules by default, so it's weird that it doesn't show up in lsmod. Is udev running? I think this is what loads modules for detected hardware...
Can you grep .config for _SND_ to verify whether those drivers are built as modules or statically?
_________________
Make Computing Fun Again
Back to top
View user's profile Send private message
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Sun Mar 02, 2025 9:02 pm    Post subject: Reply with quote

I just used the standard one and enabled some stuff i need and dissabled stuff i dont need, but i didnt really go through it, i just dissabled stuff i saw while enabling the needed stuff.
lspci -k shows the audio devices and drivers (allthough not my headphones and such). Systemrc tells me if i whant to start udev that it has already been started.

grep "CONFIG_SND=" /usr/src/linux/.config
grep "CONFIG_SND_HDA_INTEL=" /usr/src/linux/.config
grep "CONFIG_SND_USB_AUDIO=" /usr/src/linux/.config
grep "CONFIG_SND_PCM=" /usr/src/linux/.config
grep "CONFIG_SND_TIMER=" /usr/src/linux/.config
CONFIG_SND=y
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_PCM=y
CONFIG_SND_TIMER=y
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5461
Location: Bavaria

PostPosted: Sun Mar 02, 2025 10:41 pm    Post subject: Reply with quote

Nima0908 wrote:
[...] I didnt have working alsa before going to pipewire.
Iam using a self configured kernel, its the version 6.12. [...]

Pipewire needs a working ALSA. I suggest to read these two articles:
* https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration
* https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.12
and then check your configuration with this chapter of the first article:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Sound_and_others
It may be that not even these settings are sufficient - it depends on your machine. What I always recommend is to boot our GentooLiveCD first and check with “lsmod” which modules have been loaded; see also this chapter:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Before_you_start
As soon as all the required sound modules are loaded in your kernel, we can continue with pipewire.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Nima0908
n00b
n00b


Joined: 24 Feb 2025
Posts: 8

PostPosted: Mon Mar 03, 2025 3:49 pm    Post subject: Reply with quote

Thanks, ill try this.I have a small question though. In your guide you mention
[*] Network packet filtering framework (Netfilter) --->
[*] Advanced netfilter configuration
... everything as <M>odule (if possible)
Do you mean everything in the submenue or even everything in the other submenues in the Advanced netfilter configuration menue?

Also how do i get all the firmwarefiles i need to load in the Firmware loader tab in Device Drivers —> Generic Driver Options —> Firmware Loader
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5461
Location: Bavaria

PostPosted: Mon Mar 03, 2025 3:56 pm    Post subject: Reply with quote

Nima0908 wrote:
Do you mean everything in the submenue or even everything in the other submenues in the Advanced netfilter configuration menue?

I have meant both (are all 3 if you have IPv6)... simply said: Everything which sounds for netfilter, iptables, nftables ... later you can remove most of them:
Code:
Core Netfilter Configuration  --->
IP: Netfilter Configuration  --->
# if you have IPv6 enabled you have also this:
IPv6: Netfilter Configuration  --->


P.S.: Maybe this could be interesting for you also:
https://forums.gentoo.org/viewtopic-t-1112806.html
together with:
https://forums.gentoo.org/viewtopic-t-1125184.html
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3538

PostPosted: Mon Mar 03, 2025 4:05 pm    Post subject: Reply with quote

I wonder how is netfilter related to audio ^^
Testing with out with a liveCD is a good idea. Now, if you built audio stuff into the kernel permanently, it would explain why nothing shows up in lsmod. There's nothing particularly wrong with making a monolithic kernel, though it certainly is a weird starting point.

Still, what about that lspci -k and aplay -l? What do they report?
Also, while we're at it: ls -l /dev/snd

Like pietinger said, you won't have working pipewire without working alsa, and it does not appear to be working for you, so we have to figure out what's wrong with it.
_________________
Make Computing Fun Again
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