I guess you are mixing thinks. /boot/dietpi/dietpi-config is not a configuration file. This is a shell script you can use to configure your entire system. It is similar to raspi-config.
The file you are looking for is /boot/config.txt. This is the standard RPi OS configuration file where you need to add your stuff. The file is available on DietPi as well, because DietPi is nothing else than a very basic RPI OS. Theoretically you are able to install raspi-config if you like.
Oh sorry I made some confusion, I edited and corrected the /boot/config.txt file and is the same as my old Raspbian but the display still doesn’t work.
I also installed the RPi.GPIO library for python and enabled the dtoverlay=vc4-fkms-v3d, but nothing.
Wow, thank you really a lot, at least I’m not stupid but is/was a bug! Although they’re talking about the touch version, this worked fine also for my non-touch!
Now I need only to rotate it, because the command doesn’t work, if you have another suggestions I would thank you again
First start with
dtoverlay=vc4-kms-v3d
After replaced with
dtoverlay=vc4-fkms-v3d
the correct resolution is set
But rotate still doesn’t work
root@DietPi:~# hyperpixel4-rotate left
HyperPixel 4: Square - Display/Touch Rotation
This rotate utility only works with the Raspberry Pi OS desktop version or X-based alternatives.
Rotation requires hardware support on the Pi 4 or Pi 400
Ensure "dtoverlay=vc4-kms-v3d" is enabled in /boot/config.txt
Hello, I just signed up because i’m having the same issue. I have a pi zero 2w with a hyperpixel 4.0 square and i’d like to get dietpi to work with my screen. I already have an sd card ready and i can ssh into it. I’ve tried editing the config.txt like the example above but it doesn’t work for me. I installed rpi.gpio and enabled I2C. do I need to install anything else. I have the screen running on Raspberry pi os its really easy on there just add one line to the config.txt and thats all. I made this nice portable and would love to get dietpi working on it.
With the update… I don’t remember which one, of DietPI, also my hyperpixel stopped working, I don’t remember what I did exactly but I installed something new (maybe new driver from Pimoroni? I relly don’t remember), anyway I also change the config.txt, now I’m using only:
are you using 64bit? If yes, legacy driver was the incorrect one. On current version, drivers should be build-in. This is a note from their install instructions
Pi 3B and Pi 4 users running the latest and greatest Raspberry Pi OS should forego our installer and use the instructions below.
And the info from thier web site
Raspberry Pi OS Bullseye includes major changes to how DPI display drivers work. If you’re using an image dated 04/04/2022 or later, it will come with Hyperpixel drivers baked in and you don’t need to run the installer. You can set up display and touch by adding a few lines to your boot/config.txt: PSA: HyperPixel 4 (Square & Rectangular) on Raspberry Pi OS 2022-04-04