thesofproject / linux

Linux kernel source tree
Other
91 stars 133 forks source link

GMKtec K9 Core Ultra 125H #5099

Closed jason-a-alexander closed 4 months ago

jason-a-alexander commented 4 months ago

Hello,

I have a GMKtec K9 with a Core Ultra 125H. I getting the dreaded "Topology file: intel/sof-ace-tplg/sof-mtl-rt711.tplg" which based on the reading other tickets means that it's not detection the sound card. I'm running the latest mainline kernel and have loaded the firmware via install.sh script. Running Ubuntu 24.04. Other than sound everything is working great.

uname -a Linux TSS 6.9.3-060903-generic #202405300957 SMP PREEMPT_DYNAMIC Thu May 30 11:39:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

sudo dmesg | grep sof

`jalexand@TSS:~$ sudo dmesg | grep sof 
[    0.058752] software IO TLB: area num 32.
[    0.554632] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.554633] software IO TLB: mapped [mem 0x000000005c363000-0x0000000060363000] (64MB)
[    2.055585] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.055609] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    2.055619] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.055780] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    2.189959] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.189966] sof-audio-pci-intel-mtl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver
[    2.190178] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    2.307265] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    2.313977] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[    2.417420] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 0
[    2.417426] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
[    2.420154] sof-audio-pci-intel-mtl 0000:00:1f.3: SOF firmware and/or topology file not found.
[    2.420160] sof-audio-pci-intel-mtl 0000:00:1f.3: Supported default profiles
[    2.420162] sof-audio-pci-intel-mtl 0000:00:1f.3: - ipc type 1 (Requested):
[    2.420163] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file: intel/sof-ipc4/mtl/sof-mtl.ri
[    2.420164] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file: intel/sof-ace-tplg/sof-mtl-rt711.tplg
[    2.420165] sof-audio-pci-intel-mtl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.
[    2.420166] sof-audio-pci-intel-mtl 0000:00:1f.3: Optionally it can be manually downloaded from:
[    2.420167] sof-audio-pci-intel-mtl 0000:00:1f.3:    https://github.com/thesofproject/sof-bin/
[    2.454345] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work failed err: -2

`

lspci -v

`00:1f.3 Audio device: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20) (prog-if 80)
    DeviceName: Onboard - Sound
    Subsystem: Conexant Systems, Inc. Meteor Lake-P HD Audio Controller
    Flags: bus master, fast devsel, latency 32, IRQ 16, IOMMU group 14
    Memory at 48202c0000 (64-bit, non-prefetchable) [size=16K]
    Memory at 4820000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities: [50] Power Management version 3
    Capabilities: [c0] Vendor Specific Information: Len=14 <?>
    Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
    Kernel driver in use: sof-audio-pci-intel-mtl
    Kernel modules: snd_hda_intel, snd_sof_pci_intel_mtl`

I also ran alsa-info and it's here

http://alsa-project.org/db/?f=2a6da40d3ef64bf84af4e0bc43f5ba91e7cd637e

And here are other things people have asked for in other tickets

jalexand@TSS:~$ cat /sys/bus/acpi/devices/*/adr | grep 025d
0x000030025d071101

I found this in another comment and this might be the issue but I am not sure. https://github.com/thesofproject/linux/issues/5071#issuecomment-2177824378

plbossart commented 4 months ago

[ 2.417426] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5

This tells us you have an HDaudio codec, not SoundWire. You need the patch from https://github.com/thesofproject/linux/pull/4982

jason-a-alexander commented 4 months ago

This tells us you have an HDaudio codec, not SoundWire. You need the patch from #4982

Thanks, That is what I thought but some of the errors were different so I wanted to be sure. I don't know if I've ever patched a kernel before so I might just wait for 6.10.

jason-a-alexander commented 4 months ago

T