New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Dell TGL-H Machine failed to load sof-tgl-h.ri #2662
Comments
@KaiChuan-Hsieh This device is using TGL-H silicon, and we already informed OSV that sof-tgl.ri is only for TGL-U silicon. SOF FW binary for TGL-H is not included in SOF upstream release v1.6 or 1.6.1 atm. |
@mengdonglin @RanderWang It seems there is also a kernel issue here, already fixed with #2417 From kernel log, sof driver wants to load wrong FW binary here. We need to check if the fix #2417 is now merge into upstream. PS: @KaiChuan-Hsieh where is this |
The 5.10.0-1008-oem repository is https://code.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oem/+git/focal/+ref/oem-5.10-next The kernel works ok for #2544 Thanks, |
@KaiChuan-Hsieh I think it should be a must to support TGL-H platforms with PCI ID 0x43c8. |
@KaiChuan-Hsieh Interesting, I also see the patch with https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oem/+git/focal/tree/sound/soc/sof/sof-pci-dev.c?h=oem-5.10-next @libinyang If this is a issue like #2657 that we use the fw name from ACPI table? |
@xiulipan yes, but it doesn't try to load sof-tgl-h.ri which is not as what you expect, right? I have to check if we did add pci device id correctly. I think the sof-tgl.ri name is from ACPI table as you think, I'll try sof-dev kernel once a workable sof-tgl-h.ri is ready. Thanks for your notification. |
@KaiChuan-Hsieh Please try with thesofproject/sof#2657, sof-dev is also missing the fix. |
@KaiChuan-Hsieh We have two patches for tgl-h. Could you please have a try? #2650 and #2657 |
sure, but I don't have a workable sof-tgl-h.ri for TGL-H, or it will be okay by loading sof-tgl.ri with these patches? |
@KaiChuan-Hsieh I'm not sure it is OK to load sof-tgl.ri. After applying the 2 patches, sof-tgl.ri should be renamed to sof-tgl-h.ri. |
@libinyang yes, that's the point, I don't have sof-tgl-h.ri in hand. or you just want to see the kernel log, that the path can be correct. |
@KaiChuan-Hsieh I think we can wait for the fw release and have the test. |
@libinyang I found that I have to add "options snd-intel-dspcfg dsp_driver=3" for probing the device with correct driver. |
@KaiChuan-Hsieh Thanks for reporting the issue with |
@xiulipan Sure, here is the bug, https://github.com/thesofproject/sof/issues/3720. |
@KaiChuan-Hsieh Thanks! I will also move this issue to linux as we had fix in driver now. |
@xiulipan Hello, you want to move this to linux, which means the sof-tgl-h.ri is available, but I still can't find a workable sof-tgl-h.ri, I try to build it from sof project but it seems the driver can't load successfully. Here is the log when loading the fw: I guess the signature maybe not correct, if you have a workable sof-tgl-h.ri in hand, can you share with me? Thanks, |
@KaiChuan-Hsieh We will try to have some hotfix to https://github.com/thesofproject/sof-bin for sof-tgl-h.ri please check later. |
@xiulipan I didn't see the hotfix of sof-tgl-h.ri, will it be released this week? |
@KaiChuan-Hsieh Please test SOF v1.6.1 engineering drop for TGL-H. Thanks! |
Describe the bug
I got a new Dell hardware. It's CPU information:
lscpu.log
The failed kernel log:
journalctl-k.log
Its acpi device info:
_SB_.PC00.HDAS.SNDW.SWD0
0x000020025d071100
_SB_.PC00.HDAS.SNDW.SWD1
0x000120025d130800
_SB_.PC00.HDAS.SNDW.SWD2
0x000220025d130800
_SB_.PC00.HDAS.SNDW.SWD3
0x000320025d071500
The lspci info:
lspci.log
To Reproduce
To boot into Ubuntu.
Reproduction Rate
100/100
Expected behavior
The machine can load sof firmware successfully and audio works for internal mic/speaker and headest input/output.
Impact
No ALSA card can playback and record audio.
Environment
The text was updated successfully, but these errors were encountered: