하나의 구성 파일에 있는 Pulseaudio의 두 출력이 제대로 작동하지 않습니다.

하나의 구성 파일에 있는 Pulseaudio의 두 출력이 제대로 작동하지 않습니다.

HDMI와 DP를 통해 사운드를 출력하고 싶습니다. 이 문제를 해결하기 위해 검색한 결과 다음과 같은 내용을 찾았습니다.PulseAudio 카드의 여러 포트/프로필에 고유한 오디오를 출력하는 방법은 무엇입니까?

@dirkt의 답변을 따르고 /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf.

[Profile output:hdmi-stereo+output:hdmi-stereo-extra1]
description = Both
output-mappings = hdmi-stereo hdmi-stereo-extra1
input-mappings =

GUI에서 작동하는 것을 확인했는데 pavucontrol작동하는 것 같습니다. 탭 아래에 HDMI와 DP를 모두 볼 수 있는 새 Both프로필이 있습니다 .ConfigurationOutput Devices

하지만 음악을 재생하면 DP를 통해 연결된 모니터에서 소리가 재생됩니다. HDMI를 통해 모니터에서 소리가 나지 않습니다.

첨부된 사진은 사진입니다 pavucontrol(아, 스크린샷은 잘 모르겠지만 키오스크 시스템입니다 ^^). 여기에 이미지 설명을 입력하세요.

내가 뭐 놓친 거 없니? 미리 감사드립니다!

편집하다: pacmd list-cards:

1 card(s) available.
index: 0
    name: <alsa_card.pci-0000_00_1f.3>
    driver: <module-alsa-card.c>
    owner module: 7
    properties:
            alsa.card = "0"
            alsa.card_name = "HDA Intel PCH"
            alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 140"
            alsa.driver_name = "snd_hda_intel"
            device.bus_path = "pci-0000:00:1f.3"
            sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
            device.bus = "pci"
            device.vendor.id = "8086"
            device.vendor.name = "Intel Corporation"
            device.product.id = "a3f0"
            device.form_factor = "internal"
            device.string = "0"
            device.description = "Built-in Audio"
            module-udev-detect.discovered = "1"
            device.icon_name = "audio-card-pci"
    profiles:
            output:hdmi-stereo+output:hdmi-stereo-extra1: Both (priority 0, available: unknown)
            input:analog-stereo: Analog Stereo Input (priority 60, available: no)
            output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
            output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
            output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
            output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
            output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
            output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
            output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
            output:hdmi-stereo+output:hdmi-stereo-extra1: Both (priority 0, available: unknown)
            input:analog-stereo: Analog Stereo Input (priority 60, available: no)
            output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
            output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
            output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
            output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
            output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
            output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
            output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
            output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: no)
            output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
            output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
            output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
            output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: no)
            output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
            output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: no)
            output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
            output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
            output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
            output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: no)
            output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
            output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: no)
            output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
            output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
            output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
            output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: no)
            off: Off (priority 0, available: unknown)
    active profile: <output:hdmi-stereo+output:hdmi-stereo-extra1>
    sinks:
            alsa_output.pci-0000_00_1f.3.hdmi-stereo/#0: Built-in Audio Digital Stereo (HDMI)
            alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1/#2: Built-in Audio Digital Stereo (HDMI 2)
    sources:
            alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (HDMI)
            alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1.monitor/#2: Monitor of Built-in Audio Digital Stereo (HDMI 2)
    ports:
            hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
                    properties:
                            device.icon_name = "video-display"
            hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
                    properties:
                            device.icon_name = "video-display"
                            device.product.name = "EV2416W"
            analog-input-headphone-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "audio-input-microphone"
            analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "audio-input-microphone"
            analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
                    properties:

            analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                    properties:
                            device.icon_name = "audio-speakers"
            analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "audio-headphones"
            hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "video-display"
            hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "video-display"
            hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                    properties:
                            device.icon_name = "video-display"

관련 정보