Hi all!
I'm using headless RPi 4B as an audio DSP device (CamillaDSP) on a crowded work desktop. I would like it to by powered by only a USB 3.0 port, that supplies only 900 mA. So far I've been successful, but I need more tips to ensure stability and if possible, bring heat generation down (I don't have AC in that room).
It's got Ubuntu Server 24 LTS and some software to run it's purpose. The USB-C port acts as interface to capture audio and receive power. I need one USB2 port for attached audio device. I need some power reserve in case I add more complex DSP filters, which in turn requires more CPU.
My current /boot/config.txt is:Some comments are snipped for brevity. I'm not sure if all these settings have the desired effect, because gives me the following:And "vcgencmd measure_volts sdram_i" and for _p and _c gives: "volt=1.1000V".
But "vcgencmd measure_clock arm" gives: "frequency(48)=600169920".
With these settings the RPi runs without problems, but core temperature is still ~66 C, which is a lot considering it's mostly idle. The CPU load for services is currently 3-4 %, idling or working. Are there things to cut down? Like disable unneeded features and hardware, such as other USB ports or ethernet port? I'm a novice with RPi and Linux, so I need detailed instructions. My RPi has a cheap plastic case, small alu fins on hot spots and a fan. The fan is currently disabled, but it did run on USB power. Overheating is not a problem, power consumption is.
I'm using headless RPi 4B as an audio DSP device (CamillaDSP) on a crowded work desktop. I would like it to by powered by only a USB 3.0 port, that supplies only 900 mA. So far I've been successful, but I need more tips to ensure stability and if possible, bring heat generation down (I don't have AC in that room).
It's got Ubuntu Server 24 LTS and some software to run it's purpose. The USB-C port acts as interface to capture audio and receive power. I need one USB2 port for attached audio device. I need some power reserve in case I add more complex DSP filters, which in turn requires more CPU.
My current /boot/config.txt is:
Code:
[all]hdmi_blanking=2# Underclockarm_freq=600core_freq=200sdram_freq=1600sdram_freq_min=1600# Value range [-16, 8] corresponds to actual voltage range of [0.95, 1.55] V in 0.025 V steps.over_voltage=-16over_voltage_min=-16# Undervoltage RAM, similar to cpu.over_voltage_sdram=-16over_voltage_sdram_i=-16over_voltage_sdram_c=-16over_voltage_sdram_p=-16temp_limit=60dtparam=audio=off# Enable USB Audio gadgetdtoverlay=dwc2gpu_mem=16# Disable LEDS to save power.[pi4]dtparam=pwr_led_trigger=nonedtparam=pwr_led_activelow=offdtparam=act_led_trigger=nonedtparam=act_led_activelow=offdtparam=eth_led0=4dtparam=eth_led1=4[all]# Default=50, max=100dtparam=sd_overclock=20# Disable wifi after configs are done?#dtoverlay=disable-wifidtoverlay=disable-bt
Code:
vcgencmd get_config int | egrep "(arm|core|gpu|sdram)_freq|over_volt"
Code:
arm_freq=1500core_freq=500core_freq_min=200gpu_freq=500gpu_freq_min=250over_voltage_avs=-17500
But "vcgencmd measure_clock arm" gives: "frequency(48)=600169920".
With these settings the RPi runs without problems, but core temperature is still ~66 C, which is a lot considering it's mostly idle. The CPU load for services is currently 3-4 %, idling or working. Are there things to cut down? Like disable unneeded features and hardware, such as other USB ports or ethernet port? I'm a novice with RPi and Linux, so I need detailed instructions. My RPi has a cheap plastic case, small alu fins on hot spots and a fan. The fan is currently disabled, but it did run on USB power. Overheating is not a problem, power consumption is.
Statistics: Posted by seppo — Mon May 13, 2024 8:36 pm