You are not logged in.

#1 2022-03-29 09:39:14

rootpeer
Member
Registered: 2019-04-07
Posts: 45

[SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

Hello, I am running Arch Linux 5.16.14-arch1-1 on a Lenovo Thinkpad X230T.

I am using a passive adapter to convert DP to HDMI for an external monitor. The DP port is DP++.

I cannot get the HDMI sound device to automatically appear in the KDE system settings and thus, I cannot switch to the HDMI output through the KDE UI.

Here is the output of

pacmd list-cards
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf2530000 irq 32"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "1e20"
                device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 32833, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 39333, available: unknown)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 33968, available: unknown)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 34033, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 38668, available: unknown)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 38733, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 33568, available: unknown)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 33633, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 33568, available: unknown)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 33633, available: unknown)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: unknown)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
                alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Built-in Audio Analog Stereo
        ports:
                analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-dock-mic: Dock Microphone (priority 7800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "Panasonic-TV"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"

The only way to switch to the HDMI output is to manually set it with:

pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:hdmi-stereo

Are there any packages or settings I am missing to make this work through the KDE UI?

Last edited by rootpeer (2022-03-29 11:40:31)

Offline

#2 2022-03-29 09:57:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

Which KDE UI are you looking at? With that kind of cards output you definitely should have a relevant profile selection in the "extended" system settings UI of plasma-pa (and for that matter, in the hamburger menu if you just check the plasmoid/the sys tray integration)

Last edited by V1del (2022-03-29 09:59:09)

Offline

#3 2022-03-29 10:26:26

rootpeer
Member
Registered: 2019-04-07
Posts: 45

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

V1del wrote:

Which KDE UI are you looking at? With that kind of cards output you definitely should have a relevant profile selection in the "extended" system settings UI of plasma-pa (and for that matter, in the hamburger menu if you just check the plasmoid/the sys tray integration)

Both in the System Settings (systemsettings) and the Audio Volume integration of latte-dock. I am using latte-dock and not the usual KDE bar.

Offline

#4 2022-03-29 10:31:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

Can you post a screenshot? Are you using KMix or plasma-pa? iirc KMix profile selection was right clicking on the card control, but haven't used that in a while in favor of plasma-pa

Offline

#5 2022-03-29 11:01:15

rootpeer
Member
Registered: 2019-04-07
Posts: 45

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

V1del wrote:

Can you post a screenshot? Are you using KMix or plasma-pa? iirc KMix profile selection was right clicking on the card control, but haven't used that in a while in favor of plasma-pa

I had both KMix and plasma-pa installed for some reason, I uninstalled KMix before starting to troubleshoot this so I am only using plasma-pa now.

Here is the screenshot with the external display attached without the manual fix:

audio-issue-1.jpg

Here is after I manually switch it to HDMI with pacmd:

audio-issue-2.jpg

Offline

#6 2022-03-29 11:06:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

Yes, and if you click on the profile drop down, that doesn't work/show the HDMI profile? It should and does so here and that would be the analogous action to you manually running the card profile command.

Last edited by V1del (2022-03-29 11:09:03)

Offline

#7 2022-03-29 11:39:39

rootpeer
Member
Registered: 2019-04-07
Posts: 45

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

V1del wrote:

Yes, and if you click on the profile drop down, that doesn't work/show the HDMI profile? It should and does so here and that would be the analogous action to you manually running the card profile command.

Oh yes, silly me. I was expecting a second Playback Device to appear as it does on my desktop.

I didn't think of changing the profile in the dropdown, now it makes sense since it is the same output device and I just need to change the output profile.

Just another case of PEBKAC.

Thank you very much, sorry for taking up your time. Marking as solved.

Last edited by rootpeer (2022-03-29 11:41:21)

Offline

#8 2022-03-29 12:16:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,944

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

On your desktop it's a completely separate card. You can technically manually allocate a profile that shows both rather than doing the switch via the profile logic, but that requires a change in the pulse config files.

Offline

#9 2022-03-29 12:28:37

rootpeer
Member
Registered: 2019-04-07
Posts: 45

Re: [SOLVED] No sound through DP++ to HDMI, no HDMI device option (KDE)

V1del wrote:

On your desktop it's a completely separate card. You can technically manually allocate a profile that shows both rather than doing the switch via the profile logic, but that requires a change in the pulse config files.

Yeah, that is what confused me. No need to go through that hassle, I just needed an easy way to switch from the UI. Thanks again!

Offline

Board footer

Powered by FluxBB