Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Hey there,

I've got a problem with my computer and hope maybe someone on here might have an answer. I'm only shown Dummy Output; the computer is a model I think exclusively sold in Germany (All-in-One; Windows 11 replaced with Linux Mint) with built-in speakers. Plugged-in headphones don't work, either. I've tried a variety of tricks, such as here http://mreen.epizy.com/SoundFixTips2.html or here https://superuser.com/questions/1509312 ... 13#1509313. Among many more, but I've literally spent hours on this issue researching without getting any further. From the second link,

Code: Select all

/etc/modprobe.d/alsa-base.conf
is still in use, being preceded by

Code: Select all

quiet splash
.

Outputs are:

aplay -l:

Code: Select all

**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 1: HDMI1 (*) []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 2: HDMI2 (*) []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: sofhdadsp [sof-hda-dsp], Gerät 3: HDMI3 (*) []
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
inxi -Fxpmrz:

Code: Select all

System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Cinnamon 5.4.12 Distro: Linux Mint 21 Vanessa
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: CSL GmbH & KG product: UNITY F27W v: N/A
    serial: <superuser required>
  Mobo: Morshow model: rev1.0 serial: <superuser required>
    UEFI: American Megatrends v: E.GP10L.SVID.005W date: 05/08/2021
Memory:
  RAM: total: 15.46 GiB used: 2 GiB (12.9%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: quad core model: Intel Celeron N4120 bits: 64 type: MCP
    arch: Goldmont Plus rev: 8 cache: L1: 224 KiB L2: 4 MiB
  Speed (MHz): avg: 1711 high: 1975 min/max: 800/2600 cores: 1: 1735
    2: 1975 3: 1946 4: 1189 bogomips: 8755
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel GeminiLake [UHD Graphics 600] driver: i915 v: kernel
    bus-ID: 00:02.0
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics 600 (GLK 2) v: 4.6 Mesa 22.2.5
    direct render: Yes
Audio:
  Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
    driver: sof-audio-pci-intel-apl bus-ID: 00:0e.0
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel bus-ID: 01:00.0
  IF: wlp1s0 state: up mac: <filter>
  Device-2: Intel Ethernet I225-V driver: igc v: kernel port: N/A
    bus-ID: 02:00.0
  IF: enp2s0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-4:4
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.2
Drives:
  Local Storage: total: 476.94 GiB used: 10.97 GiB (2.3%)
  ID-1: /dev/sda vendor: TeamGroup model: TM4PS7512G size: 476.94 GiB
Partition:
  ID-1: / size: 467.89 GiB used: 10.97 GiB (2.3%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2136
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://linux-mint.froonix.org vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 241 Uptime: 5m Init: systemd runlevel: 5 Compilers: gcc: 11.3.0
  Shell: Bash v: 5.1.16 inxi: 3.3.13
journalctl -k | grep -Ei "ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel":

Code: Select all

Feb 02 21:04:07 kame-UNITY-F27W kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=46d5bb06-32f4-49d4-a3d7-6c97dc7a910b ro quiet splash /etc/modprobe.d/alsa-base.conf
Feb 02 21:04:07 kame-UNITY-F27W kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=46d5bb06-32f4-49d4-a3d7-6c97dc7a910b ro quiet splash /etc/modprobe.d/alsa-base.conf
Feb 02 21:04:07 kame-UNITY-F27W kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Feb 02 21:04:07 kame-UNITY-F27W kernel: pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
Feb 02 21:04:08 kame-UNITY-F27W kernel: PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Feb 02 21:04:08 kame-UNITY-F27W kernel: software IO TLB: mapped [mem 0x000000006d10d000-0x000000007110d000] (64MB)
Feb 02 21:04:08 kame-UNITY-F27W kernel: usb 1-2: Product: Microsoft Notebook/Mobile Optical Mouse 2.0
Feb 02 21:04:08 kame-UNITY-F27W kernel: usb 1-2: Manufacturer: Microsoft
Feb 02 21:04:08 kame-UNITY-F27W kernel: input: Microsoft Microsoft Notebook/Mobile Optical Mouse 2.0 as /devices/pci0000:00/0000:00:15.0/usb1/1-2/1-2:1.0/0003:045E:007D.0001/input/input2
Feb 02 21:04:08 kame-UNITY-F27W kernel: hid-generic 0003:045E:007D.0001: input,hidraw0: USB HID v1.10 Mouse [Microsoft Microsoft Notebook/Mobile Optical Mouse 2.0] on usb-0000:00:15.0-2/input0
Feb 02 21:04:08 kame-UNITY-F27W kernel: xor: measuring software checksum speed
Feb 02 21:04:08 kame-UNITY-F27W kernel: snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 02 21:04:09 kame-UNITY-F27W kernel: snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: using HDA machine driver skl_hda_dsp_generic now
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DMICs detected in NHLT tables: 0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: topology ABI is more recent than kernel
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: Parent card not yet available, widget card binding deferred
Feb 02 21:04:09 kame-UNITY-F27W kernel: input: sof-hda-dsp HDMI/DP,pcm=1 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input8
Feb 02 21:04:09 kame-UNITY-F27W kernel: input: sof-hda-dsp HDMI/DP,pcm=2 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input9
Feb 02 21:04:09 kame-UNITY-F27W kernel: input: sof-hda-dsp HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:0e.0/skl_hda_dsp_generic/sound/card0/input10
pacmd list-sinks:

Code: Select all

1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.15 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 2
	configured latency: 2.51 ms; range is 0.50 .. 2000.00 ms
	module: 14
	properties:
		device.description = "Dummy-Ausgabe"
		device.class = "abstract"
		device.icon_name = "audio-card"
Alsamixer reads:
Alsamixer.png
Sound options are given as - Standard and default:0 sof-hda-dsp

I really hope someone may have an answer to this; I'm really stuck. Let me know what other outputs you need; I just dumped the input I've seen enquired after most often in similar posts. Thanks a lot in advance for your replies! :- )
Last edited by LockBot on Wed Aug 02, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Thu Feb 02, 2023 4:47 pmFrom the second link,

Code: Select all

/etc/modprobe.d/alsa-base.conf
is still in use, being preceded by

Code: Select all

quiet splash
You misunderstood the advice in that link. The advice was to put the information in the /etc/modprobe.d/alsa-base.conf file. (You would add it as a new line at the bottom of the file and then reboot to test if it made a change.)

Instead, you put the file address in grub.

Code: Select all

Feb 02 21:04:07 kame-UNITY-F27W kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-58-generic root=UUID=46d5bb06-32f4-49d4-a3d7-6c97dc7a910b ro quiet splash /etc/modprobe.d/alsa-base.conf
Please remove that from grub.

I don't see the sound card showing in aplay -l. All I see are HDMI outputs.

Did you add firmware? I'm wondering why these lines indicate the firmware is newer than what is in the kernel.

Code: Select all

Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: FW ABI is more recent than kernel
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:20:0 Kernel ABI 3:18:0
Feb 02 21:04:09 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: warn: topology ABI is more recent than kernel
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

EDIT: Disregard what I wrote here, jump to the end. Not solved but getting there I think.
Thanks for your reply =)

Oh dear, and there I thought I was smart just adapting the code for alsabase.config instead. Cheers for that, removed it right away. Fortunately hadn't caused any issues; the initial command actually actually caused alsamixer to show only the first two [00], with the other bars gone.

I've done another test, having realised I hadn't installed alsa-tools. When I checked

Code: Select all

sudo hdajacksensetest -a
, the only answer I got was

Code: Select all

No pins found for card 0 codec 0, did you pick the right one?
. Now, I don't know whether -a was the right one; there's only one headphone jack, but it leads me to presume the sound card may in fact not be recognised. At least not where it's relevant.

Yet, when I run

Code: Select all

sudo lspci -nnk | grep -A2 Audio
I get

Code: Select all

00:0e.0 Multimedia audio controller [0401]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06)
	DeviceName: Onboard - Sound
	Subsystem: Device [02f3:0301]
I think this should mean that it DOES recognise the soundcard. I don't get the HDMI part, either. Because, when I run

Code: Select all

alsactl init
, it gives me

Code: Select all

Found hardware: "sof-hda-dsp" "Intel Geminilake HDMI" "HDA:8086280d,80860101,00100000" "" ""
Hardware is initialized using a generic method
Perhaps I should add that faulty hardware can be ruled out; I'd sent in the original computer once before because it said bye-bye after some innocuos BIOS changes (weird, that, actually) and they've sent me a new one (claiming they've replaced stuff, but, yeah, it was new).

I didn't add any firmware whatsoever. I've checked again, just in case I'd forgotten, but there are no additional drivers installed. No idea why it says it's newer.

Also found this command; dunno whether it may help clarify things but I thought I'd share the output:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2349  100  2349    0     0    322      0  0:00:07  0:00:07 --:--:--   592
cat: /etc/pulse/client.conf.d/01-enable-autospawn.conf: No such file or directory
cat: '/sys/module/snd_soc_skl_hda_dsp/parameters/*': No such file or directory
/usr/sbin/alsa-info: line 661: tree: command not found
https://termbin.com/7eyt
EDIT:
I've attempted the solution suggested here viewtopic.php?f=48&t=377830 and it changed everything. It's quite late and I'll update this thread tomorrow. I now see speakers and a whole lot more on alsamixer. Quite promising; sometimes I even get a popping sound from the speakers, but it keeps switching between headphones and internal speakers. I feel like this might just be the trick, if I/someone figure(s) out how to get rid of the other issues.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Sun Feb 05, 2023 6:02 pmEDIT:
I've attempted the solution suggested here viewtopic.php?f=48&t=377830 and it changed everything. It's quite late and I'll update this thread tomorrow. I now see speakers and a whole lot more on alsamixer. Quite promising; sometimes I even get a popping sound from the speakers, but it keeps switching between headphones and internal speakers. I feel like this might just be the trick, if I/someone figure(s) out how to get rid of the other issues.
Which kernel did you install?

Kernel 5.19 should be available to you in Update Manager, but there are also 6.0-oem and 6.1-oem kernels available.

Instructions for upgrading to the 5.19 kernel:
  • Open Update Manager.
  • Select View > Linux Kernels and click Continue.
  • Make sure 5.19 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear.
  • Install the kernel and then reboot for it to become active.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Alright, it did the trick - sort of. Changing the kernel at least allows me to get sound; alsamixer is also far better equipped, providing a lot more options. It's not quite done yet, however. First of all, the sound options show "Headphones" whilst I'm actually using the speakers. The headphone jack is working, too; I've plugged in external speakers and they produce sound without any issue. Pulse audio says speakers aren't available. Apart from that oddness, there's the more annoying problem that the speakers are muted in alsamixer on startup. And they randomly mute when anything in the sound settings is changed. Other than that, the audio was initially reduced to ~30% and had to be manually changed in alsamixer. Other things get muted/set to 0 values randomly, too. I suspect I'll need to edit the config file to prevent things from going all over the place, though I'm not quite sure how (or even if that's the right move). Oh, and there are some random "pops" coming from the speakers. No idea what's causing this. Sorry if this is a bit jumbled, been writing this in a bit of a hurry; I'll post some output later/tomorrow.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Mon Feb 06, 2023 12:29 pm Alright, it did the trick - sort of. Changing the kernel at least allows me to get sound;
