Unsolved How to enable screen timeout while running a Qt app on linuxfb platform?
-
I am using a Qt 5.9 application on my imx6slevk board with yocto bsp
I observe that my console times out after 60 second's when no app is running and I've also found the driver file responsible for the sameHowever when I run a Qt app the screen remains on indefinitely and also the timeout parameter found in
"/sys/module/kernel/parameters/consoleblank"
is changed to 900 which was originally 60
I also waited 900 seconds but the screen just wouldn't go blank
How can I enable screen blanking while running Qt apps? -
@sujay said in How to enable screen timeout while running a Qt app on linuxfb platform?:
the timeout parameter found in
"/sys/module/kernel/parameters/consoleblank"
is changed to 900 which was originally 60It looks you've hit a known issue
How can I enable screen blanking while running Qt apps?
Just guessing, could it be possible that the Qt app running is taken as "activity" and therefore the console won't blank?
-
Yes you are right I should have thought of that!
The screen goes blank when system is idle as the app is an activity it stays onI modified my systemd/login.conf
to go into suspend mode when idle for 30 sec. now the screen goes blank and the system remains suspended.
It may not be the most ideal solution but it is a temporary fix till I get to the bottom of it.
Thank you for the support