wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.54k stars 270 forks source link

pulseeffects mutes everything after boot, during idle and play/pause #936

Closed Raklodder closed 3 years ago

Raklodder commented 3 years ago

I've not been able to properly use pulseeffects in Fedora 34 (beta) with pipewire and I've to terminate and restart the service every few minutes as it will mute all of my audio.

At first it looked like it was due to leaving "start service at login" (where I'd to terminate and restart the service), but it also happens during play/pause and idle, where all audio is lost and you've to reload your current profile and/or restart the service (which doesn't always work), making pulseeffects a bit of a hassle to use right now.

pipewire-0.3.24-4.fc34.i686 pipewire-0.3.24-4.fc34.x86_64 pulseeffects-5.0.3-1.fc34

Steps to reproduce:

  1. Install pulseeffects (stable) and reboot your system.
  2. Start to play media on your system, go back and forth between window/tabs.
  3. Try going idle, pause and play.
(process:5222): pulseeffects-DEBUG: 05:45:35.885: main: locale directory: /usr/share/locale
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: system input presets directory: "/etc/PulseEffects/input"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: system input presets directory: "/etc/xdg/PulseEffects/input"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: system output presets directory: "/etc/PulseEffects/output"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: system output presets directory: "/etc/xdg/PulseEffects/output"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/input
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/output
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.927: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/autoload
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.930: application: PE version: 5.0.1
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.930: pipe_manager: compiled with pipewire: 0.3.22
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.930: pipe_manager: linked to pipewire: 0.3.24
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: core version: 0.3.24
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: core name: pipewire-0
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: found metadata: default
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: found metadata: route-settings
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Audio/Sink 43 alsa_output.pci-0000_01_00.1.hdmi-stereo-extra4 was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Audio/Sink 44 alsa_output.pci-0000_00_1f.3.analog-stereo was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Audio/Source 45 alsa_input.pci-0000_00_1f.3.analog-stereo was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Stream/Output/Audio 49 VLC media player (LibVLC 3.0.12.1) was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: VLC media player (LibVLC 3.0.12.1) port 47 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 58
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: VLC media player (LibVLC 3.0.12.1) port 32 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 60
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Audio/Sink 50 pulseeffects_sink was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: Audio/Source/Virtual 81 pulseeffects_source was added
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.932: pipe_manager: connected to the core
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.933: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3.analog-stereo" }
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.933: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3.analog-stereo" }
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: could not parse the new default sink id: stoul
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.934: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, { "name": "alsa_input.pci-0000_00_1f.3.analog-stereo" }
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: could not parse the new default source id: stoul
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error on id:30
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error message:no global 48
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error on id:31
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error message:no global 51
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.934: pipe_manager: VLC media player (LibVLC 3.0.12.1) port 32 is connected to pulseeffects_sink port 53
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.934: pipe_manager: VLC media player (LibVLC 3.0.12.1) port 47 is connected to pulseeffects_sink port 71
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error on id:33
(pulseeffects:5222): pulseeffects-WARNING **: 05:45:35.934: pipe_manager: Remote error message:enum params id:2 (Spa:Enum:ParamId:Props) failed
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.946: soe: using input device: 50
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:35.946: soe: using output device: 0
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.037: sie: using input device: 0
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.037: sie: using output device: 81
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: system input presets directory: "/etc/PulseEffects/input"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: system input presets directory: "/etc/xdg/PulseEffects/input"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: system output presets directory: "/etc/PulseEffects/output"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: system output presets directory: "/etc/xdg/PulseEffects/output"; 
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/input
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/output
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: user presets directory already exists: /home/[REDACTED]/.config/PulseEffects/autoload
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: presets_manager: destroyed
pulseeffects-INFO: 05:45:36.052: application: disabling global bypass
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: soe: bypass is already disabled
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.052: sie: bypass is already disabled
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.426: convolver_ui: irs directory already exists: /home/[REDACTED]/.config/PulseEffects/irs
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.437: rnnoise_ui: model directory already exists: /home/[REDACTED]/.config/PulseEffects/rnnoise
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.779: rnnoise_ui: model directory already exists: /home/[REDACTED]/.config/PulseEffects/rnnoise
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.811: sie: spectrum enabled
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.811: soe: spectrum enabled
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.972: soe: latency update source: sink
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.972: soe: total latency: 0 ms
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.972: sie: latency update source: sink
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:36.972: sie: total latency: 0 ms
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.266: soe: pipeline state reading was succesfull
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.277: soe: sampling rate: 48000 Hz
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.277: soe: total latency: 10 ms
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.319: soe: NULL -> READY -> PLAYING
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.320: soe: READY -> PAUSED -> PLAYING
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.320: soe: PAUSED -> PLAYING -> VOID_PENDING
(pulseeffects:5222): pulseeffects-DEBUG: 05:45:37.320: soe: total latency: 10 ms
(pulseeffects:5222): pulseeffects-DEBUG: 05:47:11.134: pipe_manager: Stream/Output/Audio VLC media player (LibVLC 3.0.12.1) was removed
(pulseeffects:5222): pulseeffects-DEBUG: 05:47:11.134: soe: pipeline state reading was succesfull
(pulseeffects:5222): pulseeffects-DEBUG: 05:47:16.742: soe: timeout callback: pipeline state reading was succesfull
(pulseeffects:5222): pulseeffects-DEBUG: 05:47:16.742: soe: No app wants to play audio. We will stop our pipeline.
wwmm commented 3 years ago

PipeWire 0.3.24 has changed how default devices are broadcasted to clients. You will need PulseEffects 5.0.3

Vascom commented 3 years ago

5.0.3 already in repo. And seems that reporter has this issue exactly with 5.0.3.

wwmm commented 3 years ago

In the logs I see PE version: 5.0.1. Something went wrong somewhere.

jonjonw commented 3 years ago

Just thought I'd mention that I'm having the same issue with pulseeffects 5.0.3 on archlinux.

wwmm commented 3 years ago

I wonder is this issue has the same source as #898...

Msouza91 commented 3 years ago

I'm on PE 5.0.4 and can confirm that I have the same problem!

cynchronos commented 3 years ago

same too in PE 5.0.4, sometimes pulse effects are not working except i restart them, i used fedora 34 btw

wwmm commented 3 years ago

PipeWire users should move to EasyEffects. The 5.0.x branch that was based on GStreamer and GTK3 isn't maintained anymore. In case your distribution does not have a package for EasyEffects yet I suggest using its flatpak package until a native package is available.