Number of audio issues with Realtek ALC1220 (Gigabyte motherboard)
by resuni from LinuxQuestions.org on (#6Q6SS)
I just built a new PC using a Gigabyte B650I AORUS ULTRA and installed Debian. Nearly everything to do with audio is broken. After some tinkering with pavucontrol, I at least got simple playback to work through the analog output. I'm still having a number of issues.
First, plugging headphones into the headphone jack does not switch the audio to the headphones, and remains playing through the speakers. I know the switch is working, because I can see the state toggle between "plugged in"/"unplugged" in pavucontrol. In case it matters, the case is a MasterBox NR200 and the front panel audio jack is a combined headphone+mic jack.
Second, applications aren't picking up the microphone. When I plug my wired headset into the front panel audio jack, I see the microphone show up as "USB Audio" in pavucontrol and I can see activity when I speak. However, this device does not show up in any of my conferencing applications, like Slack or Google Meet. I do notice that the state of the microphone jack does NOT toggle between "plugged in"/"unplugged" when I plug the headset into the front panel jack.
Lastly, my Bluetooth wireless headset isn't working. Using the KDE bluetooth manager, I pair the device, but it shows an error: "The setup of ATH-M20xBT has failed". I close the wizard, and the device looks to be paired despite the error, but the icon for the device in the KDE bluetooth manager shows the generic bluetooth icon rather than the icon indicating it's an audio device. In the past, I've resolved this by removing module-bluetooth-discover from being loaded in /etc/pulse/default.pa and loading it manually after I log in. That doesn't seem to be working this time. I'm using a bluetooth mouse without issue, so bluetooth otherwise seems to be fine. I know it's not an issue with the headset, because I use it on another Debian system without issue. The journal for bluetooth.service shows the following error when I attempt to pair the headset:
Code:src/device.c:search_cb() FA:26:00:E5:15:D9: error updating services: Host is down (112)Here's some information about my audio devices. Let me know if I need to provide anything else.
Code:$ pacmd list-sources
3 source(s) available.
* index: 2
name: <alsa_output.usb-Generic_USB_Audio-00.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 1040
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 2 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 2
linked by: 2
configured latency: 40.00 ms; range is 16.00 .. 2000.00 ms
monitor_of: 2
card: 1 <alsa_card.usb-Generic_USB_Audio-00>
module: 21
properties:
device.description = "Monitor of USB Audio Analog Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:0f:00.3-2, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:0f:00.3-usb-0:2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb3/3-2/3-2:1.0/sound/card0"
udev.id = "usb-Generic_USB_Audio-00"
device.bus = "usb"
device.vendor.id = "0414"
device.vendor.name = "Giga-Byte Technology Co., Ltd"
device.product.id = "a014"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
index: 3
name: <alsa_input.usb-Generic_USB_Audio-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9049
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 41350 / 63% / -12.00 dB
volume steps: 65537
muted: no
current latency: 8.31 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.usb-Generic_USB_Audio-00>
module: 21
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:0f:00.3-2, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:0f:00.3-usb-0:2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb3/3-2/3-2:1.0/sound/card0"
udev.id = "usb-Generic_USB_Audio-00"
device.bus = "usb"
device.vendor.id = "0414"
device.vendor.name = "Giga-Byte Technology Co., Ltd"
device.product.id = "a014"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "USB Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
active port: <analog-input-mic>
index: 6
name: <alsa_output.pci-0000_0f_00.1.hdmi-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 1030
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 6 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
monitor_of: 5
card: 0 <alsa_card.pci-0000_0f_00.1>
module: 20
properties:
device.description = "Monitor of Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI)"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xf6d88000 irq 118"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0f:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1640"
device.product.name = "Rembrandt Radeon High Definition Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"Code:$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0Code:$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 3: HDMI 0 [ASUS VG289Q1A]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 8: HDMI 2 [VG248]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 9: HDMI 3 [LG Ultra HD]
Subdevices: 1/1
Subdevice #0: subdevice #0Code:$ lsmod | grep snd
snd_hda_codec_hdmi 81920 1
snd_hda_intel 57344 4
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_usb_audio 376832 6
snd_hda_codec 184320 2 snd_hda_codec_hdmi,snd_hda_intel
snd_usbmidi_lib 45056 1 snd_usb_audio
snd_hda_core 122880 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_rawmidi 53248 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
mc 81920 1 snd_usb_audio
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 159744 9 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 49152 1 snd_pcm
snd 126976 26 snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
usbcore 348160 8 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,usb_storage,btusb,xhci_pci,uasCode:$ lspci -knn | grep -i -A4 Audio
0f:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0f:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
--
0f:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
DeviceName: Realtek ALC1220
Subsystem: Gigabyte Technology Co., Ltd Family 17h/19h HD Audio Controller [1458:a0c3]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
10:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]I have spent many hours trying to figure this out, so any help is greatly appreciated!
First, plugging headphones into the headphone jack does not switch the audio to the headphones, and remains playing through the speakers. I know the switch is working, because I can see the state toggle between "plugged in"/"unplugged" in pavucontrol. In case it matters, the case is a MasterBox NR200 and the front panel audio jack is a combined headphone+mic jack.
Second, applications aren't picking up the microphone. When I plug my wired headset into the front panel audio jack, I see the microphone show up as "USB Audio" in pavucontrol and I can see activity when I speak. However, this device does not show up in any of my conferencing applications, like Slack or Google Meet. I do notice that the state of the microphone jack does NOT toggle between "plugged in"/"unplugged" when I plug the headset into the front panel jack.
Lastly, my Bluetooth wireless headset isn't working. Using the KDE bluetooth manager, I pair the device, but it shows an error: "The setup of ATH-M20xBT has failed". I close the wizard, and the device looks to be paired despite the error, but the icon for the device in the KDE bluetooth manager shows the generic bluetooth icon rather than the icon indicating it's an audio device. In the past, I've resolved this by removing module-bluetooth-discover from being loaded in /etc/pulse/default.pa and loading it manually after I log in. That doesn't seem to be working this time. I'm using a bluetooth mouse without issue, so bluetooth otherwise seems to be fine. I know it's not an issue with the headset, because I use it on another Debian system without issue. The journal for bluetooth.service shows the following error when I attempt to pair the headset:
Code:src/device.c:search_cb() FA:26:00:E5:15:D9: error updating services: Host is down (112)Here's some information about my audio devices. Let me know if I need to provide anything else.
Code:$ pacmd list-sources
3 source(s) available.
* index: 2
name: <alsa_output.usb-Generic_USB_Audio-00.analog-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 1040
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 2 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 2
linked by: 2
configured latency: 40.00 ms; range is 16.00 .. 2000.00 ms
monitor_of: 2
card: 1 <alsa_card.usb-Generic_USB_Audio-00>
module: 21
properties:
device.description = "Monitor of USB Audio Analog Stereo"
device.class = "monitor"
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:0f:00.3-2, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:0f:00.3-usb-0:2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb3/3-2/3-2:1.0/sound/card0"
udev.id = "usb-Generic_USB_Audio-00"
device.bus = "usb"
device.vendor.id = "0414"
device.vendor.name = "Giga-Byte Technology Co., Ltd"
device.product.id = "a014"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.string = "0"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
index: 3
name: <alsa_input.usb-Generic_USB_Audio-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9049
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 41350 / 63% / -12.00 dB
volume steps: 65537
muted: no
current latency: 8.31 ms
max rewind: 0 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.usb-Generic_USB_Audio-00>
module: 21
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "USB Audio"
alsa.long_card_name = "Generic USB Audio at usb-0000:0f:00.3-2, high speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:0f:00.3-usb-0:2:1.0"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb3/3-2/3-2:1.0/sound/card0"
udev.id = "usb-Generic_USB_Audio-00"
device.bus = "usb"
device.vendor.id = "0414"
device.vendor.name = "Giga-Byte Technology Co., Ltd"
device.product.id = "a014"
device.product.name = "USB Audio"
device.serial = "Generic_USB_Audio"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "USB Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
active port: <analog-input-mic>
index: 6
name: <alsa_output.pci-0000_0f_00.1.hdmi-stereo.monitor>
driver: <module-alsa-card.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 1030
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max rewind: 6 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
monitor_of: 5
card: 0 <alsa_card.pci-0000_0f_00.1>
module: 20
properties:
device.description = "Monitor of Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI)"
device.class = "monitor"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xf6d88000 irq 118"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:0f:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0f:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "1002"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "1640"
device.product.name = "Rembrandt Radeon High Definition Audio Controller"
device.string = "1"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"Code:$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0Code:$ aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 3: HDMI 0 [ASUS VG289Q1A]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 8: HDMI 2 [VG248]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 9: HDMI 3 [LG Ultra HD]
Subdevices: 1/1
Subdevice #0: subdevice #0Code:$ lsmod | grep snd
snd_hda_codec_hdmi 81920 1
snd_hda_intel 57344 4
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_usb_audio 376832 6
snd_hda_codec 184320 2 snd_hda_codec_hdmi,snd_hda_intel
snd_usbmidi_lib 45056 1 snd_usb_audio
snd_hda_core 122880 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_rawmidi 53248 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
mc 81920 1 snd_usb_audio
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
snd_pcm 159744 9 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer 49152 1 snd_pcm
snd 126976 26 snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
usbcore 348160 8 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,usb_storage,btusb,xhci_pci,uasCode:$ lspci -knn | grep -i -A4 Audio
0f:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
0f:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649]
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
--
0f:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
DeviceName: Realtek ALC1220
Subsystem: Gigabyte Technology Co., Ltd Family 17h/19h HD Audio Controller [1458:a0c3]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
10:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]
Subsystem: Gigabyte Technology Co., Ltd Device [1458:5007]I have spent many hours trying to figure this out, so any help is greatly appreciated!