easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

EasyEffects is forced to shut down on Raspberry Pi 5

Open ja1bbp opened this issue 1 year ago • 7 comments

EasyEffects Version

7.1.6

What package are you using?

Arch (easyeffects)

Distribution

Header version/Library version: 0.3.69

Describe the bug

After performing some gain operations on the equalizer setting screen in input mode, when I press the reset button, EasyEffects will force a shutdown after a few seconds. No matter how many times I try, I get the same result.

Expected Behavior

When the reset button is pressed, all equalizer gains should be set back to 0.

Debug Log

No response

Additional Information

I am installing the EasyEffects into Raspberry Pi 5. Raspberry Pi OS Bookworm 64bit.

ja1bbp avatar May 14 '24 00:05 ja1bbp

Can you share a debug log of the crash?

Instructions here: easyeffects wiki - reporting bugs

violetmage avatar May 14 '24 01:05 violetmage

Thank you for your swift comment ! Easy Effects is installed via Flatpak so I tried to get debugging information using the following command: As a result, no crash occurred even after pressing the reset button. The cause may be the way EasyEffects is started.

flatpak run --env=G_MESSAGES_DEBUG=easyeffects com.github.wwmm.easyeffects

By the way, when I run this command, the crash no longer occurs, but it takes 30 seconds for the gain setting to return to 0 after pressing the reset button. This delay was very large and frustrating. (- -;

ja1bbp avatar May 14 '24 01:05 ja1bbp

Does the crash happen if you run easyeffects from the command line, like this flatpak run com.github.wwmm.easyeffects? (remember to quit easyeffects first)

If you see any interesting output, please paste it in a reply.

violetmage avatar May 14 '24 01:05 violetmage

By the way, when I run this command, the crash no longer occurs, but it takes 30 seconds for the gain setting to return to 0 after pressing the reset button. This delay was very large and frustrating. (- -;

The flatpak sandbox only allows the use of a database backend that is very slow. We tried our best to improve performance on our side but the only real solution to this problem is using a native package instead of a flatpak package. This way the standard Gsettings backend is used. The question is if there is a native package for the raspberry architecture.

wwmm avatar May 14 '24 02:05 wwmm

EasyEffects will force a shutdown after a few seconds.

Besides gettings the logs as explained by @violetmage try also check if there is a system log message related to easyeffects that could be related to is process shutdown. Something like killed.

wwmm avatar May 14 '24 02:05 wwmm

thank you. I had set Easy Effect to start automatically when the Raspberry pi5 system started up. Today, I press the reset button on the equalizer settings screen as I did yesterday, but EasyEffects no longer crashes. I don't know why. Is it because of a huge solar flare? (^^;

I also tried clicking the Easy Effects icon on the Raspberry Pi menu screen and checking the same thing, but no crash occurred. Based on the above, it seems that the crash is not due to the difference in the startup method, so the 'Issue' regarding the crash will be withdrawn. If a crash occurs at a later date, I will log it and report it.

In addition, the reason why it takes 20 to 30 seconds for each parameter to return to its initial value after pressing the reset button on the equalizer setting screen has been clarified in a comment by Mr.'wwmm'.

In any case, I sincerely thank you for your kind and prompt support!

ja1bbp avatar May 14 '24 02:05 ja1bbp

Today, I press the reset button on the equalizer settings screen as I did yesterday, but EasyEffects no longer crashes. I don't know why. Is it because of a huge solar flare? (^^;

Probably not :smile: . Maybe a reboot or a system update?

wwmm avatar May 14 '24 14:05 wwmm