An RPi 4B 8Gb was used for the system, with dietpi running on an SSD. Furthermore I installed a RTC, a “Geekworm” part (X825-C8), the interface X825 V2.0 and the power management board X735 V3.0. It works fine, I installed Xfce and a 10.1 inch monitor.
Unfortunately I can’t get the audio output from the RPi to work.
The audio output is to be done via the audio output of the RPi is connected to the monitor.
When calling the mixer I get the following error message:
Execution of the command >>pavucontrol << failed.
Failed to execute child process “pavucontrol” (file or directory not found).
I claim to have set up everything correctly otherwise.
A post-installation of pavucontrol with sudo apt install pavucontrol has also brought nothing, except that no more error message comes, but a mask from the Mivxer appears. It says, “Connecting to PulseAudio. Please wait…”.
But then nothing happens anymore.
Another post-installation of pulseaudio did not help either.
Any tip is welcome.
Best regards,
Carsten
Required Information
DietPi version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=21
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bookworm 0
Kernel version | uname -a
Linux desktop-pi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Architecture | dpkg --print-architecture
arm64
SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
RPi 4 Model B (aarch64)
Power supply used
5V 3A Power
SD card used
no SD card, Msata SSD
Additional Information (if applicable)
Software title
Xfce
Was the software title installed freshly or updated/migrated?
fresh install dietpi
Bug report ID
1c4afeec-4938-48d0-9042-eec5ee4ff131
So you want to output audio via HDMI?
I think by default all audio output is disbled. Did you already enable it? If not:
When enabling in dietpi-config → Audio options, some packages are installed, like ALSA etc. After the installation you can choose the soundcard which should be used, if you want audio via HDMI it is the 3rd entry rpi-bcm2835-hdmi.
No, I don’t want to use HDMI audio, I don’t think the monitor can. I want to use 3.5mm audio instead, I have that selected anyway, but it doesn’t work.
The problem was solved in an unconventional way by using a USB DAC.
Ensure the default audio device is set correctly:Open pavucontrol:
bash
Copy code
pavucontrol
In the Playback tab, ensure the correct output device is selected. In the Output Devices tab, verify that the correct device is not muted and the volume is up.
5. Install and use alsamixer to check hardware levels:
bash
Copy code
sudo apt-get install alsa-utils
alsamixer
Use the arrow keys to navigate and adjust volumes. Make sure no channels are muted (indicated by “MM” at the bottom of the channel).
6. Restart your system:
bash
Copy code
sudo reboot
If you still have issues with audio not working in applications other than Chrome, please provide the output of the following command:
bash
Copy code
aplay -l
This will list the available audio devices on your system. Additionally, ensure other applications are configured to use the correct audio output device.
If specific error messages appear during these steps, please provide them for further troubleshooting.
Also make sure that you selected correct output device by default e.g your headphones