I opened my log for another reason and saw that this series of messages is running constantly. I think it may have been running sinve the Plasma 6 upgrade (I know it wasn’t in my log when I was looking there for something before that upgrade)
|5/28/24 7:52 AM|plasmashell|WARNING: discarding _NET_WM_PID 1725 as invalid for X11 window - use specialized XCB_X11_TO_PID function!|
|---|---|---|
|5/28/24 7:52 AM|plasmashell|kpipewire_logging: error: Failed to connect to PipeWire 0|
|5/28/24 7:52 AM|plasmashell|received error while creating the stream Failed to connect to PipeWire Media monitor will not work.|
I am using PulseAudio, not Pipewire. I tried to uninstall kpipewire, but I recieved a message that kpipewire was required for kde plasma to work. I tried disabling the pipewire socket which was also unsuccessful:
~ systemctl --user disable pipewire pipewire.socket
Unit /home/alexandra/.config/systemd/user/pipewire.socket is masked, ignoring.
The following unit files have been enabled in global scope. This means
they will still be started automatically after a successful disablement
in user scope:
pipewire.socket
My audio is working fine, despite this. I would not have noticed a problem if I hadn’t opened the log for another reason. However this message is running 5-6 times a minute the whole time my computer is on, so I’d like to solve the issue.
Assuming the system was using manjaro-pipewire before then this would be expected to attempt to switch the system back to pulseaudio. Which I dont think is desirable.
To make sure to be back on pipewire:
sudo pacman -Syu manjaro-pipewire
This is a problem. pipewire-media-session is deprecated. The package even says so.
Please replace it with wireplumber.
Thanks but I am using PulseAudio because of an incompatibility with firefox. Reverting to Pipewire is not currently an option. What I need to do is get rid of the kpipewire, or at least find a way for it to stop spamming my log.
Hi, thanks for your interest. When I was using pipewire, any interaction with the media player on firefox would trigger max audio. This included hitting pause, start, on any site e.g . youtube, Netflix, etc. Since I use headphones, this was intolerable. I saw somewhere on a Firefox post that this was an issue that had not been resolved. Reverting to PulseAudio solved the problem.
Thanks for the response. I have tried to remove pipewire media session, but it cannot be removed due to dependencies. If I am not using pipewire, is this going to be a problem? If at some point I do try pipewire again, then I could replace that with wireplumber.
Is there a command that would prevent kpipewire from attempting to start?
EDIT after using $ sudo systemctl --global disable pipewire.service
and rebooting, the problem persists.
It seems like the problem is the kde logging service is determined to connect even though pipewire is not enabled. How do I stop that logging attempt?
My information might be outdated, but my understanding from 2 years ago was that pipewire-media-session should still be used instead of wireplumber for the specific case of using pulseaudio while also having pipewire installed to satisfy some dependency. Although removing pulseaudio and getting pipewire-pulse installed and working may be the better long-term solution.
Interesting. I also use headphones exclusively and only have such issues if I try to control sound levels in Firefox via Plasma’s audio widgets. So I started to just adjust the levels through media players directly on all the sites. But I had this same problem with Pulseaudio as well.