CPU freq scalling RPi4b(armv7l)

Hello. I’ve noticed that the Pi’s CPU frequency doesn’t dynamically scale based on workload, which isn’t much atm. The frequency is always at it’s maximum value regardless of the profile/gurvernor combo used. They only way to bring it down is to edit arm_freq to a desired value. It seems stuck with min=max frequency. Tried booting with initial_turbo=0, had no effect.
Would appreciate some help setting this right.

Some info:

root@DietPi:~# grep '^[[:blank:]]*[^#]' /boot/config.txt
max_framebuffers=0
hdmi_ignore_hotplug=1
hdmi_blanking=1
disable_overscan=1
gpu_mem_256=16
gpu_mem_512=16
gpu_mem_1024=16
disable_splash=1
dtparam=audio=off
enable_uart=1
dtparam=sd_poll_once
temp_limit=75
initial_turbo=20
over_voltage=-2
over_voltage_min=-2
dtoverlay=dietpi-disable_vcsm



root@DietPi:~# cpu

 Architecture |     armv7l
 Temperature  |     42 °C / 107 °F : Optimal temperature
 Governor     |     powersave

                 Current Freq    Min Freq   Max Freq
 CPU0         |      1500 MHz      1500 MHz    1500 MHz
 CPU1         |      1500 MHz      1500 MHz    1500 MHz
 CPU2         |      1500 MHz      1500 MHz    1500 MHz
 CPU3         |      1500 MHz      1500 MHz    1500 MHz



root@DietPi:~# cat /sys/devices/system/cpu/cpufreq/policy0/{affected_cpus,scaling_governor,scaling_min_freq,scaling_cur_freq,cpuinfo_cur_freq,stats/time_in_state}
0 1 2 3
powersave
1500000
1500000
1500000
1500000 108616



root@DietPi:~# vcgencmd measure_clock arm
frequency(48)=1500345728



root@DietPi:~# systemctl status dietpi-preboot
● dietpi-preboot.service - DietPi-PreBoot
     Loaded: loaded (/etc/systemd/system/dietpi-preboot.service; enabled; vendor preset: enabled)
     Active: active (exited) since Mon 2021-12-13 23:55:52 EET; 24min ago
    Process: 296 ExecStart=/boot/dietpi/preboot (code=exited, status=0/SUCCESS)
   Main PID: 296 (code=exited, status=0/SUCCESS)
        CPU: 101ms

Dec 13 23:55:52 DietPi systemd[1]: Starting DietPi-PreBoot...
Dec 13 23:55:52 DietPi DietPi-PreBoot[303]: Powering off HDMI
Dec 13 23:55:52 DietPi DietPi-PreBoot[352]:  DietPi-CPU_set
Dec 13 23:55:52 DietPi DietPi-PreBoot[352]: ─────────────────────────────────────────────────────
Dec 13 23:55:52 DietPi DietPi-PreBoot[352]:  Mode: Applying CPU governor settings: powersave
Dec 13 23:55:52 DietPi DietPi-PreBoot[352]: [  OK  ] DietPi-CPU_set | Applied CPU governor settings: powersave
Dec 13 23:55:52 DietPi systemd[1]: Finished DietPi-PreBoot.

GitHub Link https://github.com/MichaIng/DietPi/issues/5088