intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
969 stars 345 forks source link

[Bug] No hdmi audio with intel arc a380 #1560

Closed jakobdettner closed 1 year ago

jakobdettner commented 1 year ago

Hi, I am not sure if this is the right place to report this issue, so please redirect me if there is a better place.

Problem: I cannot get any audio from my new intel arc a380 card via hdmi to the displays speakers.

$ lspci -nn | grep VGA 2d:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A380] [8086:56a5] (rev 05)

The card is detected and also shows up in alsamixer but there is no sound.

$ aplay -l List of PLAYBACK Hardware Devices card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [LG HDR 4K] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 0: ALCS1200A Analog [ALCS1200A Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 1: ALCS1200A Digital [ALCS1200A Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: Bar [HP S101 Speaker Bar], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0

I've tried kernel 6.0 and 6.1.0-rc2-1-drm-next-git-01624-g3d335a523b93

jakobdettner commented 1 year ago

In the comments of this issue: " https://gitlab.freedesktop.org/drm/intel/-/issues/7353 ", I found a workaround:

Just set this kernel module option: $ cat /etc/modprobe.d/intel-hdmi-audio-fix.conf options snd_hda_codec_hdmi enable_silent_stream=N

After a reboot everything works fine.