Because our system worked for years and was very fast (also in booting) I refreshed everything. So I did a new Image from scratch for Raspberry-Pi 4 8GB-RAM.
Everything works as expect, BUT not the loading-process. First impression was the internet-connection, but with the
I’ve got this feedback (changed the @-sign to the %-sign because of board-issues here)
The time when unit became active or started is printed after the “%” character.
The time the unit took to start is printed after the “+” character.
What is happening there that the graphical-part is now taking a 1,5minute delay before it continous from the shell-mode to switch to the Mate-Desktop? Same screen but older software-version has this effect not…
Thankyou for being so precise! Yes THAT is exact the problem: The autostart!!!
2 in Autostart is already selected - but it seems that THIS is the cause of the long delay.
If I login with the user “dietpi” and use “lightdm” everything is working as expected - and fast. But the Autostart with option 2 doesn’t do it. Okay, there is an effect, but AFTER OVER ONE MINUTE LATER. Do you really don’t have such an effect?
Yes there are different timings in the current dietpi-verion - not so seen in an older release.
with option#2 for dietpi-user was it fine: graphical.target 1m 31.051s
with option#2 for root-user was it fine: graphical.target 17.913s
with option #16 (lightdm-mask without automatic login): graphical.target 1m 30.939s
We need the option 2 for the dietpi-user because the automatic-login is important for us - but this is really slow right in the bootprocess now.
I don’t think it has a direct link to the version of DietPi. Probable more an issue with the Debian lightdm package. I guess it has been updated via apt.
Nov 07 11:10:05 DietPi systemd[1]: Found device dev-disk-by\x2dpartuuid-e87e153f\x2d01.device - /dev/disk/by-partuuid/e87e153f-01.
Nov 07 11:11:33 DietPi systemd[1]: dev-dri-card0.device: Job dev-dri-card0.device/start timed out.
Nov 07 11:11:33 DietPi systemd[1]: Timed out waiting for device dev-dri-card0.device - /dev/dri/card0.
Nov 07 11:11:33 DietPi systemd[1]: dev-dri-card0.device: Job dev-dri-card0.device/start failed with result 'timeout'.
Nov 07 11:11:33 DietPi systemd[1]: dev-dri-renderD128.device: Job dev-dri-renderD128.device/start timed out.
Nov 07 11:11:33 DietPi systemd[1]: Timed out waiting for device dev-dri-renderD128.device - /dev/dri/renderD128.
Nov 07 11:11:33 DietPi systemd[1]: dev-dri-renderD128.device: Job dev-dri-renderD128.device/start failed with result 'timeout'.
@thxstr do you have KMS enabled, i.e. vc4-kms-v3d in dietpi-config deplay options, respectively dtoverlay=vc4-kms-v3d in /boot/config.txt?
And if so, can you try to install the Debian LightDM build, instead of the one from RPi Ltd? The have an own build, with a changelog entry that the X server shall be attempted to restart, when failing. I all non-binary files/configs (aside of the changelog) are however identical, so either it is a change in binary source code, or obsolete in the meantime.
I took the last image again (without the changes from above, so that my start takes 1,5minutes longer)
Yes, in the config.txt is the entry:
dtoverlay=vc4-kms-v3d
I was not able to execute the echo-command, but the last two lines of your suggestions. And YES, the start was as fast as before (without the 1,5mins delay)!