No Audio over HDMI - (Edge2 Ubuntu Gnome)

I’m using a fresh install of the latest Ubuntu image, HDMI cable connected the television.

Absolutely no sound is coming out of the television. I checked the sound options in the ubuntu settings and it appears that there is activity that the system is trying to send out through the HDMI port, but zero sound is coming out. I have checked different HDMI cables as well and still no luck.

Help?

Hello @thesilente

Can you try the steps below to check the audio issue?

sudo mv /etc/pulse/default.pa /etc/pulse/default.pa.backup
wget https://dl.khadas.com/.test/default.pa
sudo mv default.pa /etc/pulse/default.pa
sync
sudo reboot

After reboot, please select the HDMI sound card.

1 Like

Thank you so much! This was exactly what I needed!

This should be stickied, pinned, or posted on the Khadas Docs!

1 Like

This fixed will be in next release.

1 Like

Related issue: even when using the above fix, after the computer goes to sleep, when woke up, it reverts back to headphone audio (forgets the HDMI audio as default). This requires the user to keep going back to audio settings just to set it back to HDMI. Is there a fix for this?

Hello @thesilente

We will check this issue.

I experience the same issue with Edge2Pro, only see two Analog Audio and one Headphone option for sound output - nothing for HDMI. Would be great to have this fixed. I am using Ubuntu 22.04.02 and Gnome 42.5

404 not found )) fun support

1 Like

Hello @Georg_Povolyaev

Do you still have this issue with latest image?

1 Like


Yes, unfortunately, the problem still remains on Linux systems; before installing the new version of Ubuntu, I installed a new Android because I already thought that the device was faulty, but on Android the sound works fine through the cable. And now I install a new UBUNTU image and there is still no sound. The wget you wrote in the posts above does not lead anywhere

1 Like

The latest version of Ubuntu does not transmit sound through the cable, or rather, only the system sound passes through, this is the sound of a screenshot, the rest in the list of devices is completely empty. The pulse does not respond and is spinning at the latest loading, what should I do so that HDMI appears in the list of devices?



Hello @Georg_Povolyaev

Can you check with latest Ubuntu 22.04 image ?

  • edge2-ubuntu-22.04-gnome-linux-5.10-fenix-1.6.5-240301.img.xz

About Ubuntu 24.04 sound card issue, @Jacobe will follow up.

1 Like

Hello @Georg_Povolyaev

Well, I installed the image from oowow and can’t reproduce your issus. My settings->sound screen(both 5.10 and 6.1 kernel) like this

I test the input via DMIC and output via headphones ES8316. Neither has a problem.

And also can use aplay -l to check sound card

khadas@Khadas:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchipdp0 [rockchip-dp0], device 0: rockchip-dp0 spdif-hifi-0 [rockchip-dp0 spdif-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: rockchiphdmi0 [rockchip-hdmi0], device 0: rockchip-hdmi0 i2s-hifi-0 [rockchip-hdmi0 i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: rockchipes8316c [rockchip,es8316-codec], device 0: fe470000.i2s-ES8316 HiFi ES8316 HiFi-0 [fe470000.i2s-ES8316 HiFi ES8316 HiFi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
khadas@Khadas:~$ 

The pulse does not respond and is spinning at the latest loading

Yes, maybe the spinning problem caused by Ubuntu24.04, but it will appear at the in the top right corner of the taskbar like this
Screenshot from 2024-05-22 02-29-43

2 Likes