Creating a bug report/issue
I have searched the existing open and closed issues
Required Information
- DietPi version |
cat /boot/dietpi/.version
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
- Kernel version |
uname --all
- Architecture |
dpkg --print-architecture
- SBC model |
echo $G_HW_MODEL_NAME or (EG: RPi3)
- Power supply used | (EG: 5V 1A RAVpower)
- SD card used | (EG: SanDisk ultra)
Additional Information (if applicable)
- Software title | (EG: Nextcloud)
- Was the software title installed freshly or updated/migrated?
- Can this issue be replicated on a fresh installation of DietPi?
← If you sent a “dietpi-bugreport”, please paste the ID here →
- Bug report ID |
echo $G_HW_UUID
Steps to reproduce
- Plug in a 3.5mm headphone or a PC speaker
- Tried playing audio from the PI using Raspotify or from a web browser
Expected behaviour
- Does not play any sound, the port does not show in the list only HDMI
Actual behaviour
- No Audio output, connecting to raspotify on my phone does not seem to work properly. It tries to connect but somehow it feels buggy.
Extra details
- found out its working using a diff OS (Raspberry Pi OS), but not on DietOS
paste lines of logs or code into such code fences here
G_DIETPI_VERSION_CORE=10
G_DIETPI_VERSION_SUB=5
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
trixie 0
Linux NEXUS-SVR02 6.18.39+rpt-rpi-v7 #1 SMP Raspbian 1:6.18.39-1+rpt1 (2026-07-29) armv7l GNU/Linux
armhf
RPi 2 Model B (armv7l)
Power supply used: 5V 3A microUSB power
SD card used: 16GB SanDisk Endurance
Did you select rpi-bcm2835-3.5mm in dietpi-config audio options?
yes ive tried manually assigning the 3.5mm port, it does not output an audio. but when i use PI OS it works.
Does it appear in aplay -l output?
I believe it does not.
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Since VC4 HDMI audio is active, you did not select rpi-bcm2835-3.5mm and reboot. But let’s check the actual settings:
grep -E 'dtoverlay|dtparam=audio' /boot/firmware/config.txt
ls -l /etc/modprobe.d/dietpi-disable_rpi_audio.conf
I have tried it before, but here’s what i got
ls -l /etc/modprobe.d/dietpi-disable_rpi_audio.conf
dtoverlay=vc4-kms-v3d,noaudio
dtparam=audio=on
Issue identified, see: RPI5 - 'dmas' DT property is missing or empty, no HDMI audio · Issue #8202 · MichaIng/DietPi · GitHub
and https://forums.raspberrypi.com/viewtopic.php?p=2385679#p2385532
Quick fix, which we’ll apply to all systems during next DietPi update:
G_EXEC eval 'mawk '\''/^[[:blank:]#]*dtoverlay=/ { a = a $0 ORS; next } { print } END { printf "%s", a }'\'' /boot/firmware/config.txt > config.txt.new'
G_EXEC mv config.txt.new /boot/firmware/config.txt
This moves all dtoverlay lines to the end of the config.txt file.
I’ll rebuild our RPi images to have those sorted correctly.
Thank you. I will be doing an update for my pi to have it fixed.
The next DietPi update (if you mean that) will not happen until early September. So you would need to apply the above fix manually for now, or manually move the dtoverlay=vc4-kms-v3d,noaudio line to the end of the file.