Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyEffects not asking for background permission #1802

Open
Yowlen opened this issue Sep 5, 2022 · 10 comments
Open

EasyEffects not asking for background permission #1802

Yowlen opened this issue Sep 5, 2022 · 10 comments

Comments

@Yowlen
Copy link

Yowlen commented Sep 5, 2022

EasyEffects Version

6.3.0

What package are you using?

Flatpak (Flathub)

Distribution

Xubuntu 22.04

Describe the bug

I just upgraded from Xubuntu 20.04 and with it, enabling PipeWire became easier due to 22.04 having it installed by default, just not enabled. That means I was finally able to convert from PulseEffects over to EasyEffects. However, I was using the mikhailnov PPA for a long time because the Flatpak version of PulseEffects had a lot of issues with autostarting that the PPA's deb install didn't. Given PulseEffects was in legacy mode by the time I tried this, I opted to not file a bug report, but now that I'm using EasyEffects and there's no deb file option for it, I have to file one now.

Near as I can tell, EasyEffects isn't even so much as asking for permission to run in the background. I made sure there wasn't any residual configuration in ~/.var/app or anything like that, so it should know to ask for any permissions it needs. But when I start it up, it goes to the main screen, and when I open the settings and go to toggle either of the options in the Service section, it just pops up with a dialog saying to run flatpak permission-reset com.github.wwmm.easyeffects so it can ask again, but running that command doesn't change anything.

Expected Behavior

I'm not sure what to expect, tbh. This is my first experience with Flatpak, so I have no idea where or how it's supposed to ask for these permissions in the first place. I just know that these options exist and worked fine in PulseEffects' deb version and so they should work here too.

Debug Log

Debug Log
You have PipeWire 0.3.48 installed
This is newer or the same as PipeWire 0.3.41 required to run EasyEffects
(process:2): easyeffects-DEBUG: 18:02:56.419: 	easyeffects.cpp:35	easyeffects version: 6.3.0
(process:2): easyeffects-DEBUG: 18:02:56.421: 	easyeffects.cpp:45	locale directory: /app/share/locale
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:49	system input presets directory: "/app/etc/xdg/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:49	system input presets directory: "/etc/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:49	system input presets directory: "/etc/xdg/easyeffects/input"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:52	system output presets directory: "/app/etc/xdg/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:52	system output presets directory: "/etc/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:52	system output presets directory: "/etc/xdg/easyeffects/output"; 
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:194	user presets directory already exists: /home/yowlen/.var/app/com.github.wwmm.easyeffects/config/easyeffects/
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:194	user presets directory already exists: /home/yowlen/.var/app/com.github.wwmm.easyeffects/config/easyeffects/input
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:194	user presets directory already exists: /home/yowlen/.var/app/com.github.wwmm.easyeffects/config/easyeffects/output
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:194	user presets directory already exists: /home/yowlen/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/input
(easyeffects:2): easyeffects-DEBUG: 18:02:56.430: 	presets_manager.cpp:194	user presets directory already exists: /home/yowlen/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/output
(easyeffects:2): easyeffects-DEBUG: 18:02:57.015: 	pipe_manager.cpp:1409	compiled with PipeWire: 0.3.41
(easyeffects:2): easyeffects-DEBUG: 18:02:57.015: 	pipe_manager.cpp:1410	linked to PipeWire: 0.3.41
(easyeffects:2): easyeffects-DEBUG: 18:02:57.018: 	pipe_manager.cpp:1380	core version: 0.3.48
(easyeffects:2): easyeffects-DEBUG: 18:02:57.018: 	pipe_manager.cpp:1381	core name: pipewire-0
(easyeffects:2): easyeffects-DEBUG: 18:02:57.020: 	pipe_manager.cpp:1294	found metadata: settings
(easyeffects:2): easyeffects-DEBUG: 18:02:57.020: 	pipe_manager.cpp:1294	found metadata: default
(easyeffects:2): easyeffects-DEBUG: 18:02:57.020: 	pipe_manager.cpp:1294	found metadata: route-settings
(easyeffects:2): easyeffects-DEBUG: 18:02:57.020: 	pipe_manager.cpp:1149	Audio/Sink 48 alsa_output.pci-0000_26_00.1.hdmi-stereo-extra5 with serial 49 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Audio/Sink 49 alsa_output.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo with serial 50 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Audio/Source 50 alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo with serial 51 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Audio/Sink 33 alsa_output.pci-0000_28_00.3.analog-stereo with serial 52 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Stream/Output/Audio 118 Firefox with serial 485 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1189	Firefox port 114 is connected to alsa_output.pci-0000_28_00.3.analog-stereo port 57
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1189	Firefox port 115 is connected to alsa_output.pci-0000_28_00.3.analog-stereo port 59
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Stream/Output/Audio 89 KodiSink with serial 1764 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1189	KodiSink port 103 is connected to alsa_output.pci-0000_28_00.3.analog-stereo port 57
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1189	KodiSink port 93 is connected to alsa_output.pci-0000_28_00.3.analog-stereo port 59
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Audio/Sink 81 easyeffects_sink with serial 1771 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.021: 	pipe_manager.cpp:1149	Audio/Source/Virtual 117 easyeffects_source with serial 1772 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_28_00.3.analog-stereo" }
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo" }
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_28_00.3.analog-stereo"}
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo"}
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 118, target.node, Spa:Id, 129
(easyeffects:2): easyeffects-DEBUG: 18:02:57.022: 	pipe_manager.cpp:895	new metadata property: 118, target.object, Spa:Id, 1026
(easyeffects:2): easyeffects-DEBUG: 18:02:57.023: 	pipe_manager.cpp:1500	easyeffects_sink node successfully retrieved with id 81 and serial 1771
(easyeffects:2): easyeffects-DEBUG: 18:02:57.023: 	pipe_manager.cpp:1505	easyeffects_source node successfully retrieved with id 117 and serial 1772
(easyeffects:2): easyeffects-DEBUG: 18:02:57.033: 	plugin_base.cpp:289	soe: output_level successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:02:57.035: 	plugin_base.cpp:289	soe: spectrum successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:02:57.042: 	plugin_base.cpp:289	sie: output_level successfully connected to PipeWire graph
(easyeffects:2): easyeffects-DEBUG: 18:02:57.044: 	plugin_base.cpp:289	sie: spectrum successfully connected to PipeWire graph
easyeffects-INFO: 18:02:57.053: 	application.cpp:49	disabling global bypass
(easyeffects:2): easyeffects-DEBUG: 18:02:57.061: 	output_level.cpp:37	soe: output_level: PipeWire blocksize: 2048
(easyeffects:2): easyeffects-DEBUG: 18:02:57.062: 	output_level.cpp:38	soe: output_level: PipeWire sampling rate: 48000
(easyeffects:2): easyeffects-DEBUG: 18:02:57.063: 	application_ui.cpp:85	Icon Theme elementary-xfce-darker detected
(easyeffects:2): easyeffects-DEBUG: 18:02:57.242: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.242: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.319: 	pipe_manager.cpp:212	Stream/Output/Audio 89 KodiSink has been removed
(easyeffects:2): easyeffects-DEBUG: 18:02:57.329: 	pipe_manager.cpp:1149	Stream/Output/Audio 89 KodiSink with serial 1837 has been added
(easyeffects:2): easyeffects-DEBUG: 18:02:57.334: 	pipe_manager.cpp:895	new metadata property: 89, target.node, Spa:Id, 81
(easyeffects:2): easyeffects-DEBUG: 18:02:57.340: 	pipe_manager.cpp:1189	KodiSink port 93 is connected to easyeffects_sink port 144
(easyeffects:2): easyeffects-DEBUG: 18:02:57.340: 	pipe_manager.cpp:1189	KodiSink port 140 is connected to easyeffects_sink port 96
(easyeffects:2): easyeffects-DEBUG: 18:02:57.456: 	application.cpp:77	new default output device: alsa_output.pci-0000_28_00.3.analog-stereo
(easyeffects:2): easyeffects-DEBUG: 18:02:57.467: 	application.cpp:85	new default input device: alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:129	device alsa_card.pci-0000_26_00.1 has changed its output route to: hdmi-output-5
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:149	output autoloading: the target node name does not match the output device name
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:97	device alsa_card.usb-Samson_Technologies_Samson_Go_Mic-00 has changed its input route to: analog-input-mic
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:129	device alsa_card.usb-Samson_Technologies_Samson_Go_Mic-00 has changed its output route to: analog-output-speaker
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:149	output autoloading: the target node name does not match the output device name
(easyeffects:2): easyeffects-DEBUG: 18:02:57.480: 	application.cpp:129	device alsa_card.pci-0000_28_00.3 has changed its output route to: analog-output-headphones
(easyeffects:2): easyeffects-DEBUG: 18:02:57.481: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.481: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.481: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.481: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.483: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.483: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.483: 	app_info.cpp:311	KodiSink disposed
(easyeffects:2): easyeffects-DEBUG: 18:02:57.484: 	app_info.cpp:319	KodiSink finalized
(easyeffects:2): easyeffects-DEBUG: 18:02:57.484: 	app_info.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:02:57.485: 	node_info_holder.cpp:91	89, KodiSink finalized
(easyeffects:2): easyeffects-DEBUG: 18:02:57.491: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.491: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.492: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.492: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.493: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.494: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.494: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.494: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:02:57.494: 	app_info.cpp:135	cannot lookup application icon kodisink in /usr/local/share/pixmaps
(easyeffects:2): easyeffects-DEBUG: 18:03:00.239: 	libportal.cpp:204	not doing portal sanity check, autostart switch should be disabled and shutdown switch should be enabled so no background portal access is needed
(easyeffects:2): easyeffects-DEBUG: 18:03:02.048: 	libportal.cpp:129	requesting autostart file since autostart is enabled
(easyeffects:2): easyeffects-DEBUG: 18:03:02.065: 	libportal.cpp:48	a background request failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Background” on object at path /org/freedesktop/portal/desktop

