Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

[Solved] Only one sound at a time with Pipewire configured

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
nameiwillforget
n00b
n00b
Posts: 41
Joined: Tue May 07, 2024 6:01 pm

[Solved] Only one sound at a time with Pipewire configured

  • Quote

Post by nameiwillforget » Wed Jun 05, 2024 6:23 pm

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: Select all

 !~ $ 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.
Top
garrison
Apprentice
Apprentice
Posts: 276
Joined: Tue Mar 18, 2003 9:23 am

  • Quote

Post by garrison » Sun Jun 09, 2024 5:35 am

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.
Top
nameiwillforget
n00b
n00b
Posts: 41
Joined: Tue May 07, 2024 6:01 pm

  • Quote

Post by nameiwillforget » Sun Jul 07, 2024 12:56 pm

I think the problem was that my user was still in the audio group. It seems solved now.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Sun Jul 07, 2024 1:08 pm

You do not need to get rid of your .asoundrc (if you have one)
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Post Reply

4 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic