Forums

Skip to content

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

[SOLVED] PipeWire (and now also ALSA) setup

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
6 posts • Page 1 of 1
Author
Message
sicr0
Apprentice
Apprentice
Posts: 194
Joined: Wed Mar 23, 2022 12:09 pm

[SOLVED] PipeWire (and now also ALSA) setup

  • Quote

Post by sicr0 » Wed Apr 13, 2022 3:59 am

I recently installed Gentoo. I never installed an audio system myself and decided to go for PipeWire.
I have selected "no-multilib" profile and didn't installed neither ALSA nor PulseAudio since the Wiki didn't said it was necessary for running PipeWire.
I selected the appropriate kernel modules and added the "pulseaudio" USE flag. After emerging @world, and adding to ".config/sway/config" the line needed to start PipeWire I rebooted but nothing changed.
Can someone help me fix this?
Last edited by sicr0 on Thu May 05, 2022 3:54 am, edited 2 times in total.
Top
pietinger
Administrator
Administrator
Posts: 6629
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Apr 13, 2022 7:11 am

PipeWire - like PulseAudio also - needs low-level audio interface ALSA.

https://wiki.gentoo.org/wiki/ALSA
Top
fpemud
Guru
Guru
Posts: 368
Joined: Wed Feb 15, 2012 7:00 am

  • Quote

Post by fpemud » Wed Apr 13, 2022 8:52 am

You can install media-sound/helvum::guru, using this tool you can see all the source, sink and connections between them.
It'll be very clear to see what pipewire and its sesson manager (for example media-video/wireplumber) has done for you.

https://gitlab.freedesktop.org/pipewire/helvum

I also have some questions which maybe I can ask in this thread too:
Pipewire runs as a user service, then how does it access devices which are owned by root?
What's the behavior when multiple pipewire instance are running together (like in multiseat system)? Does each seat must have its own sound card?
Top
sicr0
Apprentice
Apprentice
Posts: 194
Joined: Wed Mar 23, 2022 12:09 pm

  • Quote

Post by sicr0 » Wed Apr 13, 2022 6:48 pm

I tried following the ALSA Gentoo guide, but it still doesn't work.
I added the "alsa" USE flag and re-emeregd @world, I activated the necessary Kernel modules, recompiled, and emerged "media-libs/alsa-lib". After doing so I activated the process with rc-service, checked that I was unmuted with alsamixer and then ran spaker-test, but without receiving no sound output. How could I debug this to get this to work. I'm really lost when regarding audio and media systems.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Thu Apr 14, 2022 3:45 am

The output of emerge --info would answer a lot of questions. Just paste here in between the Code tags.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
pietinger
Administrator
Administrator
Posts: 6629
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Apr 14, 2022 11:46 am

What @figueroa said and also:

Read this: viewtopic-p-6195854.html#6195854

Do a

Code: Select all

lspci | grep Audio
You will see one or two lines. Then do a

Code: Select all

lspci -vv
and give us only the blocks from these one or two lines.
Check if "alsamixer" also recognizes this.
We also need

Code: Select all

dmesg | grep snd
Do you have a /etc/asound.conf ? If yes, we need the content of it.

Maybe it is only a little missing /etc/asound.conf ... ;-)
Top
Post Reply

6 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