Config problem with the soundcard!

Creating a bug report/issue

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8 G_DIETPI_VERSION_SUB=7 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng G_LIVE_PATCH_STATUS[0]='not applicable'
  • Distro version | bullseye 0
  • Kernel version | Linux DietPi 5.15.56-v8+ #1575 SMP PREEMPT Fri Jul 22 20:31:26 BST 2022 aarch64 GNU/Linux
  • SBC model | RPi 3 Model B (aarch64)
  • Power supply used | (EG: 5V 2A )
  • SD card used | (EG: Blank Brand)

Additional Information (if applicable)

  • Software title | Dietpi

Steps to reproduce

  1. Go to Dietpi-Config > Audio Options
  2. Change the Sound Card to Diet-Pi to HDMI

Expected behaviour

  • Just play my music! :laughing:

Actual behaviour

  • No sound from the board, tested with libreelec and it has sound but none with Dietpi.
    It prints this output:
    SCREENSHOT

output aplay -l :

**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3

Many thanks for reporting.

Please try to choose “Onboard HDMI” instead of “hw:0,0”. Then do a reboot. aplay -l should then list the HDMI device only. If music still does not play, try to enable the auto-conversion plugin in dietpi-config.