Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-15 07:43:17

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 15

pulseaudio-plugin failing after downgrade

Hi,

on Gentoo I was using the testing branch 4.17* because I like to have the latest features and Xfce releases are slow anyway. Then I ran into the xfconf bug that deleted all my panels. Eventhough this bug is fixed in the meanwhile I learned that running this kind of development versions might break productive systems and I downgraded the testing branch of Xfce4 4.17* do 4.16*.

Almost everything is working, but xfce4-pulseaudio-plugin is failing to start: It always "unexpectedly left the panel, do you want to restart it" ? Afaik this plugin doesn't have any custom configuration, I can't find a file "*pulse*" in the xfce4 config tree. What can I do? Right now the plugin is removed from the panel and I can't find any reference to it:

grep -R pulse ~/.config/xfce4*

I was using PulseAudio and recently migrated to PipeWire. xfce4-pulseaudio-plugin was always working while I had the testing Xfce 4.17* branch and now fails after downgrading to 4.16*.


Gentoo-Linux

Offline

#2 2022-11-15 09:53:16

Tamaranch
Member
Registered: 2020-12-31
Posts: 112

Re: pulseaudio-plugin failing after downgrade

It looks like a mixture of installations in /usr/local and /usr. Basically, delete everything you have in /usr/local and install in /usr instead, and it should work.

I think that's also where your problem in https://gitlab.xfce.org/xfce/xfce4-pane … note_59863 comes from.

Offline

#3 2022-11-15 10:06:59

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 15

Re: pulseaudio-plugin failing after downgrade

I don't think so. /usr/local/ doesn't have anything Xfce related here. /usr/local/bin are just my personal scripts, /usr/local/share/applications just has some local shortcuts...
If there is a version mismatch in /usr, then Gentoo's portage would have broken something which I doubt. As for the gitlab issue, portage only has one version of each installed at time, there are no conflicting versions. Currently there are no dependency conflicts. This is the installed set of Xfce:

# eix-installed -a |grep xfce
dev-util/xfce4-dev-tools-4.16.0
x11-terms/xfce4-terminal-1.0.4
x11-themes/elementary-xfce-icon-theme-0.15.1
xfce-base/exo-4.16.4
xfce-base/garcon-0.8.0
xfce-base/libxfce4ui-4.16.1
xfce-base/libxfce4util-4.16.0
xfce-base/thunar-4.16.11
xfce-base/thunar-volman-4.16.0
xfce-base/tumbler-4.16.1
xfce-base/xfce4-appfinder-4.16.1
xfce-base/xfce4-meta-4.16-r2
xfce-base/xfce4-panel-4.16.5
xfce-base/xfce4-power-manager-4.16.0
xfce-base/xfce4-session-4.16.0
xfce-base/xfce4-settings-4.16.5
xfce-base/xfconf-4.16.0
xfce-base/xfdesktop-4.16.0
xfce-base/xfwm4-4.16.1-r1
xfce-extra/thunar-archive-plugin-0.5.0
xfce-extra/thunar-media-tags-plugin-0.3.0
xfce-extra/xfce4-alsa-plugin-0.3.0-r1
xfce-extra/xfce4-battery-plugin-1.1.4
xfce-extra/xfce4-clipman-plugin-1.6.2
xfce-extra/xfce4-cpufreq-plugin-1.2.7
xfce-extra/xfce4-cpugraph-plugin-1.2.6
xfce-extra/xfce4-datetime-plugin-0.8.1
xfce-extra/xfce4-dict-0.8.4
xfce-extra/xfce4-diskperf-plugin-2.7.0
xfce-extra/xfce4-fsguard-plugin-1.1.2
xfce-extra/xfce4-genmon-plugin-4.1.1
xfce-extra/xfce4-indicator-plugin-2.4.1
xfce-extra/xfce4-mount-plugin-1.1.5
xfce-extra/xfce4-netload-plugin-1.4.0
xfce-extra/xfce4-notifyd-0.6.4-r1
xfce-extra/xfce4-panel-profiles-1.0.13
xfce-extra/xfce4-places-plugin-1.8.1
xfce-extra/xfce4-pulseaudio-plugin-0.4.5
xfce-extra/xfce4-screenshooter-1.9.11-r1
xfce-extra/xfce4-sensors-plugin-1.4.3
xfce-extra/xfce4-smartbookmark-plugin-0.5.2
xfce-extra/xfce4-systemload-plugin-1.3.1
xfce-extra/xfce4-taskmanager-1.5.4
xfce-extra/xfce4-timer-plugin-1.7.1
xfce-extra/xfce4-verve-plugin-2.0.1
xfce-extra/xfce4-weather-plugin-0.11.0-r1
xfce-extra/xfce4-whiskermenu-plugin-2.7.1
xfce-extra/xfce4-xkb-plugin-0.8.3