Please provide the current output of aplay -l so we can see what sound card is showing. The output you posted earlier only had HDMI output and no analog or digital sound cards showing.

You seem to have been real busy editing the details and trying to make all kinds of changes in alsa before the basics were even in place. The basics may now be in place now you have the newer kernel installed, but let's see the output to verify that first. If there are no analog/digital sound cards showing in aplay -l, then we will try a newer kernel.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Thanks for the reply; sorry I hadn't replied to your other message, for some reason, it wasn't shown. The new kernel is 5.17.0-1026-oem.
With said kernel in use, I get:

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: sofessx8336 [sof-essx8336], device 0: ES8336 (*) []
  Subdevices: 0/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
Unfortunately, it still is jumping around arbitrarily, randomly muting things and changing sound settings. Just now, it had started with sound; after a restart, there was no sound again. Additionally, there are the odd pops, especially when shutting down. Yet, card 0 as the main device without HDMI seems a step forward (as is frankly hearing sound properly). Perhaps I should've been a bit more specific, I can hear sound just fine now, safe for the random pops and muting when some settings in the sound mixer are changed (or upon startup).

Maybe alsactl init output can shed some light here; it's now giving me

Code: Select all

alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "sof-essx8336" "Intel Geminilake HDMI" "HDA:8086280d,80860101,00100000" "" ""
Hardware is initialized using a generic method
So, it seems like it can't access configuration. Dunno whether that's a mistake on my part due to earlier attempts or due to some other issue.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Tue Feb 07, 2023 6:31 pm Thanks for the reply; sorry I hadn't replied to your other message, for some reason, it wasn't shown. The new kernel is 5.17.0-1026-oem.
With said kernel in use, I get:

aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: sofessx8336 [sof-essx8336], device 0: ES8336 (*) 
The first kernel with support for the essx8336 is the 5.19 kernel. Instead of installing the 5.19 kernel, please install the 6.0-oem kernel. You can install the latest 6.0-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04b
and reboot.

After you upgrade, please supply the output of

Code: Select all

journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"
and we'll see if it mentions missing firmware. There are both newer kernels and SOF firmware available, but we'll see what the messages indicate to get an idea of what your particular computer might need.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

I installed the new kernel, but it's reverted back to dummy output.

journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel" gives me:

Code: Select all

Feb 08 14:54:18 kame-UNITY-F27W kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Feb 08 14:54:19 kame-UNITY-F27W kernel: snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 14:54:19 kame-UNITY-F27W kernel: snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 14:54:19 kame-UNITY-F27W kernel: snd_soc_avs 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: NHLT_DEVICE_I2S detected, ssp_mask 0x5
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk mask 0x2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk SSP2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Direct firmware load for intel/sof-tplg/sof-glk-es8336-ssp2.tplg failed with error -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: error: tplg request firmware intel/sof-tplg/sof-glk-es8336-ssp2.tplg failed err: -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: you may need to download the firmware from https://github.com/thesofproject/sof-bin/
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: error: failed to load DSP topology -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: ASoC: error at snd_soc_component_probe on 0000:00:0e.0: -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: ASoC: failed to instantiate card -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: snd_soc_register_card failed: -2
Feb 08 14:54:19 kame-UNITY-F27W kernel: sof-essx8336: probe of sof-essx8336 failed with error -2
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Wed Feb 08, 2023 10:02 am I installed the new kernel, but it's reverted back to dummy output.
The information I have indicates support for es8336 was added to the 5.19 kernel. I just checked the changelogs for the 5.17-oem kernel you said had sound (but still had problems) and the 6.0-oem kernel for which you just posted output and they both have the same changes added by Canonical. At this point, I am not sure of what to make of the fact you were able to hear sound with the 5.17-oem kernel.

The output you posted indicates a necessary topology firmware file could not be found.

Code: Select all

kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Direct firmware load for intel/sof-tplg/sof-glk-es8336-ssp2.tplg failed with error -2
Because that file could not be found and loaded the card failed to register.

Code: Select all

kernel: sof-essx8336 sof-essx8336: ASoC: failed to instantiate card -2
kernel: sof-essx8336 sof-essx8336: snd_soc_register_card failed: -2
kernel: sof-essx8336: probe of sof-essx8336 failed with error -2
Please go to here and download the zip file for the 6.0 support kernel and see if the missing file is there. If so, place it in the /lib/firmware/intel/sof-tplg/ directory and reboot and then see if the errors clear.

I suspect there might be different variations of the es8336 card because not everyone is seeing the same results with the same kernels. However, I do not yet have enough knowledge on the topic to know what all the differences might be.

Others I have helped with Huawei laptops have been able to get sound through bluetooth devices using the 6.1-oem kernel, but the regular speakers did not work even though there were no errors in their output. From that I deduce there must be different types of es8336 cards so I am not sure what will work best for you.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Alright, I've replaced the files and guess I'm basically back to the situation with the previous kernel. The speakers do their popping upon startup now. Sound options show me "Headphones Celeron/Pentium Silver Processor High Definition Audio." Other than the popping, there's no sound

