Audio/Video Problems

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version latest
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN dietpi_rpi_armv8_bookworm
  • Kernel version | uname -a
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3) rpi4 8gb
  • Power supply used | (EG: 5V 1A RAVpower) usbc
  • SD card used | (EG: SanDisk ultra) team 8gb

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

  1. Flash SD card
  2. BOOT DIETPI

Expected behaviour

  • get video
    -get audio

Actual behaviour

  • sometimes i only get video, but never get audio

Extra details

  • i have flashed this SD card over 10 times now with the same version of dietpi. At first i was getting no video, amd ran through every option trying to get it to work right until i flashed the SD card again and suddenly the video came in correctly with no explanation.

This is a run of the mill 8gb Pi 4 and a 15.6" portable monitor.

However, even with video suddenly working, now theres no audio. Audio works just fine on Raspi OS as well as on ubuntu, but never with Dietpi. Heres what i have tried:
-select vc-hdmi-0 or vc-hdmi-1 in the config
-select either in ALSA
-ADD ‘hdmi_drive=2’ to config
-add ‘hdmi_group=1’ to config
-uninstall pulseaudio (doesnt exist)
-change hdmi port
-try different monitors
-add 'hdmi_ignore_edid=0x5000080 to config
-test audio jack
-add root/dietpi user to audio group

I am probably missing a few things ive tried but i truly cannot figure it out. I cant think of any reason why it wouldnt work and at this point i don’t know what to do. Please let me know if there is more information i can provide. The problem is isolated to Dietpi because in RaspiOS i can simply just choose vc-hdmi-1 or 0 as the default and get audio without issue, and in ubuntu i need no modification. These are all clean, fresh flashes of the image to the SD card.

did you try configuring the audio with dietpi-config?