You are not logged in.

#1 2024-09-01 16:02:35

Ambos
Member
Registered: 2024-01-01
Posts: 9
Website

No sound intermittently on "Line Out" (PulseAudio)

Hi!

Two days ago, I updated my Arch Linux installation after a few weeks. Everything went fine after the update until I restarted my computer yesterday afternoon (I turned off my computer during the night). I began to experience some sound issues: sounds coming from my headphone (plugged into the Line Out port of my motherboard) sometimes just stopped for several minutes. The first time it happened, I only unplugged end replugged my headphones and it worked again. But it happened again a few hours later and from this point, it's always been doing that a few minutes after start or reboot. Even if the sound might reappear for a few seconds or minutes, it quickly stops again. Also, when trying to watch videos saved on my hard drive with MPV or one on Youtube from my web browser (LibreWolf), they're sometimes played back slowly (it only happens when I have no sound).

The only way I found to reliably have sound is to use my monitor speakers or plug my headphones into it and select the "HDMI / DisplayPort" audio source from GNOME settings or pavucontrol.

Here is one of my journalctl log using sudo. The relevant part seems to be these lines:

Sep 01 16:06:17 archlinux-desktop kernel: snd_hda_intel 0000:30:00.6: azx_get_response timeout, switching to polling mode: last cmd=0x00170500
Sep 01 16:06:18 archlinux-desktop kernel: snd_hda_intel 0000:30:00.6: No response from codec, disabling MSI: last cmd=0x00170500
Sep 01 16:06:19 archlinux-desktop kernel: snd_hda_intel 0000:30:00.6: azx_get_response timeout, switching to single_cmd mode: last cmd=0x00170500
Sep 01 16:06:19 archlinux-desktop pulseaudio[3875]: Failed to set switch of 'Front': Input/output error
Sep 01 16:06:19 archlinux-desktop pulseaudio[3875]: Failed to set switch of 'Headphone': Input/output error
...
Sep 01 16:07:05 archlinux-desktop kernel: azx_single_wait_for_response: 364 callbacks suppressed
...
Sep 01 16:10:35 archlinux-desktop kernel: azx_single_wait_for_response: 644 callbacks suppressed
...
Sep 01 16:15:02 archlinux-desktop kernel: azx_single_wait_for_response: 630 callbacks suppressed

Here are a few command outputs from before, during and after the issue:

  • pactl list cards, after getting onto GNOME desktop (sound working fine on "Line Out")

    Card #0
    	Name: alsa_card.pci-0000_10_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 6
    	Properties:
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "0"
    		device.description = "GA106 High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:hdmi-stereo
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "video-display"
    				device.product.name = "VG279QM
         "
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
    		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
    
    Card #1
    	Name: alsa_card.pci-0000_30_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 7
    	Properties:
    		alsa.card = "1"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc588000 irq 77"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card1"
    		device.bus = "pci"
    		device.vendor.id = "1002"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
    		device.product.id = "1637"
    		device.product.name = "Renoir Radeon High Definition Audio Controller"
    		device.string = "1"
    		device.description = "Renoir Radeon High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: off
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    
    Card #2
    	Name: alsa_card.pci-0000_30_00.6
    	Driver: module-alsa-card.c
    	Owner Module: 8
    	Properties:
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "2"
    		device.description = "Family 17h/19h HD Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
    		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
    		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
    		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:analog-stereo
    	Ports:
    		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, available)
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-headphones"
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
  • pactl list cards, when the issue happens (no sound on "Line Out")

    Card #0
    	Name: alsa_card.pci-0000_10_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 6
    	Properties:
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "0"
    		device.description = "GA106 High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:hdmi-stereo
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "video-display"
    				device.product.name = "VG279QM
         "
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
    		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
    
    Card #1
    	Name: alsa_card.pci-0000_30_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 7
    	Properties:
    		alsa.card = "1"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc588000 irq 77"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card1"
    		device.bus = "pci"
    		device.vendor.id = "1002"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
    		device.product.id = "1637"
    		device.product.name = "Renoir Radeon High Definition Audio Controller"
    		device.string = "1"
    		device.description = "Renoir Radeon High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: off
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    
    Card #2
    	Name: alsa_card.pci-0000_30_00.6
    	Driver: module-alsa-card.c
    	Owner Module: 8
    	Properties:
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "2"
    		device.description = "Family 17h/19h HD Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 32833, available: yes)
    		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
    		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes)
    		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34133, available: yes)
    		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34033, available: yes)
    		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34133, available: yes)
    		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34033, available: yes)
    		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34133, available: yes)
    		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 34033, available: yes)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:analog-stereo+input:analog-stereo
    	Ports:
    		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, available)
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, available)
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "audio-headphones"
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
  • pactl list cards, after sound reappears on "Line Out"

    Card #0
    	Name: alsa_card.pci-0000_10_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 6
    	Properties:
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "0"
    		device.description = "GA106 High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 33568, available: yes)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:hdmi-stereo
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
    			Properties:
    				device.icon_name = "video-display"
    				device.product.name = "VG279QM
         "
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
    		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
    
    Card #1
    	Name: alsa_card.pci-0000_30_00.1
    	Driver: module-alsa-card.c
    	Owner Module: 7
    	Properties:
    		alsa.card = "1"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc588000 irq 77"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card1"
    		device.bus = "pci"
    		device.vendor.id = "1002"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
    		device.product.id = "1637"
    		device.product.name = "Renoir Radeon High Definition Audio Controller"
    		device.string = "1"
    		device.description = "Renoir Radeon High Definition Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
    		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
    		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
    		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: off
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
    		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "video-display"
    			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
    
    Card #2
    	Name: alsa_card.pci-0000_30_00.6
    	Driver: module-alsa-card.c
    	Owner Module: 8
    	Properties:
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "2"
    		device.description = "Family 17h/19h HD Audio Controller"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Profiles:
    		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
    		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
    		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
    		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 34068, available: yes)
    		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
    		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 33968, available: yes)
    		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: output:analog-stereo+input:analog-stereo
    	Ports:
    		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-input-microphone"
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, not available)
    			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo
    		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, available)
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
    			Properties:
    				device.icon_name = "audio-headphones"
    			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
  • pactl list sinks, after getting onto GNOME desktop (sound working fine on "Line Out")

    Sink #0
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_30_00.6.analog-stereo
    	Description: Family 17h/19h HD Audio Controller Analog Stereo
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 21845 /  33% / -28.63 dB,   front-right: 21845 /  33% / -28.63 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_30_00.6.analog-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC897 Analog"
    		alsa.id = "ALC897 Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "front:2"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "analog-stereo"
    		device.profile.description = "Analog Stereo"
    		device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		analog-output-lineout: Line Out (type: Line, priority: 9000, available)
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
    	Active Port: analog-output-lineout
    	Formats:
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_10_00.1.hdmi-stereo
    	Description: GA106 High Definition Audio Controller Digital Stereo (HDMI)
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 6
    	Mute: no
    	Volume: front-left: 30675 /  47% / -19.78 dB,   front-right: 30675 /  47% / -19.78 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_10_00.1.hdmi-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "VG279QM"
    		alsa.id = "HDMI 0"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "3"
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "hdmi:0"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "hdmi-stereo"
    		device.profile.description = "Digital Stereo (HDMI)"
    		device.description = "GA106 High Definition Audio Controller Digital Stereo (HDMI)"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
    	Active Port: hdmi-output-0
    	Formats:
    		pcm
  • pactl list sinks, when the issue happens (change source to "Headphones", no sound)

    Sink #0
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_30_00.6.analog-stereo
    	Description: Family 17h/19h HD Audio Controller Analog Stereo
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 22827 /  35% / -27.48 dB,   front-right: 22827 /  35% / -27.48 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_30_00.6.analog-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC897 Analog"
    		alsa.id = "ALC897 Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "front:2"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "analog-stereo"
    		device.profile.description = "Analog Stereo"
    		device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		analog-output-lineout: Line Out (type: Line, priority: 9000, available)
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
    	Active Port: analog-output-headphones
    	Formats:
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_10_00.1.hdmi-stereo
    	Description: GA106 High Definition Audio Controller Digital Stereo (HDMI)
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 6
    	Mute: no
    	Volume: front-left: 30675 /  47% / -19.78 dB,   front-right: 30675 /  47% / -19.78 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_10_00.1.hdmi-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "VG279QM"
    		alsa.id = "HDMI 0"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "3"
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "hdmi:0"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "hdmi-stereo"
    		device.profile.description = "Digital Stereo (HDMI)"
    		device.description = "GA106 High Definition Audio Controller Digital Stereo (HDMI)"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
    	Active Port: hdmi-output-0
    	Formats:
    		pcm
  • pactl list sinks, when the issue happens (changed source back to "Line Out", still no sound)

    Sink #0
    	State: IDLE
    	Name: alsa_output.pci-0000_30_00.6.analog-stereo
    	Description: Family 17h/19h HD Audio Controller Analog Stereo
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 24545 /  37% / -25.59 dB,   front-right: 24545 /  37% / -25.59 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_30_00.6.analog-stereo.monitor
    	Latency: 0 usec, configured 40000 usec
    	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC897 Analog"
    		alsa.id = "ALC897 Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "front:2"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "analog-stereo"
    		device.profile.description = "Analog Stereo"
    		device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		analog-output-lineout: Line Out (type: Line, priority: 9000, available)
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
    	Active Port: analog-output-lineout
    	Formats:
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_10_00.1.hdmi-stereo
    	Description: GA106 High Definition Audio Controller Digital Stereo (HDMI)
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 6
    	Mute: no
    	Volume: front-left: 30675 /  47% / -19.78 dB,   front-right: 30675 /  47% / -19.78 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_10_00.1.hdmi-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "VG279QM"
    		alsa.id = "HDMI 0"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "3"
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "hdmi:0"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "hdmi-stereo"
    		device.profile.description = "Digital Stereo (HDMI)"
    		device.description = "GA106 High Definition Audio Controller Digital Stereo (HDMI)"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
    	Active Port: hdmi-output-0
    	Formats:
    		pcm
  • pactl list sinks, when sound reappear on "Line Out" ("Line Out" is still selected)

    Sink #0
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_30_00.6.analog-stereo
    	Description: Family 17h/19h HD Audio Controller Analog Stereo
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 24545 /  37% / -25.59 dB,   front-right: 24545 /  37% / -25.59 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_30_00.6.analog-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "ALC897 Analog"
    		alsa.id = "ALC897 Analog"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "0"
    		alsa.card = "2"
    		alsa.card_name = "HD-Audio Generic"
    		alsa.long_card_name = "HD-Audio Generic at 0xfc580000 irq 78"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:30:00.6"
    		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:30:00.6/sound/card2"
    		device.bus = "pci"
    		device.vendor.id = "1022"
    		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
    		device.product.id = "15e3"
    		device.product.name = "Family 17h/19h HD Audio Controller"
    		device.string = "front:2"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "analog-stereo"
    		device.profile.description = "Analog Stereo"
    		device.description = "Family 17h/19h HD Audio Controller Analog Stereo"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		analog-output-lineout: Line Out (type: Line, priority: 9000, available)
    		analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
    	Active Port: analog-output-lineout
    	Formats:
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: alsa_output.pci-0000_10_00.1.hdmi-stereo
    	Description: GA106 High Definition Audio Controller Digital Stereo (HDMI)
    	Driver: module-alsa-card.c
    	Sample Specification: s16le 2ch 44100Hz
    	Channel Map: front-left,front-right
    	Owner Module: 6
    	Mute: no
    	Volume: front-left: 30675 /  47% / -19.78 dB,   front-right: 30675 /  47% / -19.78 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: alsa_output.pci-0000_10_00.1.hdmi-stereo.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
    	Properties:
    		alsa.resolution_bits = "16"
    		device.api = "alsa"
    		device.class = "sound"
    		alsa.class = "generic"
    		alsa.subclass = "generic-mix"
    		alsa.name = "VG279QM"
    		alsa.id = "HDMI 0"
    		alsa.subdevice = "0"
    		alsa.subdevice_name = "subdevice #0"
    		alsa.device = "3"
    		alsa.card = "0"
    		alsa.card_name = "HDA NVidia"
    		alsa.long_card_name = "HDA NVidia at 0xfc080000 irq 75"
    		alsa.driver_name = "snd_hda_intel"
    		device.bus_path = "pci-0000:10:00.1"
    		sysfs.path = "/devices/pci0000:00/0000:00:01.1/0000:10:00.1/sound/card0"
    		device.bus = "pci"
    		device.vendor.id = "10de"
    		device.vendor.name = "NVIDIA Corporation"
    		device.product.id = "228e"
    		device.product.name = "GA106 High Definition Audio Controller"
    		device.string = "hdmi:0"
    		device.buffering.buffer_size = "352768"
    		device.buffering.fragment_size = "176384"
    		device.access_mode = "mmap+timer"
    		device.profile.name = "hdmi-stereo"
    		device.profile.description = "Digital Stereo (HDMI)"
    		device.description = "GA106 High Definition Audio Controller Digital Stereo (HDMI)"
    		module-udev-detect.discovered = "1"
    		device.icon_name = "audio-card-pci"
    	Ports:
    		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
    	Active Port: hdmi-output-0
    	Formats:
    		pcm

