GPU/RAM Memory Split on Raspberry Pi 4 4GB

hi,

I noticed that when I was setting up DietPi on my RPi 4 (4GB model), it will not allow me to choose anything.
It always defaults back to 16: Server

Is this an known bug?

-Daniel

OK, nevermind, I just found a workaround:

add this line in /boot/config.txt under the GPU memory splits section:

gpu_mem_4096=320

Hi,

many thanks for your report. Indeed you already found the correct setting. If you use dietpi-software to install some application, gpu_mem will be set automatically according best practice. Below an example from an instillation

[ SUB1 ] DietPi-Set_hardware > gpumemsplit (64)
[  OK  ] DietPi-Set_hardware | Setting in /boot/config.txt adjusted: gpu_mem_1024=64
[  OK  ] DietPi-Set_hardware | Setting in /boot/config.txt adjusted: gpu_mem_512=64
[  OK  ] DietPi-Set_hardware | Setting in /boot/config.txt adjusted: gpu_mem_256=64
[  OK  ] gpumemsplit 64 | Completed

However you could set it manually on your needs as well.