You are not logged in.

#1 2023-04-20 14:51:48

sokol99
Member
Registered: 2021-09-25
Posts: 33

[SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Hi everyone, thanks in advance for helping me out on this one.

I have a fresh install on a CHUWI HeroBox with an Intel Celeron processor and accompanying sound card: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06).

When I install I only get a dummy output option for sound unless I install the sof-firmware package which surfaces a "Speakers" option.  This box will be hooked up to a TV via HDMI so I need an HDMI output option but no luck so far using a few googled /etc/modprobe.d/ configs. 

This is a fresh install and I'm hoping for some wise, methodical approach to pinpointing the issue without cluttering the box so I'm turning to the experts here. smile

Please let me know what info I can pull to help and I will happily do so. 

Thank you!

Last edited by sokol99 (2023-04-23 19:12:09)

Offline

#2 2023-04-20 15:45:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

aplay -lL
pactl list cards
pactl list sinks
pactl list sink-inputs

durin attempted playback for some baseline, use code tags for posting.

Offline

#3 2023-04-20 16:32:07

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Thanks V1del

Here you go! Pulled this while playing a youtube video.  Thankyou.

aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofessx8336
    sof-essx8336, 
    Default Audio Device
usbstream:CARD=sofessx8336
    sof-essx8336
    USB Stream Output
**** 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

pactl list cards

