No sound via HDMI with dietpi in a PC

Hello everyone. I am an inexperienced Linux user. I have been using dietpi on my raspberry pi4 for a long time and now I want to configure it on my pc. but I don’t have enough knowledge to make it work correctly. I have a Beelink U59 mini pc (Beelink U59 Mini PC, with Intel® Celeron® Processor N5095 useful in ofiice Mini Computers,16GB DDR4&500GB SSD optional, support Triple display,2.4g/5g Wi-Fi,BT4.2) with dual boot (windows 11 and dietpi). I have the pc connected by hdmi to a tv. when i boot windows everything works fine (sound included by hdmi), but when i boot dietpi i have no sound. and I don’t know where to start. can you give me a hand? thank you!

You need to config the audio options with dietpi-confg > Audio Options

Sorry. I was not very specific, I have tried many things, the first “dietpi-config > AudioOptions” and the “autodetection” option. this option detects “intel-sst-dsp”
Then I go to “dietpi-justboom” and level up de volume o each control. But nothing happens. No sound in vlc, firefox, etc…

Searching the forums I have seen many solutions. but nothing has worked and my knowledge is too limited to know why

to begin with, the output of the command

aplay -L

dietpi@DietPi:/$ sudo aplay -L
    Discard all samples (playback) or generate zero samples (capture)
    Rate Converter Plugin Using Libav/FFmpeg Library
    Rate Converter Plugin Using Samplerate Library
    Rate Converter Plugin Using Speex Resampler
    JACK Audio Connection Kit
    Open Sound System
    PulseAudio Sound Server
    Plugin for channel upmix (4,6,8)
    Plugin for channel downmix (stereo) with a simple spacialization
    HDA Intel PCH, ALC255 Analog
    Direct hardware device without any conversions
    HDA Intel PCH, ALC255 Analog
    Hardware device with all software conversions
    HDA Intel PCH, ALC255 Analog
    Default Audio Device
    HDA Intel PCH, ALC255 Analog
    Front output / input
    HDA Intel PCH, ALC255 Analog
    2.1 Surround output to Front and Subwoofer speakers
    HDA Intel PCH, ALC255 Analog
    4.0 Surround output to Front and Rear speakers
    HDA Intel PCH, ALC255 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    HDA Intel PCH, ALC255 Analog
    5.0 Surround output to Front, Center and Rear speakers
    HDA Intel PCH, ALC255 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    HDA Intel PCH, ALC255 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    HDA Intel PCH, ALC255 Analog
    Direct sample mixing device
    HDA Intel PCH
    USB Stream Output

And the output of the command
aplay -l

ietpi@DietPi:/$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC255 Analog [ALC255 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

usually @MichaIng is the sound expert :smiley:

aplay -l lists only the analogue audio jack, HDMI audio isn’t available at all. Does this one show 2 cards?

ls -l dev/dsp*

Does the kernel show any errors?

dmesg -l 0,1,2,3

These are the outputs

dietpi@DietPi:/$ sudo ls -l dev/dsp*
ls: can't access 'dev/dsp*': file or directory does not exist
dietpi@DietPi:/$ sudo dmesg -l 0,1,2,3
[    6.277831] sd 3:0:0:0: [sdc] No Caching mode page found
[    6.277850] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[    6.454931] iwlwifi 0000:01:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    6.454937] firmware_class: See for information about missing firmware
[    6.917121] Bluetooth: hci0: unexpected event for opcode 0xfc2f
[   66.685633] hdaudio hdaudioC0D2: Unable to configure, disabling

does anyone have any ideas?

@Dopoulo Did you get this working? I tried DietPi on an Intel Atom UpBoard Gateway and also no sound at all on HDMI audio output :frowning: