You are not logged in.

#1 2023-08-29 09:06:49

octonezd
Member
Registered: 2023-08-29
Posts: 3

Intel SOF - Can't get HDMI to work

Hi!

Been trying to get HDMI audio to work on my Machenike Machcreator, running i7-11390H.

HDMI audio is detected by aplay -l, but any attempt to play sound on it results in nothing. Pipewire doesn't automatically detect HDMI audio too, and if I try to add it similar way to undetected microphone video playback on YouTube stops working whenever I switch to it.

Attempt to detect HDMI:

context.objects = [
    { factory = adapter
        args = {
            factory.name           = api.alsa.pcm.source
            node.name              = "microphone"
            node.description       = "Undetected Microphone"
            media.class            = "Audio/Source"
            api.alsa.path          = "hw:0,1"
        }
    },
    { factory = adapter
        args = {
            factory.name           = api.alsa.pcm.sink
            node.name              = "alsa-dmix-hdmi"
            node.description       = "Undetected HDMI"
            media.class            = "Audio/Sink"
            api.alsa.path          = "hw:0,7"
        }
    }
]

Also, dmesg has errors related to HDMI audio:

[  645.694329] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -5
[  645.694335] sof-audio-pci-intel-tgl 0000:00:1f.3: HW params ipc failed for stream 1
[  645.694336] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -5
[  645.694353]  HDMI 3: ASoC: error at __soc_pcm_hw_params on HDMI 3: -5
[  645.694362]  HDMI 3: ASoC: error at dpcm_fe_dai_hw_params on HDMI 3: -5

These lines get repeated every few seconds.

If I try to aplay through command line I get:

octo@ares ~ % aplay -D hw:0,7 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1377: Channels count non available

aplay -lL output:

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofessx8336
    sof-essx8336, 
    Default Audio Device
usbstream:CARD=sofessx8336
    sof-essx8336
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: sofessx8336 [sof-essx8336], device 0: ES8336 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofessx8336 [sof-essx8336], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Offline

#2 2023-08-30 14:00:36

octonezd
Member
Registered: 2023-08-29
Posts: 3

Re: Intel SOF - Can't get HDMI to work

Update - managed to get noise to play via

speaker-test -Dhw:0,5 -c2 -r48000 -f S16_LE

- no luck with pipewire still however sad

Offline

#3 2023-08-30 14:06:07

octonezd
Member
Registered: 2023-08-29
Posts: 3

Re: Intel SOF - Can't get HDMI to work

Pipewire seems to not know of HDMI port:

octo@ares ~ % pactl list cards                                         
Card #46
	Name: alsa_card.pci-0000_00_1f.3-platform-sof-essx8336
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "IP3-Machcreator_14-Defaultstring-TN1"
		api.alsa.card.name = "sof-essx8336"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3-platform-sof-essx8336"
		device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3-platform-sof-essx8336"
		device.nick = "sof-essx8336"
		device.plugged.usec = "4722205"
		device.product.id = "0xa0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sof-essx8336/sound/card0"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "37"
		object.id = "46"
		object.serial = "46"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "sof-essx8336"
		alsa.long_card_name = "IP3-Machcreator_14-Defaultstring-TN1"
		alsa.driver_name = "snd_soc_sof_es8336"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: yes)
		output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 5100, available: yes)
		input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: no)
		pro-audio: Pro Audio (sinks: 4, sources: 3, priority: 1, available: yes)
	Active Profile: output:stereo-fallback+input:stereo-fallback
	Ports:
		analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "headset"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "1"
			Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-headphones"
				card.profile.port = "2"
			Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback

Offline

#4 2025-03-07 18:34:19

itayf
Member
Registered: 2006-01-09
Posts: 39

Re: Intel SOF - Can't get HDMI to work

I encounter similar problem (HDMI output is shown in `aplay -l` but not in `pactl list sinks`).

My dmesg error is different though:

[   23.048507] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
[   23.048514]  HDMI 1: ASoC: error at dpcm_fe_dai_hw_params on HDMI 1: -22

@octonezd - Were you able to solve the issue?

Offline

#5 2025-03-09 03:14:40

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,425

Re: Intel SOF - Can't get HDMI to work

I think you need sof-firmware to make it work.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2025-03-09 09:03:05

seth
Member
Registered: 2012-09-03
Posts: 61,711

Re: Intel SOF - Can't get HDMI to work

Yes, but there'd also be an ENOENT (-2) if those were missing.
Also see https://bbs.archlinux.org/viewtopic.php … 4#p2230344

Online

#7 2025-03-12 10:20:16

itayf
Member
Registered: 2006-01-09
Posts: 39

Re: Intel SOF - Can't get HDMI to work

@nomorewindows - I do have `sof-firmware` installed:

╰─ paru -Qs sof-firmware
local/sof-firmware 2025.01-1
    Sound Open Firmware

@seth - Regarding the output from your post https://bbs.archlinux.org/viewtopic.php … 2#p2230412:

All the 3 command were run (1) after the HDMI cable was connected (at Mar 12 12:07:41), and (2) after a reboot with snd_intel_dspcfg.dsp_driver=1 added to the kernel params:

