ballaswag / guppyscreen

A native Touch UI for 3D Printers running Klipper/Moonraker.
GNU General Public License v3.0
166 stars 14 forks source link

Screen enters sleep haphazardly on the V3 KE #80

Open Orel-A opened 1 month ago

Orel-A commented 1 month ago

The screen will turn off randomly without respecting the 10 minutes idle time set on the V3 KE. However when setting to Never in the settings, it doesn't happen. So maybe, something is wrong with the timer?

Orel-A commented 1 month ago

Anyone knows where is the logs directory?

Orel-A commented 1 month ago

Found it. It's in /usr/data/printer_data/logs/guppyscreen.log

Some update, even when settings to Never, it happens sometimes, some kind of flashing of the screen:

[2024-04-16 13:59:23.118] [guppyscreen] [debug] putting display to sleeping
[2024-04-16 13:59:24.114] [guppyscreen] [debug] waking up display
[2024-04-16 15:54:01.826] [guppyscreen] [debug] putting display to sleeping
[2024-04-16 15:54:02.825] [guppyscreen] [debug] waking up display
[2024-04-16 17:05:36.794] [guppyscreen] [debug] putting display to sleeping
[2024-04-16 17:05:37.791] [guppyscreen] [debug] waking up display
ballaswag commented 1 month ago

I observed the same, approximately every hour it will wake up and sleeps again even when there's no touch activity. Will take a look.

Orel-A commented 4 weeks ago

Have you found anything? Is there a way to debug this on my end? Maybe a debug version I can install so it will generate a stack trace?