Ubuntu 20.04.1 - Audio device disappears
by jfaberna from LinuxQuestions.org on (#591MP)
I have an Nvidia GT 1030 video card with the Nvidia 450 driver installed. My PC is connected to the TV via HDMI cable through a HDMI 2.0 Switch.
On a fresh install of Ubuntu 20.04.1 I have after reboot 2 audio devices in the Setting -> Sound -> Output:
1. Digital Output (S/PIDIF) - Built-in Audio
2. HDMI/DisplayPort - GP108 High definition Audio Controller
With the 2nd audio output device selected (HDMI) my PC plays audio just fine. But if I switch the HDMI switch to another computer and later switch back, the audio is back on device 1, the default, and I have no choice for device #2, HDMI.
My HDMI display comes back when I switch, but not my audio.
Any idea how to fix this?


On a fresh install of Ubuntu 20.04.1 I have after reboot 2 audio devices in the Setting -> Sound -> Output:
1. Digital Output (S/PIDIF) - Built-in Audio
2. HDMI/DisplayPort - GP108 High definition Audio Controller
With the 2nd audio output device selected (HDMI) my PC plays audio just fine. But if I switch the HDMI switch to another computer and later switch back, the audio is back on device 1, the default, and I have no choice for device #2, HDMI.
My HDMI display comes back when I switch, but not my audio.
Any idea how to fix this?