HDMI audio is silent
Ralf Mardorf
kde.lists at yahoo.com
Thu Apr 6 06:59:51 UTC 2023
Hi,
on Xubuntu 20.04 HDMI audio of a computer with very new Intel hardware
doesn't work.
weremouse at xubu:~$ hwinfo --cpu | grep Model | sort -u
Model: 6.191.5 "13th Gen Intel(R) Core(TM) i3-13100"
weremouse at xubu:~$ uname -r
5.4.0-42-generic
weremouse at xubu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
weremouse at xubu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
On Arch Linux:
In the meantime I plugged in a professional sound card, please ignore
this. The Intel card provide 3 more devices, with or without the other
audio device plugged in ;). On Arch Linux HDMI audio works (with plain
ALSA or jackd with the ALSA backend, pulseaudio isn't installed).
[rocketmouse at archlinux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDSPMx579bcc [RME AIO_579bcc], device 0: RME AIO [RME AIO]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 3: HDMI 0 [EV2450]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
Back to Xubuntu. By default only SPDIF was available, hence I added two
sinks:
weremouse at xubu:~$ grep hw:0 /etc/pulse/default.pa
load-module module-alsa-sink device=hw:0,0
load-module module-alsa-sink device=hw:0,3
On this new computer the bell via PC speaker doesn't work at all.
However, IIUC xfce4-terminal and pulseaudio are using desktop audio
instead of the PC speaker, but there's no sound.
weremouse at xubu:~$ grep -i bell ~/.config/xfce4/terminal/terminalrc
MiscBell=TRUE
MiscBellUrgent=FALSE
weremouse at xubu:~$ lsmod | grep pcsp
pcspkr 16384 0
weremouse at xubu:~$ printf "\a"
weremouse at xubu:~$ sudo rmmod pcspkr
weremouse at xubu:~$ lsmod | grep pcsp
weremouse at xubu:~$ printf "\a"
Even unloading pcspkr didn't solve it.
If I run
weremouse at xubu:~$ firefox https://www.youtube.com/watch?v=zD5HySZne8c
then audio Generic Analog of the Intel audio device works for the front
panel headphones, but there's no audible audio output when choosing
HDMI. On Arch Linux where it works, HDMI 0 shows the EIZO display's
model [EV2450].
Regards,
Ralf
More information about the ubuntu-users
mailing list