No display on bootup of new raspberry pi 4 image

You know that WiFi can be configured beforehand? There is no need to do this via local console.

No I didn’t. How do I for future reference

I know it’s not needed to since I used it before. But it’s working normally when I uncommemted and made changes to the hdmi settings in the config.text, and able to install programs, without any problems

See here: Usage Hints / HowTo - DietPi.com Docs

Rare but possible that the framebuffer driver is not able to detect HDMI connectivity, or derive supported modes correctly, which is why these settings exist. Since it does work on RPi OS, does it work as well on DietPi when you comment out the settings again, and instead switch to KMS/DRM by adding this?

dtoverlay=vc4-kms-v3d

A different driver, heavier regarding RAM usage, unnecessary for systems without real GUI, but the default on RPi OS since Bookworm.

To setup the WiFi before first initial boot, open the SD card folder, and update two files using a text editor of your choice:

  1. Open the file named dietpi.txt. Find AUTO_SETUP_NET_WIFI_ENABLED and set to value 1.
  2. Open the file dietpi-wifi.txt and set aWIFI_SSID[0] to the name of your WiFi network.
  3. In the same file dietpi-wifi.txt, set aWIFI_KEY[0] to the password of your WiFi network.
  4. Save and close the files

Thank you so much

When i commented those same setting’s, the display stops working

Even when adding dtoverlay=vc4-kms-v3d? Hmm, then I do not see any possible difference to RPi OS anymore. Anyway, generally it is rare but known, that some HDMI screens are not correctly detected by some SBCs, hence those settings exist, and the value of automated network setup :slightly_smiling_face:.