0

After starting my PC sound ouput "HDMI/Display Port - Eingebautes Tongerät" is selected in the options GUI, which doesn't work so I have to switch to "HDMI/Display Port 3 GP 106 High Defintion Audio Controller".

I tried some solutions from this post How do you set a default audio output device in Ubuntu? but they don't work for me.

What I realized was that as long as I don't change my sound output pactl list short sinks lists

2   alsa_output.pci-0000_00_1b.0.hdmi-stereo    module-alsa-card.c  s16le 2ch 44100Hz   SUSPENDED
7   alsa_output.pci-0000_01_00.1.hdmi-stereo    module-alsa-card.c  s16le 2ch 44100Hz   SUSPENDED

But as soon as I change my output also the result of pactl list short sinks changes to

2   alsa_output.pci-0000_00_1b.0.hdmi-stereo    module-alsa-card.c  s16le 2ch 44100Hz   SUSPENDED
8   alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2 module-alsa-card.c  s16le 2ch 44100Hz   IDLE

I think, that alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2 is actually the sink I'm looking for but I cannot set it as default since it's only available after changing outputs manually.

Is there any solution for my problem or is possible to have a script that selects the correct output at OS start?

OS Version is Ubuntu 22.04.1 LTS.

0 Answers0