Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Only one sound at a time with Pipewire configured
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
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 10

PostPosted: Wed Jun 05, 2024 6:23 pm    Post subject: Only one sound at a time with Pipewire configured Reply with quote

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?
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 252

PostPosted: Sun Jun 09, 2024 5:35 am    Post subject: Reply with quote

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
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