Repository navigation
Closed
Labels
Description
Hello, I'm another person to have this issue.
· [adam@study ~]$ uname -r
5.16.10-arch1-1
· [adam@study ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofessx8336 [sof-essx8336], device 0: ES8336 (*) []
Subdevices: 1/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
· [adam@study ~]$ sudo dmesg | grep sof
[ 0.901861] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.901865] software IO TLB: mapped [mem 0x000000006c489000-0x0000000070489000] (64MB)
[ 21.464193] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 21.464466] sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
[ 21.464617] sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 21.502525] sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
[ 21.533724] sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
[ 21.538711] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
[ 21.538716] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[ 21.538719] sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
[ 21.538726] sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
[ 21.578309] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
[ 21.578318] sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
[ 21.578321] sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
[ 21.617359] sof-essx8336 sof-essx8336: Overriding quirk 0x2 => 0x32
[ 21.617369] sof-essx8336 sof-essx8336: quirk SSP2
[ 21.634589] sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:20:0 Kernel ABI 3:18:0
[ 21.634600] sof-audio-pci-intel-apl 0000:00:0e.0: warn: topology ABI is more recent than kernel
[ 21.634879] sof-essx8336 sof-essx8336: ASoC: Parent card not yet available, widget card binding deferred
[ 21.819434] input: sof-essx8336 Headset as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input12
[ 21.819631] input: sof-essx8336 HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input13
[ 21.819833] input: sof-essx8336 HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input14
[ 21.820023] input: sof-essx8336 HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input15
I'm hopeless. I'm using Arch Linux.
Activity
yurisuki commentedon Feb 20, 2022
Tried all quirks, that were mentioned in other issues, and nothing helped. Tried all topologies and it doesn't help either.
yurisuki commentedon Feb 20, 2022
quirks 0x12 and 0x32 make crackling noises
may i get some ssp2 topology please? 0x32 makes the most noise when playing through headphones, still doesn't detect my speakers though.
plbossart commentedon Feb 22, 2022
we've already provided an update in PR #3338 where you don't need to play with SSP and DMIC quirks. the only thing that you may need to play with is the GPIO quirk.
yurisuki commentedon Feb 22, 2022
I don't really understand what these words mean. I'm just gonna wait for upstream release, although thank you for your support! If there's anything I could help you with, hit me up in this thread.
dezo4 commentedon Jul 26, 2022
Hi,
I have exactly the same machine, but running a newer kernel 5.19.0-rc6-amd64 with firmware firmware-sof-signed 2.1.1-1.
I have absolutely no sound at all.
My alsainfo is http://alsa-project.org/db/?f=07e366a015bc61623916da57a19743aaf07e018c
I'm not sure which sof modules version is in this kernel:
Should I tune something in BIOS? Or anything else?
dezo4 commentedon Jul 28, 2022
Tunable BIOS stuff:



dezo4 commentedon Aug 3, 2022
Debug dmsg
dmesg.txt
dezo4 commentedon Aug 4, 2022
No change on 5.19.0-trunk-amd64
dmesg.txt
dezo4 commentedon Aug 4, 2022
@plbossart Hello, this thread is half a year old and seems to be forgotten, but it exactly matches my laptop so I didn't want to create another one for the same machine. Could you please have a look what is wrong in my case? Thanks!
plbossart commentedon Aug 4, 2022
@dezo4 Unfortunately we have a regression in 5.19, tentative fix is here #3798
plbossart commentedon Aug 8, 2022
Recommended setup is described here: #3336 (comment)
plbossart commentedon Aug 8, 2022
Added recommended information in https://github.com/thesofproject/linux/wiki/ES8336-support
closing for now, please re-open an issue if the recommended setup doesn't work for you.
19 remaining items
plbossart commentedon Oct 17, 2022
This is a userspace problem, HDMI and ES8336 handling are independent at the hardware level and in firmware they are treated as different pipelines. The fact that you can play at the ALSA level show the problem is at a higher level.
dezo4 commentedon Oct 17, 2022
@plbossart
Thank you. Any idea where should I look and dig? Can it be related to pulseaudio?
yangxiaohua2009 commentedon Oct 18, 2022
@dezo4 You need a ucm.
ucm.zip
Or https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2/Intel/sof-essx8336
Ucm lies in /usr/share/alsa/ucm or /usr/share/alsa/ucm2.
After modifying the ucm files, try
alsaucm reloadandpulseaudio -kto make the change work.dezo4 commentedon Oct 19, 2022
@yangxiaohua2009 Any hints what/which files I should modify? Looks quite complicated. Thanks
yangxiaohua2009 commentedon Oct 20, 2022
@dezo4
The script in ucm.zip should automaticaly copy the ucm files.
I can see all the devices, maybe you can use pavucontrol to set the output device?
dezo4 commentedon Oct 21, 2022
@yangxiaohua2009

unfornunatelly I cannot
yangxiaohua2009 commentedon Oct 24, 2022
@dezo4 See #3944 (comment)
dezo4 commentedon Nov 1, 2022
Thanks @yangxiaohua2009 it helped!
Although this file is already present in debian's alsa-ucm-conf 1.2.7.2-1 so I'll try to merge those two.
Btw any idea why there's 3 HDMI devices when there's only 1 HDMI out?
dezo4 commentedon Nov 1, 2022
@plbossart I can see your patches from es8336-v5.19 are already merged in linux/master but if I boot debian's
6.0.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.5-1 (2022-10-28) x86_64 GNU/Linux
I still get no sound...
Any idea? Thanks
dezo4 commentedon Nov 1, 2022
I recompiled with CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m, that helped.
Now I see the card as usual but no sound at all, just a scratch at the end of a playback. Nothing is muted in alsamixer.
dmesg.txt.gz
yangxiaohua2009 commentedon Nov 2, 2022
@dezo4 please provide your amixer settings or alsainfo.
If the playback device changes when you plug/unplug the jack then you are lucky, changing the amixer kcontrol settings should give you sound.
dezo4 commentedon Nov 2, 2022
@yangxiaohua2009 Thanks, I'll upload the alsainfo as soon as I get to the machine.
To summarize:
plbossart commentedon Nov 2, 2022
well d'uh, 6.0.0 does not have all the patches required, see https://github.com/thesofproject/linux/wiki/ES8336-support#60-support
dezo4 commentedon Nov 2, 2022
@plbossart Useful page, thanks! So I just have to wait for all the pataches to get to master.
dezo4 commentedon Jan 18, 2023
Default debian's 6.1.0-1 with sound! Awesome!