White screen on 7" touchscreen overnight

Hi All,

New to DietPi, but loving it, so easy to set up.
I have a Chromium kiosk application which runs fine during the day, but when I have a look first thing in the morning, it has gone to white screen.

The touchscreen is still active and I can move the pointer and can ssh into the box.

Any idea’s what could cause this issue overnight?

I tried turning off all screen timeouts etc in xorg, but no difference.

Section "Extensions"
    Option "DPMS" "Disable"

Section "ServerFlags"
    Option "BlankTime" "0"
    Option "SuspendTime" "0"
    Option "StandbyTime" "0"
    Option "Offtime" "0"

I think I have fixed it. In the /var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh file I had to add some extra options to the line:

CHROMIUM_OPTS="--disable-infobars --kiosk --window-size=${RES_X:-1280},${RES_Y:-720} --window-position=0,0 --use-gl=egl"

The one that made the difference was --use-gl=egl

Seems it is not fixed after all.
The white screen appears somewhat random, but possibly 24hrs after reboot.

It looks like chromium is crashing, not sure where it’s logs are though.

In the meantime, I am rebooting the device one a day, via a cron job, until I work out what is going on.

I added --enable-logging --log-file=/home/dietpi/chromium.log to the chromium options will see what that gives.