ballaswag / guppyscreen

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

Screen enters sleep haphazardly on the V3 KE #80

Open Orel-A opened 7 months ago

Orel-A commented 7 months 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 7 months ago

Anyone knows where is the logs directory?

Orel-A commented 7 months 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 7 months 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 7 months 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?

henrivdr commented 4 months ago

On the CR10 SE (Nebula pad) the screen always blanks a few seconds after startup. It's exactly at the point where I start using it. And it catches me by surprise, every time 😬