You are not logged in.

#1 2020-10-18 17:29:15

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

[SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

Like many I updated to 5.9 yesterday

[2020-10-17T22:38:23-0400] [ALPM] upgraded alsa-topology-conf (1.2.3-1 -> 1.2.4-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded alsa-ucm-conf (1.2.3-2 -> 1.2.4-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded alsa-lib (1.2.3.2-1 -> 1.2.4-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded alsa-utils (1.2.3-2 -> 1.2.4-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded python-lxml (4.5.2-1 -> 4.6.0-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded libjpeg-turbo (2.0.5-2 -> 2.0.5-3)
[2020-10-17T22:38:23-0400] [ALPM] upgraded python-setuptools (1:50.3.1-1 -> 1:50.3.2-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded calibre (5.3.0-1 -> 5.3.0-2)
[2020-10-17T22:38:23-0400] [ALPM] upgraded lib32-alsa-lib (1.2.3.2-1 -> 1.2.4-1)
[2020-10-17T22:38:23-0400] [ALPM] upgraded lib32-libpcap (1.9.1-1 -> 1.9.1-2)
[2020-10-17T22:38:23-0400] [ALPM] upgraded lib32-libusb (1.0.23-1 -> 1.0.23-2)
[2020-10-17T22:38:23-0400] [ALPM] upgraded libheif (1.9.1-1 -> 1.9.1-2)
[2020-10-17T22:38:24-0400] [ALPM] upgraded linux (5.8.14.arch1-1 -> 5.9.1.arch1-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded linux-headers (5.8.14.arch1-1 -> 5.9.1.arch1-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded python-isort (5.6.0-1 -> 5.6.1-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded python-virtualenv (20.0.24-1 -> 20.0.27-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded python2-lxml (4.5.2-1 -> 4.6.0-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded python2-virtualenv (20.0.24-1 -> 20.0.27-1)
[2020-10-17T22:38:26-0400] [ALPM] upgraded vhba-module (20200106-77 -> 20200106-79)
[2020-10-17T22:38:26-0400] [ALPM] upgraded vtk (8.2.0-14 -> 8.2.0-15)
[2020-10-17T22:38:27-0400] [ALPM] transaction completed

after a reboot I'm not able to get any audio out of my speakers. I followed the advice to downgrade alsa-lib to 1.2.3 (had to also downgrade lib32-alsa-lib), but this has not fixed anything.

I can get audio through a bluetooth headset if I connect that, then switch the audio sink in pavucontrol, but nothing out of the default audio device.

❯ lsmod | rg snd             
snd_usb_audio         319488  2
snd_usbmidi_lib        40960  1 snd_usb_audio
snd_rawmidi            45056  1 snd_usbmidi_lib
snd_seq_device         16384  1 snd_rawmidi
mc                     61440  1 snd_usb_audio
snd_hda_codec_realtek   139264  2
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     73728  1
snd_hda_intel          57344  8
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         167936  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
snd_pcm               147456  8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer              45056  2 snd_pcm
snd                   114688  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
/etc/pulse
❯ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.99.2-13-g7f4d7
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is a56b75afec314d34ae031fc6f8ff27b9.
I: [pulseaudio] main.c: Session ID is 1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/leshow/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-13.99/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
/etc/pulse
❯ pacmd list-cards 
2 card(s) available.
    index: 1
	name: <alsa_card.pci-0000_0a_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "0"
		device.description = "Navi 10 HDMI Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: unknown)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:hdmi-stereo-extra4>
	sinks:
		alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4/#0: Navi 10 HDMI Audio Digital Stereo (HDMI 5)
	sources:
		alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4.monitor/#1: Monitor of Navi 10 HDMI Audio Digital Stereo (HDMI 5)
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
		hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 2
	name: <alsa_card.pci-0000_0c_00.4>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "1"
		device.description = "Starship/Matisse HD Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		HiFi: Default (priority 8000, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		[Out] Headphones: Headphones (priority 300, latency offset 0 usec, available: no)
			properties:
				
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Line1: Line Out (priority 200, latency offset 0 usec, available: unknown)
			properties:
				
		[In] Mic1: Front Microphone (priority 100, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic2: Rear Microphone (priority 300, latency offset 0 usec, available: no)
			properties:
				
		[In] Line2: Rear Line In (priority 200, latency offset 0 usec, available: no)
			properties:
				
❯ pacmd list-sinks                                                  
2 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9030
	volume: front-left: 65066 /  99% / -0.19 dB,   front-right: 65066 /  99% / -0.19 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 39.94 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_0a_00.1>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 4"
		alsa.id = "HDMI 4"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "10"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,4"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra4"
		device.profile.description = "Digital Stereo (HDMI 5)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
	active port: <hdmi-output-4>
  * index: 1
	name: <alsa_output.hw_1_4>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9030
	volume: front-left: 64224 /  98% / -0.53 dB,   front-right: 64224 /  98% / -0.53 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.84 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	fixed latency: 100.14 ms
	module: 25
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:1,4"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.description = "Starship/Matisse HD Audio Controller"
		device.icon_name = "audio-card-pci"

I have this in my `/etc/pulse/default.pa`: it was added a long time ago:

load-module module-alsa-sink device=hw:1,4

I can't quite remember how it got there, but if I remove it then run `pulseaudio -k` only the hdmi sink shows up in pavucontrol

Last edited by Cryptix_00 (2020-11-03 17:34:30)

Offline

#2 2020-10-18 17:40:25

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

Okay, I also downgraded alsa-topology-conf, alsa-ucm-conf, alsa-utils  to 1.2.3. After a reboot:

❯ pacmd list-sinks
3 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9030
	volume: front-left: 65066 /  99% / -0.19 dB,   front-right: 65066 /  99% / -0.19 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 39.94 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_0a_00.1>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 4"
		alsa.id = "HDMI 4"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "10"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,4"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra4"
		device.profile.description = "Digital Stereo (HDMI 5)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
	active port: <hdmi-output-4>
  * index: 1
	name: <alsa_output.pci-0000_0c_00.4.HiFi__hw_Generic_4__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: IDLE
	suspend cause: (none)
	priority: 9033
	volume: front-left: 61606 /  94% / -1.61 dB,   front-right: 61606 /  94% / -1.61 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.86 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 3
	fixed latency: 100.14 ms
	card: 1 <alsa_card.pci-0000_0c_00.4>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:Generic,4"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: hw:Generic,4: sink"
		device.profile.description = "Headphones + Speaker"
		alsa.mixer_device = "hw:Generic"
		device.description = "Starship/Matisse HD Audio Controller Headphones + Speaker"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] Headphones: Headphones (priority 300, latency offset 0 usec, available: no)
			properties:
				
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <[Out] Speaker>
    index: 2
	name: <alsa_output.pci-0000_0c_00.4.HiFi__hw_Generic__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9032
	volume: front-left: 58986 /  90% / -2.74 dB,   front-right: 58986 /  90% / -2.74 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.85 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	fixed latency: 100.14 ms
	card: 1 <alsa_card.pci-0000_0c_00.4>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:Generic"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: hw:Generic: sink"
		device.profile.description = "Line Out"
		alsa.mixer_device = "hw:Generic"
		device.description = "Starship/Matisse HD Audio Controller Line Out"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] Line1: Line Out (priority 200, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <[Out] Line1>

reports another sink, this third one is the actual one that, when selected, produces audio.

I'm still not clear on exactly why downgrading made another sink show up though. Is it a bug in alsa or pulse? Am I missing some configuration needed for new versions?

Offline

#3 2020-10-18 18:00:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

I'd say alsa-ucm-conf bug, as those are the ones that should properly set up these device configurations, however looking at the changes it's not entirely conclusive to me what the real breaking change is.

FWIW it does properly recognize the card, but it thinks that the HiFi config is not available anymore. The only thing that changed here that I can see is https://github.com/alsa-project/alsa-uc … 9914b4c5f1

But it would be somewhat weird if that was the cause. If you update again, and revert that one line/patch in the /usr/share/alsa/ucm2/HDA-Intel/HiFi-dual.conf file, does it work properly again?

Offline

#4 2020-10-18 21:55:38

arglebargle
Member
Registered: 2020-10-08
Posts: 6

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

V1del wrote:

But it would be somewhat weird if that was the cause. If you update again, and revert that one line/patch in the /usr/share/alsa/ucm2/HDA-Intel/HiFi-dual.conf file, does it work properly again?

I'll bite here since I'm in the middle of diagnosing the same thing: reverting this change in .../HDA-Intel/HiFi-dual.conf doesn't solve the issue with the HiFi config being unavailable.

edit: I ended up just rolling alsa back to 1.2.3 to get things working today, no issues at the moment.

Last edited by arglebargle (2020-10-18 22:15:00)

Offline

#5 2020-10-19 02:19:05

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

Glad I'm not the only one at least. Thanks for trying. I can give it a go tomorrow also to confirm but I suspect I won't have any more success than you. Please post if you end up figuring out the issue

edit:

ah, there's a bug for it now it seems: https://bugs.archlinux.org/task/68324

Last edited by Cryptix_00 (2020-10-19 02:20:15)

Offline

#6 2020-10-19 04:06:41

arglebargle
Member
Registered: 2020-10-08
Posts: 6

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

Cryptix_00 wrote:

Glad I'm not the only one at least. Thanks for trying. I can give it a go tomorrow also to confirm but I suspect I won't have any more success than you. Please post if you end up figuring out the issue

edit:

ah, there's a bug for it now it seems: https://bugs.archlinux.org/task/68324

Downgrading just `alsa-ucm-conf` to 1.2.3 solved it for me for the moment. Alsa patches for my sound card haven't made it upstream and I have to do some ugly pulseaudio configuration hacks to get that working so I'm hesitant to try and diagnose the root issue much further.

Offline

#7 2020-10-19 14:07:42

jesse233
Member
Registered: 2020-10-19
Posts: 4

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

arglebargle wrote:
Cryptix_00 wrote:

Glad I'm not the only one at least. Thanks for trying. I can give it a go tomorrow also to confirm but I suspect I won't have any more success than you. Please post if you end up figuring out the issue

edit:

ah, there's a bug for it now it seems: https://bugs.archlinux.org/task/68324

Downgrading just `alsa-ucm-conf` to 1.2.3 solved it for me for the moment. Alsa patches for my sound card haven't made it upstream and I have to do some ugly pulseaudio configuration hacks to get that working so I'm hesitant to try and diagnose the root issue much further.



can you give me  `alsa-ucm-conf` 1.2.3 ? I also have this problem

Offline

#8 2020-10-19 14:57:31

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

jesse233 wrote:

can you give me  `alsa-ucm-conf` 1.2.3 ? I also have this problem

https://wiki.archlinux.org/index.php/do … g_packages

Offline

#9 2020-10-19 19:09:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

FWIW this should be fixed in the alsa-lib 1.2.4-2 package (... the bug is technically there so this should work even if alsa-ucm-conf is at 1.2.4-1)

Offline

#10 2020-10-19 21:09:08

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

V1del wrote:

FWIW this should be fixed in the alsa-lib 1.2.4-2 package (... the bug is technically there so this should work even if alsa-ucm-conf is at 1.2.4-1)

I just updated and it does not work for me, I'm missing a sink still:

❯ pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	volume: front-left: 65066 /  99% / -0.19 dB,   front-right: 65066 /  99% / -0.19 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_0a_00.1>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 4"
		alsa.id = "HDMI 4"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "10"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,4"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra4"
		device.profile.description = "Digital Stereo (HDMI 5)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
	active port: <hdmi-output-4>
    index: 1
	name: <alsa_output.hw_1_4>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9030
	volume: front-left: 64224 /  98% / -0.53 dB,   front-right: 64224 /  98% / -0.53 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.86 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	fixed latency: 100.14 ms
	module: 24
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:1,4"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.description = "Starship/Matisse HD Audio Controller"
		device.icon_name = "audio-card-pci"

downgrading alsa-ucm-conf 1.2.3 once again gets it running again:

~
❯ pacmd list-sinks       
3 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9030
	volume: front-left: 65066 /  99% / -0.19 dB,   front-right: 65066 /  99% / -0.19 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 37.27 ms
	max request: 6 KiB
	max rewind: 6 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_0a_00.1>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 4"
		alsa.id = "HDMI 4"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "10"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,4"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra4"
		device.profile.description = "Digital Stereo (HDMI 5)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
	active port: <hdmi-output-4>
    index: 1
	name: <alsa_output.pci-0000_0c_00.4.HiFi__hw_Generic_4__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: IDLE
	suspend cause: (none)
	priority: 9033
	volume: front-left: 61606 /  94% / -1.61 dB,   front-right: 61606 /  94% / -1.61 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.87 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	fixed latency: 100.14 ms
	card: 1 <alsa_card.pci-0000_0c_00.4>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:Generic,4"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: hw:Generic,4: sink"
		device.profile.description = "Headphones + Speaker"
		alsa.mixer_device = "hw:Generic"
		device.description = "Starship/Matisse HD Audio Controller Headphones + Speaker"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] Headphones: Headphones (priority 300, latency offset 0 usec, available: no)
			properties:
				
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <[Out] Speaker>
  * index: 2
	name: <alsa_output.pci-0000_0c_00.4.HiFi__hw_Generic__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: IDLE
	suspend cause: (none)
	priority: 9032
	volume: front-left: 28856 /  44% / -21.37 dB,   front-right: 28856 /  44% / -21.37 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 100.87 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	fixed latency: 100.14 ms
	card: 1 <alsa_card.pci-0000_0c_00.4>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:Generic"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: hw:Generic: sink"
		device.profile.description = "Line Out"
		alsa.mixer_device = "hw:Generic"
		device.description = "Starship/Matisse HD Audio Controller Line Out"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		[Out] Line1: Line Out (priority 200, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <[Out] Line1>

Does the 1.2.4-2 update fix it for anyone else?

Last edited by Cryptix_00 (2020-10-20 02:59:18)

Offline

#11 2020-10-22 03:03:40

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

How frustrating, even after `alsa-ucm-conf-1.2.4-2` and `alsa-libs-1.2.4-3` the error persists, I must still downgrade to alsa-ucm-conf-1.2.3

Note that the aplay -lL output is identical, it's just pulse does not see the 'line out' sink

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 4: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Last edited by Cryptix_00 (2020-10-22 03:56:20)

Offline

#12 2020-11-03 06:16:22

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

I filed a bug here, if anyone else is having this issue and still running into problems, https://github.com/alsa-project/alsa-ucm-conf/issues/58

Offline

#13 2020-11-03 12:46:26

ms.yoshi
Member
Registered: 2019-05-23
Posts: 7

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

I had a similar error happen to me after I updated the system as well.
Not sure if its the same error you are getting, but here is how I solved it here.

I fixed it by adding a parameter on my default.pa so that it would not try to use ucm.
My alsa modules were being loaded by module-udev-detect, so I added the parameter in that line.

default.pa:

...
load-module module-udev-detect tsched=0 fixed_latency_range=yes use_ucm=no
...

I have other parameters there but those I added myself for other reasons, only relevant in this case is use_ucm=no.
If alsa modules are loaded individually, like load-module module-alsa-card or load-module module-alsa-sink, I would try adding it to those lines.

Offline

#14 2020-11-03 16:11:27

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

Thank you for the reply. That seems to work! the sinks are slightly changed from before, but both front and back panel audio seem to work so, that's good news!

~
❯ pacmd list-sinks         
3 sink(s) available.
    index: 0
	name: <alsa_output.pci-0000_0a_00.1.hdmi-stereo-extra4>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	volume: front-left: 61789 /  94% / -1.53 dB,   front-right: 61789 /  94% / -1.53 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_0a_00.1>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 4"
		alsa.id = "HDMI 4"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "10"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcba0000 irq 110"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0a:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:08:00.0/0000:09:00.0/0000:0a:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "hdmi:0,4"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra4"
		device.profile.description = "Digital Stereo (HDMI 5)"
		device.description = "Navi 10 HDMI Audio Digital Stereo (HDMI 5)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "ROG PG348Q"
	active port: <hdmi-output-4>
  * index: 1
	name: <alsa_output.pci-0000_0c_00.4.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9039
	volume: front-left: 63677 /  97% / -0.75 dB,   front-right: 63677 /  97% / -0.75 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 92.00 ms
	max request: 17 KiB
	max rewind: 17 KiB
	monitor source: 2
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	fixed latency: 100.14 ms
	card: 2 <alsa_card.pci-0000_0c_00.4>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Starship/Matisse HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>
    index: 2
	name: <alsa_output.hw_1_4>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	volume: front-left: 64220 /  98% / -0.53 dB,   front-right: 64220 /  98% / -0.53 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 3
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.14 ms
	module: 25
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC1220 Analog"
		alsa.id = "ALC1220 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "4"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.4/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.string = "hw:1,4"
		device.buffering.buffer_size = "17664"
		device.buffering.fragment_size = "2944"
		device.access_mode = "mmap"
		device.description = "Starship/Matisse HD Audio Controller"
		device.icon_name = "audio-card-pci"

Last edited by Cryptix_00 (2020-11-03 16:11:52)

Offline

#15 2020-11-03 16:13:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,428

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

That's technically a workaround, ucm configs are supposed to properly configure this if they are defined for the card.

Offline

#16 2020-11-03 17:33:56

Cryptix_00
Member
Registered: 2008-07-16
Posts: 135

Re: [SOLVED] Latest update broke audio, alsa-lib downgrade didn't fix

https://github.com/alsa-project/alsa-ucm-conf/issues/58

Check out the thread here, it turns out that the card was detected after all just set to 'off' by default. After changing the profile to 'default' everything seems to be working again. This is without `no_ucm` and without the `load-module module-alsa-sink device=hw:1;4` line that I added years ago as a workaround for getting front panel audio working.

Offline

Board footer

Powered by FluxBB