Sample Header Ad - 728x90

ALSA doesn't play on HDMI

4 votes
1 answer
3587 views
I have Ubuntu 14.04.3 with kernel 3.16.0-48 installed on mini-PC Gigabyte GB-BXBT-2807. The chipset also integrates audio controller Realtek ALC283. I've been struggling to have my audio play over HDMI, with no luck. First of all, I removed PulseAudio and reinstalled ALSA as was recommended in multiple articles on the web: % dpkg -l | grep alsa ii alsa-base 1.0.25+dfsg-0ubuntu4 ... ii alsa-utils 1.0.27.2-1ubuntu2 ... After reboot all modules seem to be present: % lsmod | grep snd snd_hda_codec_hdmi 47548 1 snd_hda_codec_realtek 77561 1 snd_hda_codec_generic 69011 1 snd_hda_codec_realtek snd_hda_intel 30469 0 snd_soc_rt5640 93042 0 snd_soc_rl6231 13037 1 snd_soc_rt5640 snd_hda_controller 30228 1 snd_hda_intel snd_hda_codec 139719 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 17698 1 snd_hda_codec snd_soc_core 200204 1 snd_soc_rt5640 snd_compress 19200 1 snd_soc_core snd_pcm_dmaengine 15172 1 snd_soc_core snd_pcm 104112 7 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller,snd_pcm_dmaengine snd_seq_midi 13564 0 snd_seq_midi_event 14899 1 snd_seq_midi snd_rawmidi 30876 1 snd_seq_midi snd_seq 63074 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 29562 2 snd_pcm,snd_seq snd 79468 13 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_compress soundcore 15047 2 snd,snd_hda_codec snd_soc_sst_acpi 13007 0 % % aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 % I also added my account in audio group. Here is a list of PCMs: % aplay -L null Discard all samples (playback) or generate zero samples (capture) default:CARD=PCH HDA Intel PCH, ALC283 Analog Default Audio Device sysdefault:CARD=PCH HDA Intel PCH, ALC283 Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Front speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output dmix:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct sample mixing device dmix:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample mixing device dsnoop:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct sample snooping device dsnoop:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct sample snooping device hw:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Direct hardware device without any conversions hw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Direct hardware device without any conversions plughw:CARD=PCH,DEV=0 HDA Intel PCH, ALC283 Analog Hardware device with all software conversions plughw:CARD=PCH,DEV=3 HDA Intel PCH, HDMI 0 Hardware device with all software conversions % What happens is that I'm able to play sounds via headset connected to audio jack, however I'm unable to do this via HDMI link hooked to a TV. I tried to run aplay -D for different devices marked as DEV=3 as listed above, but none of them worked. Also, it doesn't work in FireFox. Is there a special configuration to set audio play on HDMI? What else should I try?
Asked by Mark (1943 rep)
Sep 7, 2016, 12:48 AM
Last activity: Jul 29, 2025, 06:04 AM