View previous topic :: View next topic |
Author |
Message |
nameiwillforget n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 May 2024 Posts: 37
|
Posted: Wed Jun 05, 2024 6:23 pm Post subject: [Solved] Only one sound at a time with Pipewire configured |
|
|
I'm aware that soundcards often can only play sound from one application at a time and this often happens to new Gentoo users, but I thought an audio server was supposed to take care of that. I configured Gentoo to use Pipewire, as I did on my previous system Arch, and followed the wiki in setting it up to run a Pulseaudio server, but this one-application problem still happens to me. I did test whether Pipewire was running, and it was, and then I started Wireplumber because I thought it might have some useful output. Here is what it said:
Code: |
!~ $ LANG=C pactl info | grep "Server Name"
(standard input):9:Server Name: PulseAudio (on PipeWire 1.0.5)
~ $ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 97
Tile Size: 65472
User Name: alex
Host Name: gentoo
Server Name: PulseAudio (on PipeWire 1.0.5)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Cookie: 7e4e:32d0
~ $ wireplumber
M 18:59:18.002946 wp-device ../wireplumber-0.4.17/lib/wp/device.c:619:wp_spa_device_\new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it inst\alled?
M 18:59:18.002965 script/libcamera libcamera.lua:173:chunk: PipeWire's libcamera SPA missin\g or broken. libcamera not supported.
M 18:59:18.003088 wp-device ../wireplumber-0.4.17/lib/wp/device.c:619:wp_spa_device_\new_from_spa_factory: SPA handle 'api.v4l2.enum.udev' could not be loaded; is it installed?
M 18:59:18.003092 script/v4l2 v4l2.lua:164:chunk: PipeWire's V4L SPA missing or broken\. Video4Linux not supported.
W 18:59:18.007836 pw ../pipewire-1.0.5/spa/plugins/bluez5/upower.c:54:upower_\get_percentage_properties_reply: Failed to get percentage from UPower: org.freedesktop.DBus.E\rror.NameHasNoOwner
W 18:59:18.011669 spa.bluez5.native ../pipewire-1.0.5/spa/plugins/bluez5/backend-native.c:18\40:sco_listen: listen(): Address already in use
W 18:59:18.011861 spa.bluez5.native ../pipewire-1.0.5/spa/plugins/bluez5/backend-native.c:23\93:register_profile_reply: RegisterProfile() failed: org.bluez.Error.NotPermitted
W 18:59:18.011866 spa.bluez5.native ../pipewire-1.0.5/spa/plugins/bluez5/backend-native.c:23\93:register_profile_reply: RegisterProfile() failed: org.bluez.Error.NotPermitted
W 18:59:19.776408 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing \name org.freedesktop.ReserveDevice1.Audio0
|
And it went on to print messages similar to the last. I also tried rebooting because I followed pretty much the same installation procedure on my laptop, and there Pipewire seems to work as it should, but it still doesn't even after the reboot. Any ideas as to the problem?
Last edited by nameiwillforget on Sun Jul 07, 2024 12:56 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
garrison Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 Mar 2003 Posts: 265
|
Posted: Sun Jun 09, 2024 5:35 am Post subject: |
|
|
Check if you have USE pipewire-alsa enabled on media-video/pipewire package, then move away any of your ~/.asoundrc and /etc/asound.conf files and you should be fine. Re-login to desktop environment after these modifications if any were required. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nameiwillforget n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 May 2024 Posts: 37
|
Posted: Sun Jul 07, 2024 12:56 pm Post subject: |
|
|
I think the problem was that my user was still in the audio group. It seems solved now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anon-E-moose Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/3064969284ad468b81342a.jpg)
Joined: 23 May 2008 Posts: 6144 Location: Dallas area
|
Posted: Sun Jul 07, 2024 1:08 pm Post subject: |
|
|
You do not need to get rid of your .asoundrc (if you have one) _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|