╰─ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=cc0dceb5-cf88-4d8b-ab2c-3adfa2f70e1d rw rootflags=subvol=@ loglevel=3 quiet rd.luks.uuid=0f6e2fc6-f950-4
314-b436-27eac2303d14 rd.luks.options=tpm2-device=auto rd.luks.name=0f6e2fc6-f950-4314-b436-27eac2303d14=cryptroot resume=UUID=cc0dceb5-cf88
-4d8b-ab2c-3adfa2f70e1d resume_offset=1136549 mem_sleep_default=deep snd_intel_dspcfg.dsp_driver=1

3 outputs:

╰─ sudo journalctl -b | curl -F 'file=@-' 0x0.st

-> http://0x0.st/8SgD.txt

╰─ aplay -lL | curl -F 'file=@-' 0x0.st  

-> http://0x0.st/8Sgd.txt

╰─ pactl list sinks | curl -F 'file=@-' 0x0.st

-> http://0x0.st/8Sgn.txt

Notes: once snd_intel_dspcfg.dsp_driver=1 is used
(1) My card is not recognized
(2) The error (error at dpcm_fe_dai_hw_params on HDMI 1: -22) does not show up.

Here are the outputs without the parameter:

All the 3 command were run (1) after the HDMI cable was connected (at Mar 12 12:27:56), and (2) after a reboot without snd_intel_dspcfg.dsp_driver=1 added to the kernel params:

╰─ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=cc0dceb5-cf88-4d8b-ab2c-3adfa2f70e1d rw rootflags=subvol=@ loglevel=3 quiet rd.luks.uuid=0f6e2fc6-f950-4314-b4
36-27eac2303d14 rd.luks.options=tpm2-device=auto rd.luks.name=0f6e2fc6-f950-4314-b436-27eac2303d14=cryptroot resume=UUID=cc0dceb5-cf88-4d8b-ab2c-3
adfa2f70e1d resume_offset=1136549 mem_sleep_default=deep

3 outputs:

╰─ sudo journalctl -b | curl -F 'file=@-' 0x0.st

-> http://0x0.st/8SEo.txt

╰─ aplay -lL | curl -F 'file=@-' 0x0.st  

-> http://0x0.st/8SEH.txt

╰─ pactl list sinks | curl -F 'file=@-' 0x0.st

-> http://0x0.st/8SEX.txt

---

I'll also add that I've made sure to install latest firmware:

fwupdmgr get-updates
fwupdmgr update

But the error persists.

Last edited by itayf (2025-03-12 11:34:00)

Offline

#8 2025-03-12 15:31:17

seth
Member
Registered: 2012-09-03
Posts: 61,711

Re: Intel SOF - Can't get HDMI to work

snd_intel_dspcfg.dsp_driver=1 results in

Mar 12 12:06:58 archlinux kernel: snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up

=> likely dead end.

Mar 12 12:27:39 itay kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
Mar 12 12:27:39 itay kernel:  iDisp1: ASoC: error at __soc_pcm_hw_params on iDisp1: -22
Mar 12 12:27:39 itay kernel:  HDMI 1: ASoC: error at dpcm_fe_dai_hw_params on HDMI 1: -22

fits https://gitlab.freedesktop.org/pipewire … ssues/4405

If you disable wireplumber and pipewire (and reboot, just to clear the DSP), can you play audio via only alsa (anda can you via hdmi)?
Because the devices exist in aplay.

Online

#9 2025-03-14 23:22:10

itayf
Member
Registered: 2006-01-09
Posts: 39

Re: Intel SOF - Can't get HDMI to work

I've commented on the thread https://gitlab.freedesktop.org/pipewire … ssues/4405 (Other person seem to have the same problem...)

And disabling pipewire doesn't really help:

(1) Before:

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:04:05 
╰─ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:04:08 
╰─ speaker-test -Dhw:0,5 -c2 -twav

speaker-test 1.2.13

Playback device is hw:0,5
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────── 1 ✘  2025-03-15 01:04:16 
╰─ speaker-test -Dhw:0,6 -c2 -twav

speaker-test 1.2.13

Playback device is hw:0,6
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────── 1 ✘  2025-03-15 01:04:18 
╰─ speaker-test -Dhw:0,7 -c2 -twav

speaker-test 1.2.13

Playback device is hw:0,7
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

(2) Stopping:

systemctl --user stop wireplumber pipewire pipewire-pulse
systemctl --user disable wireplumber pipewire pipewire-pulse
systemctl --user mask wireplumber pipewire pipewire-pulse

# Reboot

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:07:49 
╰─ systemctl --user status wireplumber pipewire pipewire-pulse
○ wireplumber.service
     Loaded: masked (Reason: Unit wireplumber.service is masked.)
     Active: inactive (dead)

○ pipewire.service
     Loaded: masked (Reason: Unit pipewire.service is masked.)
     Active: inactive (dead)
TriggeredBy: ○ pipewire.socket

○ pipewire-pulse.service
     Loaded: masked (Reason: Unit pipewire-pulse.service is masked.)
     Active: inactive (dead)
