Sound not working on my desktop

Hi, I need you help. Sound not wouking. DVI-> HDMI

Welcome to Manjaro forum

Please post more information about system

inxi -Fazy

And more information about audio devices

pactl list cards
inxi -Fazy

System:
  Kernel: 6.6.32-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=7e5ac013-1a43-4ba3-8e4c-296e3818bceb rw quiet splash
    resume=UUID=7cad1afc-738f-496a-87b3-8be29aead997 udev.log_priority=3
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.2.0
    wm: kwin_wayland vt: 1 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: HP product: HP 280 G2 MT (Non-Legacy) v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: HP model: 2B5E v: 1.00 serial: <superuser required>
    part-nu: V7Q77EA#ABD uuid: <superuser required> UEFI: AMI v: A0.58
    date: 04/28/2021
CPU:
  Info: model: Intel Core i3-6100 bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
    L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 2975 high: 3700 min/max: 800/3700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3700 2: 3700 3: 3700
    4: 800 bogomips: 29608
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Vulnerable: No microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-1 empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:1912
    class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris wayland: drv: iris x11:
    drv: iris inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    device-ID: 8086:1912 memory: 7.35 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: N/A device: 0 type: integrated-gpu
    name: Intel HD Graphics 530 (SKL GT2) driver: mesa intel v: 24.0.9-manjaro1.1
    device-ID: 8086:1912 surfaces: xcb,xlib,wayland
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 046d:0825
    class-ID: 0102 serial: <filter>
  API: ALSA v: k6.6.32-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Drives:
  Local Storage: total: 912.89 GiB used: 27.78 GiB (3.0%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Gigabyte model: GP-GSTFS31480GNTD
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 61.5 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST3500413AS
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: HP63 scheme: GPT
Partition:
  ID-1: / raw-size: 438.03 GiB size: 430.09 GiB (98.19%) used: 27.78 GiB (6.5%)
    fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 324 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 40.0 C pch: 49.5 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.53 GiB used: 5.05 GiB (67.1%)
  Processes: 250 Power: uptime: 1h 32m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 3 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1514 libs: 459 tools: pamac pm: flatpak pkgs: 0
    Compilers: clang: 17.0.6 gcc: 14.1.1 Shell: Zsh v: 5.9 default: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.34

pactl list cards

Card #42
        Name: alsa_card.usb-046d_0825_97919D00-02
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.alsa.card = "0"
                api.alsa.card.longname = "USB Device 0x46d:0x825 at usb-0000:00:14.0-6, high speed"
                api.alsa.card.name = "USB Device 0x46d:0x825"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "usb"
                device.bus-id = "usb-046d_0825_97919D00-02"
                device.bus_path = "pci-0000:00:14.0-usb-0:6:1.2"
                device.description = "Webcam C270"
                device.enum.api = "udev"
                device.form_factor = "webcam"
                device.icon_name = "camera-web-analog-usb"
                device.name = "alsa_card.usb-046d_0825_97919D00-02"
                device.nick = "USB Device 0x46d:0x825"
                device.plugged.usec = "6067036"
                device.product.id = "0x0825"
                device.product.name = "Webcam C270"
                device.serial = "046d_0825_97919D00"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2/sound/card0"
                device.vendor.id = "0x046d"
                device.vendor.name = "Logitech, Inc."
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "40"
                object.id = "42"
                object.serial = "42"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "USB Device 0x46d:0x825"
                alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:14.0-6, high speed"
                alsa.driver_name = "snd_usb_audio"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0825"
                alsa.id = "U0x46d0x825"
                device.string = "0"
        Profiles:
                off: Вимкнено (sinks: 0, sources: 0, priority: 0, available: yes)
                pro-audio: Професійний звук (sinks: 0, sources: 1, priority: 1, available: yes)
                input:mono-fallback: Моно-вхід (sinks: 0, sources: 1, priority: 1, available: yes)
        Active Profile: input:mono-fallback
        Ports:
                analog-input-mic: Мікрофон (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
                        Properties:
                                port.type = "mic"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:mono-fallback

Card #43
        Name: alsa_card.pci-0000_00_1f.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.alsa.card = "1"
                api.alsa.card.longname = "HDA Intel PCH at 0xdf120000 irq 129"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "hw:1"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio1"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3"
                device.description = "Вбудоване аудіо"
                device.enum.api = "udev"
                device.form_factor = "internal"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.nick = "HDA Intel PCH"
                device.plugged.usec = "5094457"
                device.product.id = "0xa170"
                device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "40"
                object.id = "43"
                object.serial = "43"
                object.path = "alsa:pcm:1"
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdf120000 irq 129"
                alsa.driver_name = "snd_hda_intel"
                alsa.mixer_name = "Realtek ALC221"
                alsa.components = "HDA:10ec0221,103c2b5e,00100103"
                alsa.id = "PCH"
                device.string = "1"
        Profiles:
                off: Вимкнено (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Аналогове двобічне стерео (sinks: 1, sources: 1, priority: 6565, available: yes)
                output:analog-stereo: Аналогове стерео-вихід (sinks: 1, sources: 0, priority: 6500, available: yes)
                input:analog-stereo: Аналогове стерео-вхід (sinks: 0, sources: 1, priority: 65, available: no)
                pro-audio: Професійний звук (sinks: 1, sources: 2, priority: 1, available: yes)
        Active Profile: output:analog-stereo+input:analog-stereo
        Ports:
                analog-input-linein: Лінійний вхід (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 1, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 1"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-input-headset-mic: Мікрофон гарнітури (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "headset"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-lineout: Лінійний вихід (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 3, not available)
                        Properties:
                                port.type = "line"
                                port.availability-group = "Legacy 3"
                                card.profile.port = "2"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-speaker: Акустичні колонки (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 4, availability unknown)
                        Properties:
                                port.type = "speaker"
                                port.availability-group = "Legacy 4"
                                device.icon_name = "audio-speakers"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Аналогові навушники (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "4"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

Isn’t DVI a video-only connector?
Or what do you connect to what?

only DVI (desktop) → HDMI (LG M2380).
If I connect this monitor to another PC in the same way, then everything works

pactl list cards shows one output profile for analog audio

output:analog-stereo: Аналогове стерео-вихід (sinks: 1, sources: 0, priority: 6500, available: yes)

with 2 analog output ports

 analog-output-lineout: Лінійний вихід (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 3, not available)

 analog-output-speaker: Акустичні колонки (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 4, availability unknown)

Online scans for similar systems show ALSA data has one playback device for Analog audio

HW probe of HP 2B5E Desktop Computer (280 G2 MT (Non-Legacy)) #42896b55bb: aplay

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC221 Analog [ALC221 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

No digital output available in ALSA for DVI playback

The original specification for DVI connections does not include audio support. But modern GPU hardware uses HDMI hardware internally that can support audio playback via DVI, HDMI or DisplayPort

GPU card on my system has DVI-D, HDMI and DisplayPort connections, but ALSA only recognises them as HDMI devices

I suspect that the other system is using a proprietary OS, or possibly using the alternate Linux driver snd_soc_avs