(easyeffects:2): easyeffects-WARNING **: 18:03:02.066: 	libportal.cpp:49	Background access has been denied

(easyeffects:2): easyeffects-WARNING **: 18:03:02.066: 	libportal.cpp:50	Please allow EasyEffects to ask again with flatpak permission-reset com.github.wwmm.easyeffects

(easyeffects:2): easyeffects-WARNING **: 18:03:02.121: 	libportal.cpp:71	due to error, setting autostart state and switch to false
(easyeffects:2): easyeffects-DEBUG: 18:03:05.923: 	application_ui.cpp:205	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.925: 	app_info.cpp:311	Firefox disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.929: 	app_info.cpp:319	Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.929: 	app_info.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.929: 	app_info.cpp:311	KodiSink disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.930: 	app_info.cpp:319	KodiSink finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.930: 	app_info.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.938: 	presets_menu.cpp:388	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	presets_menu.cpp:26	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	presets_menu.cpp:398	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	effects_box.cpp:487	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	chart.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	chart.cpp:603	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.940: 	blocklist_menu.cpp:192	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	blocklist_menu.cpp:26	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	blocklist_menu.cpp:202	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	apps_box.cpp:391	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	node_info_holder.cpp:91	89, KodiSink finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	node_info_holder.cpp:91	118, Firefox finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	apps_box.cpp:26	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	apps_box.cpp:401	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.941: 	plugins_box.cpp:731	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.942: 	plugins_menu.cpp:205	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.942: 	plugins_menu.cpp:30	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.942: 	plugins_menu.cpp:215	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	plugins_box.cpp:30	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	plugins_box.cpp:741	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	effects_box.cpp:32	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	effects_box.cpp:497	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	effects_box.cpp:487	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	chart.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	chart.cpp:603	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.943: 	blocklist_menu.cpp:192	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.945: 	blocklist_menu.cpp:26	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.946: 	blocklist_menu.cpp:202	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.946: 	apps_box.cpp:391	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.946: 	apps_box.cpp:26	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.946: 	apps_box.cpp:401	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.946: 	plugins_box.cpp:731	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.947: 	plugins_menu.cpp:205	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.947: 	plugins_menu.cpp:30	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.947: 	plugins_menu.cpp:215	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.948: 	plugins_box.cpp:30	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.948: 	plugins_box.cpp:741	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.948: 	effects_box.cpp:32	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.948: 	effects_box.cpp:497	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.948: 	pipe_manager_box.cpp:756	disposed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.953: 	node_info_holder.cpp:91	50, alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	node_info_holder.cpp:91	33, alsa_output.pci-0000_28_00.3.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	node_info_holder.cpp:91	49, alsa_output.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	node_info_holder.cpp:91	48, alsa_output.pci-0000_26_00.1.hdmi-stereo-extra5 finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	pipe_manager_box.cpp:28	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	test_signals.cpp:154	destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	pipe_manager_box.cpp:766	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	application_ui.cpp:29	data struct destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.955: 	application_ui.cpp:215	finalized
(easyeffects:2): easyeffects-DEBUG: 18:03:05.956: 	presets_manager.cpp:180	destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.957: 	stream_input_effects.cpp:112	destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.957: 	effects_base.cpp:70	effects_base: destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.958: 	spectrum.cpp:61	sie: spectrum destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.958: 	output_level.cpp:33	sie: output_level destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.960: 	stream_output_effects.cpp:112	destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.960: 	effects_base.cpp:70	effects_base: destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.961: 	spectrum.cpp:61	soe: spectrum destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	output_level.cpp:33	soe: output_level destroyed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:1528	Destroying PipeWire registry...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:1531	Disconnecting PipeWire core...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Sink 48 alsa_output.pci-0000_26_00.1.hdmi-stereo-extra5 has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Sink 49 alsa_output.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Source 50 alsa_input.usb-Samson_Technologies_Samson_Go_Mic-00.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Sink 33 alsa_output.pci-0000_28_00.3.analog-stereo has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Stream/Output/Audio 118 Firefox has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Stream/Output/Audio 89 KodiSink has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Sink 81 easyeffects_sink has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:212	Audio/Source/Virtual 117 easyeffects_source has been removed
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:1536	Stopping PipeWire's loop...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.962: 	pipe_manager.cpp:1539	Destroying PipeWire's context...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.963: 	pipe_manager.cpp:1542	Destroying PipeWire's loop...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.963: 	application.cpp:378	shutting down...
(easyeffects:2): easyeffects-DEBUG: 18:03:05.995: 	easyeffects.cpp:60	Exitting the main function with status: 0

