Closed 1player closed 2 years ago
It sounds like you have run into https://github.com/wwmm/easyeffects/issues/1242 as have a few others...
flatpak permission-reset com.github.wwmm.easyeffects
, restart, then enable the autostart permission again. Ensure to allow EasyEffects to run in the background if prompted.
I think I have reproducer steps for this now. I belive this is an xdg-desktop-portal inconsistency which is really confusing. For now the above workaround fixes the issue.
~/.config/autostart
. Now do some rebooting and see if you can confirm the bug.Another method:
Funnily enough I noticed if you do this:
The autostart switch no longer edits ~/.config/autostart
in step 5 because you've revoked the permission. But it silently fails...
I also noticed some weird issues perhaps with a recent wireplumber update, where EasyEffects isn't able to process Firefox audio and outputs nothing for some reason. But that will need to be debugged later...
Note to self, https://github.com/flatpak/xdg-desktop-portal/issues/570 was encountered while debugging this.
Yes, @vchernin's workaround fixed it for me. Feel free to close the issue if it's a duplicate.
Would be good to document this behaviour prominently in the README, since I'm not the only one affected, and Flatpak is a recommended installation method for this piece of software.
Would be good to document this behaviour prominently in the README, since I'm not the only one affected, and Flatpak is a recommended installation method for this piece of software.
I agree. However, I think it's worth noting there is little we can do from EasyEffects's perspective. From my testing this is really a weird edge case where the background portal and xdg-desktop-portal are working against each other. To my knowledge EasyEffects is doing everything correctly.
I will report it upstream as it's best solved there, if it's not going to be fixed quickly I'll mention it in the README.
Thinking more about this perhaps the issue is EasyEffects needs to request background access and autostart for everything to work as expected. I think this might really be something EasyEffects should do after all.
tl;dr EasyEffects is requesting autostart access which works. The issue is that autostart says nothing about whether it can run in the background, at start time or otherwise. We've gotten permission to autostart but not to actually run in the background. I believe all the steps I've listed are all consequences of this. EasyEffects should also ask for background access.
This raises a few questions:
I will investigate more, this is more of a rabbit hole than I thought.
Also if you're thinking this is a regression of Flatpak having the autostart portal acesss now, I think that is not quite correct. This problem was always there, EasyEffects didn't use the background portal. It's just that users having a working autostart button in Flatpak means more people will run into this.
As long as EasyEffects doesn't itself ask for background access, the system itself will intervene and give these prompts.
EasyEffects Version
6.1.4
What package are you using?
Flatpak (Flathub)
Distribution
Fedora Kinoite (Silverblue KDE)
Describe the bug
I have a simple setup with an output equalizer. Everything works perfectly for about 30 seconds, then the application just closes. No error in output, even when using the
G_MESSAGES_DEBUG=easyeffects
variable.Expected Behavior
Application to keep running
Debug Log
No response
Additional Information
No response