Gentoo-Linux

Offline

#4 2022-11-15 10:19:00

Tamaranch
Member
Registered: 2020-12-31
Posts: 112

Re: pulseaudio-plugin failing after downgrade

What is the output of

which xfce4-panel

Offline

#5 2022-11-15 10:31:07

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 15

Re: pulseaudio-plugin failing after downgrade

$ which xfce4-panel
/usr/bin/xfce4-panel

$ /usr/bin/xfce4-panel --version
xfce4-panel 4.16.5 (Xfce 4.16)

$ pgrep -alfi "xfce.*panel"
6752 xfce4-panel
6765 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libwhiskermenu.so 16 23068679 whiskermenu Whisker Menu Show a menu to easily access installed applications
6766 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libsystray.so 6 23068681 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
6767 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libweather.so 13 23068682 weather Weather Update Show current weather conditions
6768 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libnotification-plugin.so 23 23068683 notification-plugin Notification Plugin Notification plugin for the Xfce panel
6828 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libcpugraph.so 9 23068688 cpugraph CPU Graph Graphical representation of the CPU load
6830 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libcpufreq.so 2 23068689 cpufreq CPU Frequency Monitor Show CPU frequencies and governor
6842 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libsystemload.so 17 23068690 systemload System Load Monitor Monitor CPU load, swap usage and memory footprint
6848 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libgenmon.so 36 23068691 genmon Generic Monitor Show output of a command.
6849 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libnetload.so 19 23068692 netload Network Monitor Show network traffic
6850 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libnetload.so 25 23068693 netload Network Monitor Show network traffic
6851 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libxfce4-sensors-plugin.so 41 23068694 xfce4-sensors-plugin Sensor plugin Show sensor values.
6945 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libdiskperf.so 22 23068699 diskperf Disk Performance Monitor Show disk performance
6946 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libdiskperf.so 14 23068700 diskperf Disk Performance Monitor Show disk performance
6947 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libdiskperf.so 37 23068701 diskperf Disk Performance Monitor Show disk performance
6948 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libgenmon.so 1 23068702 genmon Generic Monitor Show output of a command.

Gentoo-Linux

Offline

#6 2022-11-15 10:36:58

Tamaranch
Member
Registered: 2020-12-31
Posts: 112

Re: pulseaudio-plugin failing after downgrade

Ok, and could you give also

ls -l /usr/lib64/xfce4/panel/plugins

PS: I completed my post https://gitlab.xfce.org/xfce/xfce4-pane … note_59876

Offline

#7 2022-11-15 10:48:17

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 15

Re: pulseaudio-plugin failing after downgrade

$ ls -l /usr/lib64/xfce4/panel/plugins
total 3,4M
-rwxr-xr-x 1 root root  67K 14. Nov 10:53 libactions.so*
-rwxr-xr-x 1 root root  62K 29. Jul 02:25 libalsa.so*
-rwxr-xr-x 1 root root  58K 14. Nov 10:53 libapplicationsmenu.so*
-rwxr-xr-x 1 root root  50K 29. Jul 02:25 libbattery.so*
-rwxr-xr-x 1 root root  70K 29. Jul 02:25 libclipman.so*
-rwxr-xr-x 1 root root  98K 14. Nov 10:53 libclock.so*
-rwxr-xr-x 1 root root 186K 14. Nov 10:57 libcpufreq.so*
-rwxr-xr-x 1 root root 182K 29. Jul 02:26 libcpugraph.so*
-rwxr-xr-x 1 root root  38K 14. Nov 10:57 libdatetime.so*
-rwxr-xr-x 1 root root  70K 14. Nov 10:53 libdirectorymenu.so*
-rwxr-xr-x 1 root root  42K 29. Jul 02:26 libdiskperf.so*
-rwxr-xr-x 1 root root  34K 29. Jul 02:26 libfsguard.so*
-rwxr-xr-x 1 root root  42K 29. Jul 02:26 libgenmon.so*
-rwxr-xr-x 1 root root  90K 29. Jul 02:26 libindicator-plugin.so*
-rwxr-xr-x 1 root root 134K 14. Nov 10:53 liblauncher.so*
-rwxr-xr-x 1 root root  46K 29. Jul 02:26 libmount.so*
-rwxr-xr-x 1 root root  50K 29. Jul 02:26 libnetload.so*
-rwxr-xr-x 1 root root  42K  4. Nov 11:09 libnotification-plugin.so*
-rwxr-xr-x 1 root root  66K 14. Nov 10:53 libpager.so*
-rwxr-xr-x 1 root root  78K 14. Nov 10:58 libplaces.so*
-rwxr-xr-x 1 root root 146K 29. Sep 02:24 libpulseaudio-plugin.so*
-rwxr-xr-x 1 root root 118K 11. Nov 13:15 libscreenshooterplugin.so*
-rwxr-xr-x 1 root root  38K 14. Nov 10:53 libseparator.so*
-rwxr-xr-x 1 root root  34K 14. Nov 10:53 libshowdesktop.so*
-rwxr-xr-x 1 root root  22K 29. Jul 02:27 libsmartbookmark.so*
-rwxr-xr-x 1 root root  54K 14. Nov 10:58 libsystemload.so*
-rwxr-xr-x 1 root root 202K 14. Nov 10:53 libsystray.so*
-rwxr-xr-x 1 root root 130K 14. Nov 10:53 libtasklist.so*
-rwxr-xr-x 1 root root  42K 14. Nov 10:55 libthunar-tpa.so*
-rwxr-xr-x 1 root root  50K 29. Jul 02:27 libverve.so*
-rwxr-xr-x 1 root root 230K 29. Jul 02:28 libweather.so*
-rwxr-xr-x 1 root root 238K 29. Jul 02:28 libwhiskermenu.so*
-rwxr-xr-x 1 root root  62K 14. Nov 10:53 libwindowmenu.so*
-rwxr-xr-x 1 root root 138K 29. Jul 02:26 libxfce4dict.so*
-rwxr-xr-x 1 root root  82K 14. Nov 10:54 libxfce4powermanager.so*
-rwxr-xr-x 1 root root 162K 14. Nov 10:58 libxfce4-sensors-plugin.so*
-rwxr-xr-x 1 root root  46K 29. Jul 02:27 libxfcetimer.so*
-rwxr-xr-x 1 root root  62K 29. Jul 02:28 libxkb.so*

