Skip to content

ES8336 Intel Corporation Celeron/Pentium Silver Processor on UMAX VisionBook WR12 #3447

Closed

Description

@yurisuki

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

  1. yurisuki commented on Feb 20, 2022

    @yurisuki
    Author
    ┌───────────────────────────────────────────────────────────────────────────────────── AlsaMixer v1.2.6 ──────────────────────────────────────────────────────────────────────────────────────┐
    │ Card: sof-essx8336                                                                                                                                                  F1:  Help               │
    │ Chip: Intel Geminilake HDMI                                                                                                                                         F2:  System information │
    │ View: F3:[Playback] F4: Capture  F5: All                                                                                                                            F6:  Select sound card  │
    │ Item: Headphone [dB gain: -48.00, -48.00]                                                                                                                           Esc: Exit               │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │       ┌──┐     ┌──┐                                                                             ┌──┐              ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐              ┌──┐                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                →
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       │  │     │▒▒│                                                                             │▒▒│              │▒▒│     │▒▒│     │▒▒│     │▒▒│     │▒▒│              │▒▒│                │
    │       ├──┤     └──┘     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐   L + R In  Invert    ┌──┐     └──┘     ┌──┐     └──┘     └──┘     └──┘     └──┘     └──┘     ┌──┐     └──┘   Mute ADC     │
    │       │MM│              │OO│     │OO│     │MM│     │OO│     │OO│                       │OO│              │OO│                                                  │OO│                         │
    │       └──┘              └──┘     └──┘     └──┘     └──┘     └──┘                       └──┘              └──┘                                                  └──┘                         │
    │       0<>0   100<>100                                                                           100               100      100      100      100      100               100                 │
    │    <Headphon>Headphon Speaker  Mic Boos  S/PDIF  S/PDIF 1 S/PDIF 2 Playback Capture  ADC Doub ADC PGA  ADC Soft ALC Capt ALC Capt ALC Capt ALC Capt ALC Capt ALC Capt ALC Capt ALC Capt     │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    │                                                                                                                                                                                             │
    └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
    
    

    Tried all quirks, that were mentioned in other issues, and nothing helped. Tried all topologies and it doesn't help either.

  2. yurisuki commented on Feb 20, 2022

    @yurisuki
    Author

    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.

  3. added
    codec
    Community
    on Feb 22, 2022
  4. plbossart commented on Feb 22, 2022

    @plbossart
    Member

    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.

  5. yurisuki commented on Feb 22, 2022

    @yurisuki
    Author

    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.

  6. dezo4 commented on Jul 26, 2022

    @dezo4

    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:

    $ lsmod | awk '{print $1}' | grep sof_ | xargs /sbin/modinfo | grep -i '\<name\|version'
    name:           snd_sof_probes
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_pci_intel_apl
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_intel_hda_common
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_intel_hda
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_pci
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_xtensa_dsp
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    name:           snd_sof_utils
    vermagic:       5.19.0-rc6-amd64 SMP preempt mod_unload modversions 
    

    Should I tune something in BIOS? Or anything else?

  7. dezo4 commented on Jul 28, 2022

    @dezo4

    Tunable BIOS stuff:
    20220728_161739
    20220728_161758
    20220728_161815

  8. dezo4 commented on Aug 3, 2022

    @dezo4

    Debug dmsg
    dmesg.txt

  9. dezo4 commented on Aug 4, 2022

    @dezo4

    No change on 5.19.0-trunk-amd64
    dmesg.txt

  10. dezo4 commented on Aug 4, 2022

    @dezo4

    @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!

  11. plbossart commented on Aug 4, 2022

    @plbossart
    Member

    @dezo4 Unfortunately we have a regression in 5.19, tentative fix is here #3798

  12. plbossart commented on Aug 8, 2022

    @plbossart
    Member

    Recommended setup is described here: #3336 (comment)

  13. plbossart commented on Aug 8, 2022

    @plbossart
    Member

    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.

  14. 19 remaining items

  15. plbossart commented on Oct 17, 2022

    @plbossart
    Member

    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.

  16. dezo4 commented on Oct 17, 2022

    @dezo4

    @plbossart
    Thank you. Any idea where should I look and dig? Can it be related to pulseaudio?

  17. yangxiaohua2009 commented on Oct 18, 2022

    @yangxiaohua2009

    @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 reload and pulseaudio -k to make the change work.

  18. dezo4 commented on Oct 19, 2022

    @dezo4

    @yangxiaohua2009 Any hints what/which files I should modify? Looks quite complicated. Thanks

    $ alsaucm dump text
    Verb.HiFi {
    	Comment "Play and record HiFi quality Music"
    	Device.Speaker {
    		Comment Speakers
    		ConflictingDevices [
    			Headphones
    		]
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    			PlaybackMasterElem DAC
    			PlaybackMixerElem "Headphone Mixer"
    			PlaybackPCM "_ucm0001.hw:sofessx8336"
    			PlaybackPriority 100
    		}
    	}
    	Device.Headphones {
    		Comment Headphones
    		ConflictingDevices [
    			Speaker
    		]
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			JackControl "Headphone Jack"
    			JackHWMute Speaker
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    			PlaybackMasterElem DAC
    			PlaybackMixerElem "Headphone Mixer"
    			PlaybackPCM "_ucm0001.hw:sofessx8336"
    			PlaybackPriority 300
    		}
    	}
    	Device.Headset {
    		Comment "Headset Microphone"
    		ConflictingDevices [
    			Mic
    		]
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			CaptureMasterElem ADC
    			CaptureMixerElem "ADC PGA Gain"
    			CapturePCM "_ucm0001.hw:sofessx8336"
    			CapturePriority 300
    			JackControl "Headset Mic Jack"
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    		}
    	}
    	Device.HDMI1 {
    		Comment "HDMI / DisplayPort 1 Output"
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			JackControl "HDMI/DP,pcm=5 Jack"
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    			PlaybackPCM "_ucm0001.hw:sofessx8336,5"
    			PlaybackPriority 500
    		}
    	}
    	Device.HDMI2 {
    		Comment "HDMI / DisplayPort 2 Output"
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			JackControl "HDMI/DP,pcm=6 Jack"
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    			PlaybackPCM "_ucm0001.hw:sofessx8336,6"
    			PlaybackPriority 600
    		}
    	}
    	Device.HDMI3 {
    		Comment "HDMI / DisplayPort 3 Output"
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			JackControl "HDMI/DP,pcm=7 Jack"
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    			PlaybackPCM "_ucm0001.hw:sofessx8336,7"
    			PlaybackPriority 700
    		}
    	}
    	Device.Mic {
    		Comment "Analog Microphone"
    		ConflictingDevices [
    			Headset
    		]
    		Values {
    			CaptureCTL "_ucm0001.hw:sofessx8336"
    			CaptureMasterElem ADC
    			CaptureMixerElem "ADC PGA Gain"
    			CapturePCM "_ucm0001.hw:sofessx8336"
    			CapturePriority 100
    			PlaybackCTL "_ucm0001.hw:sofessx8336"
    		}
    	}
    
  19. yangxiaohua2009 commented on Oct 20, 2022

    @yangxiaohua2009

    @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?

  20. dezo4 commented on Oct 21, 2022

    @dezo4

    @yangxiaohua2009
    unfornunatelly I cannot
    pavu

  21. yangxiaohua2009 commented on Oct 24, 2022

    @yangxiaohua2009
  22. dezo4 commented on Nov 1, 2022

    @dezo4

    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?

    **** 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
    
  23. dezo4 commented on Nov 1, 2022

    @dezo4

    @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...

    $ aplay -l
    aplay: device_list:275: no soundcards found...
    

    Any idea? Thanks

  24. dezo4 commented on Nov 1, 2022

    @dezo4

    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

  25. yangxiaohua2009 commented on Nov 2, 2022

    @yangxiaohua2009

    @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.

  26. dezo4 commented on Nov 2, 2022

    @dezo4

    @yangxiaohua2009 Thanks, I'll upload the alsainfo as soon as I get to the machine.

    To summarize:

    • plbossart's 5.19 kernel from branch es8336-v5.19 works fine, I have sound from speakers, headphones, hdmi, all working fine
    • recompiled debian's 6.0.0-2-amd64 looks all fine, but no sound at all
  27. plbossart commented on Nov 2, 2022

    @plbossart
    Member

    well d'uh, 6.0.0 does not have all the patches required, see https://github.com/thesofproject/linux/wiki/ES8336-support#60-support

  28. dezo4 commented on Nov 2, 2022

    @dezo4

    @plbossart Useful page, thanks! So I just have to wait for all the pataches to get to master.

  29. dezo4 commented on Jan 18, 2023

    @dezo4

    Default debian's 6.1.0-1 with sound! Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Communitycodeccodec ES8336

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions