pulseaudio – No sound on Monitor HDMI output after upgrading to `ubuntu 22.04` from `ubuntu 20.04`, while audio devices are detecting using `pipewire` session

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Playback/recording through the PulseAudio sound server
hw:CARD=HDMI,DEV=3
    HDA Intel HDMI, Generic Digital
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA Intel HDMI, Generic Digital
    Hardware device with all software conversions
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, Generic Digital
    HDMI Audio Output
dmix:CARD=HDMI,DEV=3
    HDA Intel HDMI, Generic Digital
    Direct sample mixing device
usbstream:CARD=HDMI
    HDA Intel HDMI
    USB Stream Output
hw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    Hardware device with all software conversions
sysdefault:CARD=PCH
    HDA Intel PCH, CX20757 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, CX20757 Analog
    Direct sample mixing device
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
usbstream:CARD=C930e
    Logitech Webcam C930e
    USB Stream Output
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
hwinfo | grep audio
snd_hda_codec_generic: /devices/pci0000:00/0000:00:03.0/hdaudioC0D0
snd_hda_codec_conexant: /devices/pci0000:00/0000:00:1b.0/hdaudioC1D0
   snd-usb-audio: /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2
   snd-usb-audio: /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.3
   snd-usb-audio: module = snd_usb_audio
Can play audio: 
  P: /devices/pci0000:00/0000:00:03.0/hdaudioC0D0
  E: DEVPATH=/devices/pci0000:00/0000:00:03.0/hdaudioC0D0
  E: SUBSYSTEM=hdaudio
  E: MODALIAS=hdaudio:v80862807r00100000a01
  E: DRIVER=snd-usb-audio
  E: ID_TYPE=audio
  E: ID_USB_DRIVER=snd-usb-audio
  E: ID_TYPE=audio
  E: ID_USB_DRIVER=snd-usb-audio
  E: DRIVER=snd-usb-audio
  P: /devices/pci0000:00/0000:00:1b.0/hdaudioC1D0
  E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/hdaudioC1D0
  E: SUBSYSTEM=hdaudio
  E: MODALIAS=hdaudio:v14F15115r00100100a01
/devices/pci0000:00/0000:00:03.0/hdaudioC0D0
/devices/pci0000:00/0000:00:1b.0/hdaudioC1D0
  snd_usb_audio 352256 1 - Live 0x0000000000000000
  snd_usbmidi_lib 45056 1 snd_usb_audio, Live 0x0000000000000000
  mc 65536 5 uvcvideo,videobuf2_v4l2,videobuf2_common,videodev,snd_usb_audio, Live 0x0000000000000000
  ledtrig_audio 16384 1 snd_hda_codec_generic, Live 0x0000000000000000
  snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec, Live 0x0000000000000000
  snd_pcm 143360 6 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core, Live 0x0000000000000000
  snd 106496 24 snd_usb_audio,snd_usbmidi_lib,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer, Live 0x0000000000000000
  Driver: "snd-usb-audio"
  Driver Modules: "snd_usb_audio"
    Driver Status: snd_usb_audio is active
    Driver Activation Cmd: "modprobe snd_usb_audio"
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 491
Tile Size: 65472
User Name: gaurav-agarwal
Host Name: Opportunity
Server Name: PulseAudio (on PipeWire 0.3.56)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_03.0.hdmi-stereo
Default Source: alsa_input.usb-046d_Logitech_Webcam_C930e_5F7C316E-02.analog-stereo
Cookie: ac27:c5e3
$ lsmod | grep snd_hda_intel
snd_hda_intel          53248  2
snd_intel_dspcfg       28672  1 snd_hda_intel
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm               143360  5 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd                   106496  21 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
lspci -nnk | grep -A2 Audio
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
    Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [17aa:3978]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
--
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
    Subsystem: Lenovo 8 Series/C220 Series Chipset High Definition Audio Controller [17aa:3978]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
$ journalctl -b  | grep -i audio
Aug 21 23:25:08 Opportunity kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Aug 21 23:25:40 Opportunity kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0:    dig-out=0x3/0x0
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_generic hdaudioC0D0:    inputs:
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0: CX20757: BIOS auto-probing.
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX20757: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:    inputs:
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1a
Aug 21 23:25:40 Opportunity kernel: snd_hda_codec_conexant hdaudioC1D0:      Mic=0x19
Aug 21 23:25:40 Opportunity kernel: usbcore: registered new interface driver snd-usb-audio
Aug 21 23:26:44 Opportunity dbus-daemon[1119]: [system] Activating via systemd: service name="org.bluez" unit="dbus-org.bluez.service" requested by ':1.44' (uid=122 pid=2776 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo" label="unconfined")
Aug 21 23:28:28 Opportunity systemd[9188]: Listening on PipeWire PulseAudio.
Aug 21 23:28:28 Opportunity systemd[9188]: Started PipeWire PulseAudio.
                                                       [string "policy-bluetooth.lua"]:121: in upvalue 'isBluez5AudioSink'

Read more here: Source link