Additional Information

No response

@vchernin
Copy link
Contributor

vchernin commented Sep 5, 2022

a background request failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Background” on object at path /org/freedesktop/portal/desktop

This just means xdg-desktop-portal can’t find an implementation on your system for the background portal because it doesn’t exist. This is a bug with your system/distro. You can try use the gnome portal implementation with sudo apt install --no-install-recommends xdg-desktop-portal-gnome.

it just pops up with a dialog saying to run flatpak permission-reset com.github.wwmm.easyeffects so it can ask again, but running that command doesn't change anything.

This is bad error handling, I had tried to do better error handling in a recent change, but it seems the error number from libportal is always the same when it is a random dbus error. So maybe I can just read the verbose error message and use that to give a helpful error message.

@Yowlen
Copy link
Author

Yowlen commented Sep 6, 2022

Tried the GNOME implementation with no luck. Same behavior. I really don't want to have to reinstall 22.04 from scratch because far too many of my customizations broke wiwith the upgrade and I had to figure out cconvoluted workarounds to them.

None of them were related to xdg portal, so that was definitely a separate failure. I never even did anything that could've messed with xdg portal, tbh, so either some weird config file corruption happened from data loss somehow or an Ubuntu package update itself broke it, either from my time using 20.04 or the upgrade to 22.04 itself. Wouldn't be the first time I ran into system level file corruption, tbh. I was affected by the 4.13.x kernel scheduler bug back when that was out.

