#Configuring pipewire on Gentoo Linux

58 messages · Page 1 of 1 (latest)

rich egret
#

Hello, I'm just having issues configuring pipewire on gentoo linux. This is my make.conf. https://bpa.st/6LEQ
This is my package.use. https://bpa.st/2GUQ

I am not getting any sound and cannot use sound or video on discord. Please help with this

Thank you!

#

I'm on openrc on sway btw

#

On a dist kernel (gentoo-kernel-bin)

steel crescent
#

alright

rich egret
#
#!/bin/bash

#installation
sudo emerge sys-firmware/sof-firmware --autounmask{,-write,-continue}
sudo emerge media-sound/pulseaudio --autounmask{,-write,-continue}
sudo emerge media-libs/libpulse --autounmask{,-write,-continue}
sudo emerge media-video/wireplumber --autounmask{,-write,-continue}

#configuration
sudo mkdir -p /etc/pipewire
sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire/pipewire.conf
mkdir -p ~/.config/pipewire
cp /usr/share/pipewire/pipewire.conf ~/.config/pipewire/pipewire.conf

echo "Enter your username:"
read -r us

#groupadd
sudo gpasswd -a "$us" audio
sudo gpasswd -a "$us" video

#profile
echo '
# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then
    export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
' > ~/.bash_profile

source ~/.bash_profile
#

this is what I ran to configure pipewire btw

steel crescent
#

does rc-update add pipewire default work

rich egret
#

It does not

#
[ebuild     U  ] media-video/pipewire-0.3.75:0/0.4::gentoo [0.3.74:0/0.4::gentoo] USE="X bluetooth dbus readline sound-server ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -modemmanager -pipewire-alsa (-system-service) -systemd -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
#

these are the use flags pipewire is using btw

#

should I use system-service?

steel crescent
#

no there isn't

#

also why limit flatpak support

rich egret
#

this is by default

steel crescent
#

oh

rich egret
#

you have to compile in use flags for gentoo

steel crescent
#

ik

#

I installed gentoo before

steel crescent
rich egret
#

I forget the purpose but it's standard to use both from what I remember

#

it's like the equivalent of pipewire-pulse on arch

#

I could be wrong though

#

should I change it

steel crescent
#

can you run
dbus-launch --exit-with-session sway

rich egret
#

I did

steel crescent
#

how about run
gentoo-pipewire-launcher

rich egret
#

looks like I can stream discord and vscodium but not my terminal

steel crescent
#

ok

rich egret
steel crescent
#

can you send a image because I never installed pipewire in gentoo before only pulseaudio

rich egret
steel crescent
rich egret
#

srry idk which i need to change it to T-T

#

liike I'm using grimshot

#

idk how to take screenshots, this is new

#

oo wait

#

fixed

steel crescent
#

can you send a screenshot what gentoo-pipewire-launcher gave you

rich egret
#

it's the first line, no errors 😄

steel crescent
#

do you have the audio group on your account

rich egret
#

wheel audio video input portage kvm plugdev user libvirt

#

I'm in these groups

steel crescent
#

yeah you're in the audio group

#

can you send this thread to #tech-general

#

for more help

rich egret
#

oo btw relevant stuff I did all of this

steel crescent
#

hm

rich egret
#

YO I FIXED IT

#

@steel crescent

#

thank you!

steel crescent
#

... solved

silk groveBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you

steel crescent
steel crescent