After accessing alsamixer, I was shown this:
Bildschirmfoto vom 2023-02-08 22-08-22.png
Unmuted everything, turned everything to the max, fiddled around with other settings, but, no sound. Updated the kernel and everything, still no sound.

Output for journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel" is:

Code: Select all

Feb 08 22:06:40 kame-UNITY-F27W kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Feb 08 22:06:41 kame-UNITY-F27W kernel: snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 22:06:41 kame-UNITY-F27W kernel: snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 22:06:41 kame-UNITY-F27W kernel: snd_soc_avs 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: NHLT_DEVICE_I2S detected, ssp_mask 0x5
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk mask 0x2
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk SSP2
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:23:0 Kernel ABI 3:23:0
Feb 08 22:06:42 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: ASoC: Parent card not yet available, widget card binding deferred
Feb 08 22:06:42 kame-UNITY-F27W kernel: input: sof-essx8336 Headset as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input8
Feb 08 22:06:42 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input9
Feb 08 22:06:42 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input10
Feb 08 22:06:42 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input11
Outputs for alsactl init and aplay -l are both unchanged.

In summary, the 5.17 kernel gave me sound whereas the 6.0 one didn't. Both, however, show the same options in alsamixer, so access is there in the latter, but everything's muted. Db counts don't go above 0 in the various settings. I don't know what else can be done with the 6.0 kernel; currently it feels like it may be smartest to revert back to the previous one and find a way to fix the changing settings. I've got a feeling, observing the changes which happen with the new kernel as well, that the changes only occur because it doesn't quite get the speakers and seems to compress it all through the speaker/headphone output. In the regular sound options, I can't change between speakers and headphones as the output device. All it shows me is "stereo". In pulseaudio, I can switch between "headphones" and "speakers", though it says the latter are "not available." It reads the same as with the previous kernel.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Wed Feb 08, 2023 5:39 pm Alright, I've replaced the files and guess I'm basically back to the situation with the previous kernel.
By previous kernel, do you mean the 5.17-oem kernel?
mr1992 wrote: Wed Feb 08, 2023 5:39 pmAfter accessing alsamixer, I was shown this:

Bildschirmfoto vom 2023-02-08 22-08-22.png
So it is showing as a Gemini Lake HDMI? There is no non-HDMI option available as a card in Alsamixer?

Let's give the 6.1-oem kernel a try before going back to the 5.17-oem. You can install the latest 6.1-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04c
and reboot. And then check to make sure there are no tplg errors. Kernel changes sometimes have related tplg changes as well as the developers further troubleshoot reported bugs.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Yup, I meant the 5.17 kernel

So, I've installed the 6.1 kernel; there was sound from the get-go. However, there was still a popping sound upon start up before playing the startup jingle; being suspicious, I restarted the computer a couple of times, and yeah, sound was gone on the third restart. Nothing had changed in alsamixer; I'd checked the settings and they remained fixed. Those were the settings I was shown:
Bildschirmfoto vom 2023-02-09 12-36-42.png
Bildschirmfoto vom 2023-02-09 12-35-05.png
After unmuting "Speaker" and "S/PDIF", sound was back again. That's the same story to the 5.17 kernel again, but with sound this time. And you're right, there are no HDMI options in alsamixer; the two screenshots show all options I was given with all the kernels safe for the first.

Upon kernel installation, I was given the following error:

Code: Select all

W: Possible missing firmware /lib/firmware/i915/dg1_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel" is:

Code: Select all