Card #0
	Name: alsa_card.pci-0000_00_0e.0-platform-sof-essx8336
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "sof-essx8336"
		alsa.long_card_name = "IP3Tech-HeroBox-Defaultstring-GB3B"
		alsa.driver_name = "snd_soc_sof_es8336"
		device.bus_path = "pci-0000:00:0e.0-platform-sof-essx8336"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.string = "0"
		device.description = "Celeron/Pentium Silver Processor High Definition Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		input:stereo-fallback: Stereo Input (sinks: 0, sources: 1, priority: 51, available: no)
		output:stereo-fallback: Stereo Output (sinks: 1, sources: 0, priority: 37868, available: yes)
		output:stereo-fallback+input:stereo-fallback: Stereo Output + Stereo Input (sinks: 1, sources: 1, priority: 5151, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:stereo-fallback
	Ports:
		analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:stereo-fallback, output:stereo-fallback+input:stereo-fallback
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:stereo-fallback, output:stereo-fallback+input:stereo-fallback

pactl list sinks

Sink #0
	State: RUNNING
	Name: alsa_output.pci-0000_00_0e.0-platform-sof-essx8336.stereo-fallback
	Description: Celeron/Pentium Silver Processor High Definition Audio Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 47350 /  72% / -8.47 dB,   front-right: 47350 /  72% / -8.47 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_0e.0-platform-sof-essx8336.stereo-fallback.monitor
	Latency: 18136 usec, configured 21334 usec
	Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "ES8336 (*)"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "sof-essx8336"
		alsa.long_card_name = "IP3Tech-HeroBox-Defaultstring-GB3B"
		alsa.driver_name = "snd_soc_sof_es8336"
		device.bus_path = "pci-0000:00:0e.0-platform-sof-essx8336"
		sysfs.path = "/devices/pci0000:00/0000:00:0e.0/sof-essx8336/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3198"
		device.product.name = "Celeron/Pentium Silver Processor High Definition Audio"
		device.string = "hw:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "stereo-fallback"
		device.profile.description = "Stereo"
		device.description = "Celeron/Pentium Silver Processor High Definition Audio Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 1, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

pactl list sink-inputs

Sink Input #10
	Driver: protocol-native.c
	Owner Module: 8
	Client: 32
	Sink: 0
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	Buffer Latency: 28333 usec
	Sink Latency: 21604 usec
	Resample method: copy
	Properties:
		application.icon_name = "chromium-browser"
		media.name = "Playback"
		application.name = "Chromium"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "8313"
		application.process.user = "sokol99"
		application.process.host = "herobox"
		application.process.binary = "chromium"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "421a6169be244f108ae6425957fd04cf"
		application.process.session_id = "1"
		module-stream-restore.id = "sink-input-by-application-name:Chromium"

Offline

#4 2023-04-20 16:46:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Mhm, does any of

speaker-test -Dhw:0,5 -c2
speaker-test -Dhw:0,6 -c2
speaker-test -Dhw:0,7 -c2

give you noise from the HDMI. If these work we probably have some funky UCM config going on. In which case my first test would be editing your /etc/pulse/default.pa and giving https://wiki.archlinux.org/title/PulseA … %22HiFi%22 a shot.

Offline

#5 2023-04-20 16:58:12

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Thanks. So my issue is that HDMI is not a choice in the first place.  There is no HDMI option for Sound output in the gui (Cinnamon).  I will test the above options and get back to you.  Will test it on the actual tv.  Thanks.

Offline

#6 2023-04-20 21:01:23

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Ok, I tried those with no luck on the actual tv.  What causes HDMI to be made an option to select for sound?

Offline

#7 2023-04-22 07:37:40

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

After a little more looking around I wonder if this consistent error I'm getting is related.  A clue?

Apr 20 02:07:58 herobox pulseaudio[458]: Failed to get the verb HiFi
Apr 20 02:07:58 herobox pulseaudio[458]: No UCM verb is valid for hw:0

Offline

#8 2023-04-22 13:27:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,006

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

If none of these gave you any noise then you have a lower level kernel/sof-firmware issues

That message might be related but will only be a tangent to the actual problem. FWIW have you made sure your TV wasn't muted and the actual HDMI devices unmuted? Check

amixer -c0

Last edited by V1del (2023-04-22 14:02:24)

Offline

#9 2023-04-22 16:47:57

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

The TV was definitely not muted. I made sure it was directly connected using the same cable I use for an android tv box.  No HDMI option in sounds.  Just re-verified that. .. I have tried booting with several different distros to see whether they get audio but in each case the best I get by default is a dummy controller. 

Here is the amixer output when directly connected to the tv:

Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 3
  Mono:
  Front Left: Playback 0 [0%] [-48.00dB] [off]
  Front Right: Playback 0 [0%] [-48.00dB] [off]
Simple mixer control 'Headphone Mixer',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 11
  Front Left: 11 [100%] [0.00dB]
  Front Right: 11 [100%] [0.00dB]
Simple mixer control 'Speaker',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic Boost',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Playback Polarity',0
  Capabilities: enum
  Items: 'Normal' 'R Invert' 'L Invert' 'L + R Invert'
  Item0: 'Normal'
Simple mixer control 'Capture Polarity',0
  Capabilities: enum
  Items: 'Normal' 'Invert'
  Item0: 'Normal'
Simple mixer control 'ADC',0
  Capabilities: cvolume cvolume-joined
  Capture channels: Mono
  Limits: Capture 0 - 192
  Mono: Capture 115 [60%] [-38.50dB]
Simple mixer control 'ADC Double Fs',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ADC PGA Gain',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 10
  Mono: 0 [0%] [-3.50dB]
Simple mixer control 'ADC Soft Ramp',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'ALC',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'ALC Capture Attack Time',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 10
  Mono: 2 [20%]
Simple mixer control 'ALC Capture Decay Time',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 10
  Mono: 3 [30%]
Simple mixer control 'ALC Capture Hold Time',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 10
  Mono: 0 [0%]
Simple mixer control 'ALC Capture Max',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 28
  Mono: 28 [100%] [35.50dB]
Simple mixer control 'ALC Capture Min',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 28
  Mono: 0 [0%] [-12.00dB]
Simple mixer control 'ALC Capture Noise Gate',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'ALC Capture Noise Gate Threshold',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 31
  Mono: 0 [0%]
Simple mixer control 'ALC Capture Noise Gate Type',0
  Capabilities: enum
  Items: 'Constant PGA Gain' 'Mute ADC Output'
  Item0: 'Constant PGA Gain'
Simple mixer control 'ALC Capture Target',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 10
  Mono: 11 [110%] [0.00dB]
Simple mixer control 'DAC',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 192
  Mono:
  Front Left: Playback 115 [60%] [-38.50dB]
  Front Right: Playback 115 [60%] [-38.50dB]
Simple mixer control 'DAC Double Fs',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC Mono Mix',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC Notch Filter',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC Soft Ramp',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DAC Soft Ramp Rate',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 4
  Mono: 4 [100%]
Simple mixer control 'DAC Source Mux',0
  Capabilities: enum
  Items: 'LDATA TO LDAC, RDATA TO RDAC' 'LDATA TO LDAC, LDATA TO RDAC' 'RDATA TO LDAC, RDATA TO RDAC' 'RDATA TO LDAC, LDATA TO RDAC'
  Item0: 'LDATA TO LDAC, RDATA TO RDAC'
Simple mixer control 'DAC Stereo Enhancement',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 0 [0%]
Simple mixer control 'Differential Mux',0
  Capabilities: enum
  Items: 'lin1-rin1' 'lin2-rin2' 'lin1-rin1 with 20db Boost' 'lin2-rin2 with 20db Boost'
  Item0: 'lin1-rin1'
Simple mixer control 'Digital Mic Mux',0
  Capabilities: enum
  Items: 'dmic disable' 'dmic data at high level' 'dmic data at low level'
  Item0: 'dmic disable'
Simple mixer control 'Headset Mic',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Internal Mic',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Left Headphone Mixer LLIN',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Left Headphone Mixer Left DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Left Headphone Mux',0
  Capabilities: enum
  Items: 'lin1-rin1' 'lin2-rin2' 'lin-rin with Boost' 'lin-rin with Boost and PGA'
  Item0: 'lin1-rin1'
Simple mixer control 'PGA1.0 1 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA2.0 2 PCM 0',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 40
  Front Left: Capture 32 [80%] [0.00dB]
  Front Right: Capture 32 [80%] [0.00dB]
Simple mixer control 'PGA5.0 5 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA6.0 6 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'PGA7.0 7 Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 32
  Mono:
  Front Left: Playback 32 [100%] [0.00dB]
  Front Right: Playback 32 [100%] [0.00dB]
Simple mixer control 'Right Headphone Mixer RLIN',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Right Headphone Mixer Right DAC',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Right Headphone Mux',0
  Capabilities: enum
  Items: 'lin1-rin1' 'lin2-rin2' 'lin-rin with Boost' 'lin-rin with Boost and PGA'
  Item0: 'lin1-rin1'

Any other ideas? I'm hoping to make this a long term media player/browser to use with the tv...  I'd like to understand why HDMI is not an option. Seems that's one obvious way to work backwards to the problem?  ..But I'm not the expert here. smile  Thanks, J

Offline

#10 2023-04-23 14:53:29

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

I also found this on a Chuwi support forum for an intel-based tablet that runs the "same "N4100 processor (System information technically calls mine a J4125).

They claim this is to specifically set sound output to HDMI:

#!/bin/bash

amixer set ‘IEC958’ unmute
pactl set-default-sink alsa_output.pci-0000_00_0e.0-platform-sof-essx8336.pro-output-5

I had to modify this to be

amixer -c0 set IEC958 unmute

But the second command fails because the sink is not found. So, again, this seems to point to the system's lack of HDMI sound output option...


Maybe?

Last edited by sokol99 (2023-04-23 18:03:26)

Offline

#11 2023-04-23 19:11:22

sokol99
Member
Registered: 2021-09-25
Posts: 33

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Hi, so I found the answer.

The page I found said "There's a regression in the 5.3.0-41 and -42 kernel that causes a new "dummy output" issue."

The recommended fix worked for me. Yeah!

echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf
echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf

Then reboot.  With that HDMI was there and working great!  Very happy. smile

Thanks for taking your time to help me troubleshoot!

Offline

#12 2023-08-10 08:59:16

x4ipx
Member
Registered: 2023-08-10
Posts: 1

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

echo "options snd-hda-intel dmic_detect=0" | sudo tee -a /etc/modprobe.d/alsa-base.conf
echo "blacklist snd_soc_skl" | sudo tee -a /etc/modprobe.d/blacklist.conf

Thanks a lot for the solution. Helped me too!

Offline

#13 2023-08-10 11:35:22

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] Intel Celeron/Pentium Silver- no HDMI sound output option

Closing this solved topic.

Offline

Board footer

Powered by FluxBB