I've tried every related threads, and nothing worked.
The RPi worked great for years, but ever since the version upgrade to LE12.2.1 there is no sound via HDMI (Plugged into HDMI-0 port, the closest to the USB-C port).
Just:
ALSA: bcm2835 Headphones, bcm2835 Headphones
PULSE: Default, Bluetooth Audio (PULSEAUDIO)
PLEASE HELP
This is the cmdline.txt added variables:
Code
video=HDMI-A-1:1920x1080@60D snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_compat_alsa=1
This is the config.txt (there are extra comments due to all the tests i've made based on multiple threads)
C
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue ([email protected])
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
################################################################################
# Bootloader configuration
# config.txt version v1 (do not remove or change this line!)
################################################################################
# For more options and information see
# http://rpf.io/configtxt
################################################################################
# Default GPU memory split, 76MB are needed for H264 decoder
gpu_mem=76
# Don't send initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
hdmi_ignore_cec_init=1
# Enable 4kp60 output on the first HDMI connector
hdmi_enable_4kp60=1
[all]
################################################################################
# Use distroconfig-composite.txt instead of distroconfig.txt to enable
# composite video output.
# The composite video mode needs to be configured in cmdline.txt:
# For PAL add: video=Composite-1:720x576@50ie
# For NTSC add: video=Composite-1:720x480@60ie
################################################################################
include distroconfig.txt
#include distroconfig-composite.txt
# uncomment to enable analog audio output
dtparam=audio=on
#audio_pwm_mode=1
# uncomment to enable infrared remote receiver connected to GPIO 18
#dtoverlay=gpio-ir,gpio_pin=18
#auto_initramfs=1
#disable_fw_kms_setup=1
#arm_64bit=1
#disable_overscan=1
#arm_boost=1
#[cm4]
#otg_mode=1
#[all]
#hdmi_force_hotplug=1
#hdmi_edid_file=1
#hdmi_group=1
#hdmi_mode=16
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2
#dtoverlay=vc4-kms-v3d
#hdmi_force_hotplug=1
#hdmi_drive=2
#hdmi_force_edid_audio=1
#config_hdmi_boost=4
snd_bcm2835.enable_headphones=1
snd_bcm2835.enable_hdmi=1
snd_bcm2835.enable_compat_alsa=1
hdmi_drive=2
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
dtparam=audio=on
dtoverlay=vc4-kms-v3d,audio=on
Display More
This is the asound.conf
PLEASE HELP