Feb 09 12:34:04 kame-UNITY-F27W kernel: snd_hda_intel 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 09 12:34:04 kame-UNITY-F27W kernel: snd_soc_skl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 09 12:34:04 kame-UNITY-F27W kernel: snd_soc_avs 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if info 0x040100
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: DSP detected with PCI class/subclass/prog-if 0x040100
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: use msi interrupt mode
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: NHLT_DEVICE_I2S detected, ssp_mask 0x5
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Overriding topology with MCLK mask 0x2 from NHLT
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: hda codecs found, mask 4
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: unknown sof_ext_man header type 3 size 0x30
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware info: version 2:0:0-b678a
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk mask 0x2
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: quirk SSP2
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-audio-pci-intel-apl 0000:00:0e.0: Topology: ABI 3:23:0 Kernel ABI 3:23:0
Feb 09 12:34:05 kame-UNITY-F27W kernel: sof-essx8336 sof-essx8336: ASoC: Parent card not yet available, widget card binding deferred
Feb 09 12:34:05 kame-UNITY-F27W kernel: input: sof-essx8336 Headset as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input8
Feb 09 12:34:05 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input9
Feb 09 12:34:05 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input10
Feb 09 12:34:05 kame-UNITY-F27W kernel: input: sof-essx8336 HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0/input11
I guess all in all, it does look better than before; if I am reading this right, there are no tplg errors. Unless the parent card not being available is one.
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Thu Feb 09, 2023 7:54 amHowever, there was still a popping sound upon start up before playing the startup jingle; being suspicious, I restarted the computer a couple of times, and yeah, sound was gone on the third restart.
Did it pop in each restart as well or did it only pop when you had sound? For some reason it is sticking in my mind someone was getting popping sounds when the audio card was initialized, but I thought that was with either an external sound bar or speakers on a monitor. I can not recall for sure, but I know I've heard others mention a popping initialization type issue.
mr1992 wrote: Thu Feb 09, 2023 7:54 amAfter unmuting "Speaker" and "S/PDIF", sound was back again. That's the same story to the 5.17 kernel again, but with sound this time. And you're right, there are no HDMI options in alsamixer; the two screenshots show all options I was given with all the kernels safe for the first.
When I mentioned the HDMI, I was looking at the chip name. It says "Intel Geminilake HDMI" in both screenshots even though the Element is listed as a headphone.

It seems we are making progress. If I knew what was different about your ex8336 card compared to the others, I might be able to find more info, but at this point I'm not sure on what I should search.
mr1992 wrote: Thu Feb 09, 2023 7:54 amUpon kernel installation, I was given the following error:

Code: Select all

W: Possible missing firmware /lib/firmware/i915/dg1_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc.bin for module i915
Those are warnings (W=Warning), and not errors. They relate to the graphics driver.

If you want to install the missing firmware (which does not appear to apply to your hardware), see this topic How to fix "Possible missing firmware" "for module i915".
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr1992
Level 2
Level 2
Posts: 65
Joined: Mon Apr 11, 2016 7:37 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by mr1992 »

Sorry for the long absence; the sound didn't pop all the time, but also not always when I had sound. I haven't figured out a pattern as to when it does it. However, ti generally does pop when it does have sound and you do something, e.g. change settings, volume, output mode, etc.

I think I've come to a tacit truce regarding the issue. Following the advice I've found here https://dev.to/luisabianca/fix-alsactl- ... tings-130i, I've saved the settings (regular store command didn't work), and the computer does load them up every time it restarts. So, there's sound. It's not perfect, but a workable solution given the circumstances (not my computer and the person involved is a very superficial user).

Yet, I did receive an error just when I opened alsamixer, or rather closed it again, where it said alsa-lib main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2. Well, we'll see whether that bandaid remains in place or fails. I guess it's still a bit far from calling it solved, WIP is probably a better indicator in the title :D
User avatar
SMG
Level 25
Level 25
Posts: 31988
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by SMG »

mr1992 wrote: Mon Feb 27, 2023 1:31 pm I guess it's still a bit far from calling it solved, WIP is probably a better indicator in the title :D
Topics remain open for 6 months so if new information comes up within that time-frame, you can add it.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Phcell
Level 2
Level 2
Posts: 60
Joined: Sun Jan 29, 2023 1:47 pm

Re: Dummy Output Linux Mint 21 Cinnamon 5.4.12, Sound Card Recognised, no sound

Post by Phcell »

hello,
there are many reports in bugzilla that adding this line to grub

Code: Select all

intel_idle.max_cstate=1 
sound stabilizes on celeron/atom devices, you could try maybe it works.
I had similar problems here using SOF, but it only happened after a certain point when the sound passed 60%+
but I also noticed that the sound on linux at 60% was already louder than 100% on windows.
Locked

Return to “Sound”