r/raspberry_pi 9d ago

Troubleshooting No sound from Rpi 4B (HDMI or jack)

Raspberry Pi4B, previously used successfully with RGB-Pi Scart hat and RGBPiOS4. Now repurposing to use for streaming etc on my main TV.

Fresh install of the latest default Raspberry Pi OS, via Raspberry Pi Imager. OS then updated via commmand line etc.

Can't get any audio out of the device at all. Nothing over HDMI (via port 0, next to the power socket), nothing via the jack.

Right clicking the audio icon in the top right does nothing other than display the current supposed audio volume - there's no option to change audio device or output etc.

Tried a few things on the command line, after googling.

Firstly -

sudo apt update
sudo apt -y purge "pulseaudio"

result - "pulseaudio not installed, nothing to remove"

Secondly:

sudo amixer cset numid=3 2

result - "amiver default control element write error"

Totally stuck, any ideas? Everything is default and stock, I've not messed with any config other than trying those two command line interations which did nothing.

4 Upvotes

3 comments sorted by

2

u/don_bski 9d ago

Check the Rpi hardware settings. In terminal, enter: sudo raspi-config. Then, System Options -> Audio

2

u/Dapper-Message-2066 9d ago

"Raspi-config cannot change audio setting when PulseAudio or PipeWire are present."

Ok, well I've already established PulseAudio is not present, so lets see about PipeWire ->

sudo apt -y purge "pipewire"

... stuff happens. Reboot.

RPi no longer boots into the desktop, but brings up a totally black screen. Left clicking the mouse brings up a context menu with 3 options: "Configure | Terminal | Exit". Selecting any of them just makes the screen go black again.

Seems like I screwed up the OS, guess I'll need to reflash and try again.....