No audio over HDMI (Linux only)

I use HP Omen 15 with Nvidia RTX 2060. On Windows, everything works as it should. On Linux (Kubuntu 22.10, kernel 5.19.0, Nvidia driver 525.60.11) HDMI does not work; by that I mean that the TU106 card is set as “inactive”, with “off” being the only profile available. What’s interesting is that on Ubuntu 20.04 (KDE Neon 20.04, to be precise) audio worked. I remember using kernel version below 5.16 gave good results.

I have tried all tricks found over the internet to make the audio work on modern kernel/driver version, nothing works. Is this issue known?

Please run as root and attach the resulting nvidia-bug-report.log.gz file to your post.

I attached the log. Thank you.
nvidia-bug-report.log.gz (284.2 KB)

The hdmi audio is detected fine by the driver

*** /proc/asound/card0/eld#0.4
*** ls: -rw-r--r-- 1 root root 0 2022-12-06 14:37:45.134747664 +0100 /proc/asound/card0/eld#0.4
monitor_present		1
eld_valid		1
monitor_name		PL2530H
connection_type		HDMI
eld_version		[0x2] CEA-861D or below
edid_version		[0x3] CEA-861-B, C or D
manufacture_id		0xcd26
product_id		0x6132
port_id			0x400
support_hdcp		0
support_ai		0
audio_sync_delay	0
speakers		[0x1] FL/FR
sad_count		1
sad0_coding_type	[0x1] LPCM
sad0_channels		2
sad0_rates		[0xe0] 32000 44100 48000
sad0_bits		[0xe0000] 16 20 24

Please try checking pulseaudio: