wwmm / easyeffects

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

Pulseeffects not working after Pulseaudio update #307

Closed SzDavidHUN closed 6 years ago

SzDavidHUN commented 6 years ago

Hello!

TL;DR If the app isn't going trough PE it's working, if it going trough, it doesn't. Nothing comes out of speaker, the graph in PE shows nothing, pavucontrol "glitches", and I got a ton of debug messages.

This night I've updated my computer, there was a pulseaudio update and some other audio stuff too. After a restart PE stopped working. Checked with pavucontrol, maybe something easy, but on the recording tab PE is flashing like crazy, there is something PulseEffects(mic) selected, which is a but suspicious, but can't interact with it, disappears and reappears many time a second. Now PulseEffects(App) is selected, but don't know why, still doesn't work. (See screenshot below) Then I've tried to rollback my config files, reinstall pe, clear .config/pulse, etc (and restart computer after every try), but nothing. Opened PE in terminal, it complained about not all plugins installed, so I've taken care, and now I only got one message. (pulseeffects:2004): GLib-GIO-CRITICAL **: 00:49:22.381: g_settings_bind_with_mapping: assertion 'G_IS_OBJECT (object)' failed After starting playing sound, it gives more, I've linked it in the basic logs. It puts quite a lot of, just like in pavucontrol the app showing up and disappearing. Tested with Firefox, Chromium, and Spotify.

Linux Mint 19 with Cinnamon 3.8.8 Install method: https://github.com/wwmm/pulseeffects/wiki/Package-Repositories#debian--ubuntu PE Version: 4.2.8

Basic logs are here: https://gist.github.com/SzDavidHUN/9beddbeaf506757908c1070ff0ef4e6b

Updated packages: image

Pavucontrol: image

Thanks in advance for your help! :)

wwmm commented 6 years ago

Hi! The error related to g_settings_bind_with_mapping is bad. This function is used a lot in PE and that is probably the reason why you also have Internal data stream error. After this stream error happens there will be no sound.

So you have to find out why g_settings_bind_with_mapping is failing. It could be because of a problem in your glib2 package after the system upgrade or because of a problem in PE package. @mikhailnov is everything alright in the package?

Pulseaudio 12 is not the problem. I have been using it in Arch Linux for quite some time with no problems. PulseEffects source is also not the problem. It is fine here. So the source must be in GTK, glib2 or in ubuntu PulseEffects packages

wwmm commented 6 years ago

Another possibility is that one of the required GStreamer packages is corrupted on your machine. A problem with one of the plugins package could also cause assertion 'G_IS_OBJECT (object)' failed

germanoeich commented 6 years ago

I have the same exact same issue with a fresh Linux Mint 19 install. Fresh install of pulseeffects and pulseaudio, is there any work around for this?

gobozov commented 6 years ago

Same issue, fresh mint 19 cinnamon.

AsavarTzeth commented 6 years ago

Well you could try the Flatpak, if for no other reason than to eliminate the possibility of distribution specific issues. Knowing if its a distribution or application issue is always a good start before reporting an issue.

SzDavidHUN commented 6 years ago

I've removed the deb package, reboot, then installed flatpak. The flatpak is version 4.2.7. Now it sometimes works, sometimes not. After like 5 restart, I can't reproduce it not working.

Haven't seen any difference between cli output whether it works or not.

$ flatpak run com.github.wwmm.pulseeffects

(pulseeffects:3): Gtk-WARNING **: 12:09:47.491: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:09:47.491: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): pulseeffects-WARNING **: 12:09:47.700: convolver plugin was not found!

(pulseeffects:3): Gtk-WARNING **: 12:09:48.823: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:09:48.823: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:09:49.238: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:09:49.238: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

It didn't like if I ctrl+c it from terminal (pulseeffects:3): dconf-WARNING **: 12:11:18.952: failed to commit changes to dconf: The connection is closed

The gstreamer1.0-convolver-pulse.. package is installed, but a warning is still printed.

A debug log when it's working:

$ G_MESSAGES_DEBUG=pulseeffects flatpak run com.github.wwmm.pulseeffects

(pulseeffects:3): Gtk-WARNING **: 12:22:28.997: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:28.997: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.029: pulse_manager: context is connecting
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.030: pulse_manager: context is authorizing
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.030: pulse_manager: context is setting name
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.030: pulse_manager: context is ready
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.030: pulse_manager: connected to: unix:/run/user/1000/pulse/native
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.030: pulse_manager: protocol version: 32
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: Pulseaudio version: 12.2
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: default pulseaudio source: alsa_input.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: default pulseaudio sink: alsa_output.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: loading Pulseeffects applications output sink...
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: default pulseaudio sink sampling rate: 44100 Hz
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.031: pulse_manager: default pulseaudio sink audio format: s16le
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.032: pulse_manager: sink loaded
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.038: pulse_manager: loading Pulseeffects microphone output sink...
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.039: pulse_manager: default pulseaudio source sampling rate: 44100 Hz
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.039: pulse_manager: default pulseaudio source audio format: s16le
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.039: pulse_manager: sink loaded

(pulseeffects:3): pulseeffects-WARNING **: 12:22:29.204: convolver plugin was not found!
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.245: presets_manager: user preset directory already exists: /home/szabo123/.var/app/com.github.wwmm.pulseeffects/config/PulseEffects
(pulseeffects:3): pulseeffects-DEBUG: 12:22:29.791: convolver_ui: irs directory already exists: /home/szabo123/.var/app/com.github.wwmm.pulseeffects/config/PulseEffects/irs

(pulseeffects:3): Gtk-WARNING **: 12:22:30.276: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:30.276: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:30.681: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:30.681: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:30.738: Theme parsing error: gtk.css:3415:30: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version

(pulseeffects:3): Gtk-WARNING **: 12:22:30.738: Theme parsing error: gtk.css:3416:29: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.818: sie: equalizer enabled
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.824: application_ui: output device changed: alsa_output.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.824: application_ui: added sink: alsa_output.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.824: application_ui: added source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.825: application_ui: input device changed: alsa_input.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.825: application_ui: added source: alsa_input.pci-0000_00_1b.0.analog-stereo
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.827: sie: spectrum enabled
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.987: sie: NULL -> READY -> PLAYING
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.987: sie: READY -> PAUSED -> PLAYING
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.988: sie: pulsesrc latency [us]: 10000
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.988: sie: pulsesrc buffer [us]: 200000
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.988: sie: pulsesink latency [us]: 10000
(pulseeffects:3): pulseeffects-DEBUG: 12:22:30.988: sie: pulsesink buffer [us]: 200000
(pulseeffects:3): pulseeffects-DEBUG: 12:22:31.285: sie: PAUSED -> PLAYING -> VOID_PENDING

I have an other Linux Mint 19 computer too, if it helps, I can try things on that too.

AsavarTzeth commented 6 years ago

Well except for the convolver plugin somehow not being found (will have to look into that) I can' see much wrong.

The original error assertion 'G_IS_OBJECT (object)' failed seems gone though? If so, I think you just successfully verified a distribution error :)

The theme warnings might be broken theming, for example if Mint installs some flatpak gtk theme extension (so app windows match mint theming).

wwmm commented 6 years ago

The package gstreamer1.0-convolver-pulseeffects is not used by the flatpak package but only by the debian package. @AsavarTzeth at least in native package installation PE plugins are installed in the same path as GStreamer plugins /usr/lib/gstreamer-1.0. I don't know what happens in flatpak. But if he was able to hear sound then at least peadapter plugin was successfully installed. This one is always enabled and can't be disabled by the user.

wwmm commented 6 years ago

Question for everybody having problems with the debian package. Is the package gstreamer1.0-adapter-pulseeffects installed? @mikhailnov it may be a bad idea to split this plugin in a independent package. I forgot to tell you this. Like I said above this plugin has to be present always

AsavarTzeth commented 6 years ago

Yeah I know, and in the case of flatpak it is /app/lib/gstreamer-1.0, since the app provides it. The thing is, I am quite sure I made sure it worked with the last version. But I will check again.

germanoeich commented 6 years ago

Hello. Installing the package gstreamer1.0-adapter-pulseeffects fixed the issue for me.

wwmm commented 6 years ago

Ok @germanoeich. @mikhailnov is there a way to add gstreamer1.0-adapter-pulseeffects as a mandatory dependency of PulseEffects? This way it would be possible to keep the adapter plugin in a separate package without users having crashes because they forgot to install it(or did not know they had to install it).

mikhailnov commented 6 years ago

Done. But recommended dependencies are installed automatically with default apt configuration in Ubuntu, why were they not installed on Mint?

@germanoeich and @SzDavidHUN , please show the output of apt-config dump APT::Install-Recommends from Linux Mint 19

AsavarTzeth commented 6 years ago

They might have used --no-install-recommends. I often do and that should be safe.

A critical dependency should not be recommended.

mikhailnov commented 6 years ago

After today it's safe.

23 августа 2018 г. 18:20:55 GMT+03:00, Patrik Nilsson notifications@github.com пишет:

They might have used --no-install-recommends. I often do and that should be safe.

A critical dependency should not be recommended.

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/wwmm/pulseeffects/issues/307#issuecomment-415456870

SzDavidHUN commented 6 years ago

Now with the new dependency it works. Thanks! :) So this is when we should close the issue, right?

Btw

$ apt-config dump APT::Install-Recommends
APT::Install-Recommends "false";

Looks like that's the default setting. Or at least I didn't remember changing it.

mikhailnov commented 6 years ago

@SzDavidHUN thanks for information, that's a strange setting by Mint developers, I changed sudo apt install pulseeffects pulseaudio to sudo apt install pulseeffects pulseaudio --install-recommends https://github.com/wwmm/pulseeffects/wiki/Package-Repositories#debian--ubuntu

mikhailnov commented 6 years ago

@wwmm most existing Mint users don't have

calf-plugins
zam-plugins
rubberband-ladspa
liblilv-0-0
mda-lv2
gstreamer1.0-convolver-pulseeffects
gstreamer1.0-crystalizer-pulseeffects
gstreamer1.0-autogain-pulseeffects

By the way, sorry for a bit offtop, calf-plugins have made a new release , where all needed issues are fixed, right? or is git code still needed for all fixes?

wwmm commented 6 years ago

I think it is up to them to install or not these packages.

Yes calf 0.90.1 has the patches that fix the memory leak in the limiter

mikhailnov commented 6 years ago

0.90.1 is in the PPA for both x86 and non-x86 https://launchpad.net/~mikhailnov/+archive/ubuntu/pulseeffects/+packages