And some system information information.

ambos:~ uname -a
Linux archlinux-desktop 6.10.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:33 +0000 x86_64 GNU/Linux
ambos:~ inxi -b
System:
  Host: archlinux-desktop Kernel: 6.10.7-zen1-1-zen arch: x86_64 bits: 64
  Desktop: GNOME v: 46.4 Distro: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B550 GAMING GEN3 (MS-7B86) v: 5.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: P.80
    date: 07/16/2024
CPU:
  Info: 8-core AMD Ryzen 7 5700G with Radeon Graphics [MT MCP] speed (MHz):
    avg: 1459 min/max: 400/4673
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate] driver: nvidia
    v: 560.35.03
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2 driver: X:
    loaded: modesetting,nvidia dri: radeonsi gpu: nvidia,nvidia-nvswitch
    resolution: 1920x1080
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 1.84 TiB used: 1.35 TiB (73.5%)
Info:
  Memory: total: 28 GiB available: 27.3 GiB used: 3.09 GiB (11.3%)
  Processes: 348 Uptime: 43m Shell: Bash inxi: 3.3.35

Things I tried:

  • Backing up and deleting PulseAudio user configuration in ~/.config/pulse

  • Changing audio source with pavucontrol

  • Using a different headset

  • Using a different port on my machine

  • Adding "snd_hda_intel.single_cmd=1" and "snd_hda_intel.probe_mask=1" as kernel parameters from GRUB like explained on this post on the Gentoo forum

  • Adding "options snd-hda-intel probe_mask=1" then "options snd-hda-intel probe_mask=8" to /etc/modprobe.d/fix-codec-probing.conf like explained on the Ubuntu community wiki and in the Linux Kernel documentation

