View previous topic :: View next topic |
Author |
Message |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Sun Mar 02, 2025 4:00 pm Post subject: Cant get pipewire to work |
|
|
Hello,
i just cant get pipewire to work. Its installed and my user is in the audio and pipewire groop, but eevrytime i do for example i get back Code: | Could not connect to PipeWire | , what am i doing wrong? |
|
Back to top |
|
 |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Sun Mar 02, 2025 6:24 pm Post subject: |
|
|
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 |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3538
|
Posted: Sun Mar 02, 2025 6:56 pm Post subject: |
|
|
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 |
|
 |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Sun Mar 02, 2025 7:02 pm Post subject: |
|
|
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 |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3538
|
Posted: Sun Mar 02, 2025 7:14 pm Post subject: |
|
|
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 |
|
 |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Sun Mar 02, 2025 7:33 pm Post subject: |
|
|
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 shows no output.
shows no devices. Yes, my user is in the audio group. Schein-Ausgabe is german and means something like fake output. |
|
Back to top |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3538
|
Posted: Sun Mar 02, 2025 8:52 pm Post subject: |
|
|
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 |
|
 |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Sun Mar 02, 2025 9:02 pm Post subject: |
|
|
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 |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5461 Location: Bavaria
|
|
Back to top |
|
 |
Nima0908 n00b

Joined: 24 Feb 2025 Posts: 8
|
Posted: Mon Mar 03, 2025 3:49 pm Post subject: |
|
|
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 |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5461 Location: Bavaria
|
Posted: Mon Mar 03, 2025 3:56 pm Post subject: |
|
|
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 |
|
 |
szatox Advocate

Joined: 27 Aug 2013 Posts: 3538
|
Posted: Mon Mar 03, 2025 4:05 pm Post subject: |
|
|
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 |
|
 |
|