At any rate, I've exhausted my time today but I'll find time to do a fresh reinstall of 22.04 and report back. Hopefully whatever is messed up can be fixed this way, and if not, at least I can be sure I'll have a clean and uncorrupted system as wwe move on to other ideas.

@vchernin
Copy link
Contributor

vchernin commented Sep 6, 2022

Tried the GNOME implementation with no luck.

Did you restart after installing the package?

At any rate, I've exhausted my time today but I'll find time to do a fresh reinstall of 22.04 and report back.

I think you are overthinking this, the error message is quite clear and we know from other bug reports xfce simply does not have their own portal backend yet. I highly doubt reinstalling will fix this (but maybe it will help with other issues).

This issue will keep occurring until xfce makes their own portal implementation. xdg-desktop-portal-gtk used to have a background portal implementation by default but that was changed since the implementation happens to be partially gnome specific.

@Yowlen
Copy link
Author

Yowlen commented Sep 6, 2022

Thank you for catching me on that. Overthinking is a bad habit of mine. It also doesn't help that it's hard to tell what does and doesn't require a restart in Linux.

I can confirm that after starting up my computer today, it does indeed work. Thank you for explaining the why of it. Strange that such an essential function isn't included in all the package versions. Maybe including an extra part in the error message would help? Something like "If you keep getting this error and you're using Xfce, make sure xdg-portal-gnome is installed and reboot before trying again."

Either way, thanks for being patient with me. This is a great app and has helped me with my mild hearing loss and some other hearing-related issues, so I really can't thank you enough for developing this app.

Would you prefer I close this? Or would leaving it open as a means to remind you about the error handling be preferred instead?

@vchernin
Copy link
Contributor

vchernin commented Sep 6, 2022

Thank you for catching me on that. Overthinking is a bad habit of mine. It also doesn't help that it's hard to tell what does and doesn't require a restart in Linux.

No problem, indeed it can be tricky to know but as a general rule of thumb any system services probably need a reboot or manual starting. But then you need to know which things are a "system service" :)

Maybe including an extra part in the error message would help? Something like "If you keep getting this error and you're using Xfce, make sure xdg-portal-gnome is installed and reboot before trying again."

Yeah, I will try to find a way to do this. We can indeed leave this open as a reminder.

@wwmm
Copy link
Owner

wwmm commented Sep 6, 2022

It also doesn't help that it's hard to tell what does and doesn't require a restart in Linux.

It takes quite some time and study of Linux systems to know this. So don't feel bad about it. But thinking on our particular case whenever you see an update to PipeWire(or Pulseaudio) rebooting is a good idea. Not only when EasyEffects is updated. In theory you could kill the applications that are using the audio server and restarting them after restarting the service. But honestly it is easier to reboot the computer.

@Yowlen
Copy link
Author

Yowlen commented Sep 6, 2022

It takes quite some time and study of Linux systems to know this. So don't feel bad about it.

Yeah, that's true. I've been using Xubuntu as my daily driver since 14.04 when my GPU at the time finally got support, so I have knowledge in a lot of areas. The problem here came from how I've never had to interact with the xdg portal system until now, so it makes sense I wouldn't know what I'm doing. lol

Truth is, though, I'm just used to the packages automatically restarting the relevant services on install/update, so with the exception of kernel and driver updates, it's become rather rare to need to restart for anything. That's probably why the xdg portal threw me off. I didn't expect it to be a critical system process that couldn't be controlled by a systemctl command like PulseAudio or PipeWire can.

But thinking on our particular case whenever you see an update to PipeWire(or Pulseaudio) rebooting is a good idea. Not only when EasyEffects is updated. In theory you could kill the applications that are using the audio server and restarting them after restarting the service. But honestly it is easier to reboot the computer.

Heh. This is an area I've spent plenty of time exploring, however. I have a customized PulseAudio setup with a few null sinks and it took me so long on the switch to PipeWire to figure out how to translate the commands I was using in order to get an equivalent system working. I restarted the audio server and the app I was using to test the changes so many times during that. lol