Notes:

  • Even though I have no sound on "Line Out", pavucontrol and GNOME settings volume bars actually detect audio when playing a video

  • I only have my headphones plugged in the Line Out port but there're 3 audio sources in the GNOME settings ("Line Out", "Headphones", "HDMI / DisplayPort")

  • Booting with "options snd-hda-intel probe_mask=8" seems to make "HDMI / DisplayPort" audio source unavailable

  • Booting from a Ubuntu Cinnamon 22.04 live environment (which uses PulseAudio) gives me the same errors (I wonder if it might be a hardware or firmware issue)

  • Someone recently updated the UEFI firmware for me

Should I reinstall PulseAudio? Replace it with PipeWire? Downgrade the kernel or the UEFI firmware?

I honestly don't know what to do anymore.

Offline

#2 2024-09-01 18:35:49

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

Re: No sound intermittently on "Line Out" (PulseAudio)

The initial error in your first code block reads like a kernel regression, try downgrading the kernel to the last known version/test linux-lts or so (though if this regression happened within the stable release series chances are it got backported to LTS)

Offline

#3 2024-09-04 05:31:04

Ambos
Member
Registered: 2024-01-01
Posts: 9
Website

Re: No sound intermittently on "Line Out" (PulseAudio)

Since I didn't have that issue initially, after upgrading my system and rebooting it, I'm not sure if it's kernel-related (I could say the same about the UEFI firmware though). The fact I had the same error on an Ubuntu live environment with an old kernel is also weird.

But since I don't have any ideas about what to do, I might as well try something.

The last version of the zen kernel I have in my pacman cache is 6.9.7 (I didn't have sound issues with this one but it was before updating the UEFI firmware) so I'll try to downgrade to this one later. Is there something else I have to know before doing that (I read the wiki section about kernel downgrade)? Something related to NVIDIA drivers or headers for example.

Also, I found a USB to audio jack adapter and I have been using it with my headphones for 2 days without any sound issue.

Offline

#4 2024-09-04 11:33:13

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

Re: No sound intermittently on "Line Out" (PulseAudio)

USB cards are distinct cards and usually plug and play so if that's a workable solution you can also use that.

With regards to the kernel, since you're using zen and by logical conclusion also nvidia-dkms the only thing you need to do is that you downgrade both the linux-zen and the corresponding linux-zen-headers to the logically same version, after which DKMS will rebuild the nvidia module for the corresponding headers.

Offline

#5 2024-09-08 23:46:56

Ambos
Member
Registered: 2024-01-01
Posts: 9
Website

Re: No sound intermittently on "Line Out" (PulseAudio)

I updated my kernel to the latest release (6.10.8-zen1) as it merged an interesting fix. Sadly, it didn't fix my issue: "Line Out" still has a sound issue and error messages are still printed to `journald` (I even try to boot with the parameter mentioned here). Then, I tried downgrading to 6.9.7-zen1. The "Line Out" audio source wasn't even being detected with my actual PulseAudio configuration. So, I backed up my confiugration, restored an old one and rebooted. This time, it was available but I still had a sound issue and got the usual kernel error messages.

I'm back on 6.10.8-zen1 now and, as it's been a while since I last got sound working on "Line Out" (it's no longer intermittent), I think there's something wrong on the hardware side... I can still use my USB adapter and my monitor to plug my headphones but not knowing where that sound issue comes from is frustrating.

Offline

Board footer

Powered by FluxBB