Created attachment 299417 [details]
There's no sound from HDMI, only the display shows up. And there's no way to choose the sound output device as HDMI in the sound settings. PulseAudio Volume Control shows HDMI as "unplugged" in the output devices tab even though I actually plugged in the cable.
Created attachment 299419 [details]
Created attachment 299421 [details]
Created attachment 299423 [details]
Created attachment 299425 [details]
Created attachment 299427 [details]
Created attachment 299429 [details]
The alsa-info.sh output contains no valid contents. Could you retry?
About the HDMI: at first check whether i915 driver actually identified the audio I/O on the HDMI. Unless the graphics driver recognizes the audio, the HD-audio can't handle it.
Created attachment 299647 [details]
Here is my new alsa-info.
(In reply to Takashi Iwai from comment #7)
> The alsa-info.sh output contains no valid contents. Could you retry?
> About the HDMI: at first check whether i915 driver actually identified the
> audio I/O on the HDMI. Unless the graphics driver recognizes the audio, the
> HD-audio can't handle it.
How can I check whether i915 driver actually identified the audio I/O on the HDMI?
Created attachment 299873 [details]
This is the driver issue, SST driver in this case. I am running i5-8250U on Acer Swift SF514-52T with Fedora 36 - kernel: 5.17.6-300.fc36.x86_64.
By enabling the "options snd-intel-dspcfg dsp_driver=1" (HDaudio legacy driver) in the "/etc/modprobe.d/snd-intel.conf" file, HDMI audio and speakers will work. But my laptop mic (DMIC) will not work, which is the expected behavior, see https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html
Therefore, "options snd-intel-dspcfg dsp_driver=1" is not the idea solution, as DMIC will not ever work with this driver.
My alsa-info with driver=1: http://alsa-project.org/db/?f=726b7d21836ff2fd8115b96bc2b29f509c1855b3
With "options snd-intel-dspcfg dsp_driver=2" (SST driver - default setting on Fedora 36), everything work except for HDMI audio which doesn't work. And using "intel_iommu=on,igfx_off" on the kernel command line will not enable HDMI audio with this driver. In fact, the driver will not detect any sound card at all, see: https://bugzilla.kernel.org/show_bug.cgi?id=201251#c329
My alsa-info with driver=2: http://alsa-project.org/db/?f=41d2be23c793ab9b65412e40b2870bd8b1ab3ec4
With "options snd-intel-dspcfg dsp_driver=3" (SOF driver), everything is not working, no sound card detected, as SOF driver doesn't support on the Coffee Lake CPU. See: https://github.com/thesofproject/sof/issues/2251
My alsa-info with driver=3: http://alsa-project.org/db/?f=8542e92049210a9185600e2d049aee38beb09add
This behavior reported at:
SOF project - issue #2251: https://github.com/thesofproject/sof/issues/2251#issuecomment-1126852592
Red Hat Bugzilla – Bug 2039902: https://bugzilla.redhat.com/show_bug.cgi?id=2039902