Hacker News new | ask | show | jobs
by m_t 2019 days ago
I'm currently building a Spotify Connect box based on Raspberry Pi 0W.

Do you have any information on what you could strip down from the basic Raspbian to get the best performance / power consumption?

2 comments

Here is the snippet from my notes. I am not sure it applies to the rpi0w:

Raspbian seems OK.

Regarding the post-install config, mostly about deactivating stuff to lower the power consumption:

# /boot/config.txt [all] # should disable wifi, bluetooth and hdmi at boot time, lowering power consumption dtoverlay=disable-wifi dtoverlay=disable-bt hdmi_blanking=2 #dtoverlay=vc4-fkms-v3d dtoverlay=hifiberry-dacplus

# builtin audio must be deactivated #dtparam=audio=on Also, HDMI deactivation could live in another place, so add the following to /etc/rc.local :

# Disable HDMI /usr/bin/tvservice -o Then, some packages should be installed:

sudo apt-get update sudo apt-get upgrade

sudo apt-get pulseaudio pulsemixer pamix shairport pulseaudio-module-raop pulseaudio-module-zeroconf cmus mpd mpc

Thanks for the follow up. I'll try those and see if I can get some performance improvement.
From there, I have not needed to apply more hacks on top. It works just fine.