Gentoo-Linux

Offline

#8 2022-11-15 10:58:45

Tamaranch
Member
Registered: 2020-12-31
Posts: 112

Re: pulseaudio-plugin failing after downgrade

Okay so you're right, it doesn't seem to be a mix of installs smile

Now, could you give:
* a screenshot of the error dialog when you try to add the plugin
* the console output of the panel at that time (do xfce4-panel -q && xfce4-panel beforehand if needed)

Offline

#9 2022-11-15 11:08:18

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 15

Re: pulseaudio-plugin failing after downgrade

Right, that debug output is what I was looking for:

(process:7388): GLib-WARNING **: 12:02:16.268: (../glib-2.74.1/glib/gerror.c:763):g_error_new_valist: runtime check failed: (domain != 0)

(process:7388): xfce4-panel-wrapper-CRITICAL **: 12:02:16.268: Wrapper pulseaudio-12: Failed to open plugin module "/usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so": /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so: undefined symbol: xfce_panel_plugin_popup_menu.
xfce4-panel-Message: 12:02:16.269: Plugin pulseaudio-12 has been automatically restarted after crash.

(process:7390): GLib-WARNING **: 12:02:16.396: (../glib-2.74.1/glib/gerror.c:763):g_error_new_valist: runtime check failed: (domain != 0)

(process:7390): xfce4-panel-wrapper-CRITICAL **: 12:02:16.396: Wrapper pulseaudio-12: Failed to open plugin module "/usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so": /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so: undefined symbol: xfce_panel_plugin_popup_menu.

(xfce4-panel:7185): GLib-CRITICAL **: 12:02:19.970: g_child_watch_add_full: assertion 'pid > 0' failed

Especially

undefined symbol: xfce_panel_plugin_popup_menu

Well this might be Gentoo related, something should have been rebuilt after changed dependencies. Usually this can be done via revdep-rebuild to rebuild reverse dependencies if required, but wasn't found... Downgrades are not that well tested in the distribution.

$ ldd /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so

looks good, so no broken dependency after the downgrade.
Anyway, I just rebuilt the xfce-extra/xfce4-pulseaudio-plugin and now it's working. Sorry for the confusion. Most binary distros won't have these issues...

Last edited by Mo_B (2022-11-15 11:09:15)


Gentoo-Linux

Offline

#10 2022-11-15 11:22:42

Tamaranch
Member
Registered: 2020-12-31
Posts: 112

Re: pulseaudio-plugin failing after downgrade

Yes the plugin was built with libxfce4panel >= 4.17.2 from which xfce_panel_plugin_popup_menu() was added, and therefore must be rebuilt when downgrading.

I would have liked to know if, starting from a working 4.16.x install (so in particular with a valid ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml file), upgrading to the current 4.17.x branch of Gentoo works (i.e. going directly from Xfconf 4.16.0 to 4.17.1).

But I don't want to make you break your install again, so don't feel obliged to try big_smile

Offline

Board footer

Powered by FluxBB