TriggeredBy: ○ pipewire-pulse.socket

╭─ ~ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:13:11 
╰─ ps aux | grep wire
itay       28686  0.0  0.0   6456  3916 pts/7    S+   01:13   0:00 grep wire

(3) After (Same as before...):

╭─ ~ ────────────────────────────────────────────────────────────────────────────────────────────────────────── 3 ✘  5s  2025-03-15 01:07:59 
╰─ aplay -l              
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:09:31 
╰─ 

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:09:31 
╰─ speaker-test -Dhw:0,5 -c2 -twav                            

speaker-test 1.2.13

Playback device is hw:0,5
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 ✘  2025-03-15 01:09:36 
╰─ speaker-test -Dhw:0,6 -c2 -twav                           

speaker-test 1.2.13

Playback device is hw:0,6
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 ✘  2025-03-15 01:09:42 
╰─ speaker-test -Dhw:0,7 -c2 -twav

speaker-test 1.2.13

Playback device is hw:0,7
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

dmesg now is not flooded, but has exactly one error per trial - I ran -Dhw:0,5 (HDMI 1) and -Dhw:0,6 (HDMI 2) once, and -Dhw:0,7 (HDMI 3) twice:

╭─ ~ ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:14:47 
╰─ sudo dmesg | grep error
Place your right index finger on the fingerprint reader
[    2.320594] sof-audio-pci-intel-tgl 0000:00:1f.3: codec #2 probe error, ret: -2
[  144.007820] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
[  144.007829]  iDisp1: ASoC: error at __soc_pcm_hw_params on iDisp1: -22
[  144.007831]  HDMI 1: ASoC: error at dpcm_fe_dai_hw_params on HDMI 1: -22
[  150.368248] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp2 Pin: -22
[  150.368260]  iDisp2: ASoC: error at __soc_pcm_hw_params on iDisp2: -22
[  150.368263]  HDMI 2: ASoC: error at dpcm_fe_dai_hw_params on HDMI 2: -22
[  152.545954] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp3 Pin: -22
[  152.545967]  iDisp3: ASoC: error at __soc_pcm_hw_params on iDisp3: -22
[  152.545971]  HDMI 3: ASoC: error at dpcm_fe_dai_hw_params on HDMI 3: -22
[  747.830369] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp3 Pin: -22
[  747.830392]  iDisp3: ASoC: error at __soc_pcm_hw_params on iDisp3: -22
[  747.830399]  HDMI 3: ASoC: error at dpcm_fe_dai_hw_params on HDMI 3: -22

Any idea? Does it mean it's not really related to pipewire? and maybe only an update to sof-fireware / alsa-lib would solve that issue..?

Offline

#10 2025-03-14 23:44:17

itayf
Member
Registered: 2006-01-09
Posts: 39

Re: Intel SOF - Can't get HDMI to work

Okay, searching more and more similar errors I was able to solve it temporary...

This post - https://bbs.archlinux.org/viewtopic.php?id=273328 - suggested to reload snd_sof_pci_intel_tgl - but it didn't help (`aplay -l` didn't show the device after reload)

This post - https://github.com/thesofproject/sof/is … 1014215034 - suggested to reload snd_sof_pci_intel_cnl - reloading it together with snd_sof_pci_intel_tgl did solve the issue temporary:

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:34:11 
╰─ lsmod | grep '^snd' | awk '{print $1}' | xargs -r sudo modprobe -r
modprobe: FATAL: Module snd_soc_sdca is in use.

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────── 0|0|0|123 ✘  2025-03-15 01:34:19 
╰─ lsmod | grep snd_sof_pci_intel_cnl

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────── 0|1 ✘  2025-03-15 01:34:26 
╰─ aplay -l
aplay: device_list:279: no soundcards found...

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── 1 ✘  2025-03-15 01:34:36 
╰─ sudo modprobe snd_sof_pci_intel_cnl

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:34:48 
╰─ aplay -l
aplay: device_list:279: no soundcards found...

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:34:52 
╰─ lsmod | grep snd_sof_pci_intel_tgl

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────── 0|1 ✘  2025-03-15 01:35:05 
╰─ sudo modprobe snd_sof_pci_intel_tgl

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:35:13 
╰─ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 2: Speaker (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI 1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI 2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI 3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔  2025-03-15 01:35:21 
╰─ speaker-test -Dhw:0,5 -c2 -twav

speaker-test 1.2.13

Playback device is hw:0,5
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 16384
Period size range from 48 to 4096
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 2.731893
 0 - Front Left
 1 - Front Right

I'm not sure what to do with what I've just find.. :-) Any idea where would be the best place to report that?

Offline

#11 Yesterday 10:15:21

seth
Member
Registered: 2012-09-03
Posts: 61,711

Re: Intel SOF - Can't get HDMI to work

softdep snd_sof_pci_intel_tgl pre: snd_sof_pci_intel_cnl

https://wiki.archlinux.org/title/Kernel … g_modprobe - you might have to regenerate the initramfs.

https://github.com/thesofproject/sof/issues - I assume 8086:51c8 just needs to be aliased by both modules.

Online

Board footer

Powered by FluxBB