

Could you clarify which logs you're referring to here? Do you mean the logs created by setting up logging as described in the gentoo-pipewire-launcher(1) man page?osugi_sakae wrote:Logs don't have anything from pipewire.
${XDG_CONFIG_HOME}/gentoo-pipewire-launcher.conf (or, if ${XDG_CONFIG_HOME} is not set, ${HOME}/.config/gentoo-pipewire-launcher.conf) can be used to specify absolute paths of files to which log output should be sent, by specifying values for one or more of the GENTOO_PIPEWIRE_LOG, GENTOO_PIPEWIRE_PULSE_LOG, and GENTOO_WIREPLUMBER_LOG variables, one per line.


Is there still a WirePlumber instance running as well, though? There needs to be; it's the thing that manages audio within the user session. If there's no WirePlumber instance, that might explain the issue; try running `wireplumber` from the command line.osugi_sakae wrote:Pipewire's instance is not actually dying. It is still running (has 2 pids, as expected), just doesn't work.
Fair. However, what `gentoo-pipewire-launcher` does is set up PipeWire-based audio within a specific user-session, rather than something system-wide. So i feel that logging to syslog isn't appropriate here, and i say this as the person who added the logging code to `gentoo-pipewire-launcher` (which was reviewed by a Gentoo dev before being committed).osugi_sakae wrote:I originally assumed messages would go to syslog or somewhere similar in /var/log/, so was looking there.
Those of us on non-systemd-based-systems have to find a way of handling logging which doesn't involve the systemd journal.Logging options
JOURNAL_STREAM
Is used to parse the stream used for the journal. This is usually configured by systemd.
PIPEWIRE_LOG_LINE
Enables the logging of line numbers. Default true.
PIPEWIRE_LOG
Specifies a log file to use instead of the default logger.
PIPEWIRE_LOG_SYSTEMD
Enables the use of systemd for the logger, default true.


You've now run `gentoo-pipewire-launcher restart`, but that doesn't show us whether the necessary WirePlumber instance is crashing (including immediately crashing upon being started). Please check if an instance of WirePlumber is running via `pgrep -a wireplumber`, which should return a PID and a command line if WirePlumber is indeed running.flexibeast wrote:Is there still a WirePlumber instance running as well, though? There needs to be; it's the thing that manages audio within the user session. If there's no WirePlumber instance, that might explain the issue; try running `wireplumber` from the command line.osugi_sakae wrote:Pipewire's instance is not actually dying. It is still running (has 2 pids, as expected), just doesn't work.
Nottice that with qwpgraph you not only can see connections, but you can manipulate them, I.e grab a line and connect some source to some sink as you wishosugi_sakae wrote:Thanks. I was not familiar with qpwgraph. Four screenshots are at https://od.lk/fl/NjJfOTE0NTIxOV8.
Sound was not working - the first two show like 50 volume controls, one with nothing using sound; the other when I ran mpv (but still no sound).
The other two show what happened after I re-ran gentoo-pipewire-restart - again with nothing running and then with mpv running (this time sound works).
Aside from the large number of controls, I'm not sure if anything in these screenshots indicates the problem.
Thanks.
Doesn't happen on my system (without pulseaudio).So linking at your picture. Somehow indeed, every time one open pulseausio volume control and new instance is created. I don't know if it is a bug with pipewire or a feature.

They are external speakers on a desktop computer; I change the volume through pavucontrol only. The only change is my running `gentoo-pipewire-launcher.sh --restart`.dmpogo wrote:You third case looks normal, mpv is playing, its output is connected to playback of HD audio, should be sound. Are you sure your speakers are not muted somehow ? Hardware button on laptop ?

flexibeast wrote:You've now run `gentoo-pipewire-launcher restart`, but that doesn't show us whether the necessary WirePlumber instance is crashing (including immediately crashing upon being started). Please check if an instance of WirePlumber is running via `pgrep -a wireplumber`, which should return a PID and a command line if WirePlumber is indeed running.
Code: Select all
$ pgrep -a pipewire
1350 /usr/bin/pipewire
1352 /usr/bin/pipewire -c pipewire-pulse.conf
$ pgrep -a wireplum
1342 /usr/bin/wireplumber
szatox wrote:Interestingly, I opened qpwgraph (when I noticed sound was not working) to check if there were like 50 controls again. pavucontrol immediately gave a message about being unable to connect to pulseaudio. (pic at https://od.lk/f/NjJfNzU2MjMzMjRf). (There were about 20 or so controls, btw.)Pipewire can already adjust volume for each input and output independently by itself, it doesn't need external filters for that, so it could be an issue with pulseaudio volume control.
I have these installed:
media-sound/pavucontrol
Available versions: 5.0-r3 {X nls}
Installed versions: 5.0-r3(03:45:11 AM 06/02/2024)(X nls)
Homepage: https://freedesktop.org/software/pulsea ... vucontrol/
Description: Pulseaudio Volume Control, GTK based mixer for Pulseaudio
media-sound/pavucontrol-qt
Available versions: 1.3.0-r1 ~1.4.0 ~2.0.0
Installed versions: 1.3.0-r1(01:39:46 AM 06/02/2024)
Homepage: https://lxqt-project.org/
Description: Qt GUI Pulseaudio Mixer
I'm happy to try removing pulseaudio - I mostly kept it because I use pavucontrol to manage volume. What would be a similar gui pipewire / wireplumber replacement?
Note that this combo was working fine for months - it only stopped working recently, after an update. Maybe a change or a bug has them no longer playing nice together.
I went in a different direction, I don't really mix audio form various sources save for notifications, so I don't have to match inputs' volumes. Instead, I plugged compressor before output (with easyeffects), which ensures that playback device will generate sound in an acceptable range regardless of how badly butchered the input stream was.I'm happy to try removing pulseaudio - I mostly kept it because I use pavucontrol to manage volume. What would be a similar gui pipewire / wireplumber replacement?
One my system it was happening when I click on kde volume control ( kmix ) Each click created new instance for pipewire. I tried it again, and it seems not happening, once control window is closed, the object disappears .szatox wrote:Doesn't happen on my system (without pulseaudio).So linking at your picture. Somehow indeed, every time one open pulseausio volume control and new instance is created. I don't know if it is a bug with pipewire or a feature.
Pipewire can already adjust volume for each input and output independently by itself, it doesn't need external filters for that, so it could be an issue with pulseaudio volume control.