eruption-project / eruption

Realtime RGB LED Driver for Linux
https://eruption-project.org/
GNU General Public License v3.0
258 stars 32 forks source link

Bugs #215

Open ItzPrism opened 1 year ago

ItzPrism commented 1 year ago

Introduction Basically a lot of bugs

Please describe the bug It constantly says "Ambient Effect Disabled" in the middle of my screen. Also Eruption GUI crashes when I have my Kone Pro plugged in. It also says that its a Unknown Generic Mouse.

To Reproduce I have Pop!_OS 22.04 LTS with Gnome 44 without the shell extension. I have a Kone Pro and a GMMK.

Please provide full logs: sudo journalctl -u eruption.service -b No logs shown

Screenshots (optional) If applicable, add screenshots to help explain your problem.

Please complete the following information:

Additional context Add any other context about the problem here.

magicalraccoon commented 1 year ago

As far as the "Ambient Effect Disabled" issue, I was able to reproduce this on my end. (pop_os 22.04)

It's definitely something with the Effects Proxy

$ eruption-fx-proxy daemon
 INFO  eruption_fx_proxy > Starting up...
 INFO  eruption_fx_proxy > Startup completed
 INFO  eruption_fx_proxy::backends > Found suitable backend: X11
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is 0
Location: eruption-fx-proxy/src/util.rs:89

Please consider reporting a bug at https://github.com/X3n0m0rph59/eruption
Aborted (core dumped)

Additionally, the Settings tab shows a flip between the Effects Proxy daemon states. Manually turning the Effects Proxy off through the gui works for removing the constant desktop popup. This doesn't seem to persist through reboots, so the longterm workaround may be to turn off the daemon completely-- I don't use the RGB features on my mouse (kone xp), so it's not something I need.

$ systemctl --user disable --now eruption-fx-proxy.service
magicalraccoon commented 1 year ago

Fixed: The logging issue appears to have been addressed in the latest release: https://github.com/X3n0m0rph59/eruption/releases/tag/v0.3.3

Update: Possibly not the best course of action-- My /var/log/syslog is ballooning with errors. I woke up to it taking up 800gb 😨

It continues to do so:

May  2 08:54:55 pop-os pop-os eruption[971503]: An error occurred while closing the device
May  2 08:54:55 pop-os pop-os eruption[971503]: Could not process a mouse event: receiving on a closed channel
May  2 08:54:55 pop-os pop-os eruption[971503]: An error occurred while closing the device
May  2 08:54:55 pop-os pop-os eruption[971503]: Could not process a mouse event: receiving on a closed channel
May  2 08:54:55 pop-os pop-os eruption[971503]: An error occurred while closing the device
May  2 08:54:55 pop-os pop-os eruption[971503]: Could not process a mouse event: receiving on a closed channel
magicalraccoon commented 1 year ago

I was able to suppress the flashing "Ambient Effect Disabled" message by using the gnome profile switcher extension to uncheck "Show notifications on settings change".
image

This will, of course, not alert you to any settings changes, but it also hides the popup without fully disabling the fx proxy. Also, the /var/log/syslog ballooning is continuing with the fx proxy error index out of bounds posted earlier (now at a slower rate)

May  2 13:09:13 pop-os systemd[3409]: eruption-fx-proxy.service: Scheduled restart job, restart counter is at 2629.
May  2 13:09:13 pop-os systemd[3409]: Stopped Effects proxy daemon for Eruption.
May  2 13:09:13 pop-os systemd[3409]: Starting Effects proxy daemon for Eruption...
May  2 13:09:13 pop-os systemd[3409]: Started Effects proxy daemon for Eruption.
May  2 13:09:13 pop-os eruption-fx-proxy[104708]: #033[31mThe application panicked (crashed).#033[0m
May  2 13:09:13 pop-os eruption-fx-proxy[104708]: Message:  #033[36mindex out of bounds: the len is 0 but the index is 0#033[0m
May  2 13:09:13 pop-os eruption-fx-proxy[104708]: Location: #033[35meruption-fx-proxy/src/util.rs#033[0m:#033[35m89#033[0m
May  2 13:09:13 pop-os eruption-fx-proxy[104708]: Please consider reporting a bug at https://github.com/X3n0m0rph59/eruption
May  2 13:09:14 pop-os systemd[3409]: eruption-fx-proxy.service: Main process exited, code=dumped, status=6/ABRT
May  2 13:09:14 pop-os systemd[3409]: eruption-fx-proxy.service: Failed with result 'core-dump'.