[SOLVED] Losting output device audio hdmi

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Arthur-sib
Level 1
Level 1
Posts: 6
Joined: Sat May 23, 2020 12:41 am

[SOLVED] Losting output device audio hdmi

Post by Arthur-sib »

Losting output device audio hdmi

The sound of hdmi is lost when the PC is idle, sometimes when the PC is restarted.
Helps either pulseaudio -k with alternating Cinnamon crash, or switch to the console (ctrl + alt + f1) and back to graphical mode (ctrl + alt + f7)


withuot audio hdmi:

Code: Select all

System:    Kernel: 5.4.0-51-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 
           dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: type: 3 serial: <filter> 
           Mobo: Gigabyte model: 970A-DS3P serial: <filter> UEFI: American Megatrends v: FD date: 02/26/2016 
CPU:       Topology: 8-Core model: AMD FX-8350 bits: 64 type: MCP arch: Bulldozer L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 64295 
           Speed: 1404 MHz min/max: 1400/4000 MHz boost: enabled Core speeds (MHz): 1: 1386 2: 1405 3: 1406 4: 1406 5: 1406 
           6: 1406 7: 1406 8: 1396 
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: ASUSTeK driver: nvidia v: 450.80.02 bus ID: 01:00.0 
           chip ID: 10de:2182 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02 direct render: Yes 
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:1aeb 
           Device-2: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK CMI8786 driver: snd_oxygen v: kernel bus ID: 04:06.0 
           chip ID: 13f6:8788 
           Sound Server: ALSA v: k5.4.0-51-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel 
           port: d000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.84 TiB used: 917.25 GiB (31.6%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 120GB size: 111.79 GiB speed: 6.0 Gb/s serial: <filter> rev: 1B6Q 
           scheme: GPT 
           ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> rev: 4B6Q 
           scheme: MBR 
           ID-3: /dev/sdc vendor: Samsung model: HD502HJ size: 465.76 GiB speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> 
           rev: 0001 scheme: MBR 
           ID-4: /dev/sdd vendor: Western Digital model: WD20EZAZ-00GGJB0 size: 1.82 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 scheme: GPT 
Partition: ID-1: / size: 109.04 GiB used: 32.01 GiB (29.4%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 38.0 C mobo: 36.0 C gpu: nvidia temp: 40 C 
           Fan Speeds (RPM): cpu: 327 fan-1: 577 fan-3: 0 fan-4: 0 fan-5: 0 gpu: nvidia fan: 32% 
           Voltages: 12v: N/A 5v: N/A 3.3v: N/A vbat: 3.10 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-focal.list 
           1: deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/nilarimogard-webupd8-focal.list 
           1: deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://mirror.truenetwork.ru/linuxmint-packages ulyana main upstream import backport
           2: deb http://mirror.truenetwork.ru/ubuntu focal main restricted universe multiverse
           3: deb http://mirror.truenetwork.ru/ubuntu focal-updates main restricted universe multiverse
           4: deb http://mirror.truenetwork.ru/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           Active apt repos in: /etc/apt/sources.list.d/veeam.list 
           1: deb [arch=amd64] http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable veeam
Info:      Processes: 315 Uptime: 17h 33m Memory: 9.75 GiB used: 2.70 GiB (27.7%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Image




with audio hdmi (after ctrl + alt + f1 -> ctrl + alt + f7):

Code: Select all

System:    Kernel: 5.4.0-51-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7 wm: muffin 4.6.3 
           dm: LightDM 1.30.0 Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: type: 3 serial: <filter> 
           Mobo: Gigabyte model: 970A-DS3P serial: <filter> UEFI: American Megatrends v: FD date: 02/26/2016 
CPU:       Topology: 8-Core model: AMD FX-8350 bits: 64 type: MCP arch: Bulldozer L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 64295 
           Speed: 1406 MHz min/max: 1400/4000 MHz boost: enabled Core speeds (MHz): 1: 1405 2: 1403 3: 1404 4: 1406 5: 1403 
           6: 1405 7: 1405 8: 1384 
Graphics:  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: ASUSTeK driver: nvidia v: 450.80.02 bus ID: 01:00.0 
           chip ID: 10de:2182 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 450.80.02 direct render: Yes 
Audio:     Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:1aeb 
           Device-2: C-Media CMI8788 [Oxygen HD Audio] vendor: ASUSTeK CMI8786 driver: snd_oxygen v: kernel bus ID: 04:06.0 
           chip ID: 13f6:8788 
           Sound Server: ALSA v: k5.4.0-51-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel 
           port: d000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.84 TiB used: 917.25 GiB (31.6%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 120GB size: 111.79 GiB speed: 6.0 Gb/s serial: <filter> rev: 1B6Q 
           scheme: GPT 
           ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> rev: 4B6Q 
           scheme: MBR 
           ID-3: /dev/sdc vendor: Samsung model: HD502HJ size: 465.76 GiB speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter> 
           rev: 0001 scheme: MBR 
           ID-4: /dev/sdd vendor: Western Digital model: WD20EZAZ-00GGJB0 size: 1.82 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 scheme: GPT 
Partition: ID-1: / size: 109.04 GiB used: 32.01 GiB (29.4%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 38.0 C mobo: 36.0 C gpu: nvidia temp: 40 C 
           Fan Speeds (RPM): cpu: 327 fan-1: 550 fan-3: 0 fan-4: 0 fan-5: 0 gpu: nvidia fan: 32% 
           Voltages: 12v: N/A 5v: N/A 3.3v: N/A vbat: 3.10 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb http://repository.spotify.com stable non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-focal.list 
           1: deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/nilarimogard-webupd8-focal.list 
           1: deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://mirror.truenetwork.ru/linuxmint-packages ulyana main upstream import backport
           2: deb http://mirror.truenetwork.ru/ubuntu focal main restricted universe multiverse
           3: deb http://mirror.truenetwork.ru/ubuntu focal-updates main restricted universe multiverse
           4: deb http://mirror.truenetwork.ru/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/steam.list 
           1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
           Active apt repos in: /etc/apt/sources.list.d/veeam.list 
           1: deb [arch=amd64] http://repository.veeam.com/backup/linux/agent/dpkg/debian/public stable veeam
Info:      Processes: 302 Uptime: 17h 36m Memory: 9.75 GiB used: 2.38 GiB (24.4%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Image
Last edited by Arthur-sib on Thu Oct 22, 2020 5:35 am, edited 1 time in total.
Image
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: Losting output device audio hdmi

Post by MrEen »

Hi Arthur-sib,

I'm confused. This missing item in the non working case is the Xonar card, not the HDMI card.

Did you mean you're stuck on HDMI when things go wrong?

EDIT: Oops, nevermind, I read that wrong ...
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: Losting output device audio hdmi

Post by MrEen »

See if this stops the issue from happening:

In the terminal enter xed admin:///etc/pulse/default.pa and when the file opens, find this section:

Code: Select all

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
Change it to this:

Code: Select all

### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle
Save the change, reboot and see if the issue still pops up.
Arthur-sib
Level 1
Level 1
Posts: 6
Joined: Sat May 23, 2020 12:41 am

Re: Losting output device audio hdmi

Post by Arthur-sib »

Hi MrEen.

Changed this setting, restarted the OS. But it didn't help.

This problem started on the Mint 20. There was no such problem on Mint 19.3.
Mint 20 reinstalled, but it didn't help either.
Image
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: Losting output device audio hdmi

Post by MrEen »

HDMI audio is more finicky than built-in audio on Linux (always has been) and it's not an area I have experience with personally. We'll need to try guessing at some things to see if we can find something that works for you.

You can revert the last change or leave it in place, it's up to you. It'll cause a small increase in power consumption but you're not using a laptop, so it shouldn't matter.

Now try running this with working audio:

Code: Select all

sudo alsactl store
When the HDMI option disappears, try running this to see if it brings it back:

Code: Select all

sudo alsactl restore
If that doesn't work, let's get a look at the sound setup in both working and non working cases with this command:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
There's be a URL on the last line of output pointing to the info.
Arthur-sib
Level 1
Level 1
Posts: 6
Joined: Sat May 23, 2020 12:41 am

Re: Losting output device audio hdmi

Post by Arthur-sib »

With working audio hdmi - https://termbin.com/wgkd
Doesn't work audio hdmi - https://termbin.com/3z2o

Command sudo alsactl restore runed with warning, audio hdmi restored sucsessfully:

Code: Select all

alsactl: set_control:1461: Cannot write control '2:0:0:IEC958 Playback Default:1' : Operation not permitted
alsactl: set_control:1461: Cannot write control '3:7:0:Playback Channel Map:0' : Device or resource busy
Image
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: Losting output device audio hdmi

Post by MrEen »

Okay, I found the issue. When the sound isn't working, the last line here shows why:

Code: Select all

Card #0
	Name: alsa_card.pci-0000_01_00.1
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfe080000 irq 38"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "1aeb"
		device.product.name = "TU116 High Definition Audio Controller"
		device.string = "1"
		device.description = "TU116 High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) выход (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) выход (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) выход (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) выход (sinks: 1, sources: 0, priority: 600, available: no)
		off: Выключено (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
And the reason it's set to off is due to all other options showing as available: no. On the working sound output, that section shows this:

Code: Select all

	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) выход (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) выход (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) выход (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) выход (sinks: 1, sources: 0, priority: 5700, available: yes)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra6: Digital Stereo (HDMI 7) выход (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra6: Digital Surround 5.1 (HDMI 7) выход (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra6: Digital Surround 7.1 (HDMI 7) выход (sinks: 1, sources: 0, priority: 600, available: no)
		off: Выключено (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:hdmi-stereo-extra1
The fourth option, output:hdmi-stereo-extra1, shows as available: yes

As we already know what the profile should be, we can force it's use and see if that makes the sound work. That would be done with this command:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_01_00.1 output:hdmi-stereo-extra1
After running that, you might need to make that the default sinks as well with this command:

Code: Select all

pacmd set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1
Currently playing sound won't switch over automatically, but any future sounds should start playing to the HDMI output, assuming that works.

In case this is a power saving "feature" at work, I'd suggest running this as well:

Code: Select all

sudo tee /etc/modprobe.d/snd-hda-intel.conf <<<'options snd-hda-intel power_save=0'
In fact, that last line might be all you need to do, I'm not certain. There might be some other power saving feature of the video card that is causing this.
Arthur-sib
Level 1
Level 1
Posts: 6
Joined: Sat May 23, 2020 12:41 am

Re: Losting output device audio hdmi

Post by Arthur-sib »

Executed all commands from last message. 3 days, output hdmi doesn't disappear after idle. MrEen thanks you!
Image
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: Losting output device audio hdmi

Post by MrEen »

You're welcome Arthur-sib.

I'm glad that worked for you. :D
moonshot
Level 1
Level 1
Posts: 1
Joined: Fri Nov 27, 2020 7:56 am

Re: [SOLVED] Losting output device audio hdmi

Post by moonshot »

The CLI command of pulseaudio -k brought back my HDMI controller device without having to restart Mint. Thank you

However, this only happens when Mint screensaver activates and puts my monitor and itself to sleep. So, it seems right that Mint need to do its own pulseaudio -k when it wakes back up even though I am the one who has to manually turn my monitor back on. I suppose, for the time being, I will make a bash script to do it. This is a little annoying.
User avatar
MrEen
Level 22
Level 22
Posts: 15169
Joined: Mon Jun 12, 2017 8:39 pm

Re: [SOLVED] Losting output device audio hdmi

Post by MrEen »

Hi moonshot, and welcome to the forum.

This is actually an Ubuntu issue as far as I know. The best guess I can make is the screensaver/suspend thing is rendering the HDMI output unavailable, so pulseaudio changes the HDMI profile to reflect that and also changes the default output device in the process. I have no clue how to change that other than hacks such as what you propose.
Post Reply

Return to “Newbie Questions”