LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-12-2020, 10:08 AM   #1
jfaberna
Member
 
Registered: Jan 2006
Location: North Carolina
Distribution: Ubuntu
Posts: 49

Rep: Reputation: 15
Ubuntu 20.04.1 - Audio device disappears


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?
 
Old 10-13-2020, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,103
Blog Entries: 27

Rep: Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251Reputation: 5251
I have an idea for testing purposes. It's really a shot in the dark.

Try running dmesg and piping the results to a file before making the switch, doing the same thing after switching back, and using diff or meld or a similar tool to compare the two files. I'm wondering whether the devices appear in both files.

If there are no differences, I'm not sure what it would tell us, but, if they are differences, it might provide a clue.
 
Old 10-14-2020, 05:38 AM   #3
jfaberna
Member
 
Registered: Jan 2006
Location: North Carolina
Distribution: Ubuntu
Posts: 49

Original Poster
Rep: Reputation: 15
thanks for the suggestion. I didn't see any differences with dmesg. I used journalctl looking around the time of the switching and could see the event related to Nvidia GPU, but nothing specific to audio.

However, I did get it working. This was my development system and I frequently rebuild it for whatever I need and when I installed from the latest Ubuntu 20.04.1 ISO, it failed to install because of a known bug caused by installing with the include 3rd party drivers on install. So I started over with the "3rd party drivers during install" button unchecked and the install worked.

After installation, I updated all software packages and then enabled Proprietary drivers which in my case is only Nvidia drivers. At this point I still had the audio switching problem. However, when I checked for updated packages I found a few more and they were mostly Nvidia driver updates to version 450.80.02.

After that the audio has been available after switching HDMI signals, i.e. disconnecting the cable electronically.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VLC audio disappears bscho Fedora 4 12-01-2015 05:52 AM
Alsa: USB soundcard device disappears suddenly JonL Linux - General 1 08-04-2012 05:47 AM
Audio input disappears randomly Moshanator Linux - Software 0 12-21-2010 12:12 AM
KDE 4 Device notifier disappears after clicking on show desktop or workspace applets Laodiceans Slackware 5 08-05-2009 04:03 PM
Device named with mkfifo disappears on reboot ColKurtz Linux - Newbie 1 01-28-2005 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration