Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-01-20 00:15:43

aglets
Member
Registered: 2021-01-19
Posts: 1

xfce4-pulseaudio-plugin: Completely unresponsive and freezes X server

Hello,

The PulseAudio panel plugin on my system does not respond to inputs and any attempt to interact with the applet or its preferences panel results in the X server being uninteractable. By that I mean that I cannot click on or use (nearly) any hotkeys to interact with the system. I must switch TTY and restart the desktop manager (systemctl restart lightdm) to fix the issue.

Oddly, the panel plugin freezes the system anywhere from 30 seconds to 5 minutes after attempting to interact with it. So far I have tried the following:

- Backed up and removed XFCE configuration for testing
- Removed PulseAudio configuration for testing
- Switched from PulseAudio to PipeWire

Nothing has made a difference. I hoped the 4.16 update might make a difference, but it hasn't. Perhaps there is a conflict somewhere, though I am struggling to find it. Could anyone please lend me their aid and terminal-level voodoo?

gdb_pulseaudio_21.log (PANEL_DEBUG=gdb xfce4-panel)

warning: Currently logging to /tmp/1611098855_gdb_pulseaudio_21.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff5b2b640 (LWP 79307)]
[New Thread 0x7ffff532a640 (LWP 79308)]
Exception ignored in: <gdb._GdbOutputFile object at 0x7f7a1d966c40>
Traceback (most recent call last):
  File "/usr/share/gdb/python/gdb/__init__.py", line 43, in flush
    def flush(self):
KeyboardInterrupt:

~/.xsession.errors

** (xfce4-power-manager:85978): WARNING **: 16:00:02.804: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name


** (xfce4-power-manager:85978): WARNING **: 16:00:02.804: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name


(xfce4-power-manager:85978): libnotify-WARNING **: 16:00:02.838: Failed to connect to proxy

(xfce4-power-manager:85978): GLib-GObject-WARNING **: 16:00:02.848: ../glib/gobject/gsignal.c:2613: signal 'Changed' is invalid for instance '0x55bc08075a70' of type 'GDBusProxy'

(xfce4-power-manager:85978): xfce4-power-manager-WARNING **: 16:00:02.868: could not map keysym 1008ffa8 to keycode


(xfce4-power-manager:85978): xfce4-power-manager-WARNING **: 16:00:02.886: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight

** (zeitgeist-datahub:86103): WARNING **: 16:00:03.170: zeitgeist-datahub.vala:224: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!

(wrapper-2.0:85985): Gtk-WARNING **: 16:00:03.286: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(pasystray:86104): pasystray-WARNING **: 16:00:03.312: Error initializing Avahi: Daemon not running

** (xfce4-screensaver:86114): WARNING **: 16:00:03.417: screensaver already running in this session
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32	 use a 32-bit data model if available
    -d64	 use a 64-bit data model if available
    -server	 to select the "server" VM
                  The default VM is server,
                  because you are running on a server-class machine.


    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  Warning: this feature is deprecated and will be removed
                  in a future release.
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.
Traceback (most recent call last):
  File "/usr/bin/caffeine", line 33, in <module>
    sys.exit(load_entry_point('caffeine-ng==3.5.0', 'gui_scripts', 'caffeine')())
  File "/usr/bin/caffeine", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/caffeine/main.py", line 54, in <module>
    from .core import Caffeine  # noqa: E402
  File "/usr/lib/python3.9/site-packages/caffeine/core.py", line 26, in <module>
    from pulsectl import Pulse
ModuleNotFoundError: No module named 'pulsectl'

(wrapper-2.0:86092): Gtk-WARNING **: 16:00:03.663: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 24

(evolution:86095): GLib-GIO-WARNING **: 16:00:03.792: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().

(wrapper-2.0:86067): Gtk-WARNING **: 16:00:03.854: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)

(wrapper-2.0:85997): Gtk-WARNING **: 16:00:03.867: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
realloc(): invalid next size

(wrapper-2.0:85966): Gtk-WARNING **: 16:00:03.915: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:85985): Gtk-WARNING **: 16:00:03.920: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.065: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.065: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.066: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.066: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.068: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.068: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.068: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.068: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.069: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(wrapper-2.0:85989): Gtk-CRITICAL **: 16:00:04.069: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(evolution-alarm-notify:86234): GLib-GIO-WARNING **: 16:00:04.213: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().

(wrapper-2.0:85989): libsystray-CRITICAL **: 16:00:04.371: sn_item_invalidate: assertion 'item->properties_proxy != NULL' failed

(wrapper-2.0:85989): libsystray-CRITICAL **: 16:00:04.371: sn_item_invalidate: assertion 'item->properties_proxy != NULL' failed

(evolution:86153): GLib-GIO-WARNING **: 16:00:04.496: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().
** Message: 16:00:33.759: updates_checker.vala:64: check updates
** Message: 16:00:45.041: updates_checker.vala:94: 23 updates found

(xfce4-session-settings:87767): Gtk-WARNING **: 16:01:14.389: Content added to the action area of a dialog using header bars

(xfce4-session-settings:87767): Gtk-WARNING **: 16:01:14.389: Content added to the action area of a dialog using header bars

(xfce4-notes:88345): GLib-GIO-WARNING **: 16:02:34.676: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().

(xfce4-notes:88386): GLib-GIO-WARNING **: 16:03:24.387: Your application did not unregister from D-Bus before destruction. Consider using g_application_run().

No errors in /var/log/Xorg.0.log, here are warnings

[ 35720.556] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 35720.556] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 35720.556] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 35720.556] (WW) Disabling Keyboard0
[ 35720.556] (WW) Disabling Mouse0
[ 35720.559] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

Many thanks for any responses!

Offline

#2 2022-05-13 02:59:09

kdelooms
Member
Registered: 2022-05-13
Posts: 1

Re: xfce4-pulseaudio-plugin: Completely unresponsive and freezes X server

Hello. Hopefully I won't get into trouble for necro'ing an old thread.

Just in case anyone is searching and comes across this.

I hit this problem today in 2022, and I've seen a couple of other forum posts about it, with NO reply from anybody.

The only thing I found that fixed it was a complete purge of pulseaudio, as below, but keep reading before you just cut and paste into a root window and hit return!

For one thing at least, PLEASE DO THIS dpkg-query FIRST!

dpkg-query --no-pager -l > dpkg.apps.installed.before.I.purged.pulseaudio.txt

Then the scary part:

apt-get -y purge gstreamer1.0-pulseaudio:amd64 libkf5pulseaudioqt2:amd64 libpulse-mainloop-glib0:amd64 libpulse0:amd64 libpulse0:i386 libpulsedsp:amd64 libsdl1.2debian-pulseaudio pulseaudio pulseaudio-utils xfce4-pulseaudio-plugin:amd64

Then I did the reverse, 'install', to put it all back. (Note the SDL library couldn't find a candidate so I just removed it from the list).

Now the thing is, this removed a HEAP of apps that 'vaguely depended on' pulseaudio.  I'm still reinstalling them.

I did a mass automated reinstall from a before-and-after diff of dpkg, but IT BROUGHT THE PROBLEM BACK!  So something in there is the culprit, or a combination is. The list was far too complex and deep to bother even trying to debug it.

Looking forward to trying out pipewire and removing all trace of pulseaudio from my system one day! (And indeed systemd, thinking about MX Linux).

Incidentally I reinstalled PulseEffects (pulseeffects) and the problem did not return, so for me pulseeffects was not the issue.

Last edited by kdelooms (2022-05-13 03:01:43)

Offline

Board footer

Powered by FluxBB