turing-smart-screen-python icon indicating copy to clipboard operation
turing-smart-screen-python copied to clipboard

Resume from hibernation (W10, task scheduler, screen is corrupted)

Open Memosis opened this issue 1 year ago • 4 comments

I run main.py from Task Scheduler on my Windows 10 machine for Turing 3.5" model in landscape mode . It works nicely after clean system start, it also goes nicely to black screen when I hibernate. Only after resuming from hibernation the screen turns on with corrupted image, it's not readable, some pixels are flashing. I need to click on systray and select Configure (screen goes black) and "Save and run" to restore the functionality (or disconnect and reconnect the USB cable and run scheduler task again). Is there something I can configure differently to deal with this hibernation issue or is that something that's not implemented yet?

https://github.com/user-attachments/assets/164f34e9-edae-44d9-bfe3-63d2751b384e

https://github.com/user-attachments/assets/20b9d5e5-d563-4972-aa91-4b1099602461

Memosis avatar Oct 23 '24 16:10 Memosis

Hi ! I have the same issue. Worked well since 1 year, and begin to do this behaviour just after a Windows update or Bios update (was applied both same time). @Memosis Have you found a solution to this problem? Thanks.

macfly92 avatar Dec 19 '24 18:12 macfly92

I have one more observation. I usually turn off the power switch to my PC and monitors after I hibernate. And that leads to the corruption of the screen as described in the issue.

But when I LEAVE the power switch on (PC hibernated (with USB ports still powered?), monitors on standby), it works without any corruption after waking up from hibernation.

Memosis avatar Dec 29 '24 11:12 Memosis

I have the same bug even with the power on everytime the pc sleeps the screen is corrupted.

Villanut72 avatar Jan 23 '25 12:01 Villanut72

Hi ! Finally got time to dig around and was able to fix it. I had to (re)enable the "USB Standby Power at S4/S5" in the power management of my motherboard's BIOS.

Image

Hope this helps.

macfly92 avatar May 14 '25 17:05 macfly92

for my system (linux) I've added a suspend-restore trigger which closes device connection on suspend (sleep\hybernation) and restores the connection when PC wakes up.

neliavaal avatar Jan 04 '26 14:01 neliavaal