-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with turning the screen off. #16
Comments
could you try with the |
I tried removing the file, but the issue persists. |
This issue also happens in builds created by github actions on InfiniTime, which should rule out issues in the build. |
Thanks for checking. I'll need to reproduce locally and investigate |
can't reproduce on current InfiniSim Can you test with those exact commits? tried with and without the status screen. A right mouse-click always wakes the screen up for me I'm on Arch Linux, KDE Plasma 5.24.3 on with Wayland compositor and a AMD Radeon RX 580. Don't have a NVidia card to test it |
Tried those commits, no difference. I should clarify that the simulator keeps working even with this issue. Waking it up it refreshes the screen and it keeps working, and even when the screen is entirely black, I think it's still running correctly according to the status messages when right clicking. I checked that the code execution does enter the part where the screen off objects get created by adding printfs, yet the objects can't be seen on screen. Could they be offscreen somehow? Lastly I made an interesting discovery. I tried this on another machine with an nvidia card and it worked at first. Then I switched from nouveau drivers to the proprietary ones, and now it has the issue as well! |
does the window update if you minimize and maximize it? do other opengl windows work as expected on nvidia drivers? |
Minimizing doesn't help either. I can't say I have never encountered issues, but pretty much everything works "as expected" on the proprietary drivers as far as I can tell. I can't remember having encountered anything like this before. |
This seems to be a nvidia proprietary drivers problem, I disable the nvidia card from the BIOS and it turns off properly but when I enable it the issues persists. |
does this issue still exist or did SDL or NVidia maybe fix the problem? |
Yes this issue still occurs, I am on |
Could you try the original lvgl simulator with NVidia hardware. I'd like to try narrowing down if https://github.com/lvgl/lv_port_pc_eclipse/tree/dev-7.0 (please try the lvgl7 branch |
When the screen turns off while InfiniSim is launched with the status window, the screen freezes, instead of turning the screen black and reading "Screen is OFF".
When InfiniSim is launched without the status window, the Interface is entirely black, and when the screen turns off, the "Screen is OFF" text is shown. This text doesn't go away when trying to wake it up.
These issues aren't present on my Pinebook Pro. I have an Nvidia gpu and the issue is present on wayland and xorg, if that means anything.
I thought these issues might be related, so I'm posting them in a single issue.
Kooha-03-21-2022-13-44-26.mp4
The text was updated successfully, but these errors were encountered: