Open ToutouDogo opened 1 year ago
I guess this could be usefull too.
The following lines from dmesg seem relevant; the people from Intel should consider them
[ 3.281635] sof-audio-pci-intel-tgl 0000:00:1f.3: loading topology:intel/sof-tplg/sof-tgl-es8336.tplg
...
[ 3.282621] sof-audio-pci-intel-tgl 0000:00:1f.3: dai SSP0.OUT: type 1 index 0
[ 3.282621] sof-audio-pci-intel-tgl 0000:00:1f.3: config: periods snk 0 src 2 fmt 1
[ 3.282623] sof-audio-pci-intel-tgl 0000:00:1f.3: error: can't connect DAI SSP0.OUT stream SSP0-Codec
[ 3.282668] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to add widget id 0 type 27 name : SSP0.OUT stream SSP0-Codec
[ 3.282718] sof-essx8336 sof-essx8336: ASoC: failed to load widget SSP0.OUT
[ 3.282749] sof-essx8336 sof-essx8336: ASoC: topology: could not load header: -22
[ 3.282790] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22
[ 3.282835] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
[ 3.282867] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[ 3.282917] sof-essx8336 sof-essx8336: ASoC: failed to instantiate card -22
[ 3.282982] sof-essx8336 sof-essx8336: snd_soc_register_card failed: -22
[ 3.283012] sof-essx8336: probe of sof-essx8336 failed with error -22
5.17 is too old a kernel for this platform, see https://github.com/thesofproject/linux/wiki/ES8336-support
5.17 is too old a kernel for this platform, see https://github.com/thesofproject/linux/wiki/ES8336-support
Sorry, my knowledge is limited I can barely copy paste command lines. What I should do is :
sudo apt-get update
Followed by
`sudo apt-get dist-upgrade',
Then I see ?
For the support, I suppose I must compile the 5.9 or 6.0 accordingly?
at this point you have to compile your own kernel to get support for this device. If you are not familiar with all this, you'll have to get a USB device to get audio support.
Same here. I tried to compile sof kernel without success. If anyone can help us would be nice.
try this one. https://github.com/intbyte-100/matebook-d15-linux-soundfix Finally i have sound on matebook d14. 6.1.0-1 kernel & manjaro
Well done ! Would you recommend me to keep Ubuntu or switch to manjaro ? I am following thesofproject instructions to set up a development enviro and compile my own kernel, but the make command has issues (certificate problem).When its fixed, what I should do is install this kernel https://github.com/intbyte-100/matebook-d15-linux-soundfix instead of the one proposed by thesofproject, following the same instructions detailed in https://thesofproject.github.io/latest/getting_started/setup_linux/install_locally.html ? Thank you
i did the same trying to compile this kernel without success. Stay in Ubuntu, update your kernel to >5.19. BTW https://github.com/intbyte-100/matebook-d15-linux-soundfix -- this is a fix
My bad, I should have clicked on the link before saying craps :) Thank you very much ! For the kernel update, many procedures are available on the internet, I would like to know what are you recommandations. Indeed,
sudo apt-get update
sudo apt-get dist-upgrade
Does not allow me to go >5.17.
My bad, I should have clicked on the link before saying craps :) Thank you very much ! For the kernel update, many procedures are available on the internet, I would like to know what are you recommandations. Indeed,
sudo apt-get update sudo apt-get dist-upgrade
Does not allow me to go >5.17.
-go https://kernel.ubuntu.com/~kernel-ppa/mainline/v6.0/ -create a new folder and download all deb files of amd64/build
Thank you for your patience. Unfortunatly, dpkg encounters an issue : Any idea of what's occuring ?
install ukuu https://github.com/teejee2008/ukuu/releases from there and update
thanks. As it seems, I'm still missing something
OK, I managed to update to 6.0.1 and to apply https://github.com/intbyte-100/matebook-d15-linux-soundfix
Dummy output is solved, I now have a soundcard !
20221224 pacmd list-cards.txt
Yet, still no sound, and some errors in journalctl 20221224 journalctl err.txt
new errors, cannot find help on the internet, maybe it can tell about the issue here:
$ pipewire
[W][00481.758415] mod.rt | [ module-rt.c: 297 translate_error()] RTKit error: org.freedesktop.DBus.Error.InvalidArgs
[W][00481.758775] mod.rt | [ module-rt.c: 622 set_nice()] could not set nice-level to -11: Input/output error
[E][00481.759739] mod.protocol-native | [module-protocol-: 731 lock_socket()] server 0x563a5a259380: unable to lock lockfile '/run/user/1000/pipewire-0.lock': Resource temporarily unavailable (maybe another daemon is running)
[E][00481.759840] pw.conf | [ conf.c: 594 load_module()] 0x563a5a23c140: could not load mandatory module "libpipewire-module-protocol-native": Resource temporarily unavailable
[E][00481.760071] default | [ pipewire.c: 125 main()] failed to create context: Resource temporarily unavailable
~$ systemctl --user status pipewire.service
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2023-01-06 14:35:52 CET; 1min 23s ago
TriggeredBy: ● pipewire.socket
Main PID: 1499 (pipewire)
Tasks: 2 (limit: 9243)
Memory: 11.3M
CPU: 698ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─1499 /usr/bin/pipewire
janv. 06 14:35:52 toutou-BOD-WXX9 systemd[1490]: Started PipeWire Multimedia Service.
janv. 06 14:35:52 toutou-BOD-WXX9 pipewire[1499]: mod.rt: Can't find xdg-portal: (null)
janv. 06 14:35:52 toutou-BOD-WXX9 pipewire[1499]: mod.rt: found session bus but no portal
As said previously, https://github.com/intbyte-100/matebook-d15-linux-soundfix solves dummy-output issue but still no audio from speakers.
Tried to modify quirks following https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support Trying quirk = 16, 80 or 400 But dummy-output comes back, soundcard not detected. Here are the error from dmesg after modifying this quirk. 20231201 quirk error.txt
This is repeateable, as deleting
options snd_soc_sof_es8336 quirk=X
restore soundcard detection (but still no audio from speakers). I tried to play with alsamixer, but no success.
Can you identify an issue with these logs ? I don't know what to do.
Hello, I've been composing with this issue since I can connect bluetooth device, but for unknown reason it does not work anymore. Any news on this topic ?
Consensus is get an up to date kernel having latest SOF. That might need a custom build or going with non-LTS Ubuntu, or with Arch/Manjaro.
kernel 5.17.0-1018-oem SOF 2.0-1ubuntu4
I have no sound in headphones, speaker nor HDMI. Bluetooth works though.
pacmd list-cards returns 0 card(s) available.
alsamixer
The dmseg dmesg 20221212.txt
journalctl -b -p err journalctl err.txt
From other submitted issues, I guess it's a essx8336 bug but don't know what to do about the no soundcard issue.
Thank you for assistance, I've been using Ubuntu since one week only, my first steps in Linux. I am reading as much as possible to understand
but
please be indulgent I know nothing.