Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pipewire on KDE problem
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
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 96

PostPosted: Fri Oct 13, 2023 7:08 am    Post subject: pipewire on KDE problem Reply with quote

Hi !

I converted my system from pulseaudio to pipewire as it says in the manual https://wiki.gentoo.org/wiki/PipeWire and after a little manipulation everything worked successfully.

The problem occurred after I added a new user and deleted from the system some old, non-necessary multimedia applications that I had installed long ago when pulseaudio was running. There are no audio devices in KDE now.

At the same time
Quote:
pipewire.socket, pipiwire-pulse.socket, wireplumber.service
are running and working.

USE (global and local for plasma-meta) flags do not contain
Quote:
pulseaudio
. Pipewire is compiled with
Quote:
sound-server, udev, pipewire-alsa flags.


Thank you very much all idee, how can i get audio on KDE working again.
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 265

PostPosted: Fri Oct 13, 2023 5:34 pm    Post subject: Reply with quote

That wiki page mentions USE pulseaudio is still needed, can you do that and see if that helps?
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Fri Oct 13, 2023 6:04 pm    Post subject: Reply with quote

i am plasma user ( ~amd64)

pipewire is a bit headache, i decided to use pipewire-9999 (it's not necessary but I prefer that way)

so, i have activated pulseaudio, (and not pipewire-alsa) in my plasma-meta to avoid problems in general and in particular because of plasma-pa to have a mixer... however, pipewire maight be have its own mixer or a plugin in a future, who knows!

Quote:
# equery u pipewire
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for media-video/pipewire-9999:
U I
+ + X : Enable audible bell for X11
- - abi_x86_32 : 32-bit (x86) libraries
- - bluetooth : Enable Bluetooth Support
+ + dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc)
- - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per
package instead of globally
+ + echo-cancel : Enable WebRTC-based echo canceller via media-libs/webrtc-audio-processing
+ + extra : Build pw-cat/pw-play/pw-record
+ + ffmpeg : Enable ffmpeg/libav-based audio/video codec support
- - flatpak : Enable Flatpak support
- - gsettings : Use gsettings (dev-libs/glib) to read/save used modules (useful for e.g.
media-sound/paprefs
+ + gstreamer : Add support for media-libs/gstreamer (Streaming media)
- - ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...)
- - jack-client : Install a plugin for running PipeWire as a JACK client
- - jack-sdk : Use PipeWire as JACK replacement
- - liblc3 : Allow loading LC3 plugins via media-sound/liblc3
- - lv2 : Allow loading LV2 plugins via media-libs/lv2
- - modemmanager : Combined with USE=bluetooth, allows PipeWire to perform telephony on mobile
devices.
- - pipewire-alsa : Replace PulseAudio's ALSA plugin with PipeWire's plugin
+ + readline : Enable support for libreadline, a GNU line-editing library that almost everyone
wants
+ + roc : Enable roc support for real-time audio streaming over the network, using media-libs/roc-toolkit.
+ + sound-server : Provide sound server using ALSA and bluetooth devices
+ + ssl : Enable raop-sink support (needs dev-libs/openssl)
- - systemd : Enable use of systemd-specific libraries and features like socket activation or
session tracking
- - test : Enable dependencies and/or preparations necessary to run tests (usually
controlled by FEATURES=test but can be toggled independently)
+ + v4l : Enable support for video4linux (using linux-headers or userspace libv4l
libraries)
- - zeroconf : Support for DNS Service Discovery (DNS-SD


:roll:
_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470
Back to top
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 96

PostPosted: Fri Oct 13, 2023 6:46 pm    Post subject: Reply with quote

Hi !

Thank you very much for your help and for your attention to my post !

I had the pulseaudio USE flag for plazma-meta enabled locally and everything seemed to be fine, except for two cases:

no sound in firefox, VLC;
when in the Audio-Devices Tab of KDE Settings I tried to test the speakers (test button and then the icon with left or right speaker) I got a message that the system can't find the sound driver.

In a global USE variable i do not have pulseaudio flag as enabled.

Thanks !
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 265

PostPosted: Fri Oct 13, 2023 7:09 pm    Post subject: Reply with quote

It seems like you are trying to cut out USE pulseaudio, this is not necessary and atm is just asking for issues. Just have it enabled and see if firefox audio starts working.

Note you will probably need to enable pipewire-alsa if you have pipewire sound server, or your alsa programs may have issues too.
Back to top
View user's profile Send private message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 96

PostPosted: Fri Oct 13, 2023 7:10 pm    Post subject: Reply with quote

Thank you very much for your help !

I have now put pulsaudio flag back, locally only for the plasma-meta package. For a total of 5 packages rebuilt. The sound is back.

Thank you very much !
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Fri Oct 13, 2023 9:10 pm    Post subject: Reply with quote

st834 wrote:
Thank you very much for your help !

I have now put pulsaudio flag back, locally only for the plasma-meta package. For a total of 5 packages rebuilt. The sound is back.

Thank you very much !


are you in profile 9 or 10? is not needed for me to have pulseaudio in make.conf , it's included in profile 9 (that it's i am using) by default, i think, I have chaging thinks and I sometimes not sure about some stuff :lol:
_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1966

PostPosted: Sat Oct 14, 2023 3:31 am    Post subject: Reply with quote

papu wrote:
st834 wrote:
Thank you very much for your help !

I have now put pulsaudio flag back, locally only for the plasma-meta package. For a total of 5 packages rebuilt. The sound is back.

Thank you very much !


are you in profile 9 or 10? is not needed for me to have pulseaudio in make.conf , it's included in profile 9 (that it's i am using) by default, i think, I have chaging thinks and I sometimes not sure about some stuff :lol:


Make sure to use the full names of profiles, not numbers, as the numbers aren't universal.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1255

PostPosted: Sat Oct 14, 2023 4:39 am    Post subject: Reply with quote

Code:
 ~ $ eix --installed-with-use pulseaudio
No matches found

Pipewire works fine.
Code:
~ $ eix --installed-without-use *pulse* | grep -i "I] "
[I] app-accessibility/flite
[I] app-emulation/qemu
[I] dev-qt/qtmultimedia
[I] dev-qt/qtwebengine
[I] mail-client/thunderbird
[I] media-libs/libcanberra
[I] media-libs/libsdl2
[I] media-libs/libtgvoip
[I] media-libs/openal
[I] media-libs/phonon
[I] media-sound/deadbeef
[I] media-sound/qmmp
[I] media-video/ffmpeg
[I] media-video/mpv
[I] media-video/qmplay2
[I] net-libs/gtk-vnc
[I] www-client/firefox
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 729
Location: Sota algun pi o alzina...

PostPosted: Mon Oct 16, 2023 8:18 pm    Post subject: Reply with quote

sam_ wrote:
papu wrote:
st834 wrote:
Thank you very much for your help !

I have now put pulsaudio flag back, locally only for the plasma-meta package. For a total of 5 packages rebuilt. The sound is back.

Thank you very much !


are you in profile 9 or 10? is not needed for me to have pulseaudio in make.conf , it's included in profile 9 (that it's i am using) by default, i think, I have chaging thinks and I sometimes not sure about some stuff :lol:


Make sure to use the full names of profiles, not numbers, as the numbers aren't universal.


[9] default/linux/amd64/17.1/desktop/plasma (stable) *
[10] default/linux/amd64/17.1/desktop/plasma/systemd (stable
_________________
--so ~amd64 & openrc --cpu 7700 non-x --ram 2x16GB --gpu RX 470
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