Closed Meister1593 closed 2 years ago
same on fedora
Volume for easyeffects source is basically cut in half, even without any plugins present
Without any plugins we just passthrough data. If the volume is reduced even when the virtual device volume slider is at 100% it is probably a PipeWire bug. So far I did not notice this happening on my computer. It may be worth to delete ~/.local/state/wireplumber
and ~/.local/state/pipewire
and rebooting the computer.
Volume for easyeffects source is basically cut in half, even without any plugins present
Without any plugins we just passthrough data. If the volume is reduced even when the virtual device volume slider is at 100% it is probably a PipeWire bug. So far I did not notice this happening on my computer. It may be worth to delete
~/.local/state/wireplumber
and~/.local/state/pipewire
and rebooting the computer.
tried deleting these folders and rebooting, nothing changed and volume is still cut in half
Pipewire version:
pipewire
Compiled with libpipewire 0.3.48
Linked with libpipewire 0.3.48
When no plugins are enabled the pipeline is
audio application -> null sink -> output level meter -> spectrum -> sound card
The level meter and the spectrum operate in passthrough mode. So the only option left is that the null sink is changing the audio volume. But the null sink comes from PipeWire. We just ask it to load one for us.
When no plugins are enabled the pipeline is
audio application -> null sink -> output level meter -> spectrum -> sound card
The level meter and the spectrum operate in passthrough mode. So the only option left is that the null sink is changing the audio volume. But the null sink comes from PipeWire. We just ask it to load one for us.
i'm not sure if that's right way to test it... but creating null sink (using pactl load-module module-null-sink
) and then re-routing microphone audio (using qjackctl) to it doesn't reduce audio volume at all and it stays the same
The microphone pipeline also enters passthrough mode when there is no filter. But the order is a little different
microphone -> output level meter -> spectrum -> null sink
I am 100% sure that the level meter and the spectrum do not write to the audio buffer. It doesn't even make sense to do that in these filters. So what may be happening is some kind of issue when the channels are linked in your system. Run pw-dot
. The output file can be viewed with xdot
and should show the links if you run pw_dot
while EasyEffects pipeline is active.
The microphone pipeline also enters passthrough mode when there is no filter. But the order is a little different
microphone -> output level meter -> spectrum -> null sink
I am 100% sure that the level meter and the spectrum do not write to the audio buffer. It doesn't even make sense to do that in these filters. So what may be happening is some kind of issue when the channels are linked in your system. Run
pw-dot
. The output file can be viewed withxdot
and should show the links if you runpw_dot
while EasyEffects pipeline is active.
output from pw-dot
is pretty much empty (when i open plasma equaliser) with easyeffects without plugins
pw.dot
digraph pipewire {
}
output from pw-dot is pretty much empty (when i open plasma equaliser) with easyeffects without plugins
I forgot to tell you that besides opening EasyEffects you have to make sure an audio player is running. Otherwise EasyEffects will unlink its filters in order to make sure no CPU power is wasted processing silence.
you have to make sure an audio player is running
Or that something is recording from our virtual source.
you have to make sure an audio player is running
Or that something is recording from our virtual source.
I tried launching audio player and using discord's testing voice with easy effects, pw.dot is still empty
I tried it now and pw-dot
is empty indeed. That is weird. It usually shows lots of things. I wonder if it is a regression in PipeWire. I think it is the first time I try to use pw-dot since the last PipeWire release.
Any updates?
Any updates?
If you ask about the volume issue there is no update. Somehow it does not happen with my microphone or in the apps output pipeline. And without being able to reproduce it it is hard to tell what is going on. I still do not see how this bug could be on our side when the null-sink comes from PipeWire code. If deleting the configurations under ~/.local/state/pipewire
do not help I do not know what else to suggest.
Somehow it does not happen with my microphone
As I have a stereo microphone there are issues that never happened here. That is why I asked about the pw-dot
so I could see if something wrong was happening when your mic was linked. But as pw-dot is not working we won't know. You could try to see the links in Helvum but the pw-dot
advantage is that it also shows the links state.
pw-dot just happens to have broken output in, if I'm not mistaken, versions 0.3.48 and 0.3.49. And it should not be affecting anything else or imply that something inside PipeWire itself is broken. Fixed in 0.3.50 as well as on some distros by the maintainer backporting the required fix.
i'm not sure but for some reason playback volume got changed when i messed with creating-deleting them (just using player in youtube in firefox) i will wait for 0.3.50 and will test everything again, this is really strange behaviour
Is this still a problem?
i just checked (pipewire 0.3.52 and easyeffects 6.2.5) peak audio levels for audio recorded from a phone close to a mic (440hz sinewave) and it both (no easyeffects and bypassed noise filter) peaked at 34 dB, so i don't think it's a problem anymore.
EasyEffects Version
6.2.4
What package are you using?
Arch (easyeffects)
Distribution
Arch Linux
Describe the bug
Volume for easyeffects source is basically cut in half, even without any plugins present It was affecting me for a while and i thought i should really know what is wrong with it
Expected Behavior
Volume should stay the same without any effect plugins
Debug Log
Debug Log
``` (process:109064): easyeffects-DEBUG: 14:49:41.788: easyeffects version: 6.2.4 (process:109064): easyeffects-DEBUG: 14:49:41.790: main: locale directory: /usr/share/locale (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system input presets directory: "/etc/easyeffects/input"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system input presets directory: "/home/plyshka/.config/kdedefaults/easyeffects/input"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system output presets directory: "/etc/easyeffects/output"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: system output presets directory: "/home/plyshka/.config/kdedefaults/easyeffects/output"; (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: user presets directory already exists: /home/plyshka/.config/easyeffects/ (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: user presets directory already exists: /home/plyshka/.config/easyeffects/input (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: user presets directory already exists: /home/plyshka/.config/easyeffects/output (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: user presets directory already exists: /home/plyshka/.config/easyeffects/autoload/input (easyeffects:109064): easyeffects-DEBUG: 14:49:41.794: presets_manager: user presets directory already exists: /home/plyshka/.config/easyeffects/autoload/output (easyeffects:109064): Adwaita-WARNING **: 14:49:41.946: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead. (easyeffects:109064): easyeffects-DEBUG: 14:49:42.022: pipe_manager: compiled with PipeWire: 0.3.48 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.022: pipe_manager: linked to PipeWire: 0.3.48 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: core version: 0.3.48 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: core name: pipewire-0 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: found metadata: settings (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: found metadata: default (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: found metadata: route-settings (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Sink 45 alsa_output.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.analog-stereo with timestamp 1647082182033467122 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Source 46 alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback with timestamp 1647082182033533382 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Sink 47 alsa_output.pci-0000_0a_00.3.analog-stereo with timestamp 1647082182033564882 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Sink 99 jamesdsp_sink with timestamp 1647082182033655342 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Sink 48 bluez_output.01_08_21_75_97_85.a2dp-sink with timestamp 1647082182033733062 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Sink 114 easyeffects_sink with timestamp 1647082182033815721 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.033: pipe_manager: Audio/Source/Virtual 91 easyeffects_source with timestamp 1647082182033852071 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "bluez_output.01_08_21_75_97_85.a2dp-sink" } (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback" } (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"bluez_output.01_08_21_75_97_85.a2dp-sink"} (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback"} (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: easyeffects_sink node successfully retrieved with id 114 and timestamp 1647082182033815721 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.034: pipe_manager: easyeffects_source node successfully retrieved with id 91 and timestamp 1647082182033852071 (easyeffects:109064): easyeffects-WARNING **: 14:49:42.064: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:109064): easyeffects-DEBUG: 14:49:42.064: soe: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:109064): easyeffects-WARNING **: 14:49:42.064: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:109064): easyeffects-WARNING **: 14:49:42.064: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:109064): easyeffects-WARNING **: 14:49:42.064: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:109064): easyeffects-DEBUG: 14:49:42.081: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.113: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.162: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.230: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.245: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-WARNING **: 14:49:42.258: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.258: soe: urn:zamaudio:ZaMaximX2 is not installed (easyeffects:109064): easyeffects-WARNING **: 14:49:42.258: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh (easyeffects:109064): easyeffects-WARNING **: 14:49:42.258: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil (easyeffects:109064): easyeffects-WARNING **: 14:49:42.258: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel (easyeffects:109064): easyeffects-DEBUG: 14:49:42.284: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.317: soe: rnnoise using the default model (easyeffects:109064): easyeffects-DEBUG: 14:49:42.335: soe: output_level successfully connected to PipeWire graph (easyeffects:109064): easyeffects-DEBUG: 14:49:42.336: soe: spectrum successfully connected to PipeWire graph (easyeffects:109064): easyeffects-WARNING **: 14:49:42.364: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:109064): easyeffects-DEBUG: 14:49:42.364: sie: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:109064): easyeffects-WARNING **: 14:49:42.364: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:109064): easyeffects-WARNING **: 14:49:42.364: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:109064): easyeffects-WARNING **: 14:49:42.364: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:109064): easyeffects-DEBUG: 14:49:42.379: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.406: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.452: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.521: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.536: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-WARNING **: 14:49:42.550: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2 (easyeffects:109064): easyeffects-DEBUG: 14:49:42.550: sie: urn:zamaudio:ZaMaximX2 is not installed (easyeffects:109064): easyeffects-WARNING **: 14:49:42.550: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh (easyeffects:109064): easyeffects-WARNING **: 14:49:42.550: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil (easyeffects:109064): easyeffects-WARNING **: 14:49:42.550: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel (easyeffects:109064): easyeffects-DEBUG: 14:49:42.574: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:109064): easyeffects-DEBUG: 14:49:42.606: sie: rnnoise using the default model (easyeffects:109064): easyeffects-DEBUG: 14:49:42.622: sie: output_level successfully connected to PipeWire graph (easyeffects:109064): easyeffects-DEBUG: 14:49:42.623: sie: spectrum successfully connected to PipeWire graph easyeffects-INFO: 14:49:42.660: application: disabling global bypass (easyeffects:109064): easyeffects-DEBUG: 14:49:42.669: application_ui: Icon Theme breeze-dark detected (easyeffects:109064): easyeffects-DEBUG: 14:49:42.922: new default output device: bluez_output.01_08_21_75_97_85.a2dp-sink (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: new default input device: alsa_input.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00.mono-fallback (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: device alsa_card.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00 has changed its input route to: analog-input-mic (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: device alsa_card.usb-DCMT_Technology_USB_Gaming_Mic_Pro_214b206000000178-00 has changed its output route to: analog-output-speaker (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: output autoloading: the target node name does not match the output device name (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: device alsa_card.pci-0000_0a_00.3 has changed its output route to: analog-output-lineout (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: output autoloading: the target node name does not match the output device name (easyeffects:109064): easyeffects-DEBUG: 14:49:42.925: application: device bluez_card.01_08_21_75_97_85 has changed its output route to: headphone-output (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 135 Plasma PA with timestamp 1647082186906414831 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 109 Plasma PA with timestamp 1647082186906476161 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 86 Plasma PA with timestamp 1647082186906496741 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 158 Plasma PA with timestamp 1647082186906513261 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 79 Plasma PA with timestamp 1647082186906529061 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 154 Plasma PA with timestamp 1647082186906551201 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: Stream/Input/Audio 160 Plasma PA with timestamp 1647082186906565251 was added (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.906: pipe_manager: monitor stream Stream/Input/Audio Plasma PA was removed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.930: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.930: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.930: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.930: node holder: 135, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.931: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.931: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.931: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.931: node holder: 109, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.931: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.932: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.932: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.932: node holder: 86, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.932: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: node holder: 158, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.933: node holder: 79, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.934: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.934: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.934: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.934: node holder: 154, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.934: app_info: disposed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.935: app_info: finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:46.935: app_info: data struct destroyed (easyeffects:109064): easyeffects-DEBUG: 14:49:46.935: node holder: 160, Plasma PA finalized (easyeffects:109064): easyeffects-DEBUG: 14:49:47.231: soe: output_level: new PipeWire blocksize: 512 (easyeffects:109064): easyeffects-DEBUG: 14:49:47.259: sie: output_level: new PipeWire blocksize: 1024 (easyeffects:109064): easyeffects-DEBUG: 14:49:52.880: soe: No app linked to our device wants to play. Unlinking our filters. ```
Additional Information
No response