Once I got to know how it worked, though, I saw just how much more versatile it was compared to PulseAudio. There's so much more potential for better, more versatile filters and stuff. I'm looking forward to seeing what comes in the future.

@physx2494
Copy link

a background request failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Background” on object at path /org/freedesktop/portal/desktop

This just means xdg-desktop-portal can’t find an implementation on your system for the background portal because it doesn’t exist. This is a bug with your system/distro. You can try use the gnome portal implementation with sudo apt install --no-install-recommends xdg-desktop-portal-gnome.

it just pops up with a dialog saying to run flatpak permission-reset com.github.wwmm.easyeffects so it can ask again, but running that command doesn't change anything.

This is bad error handling, I had tried to do better error handling in a recent change, but it seems the error number from libportal is always the same when it is a random dbus error. So maybe I can just read the verbose error message and use that to give a helpful error message.

Thank you @vchernin This solution also worked on Mint 21.1 Cinnamon

@gorman42
Copy link

a background request failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Background” on object at path /org/freedesktop/portal/desktop

This just means xdg-desktop-portal can’t find an implementation on your system for the background portal because it doesn’t exist. This is a bug with your system/distro. You can try use the gnome portal implementation with sudo apt install --no-install-recommends xdg-desktop-portal-gnome.

it just pops up with a dialog saying to run flatpak permission-reset com.github.wwmm.easyeffects so it can ask again, but running that command doesn't change anything.

This is bad error handling, I had tried to do better error handling in a recent change, but it seems the error number from libportal is always the same when it is a random dbus error. So maybe I can just read the verbose error message and use that to give a helpful error message.

I stumbled upon this while looking for a solution. I'm on Linux Mint 21.1 and this solved it for me (EasyEffects installed through Flathub). I don't remember if I had tried rebooting before trying 'sudo apt install --no-install-recommends xdg-desktop-portal-gnome'.

As such I'm not sure it was needed. I was getting the same error message as the OP, which prompted my search.

@mikkovedru
Copy link

I am using Linux Mint 21.3 and here are my solution details for people who also find this topic while troubleshooting.

I tried rebooting before installing sudo apt install --no-install-recommends xdg-desktop-portal-gnome and it did not work. In the similar fashion, it did not work after running the command either. So both must be done.

Just like was posted by @RafaelKr in #1363 (comment)_

Thanks! I did sudo apt install --no-install-recommends xdg-desktop-portal-gnome, rebooted, ran flatpak permission-reset com.github.wwmm.easyeffects and flatpak run com.github.wwmm.easyeffects. Now it asked me after toggling the setting and it seems to work!

But along the way, I had other issues.

  1. systemctl --user --now enable pipewire pipewire-pulse wireplumber was saying that it can't be done, because wireplumber is "masked". I had to run systemctl unmask wireplumber.
  2. Complains about package conflict were caused by having both the package (I think it was libspeexdsp1 or libodbc1, not sure anymore) and package-name:i386 installed. The problem was solved by reinstalling the package by its normal name sudo apt install --reinstall package, which not only reinstalled it, but also suggested getting rid of the :i386 version. Do that.
  3. pipewire-pulse (more advanced) and pipewire-media-session (simpler) are conflicting with each other. You can only have one. I naturally wanted the first one, but at some point made a mistake and got the latter one as well without realizing it. That caused problems when trying to run wireplumber or flatpak run com.github.wwmm.easyeffects (don't remember which). Thankfully, it directly told about the conflicting issue and suggested getting rid of the one I don't need. Well, the non-trivial issue here was that sudo apt remove pipewire-media-session did nothing as it claimed that the package is not installed. This was solved by going into the process monitor, searching for all the processes with wire in them, and then killing the one belonging to the pipewire-media-session. Not installed, but still in memory?; and shell history shows the command to install the package, but not the one to remove it; very strange indeed.
    image
  4. After restart, everything worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants