You are not logged in.

#1 2021-02-05 08:35:15

appetrosyan3
Member
Registered: 2021-02-05
Posts: 4

Onboard Sound LineOut profile not detected.

Hi. I've recently installed Arch on a new SSD, and found that the newer installation has issues with sound.

In particular, the onboard

 Family 17 HD Audio Line Out 

card is set to the profile "off" and pavucontrol shows that the only other profile is "default (unavailable)". Keeping things at off -- no sound. If I select the "unavailable" sound source the sound works and goes as you would expect. But to have sound, you have to do that after every boot, and you can only do that using "pavucontrol" (

 kmix 

does not show any profile other than "off").

As a workaround, I've added the following line to

 /etc/pulsed/default.pa 
 set-card-profile 2 HiFi 

.

This does not make the profile available, but it does at least force the output to work after a reboot. It's not a fix, it's a workaround essentially.

What the problem is that I needed to set up some Compressors/Gates in

 pulseffects 

. After a bit of digging I figured out that I need to use

 pipewire-pulse 

instead of pulseuadio, which I had. I installed

 pipewire 

as well as the drop-in replacement, for pulse, and now I have no sound. In particular, choosing the "default (unavailable)" (which is HiFi in my case) profile, immediately reverts back to being "off".

  mv /etc/pulse/default.pa.pacnew /etc/pulse/default.pa 

didn't seem to help either.

I've moved back to

 pulseaudio 

  to have some sound at least, but I'd really like to fix the issue. It doesn't seem like the normal mode of operation for the sound system on Linux, and I want to know if it's a hardware issue, a bug in the kernel, or a bug in how I've configured the system (more likely the latter).

Offline

#2 2021-02-05 09:59:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,062

Re: Onboard Sound LineOut profile not detected.

Profile information in this space is determined by UCM configuration from the alsa-ucm-conf package. These are plain text files you can potentially coerce into not mistakenly think that the card is not available.

Maybe post a

pacmd list-cards
pacmd list-sinks
sudo dmesg | grep -E 'snd|sof'

so we can have some actual system state information.

FWIW if this is just about pulseeffects you could also just install the legacy variant that is still compatible with pulseaudio: https://aur.archlinux.org/packages/pulseeffects-legacy/

Offline

#3 2021-02-06 22:36:50

appetrosyan3
Member
Registered: 2021-02-05
Posts: 4

Re: Onboard Sound LineOut profile not detected.

 
$ pacmd list-cards 
3 card(s) available.
    index: 0
	name: <alsa_card.usb-046d_0825_28918B50-02>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "USB Device 0x46d:0x825"
		alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:01:00.0-7, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:01:00.0-usb-0:7:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:01:00.0/usb1/1-7/1-7:1.2/sound/card0"
		udev.id = "usb-046d_0825_28918B50-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0825"
		device.product.name = "Webcam C270"
		device.serial = "046d_0825_28918B50"
		device.form_factor = "webcam"
		device.string = "0"
		device.description = "Webcam C270"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:mono-fallback: Mono Input (priority 1, available: unknown)
		input:multichannel-input: Multichannel Input (priority 1, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:mono-fallback>
	sources:
		alsa_input.usb-046d_0825_28918B50-02.mono-fallback/#0: Webcam C270 Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 1
	name: <alsa_card.pci-0000_07_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfcf60000 irq 55"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:07:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:07:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "aaf0"
		device.product.name = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		device.string = "1"
		device.description = "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]"
		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: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		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: <off>
	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: no)
			properties:
				device.icon_name = "video-display"
		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_09_00.3>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.string = "2"
		device.description = "Family 17h (Models 00h-0fh) 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: <HiFi>
	sinks:
		alsa_output.pci-0000_09_00.3.HiFi__hw_Generic_4__sink/#1: Family 17h (Models 00h-0fh) HD Audio Controller Headphones + Speaker
		alsa_output.pci-0000_09_00.3.HiFi__hw_Generic__sink/#2: Family 17h (Models 00h-0fh) HD Audio Controller Line Out
	sources:
		alsa_output.pci-0000_09_00.3.HiFi__hw_Generic_4__sink.monitor/#2: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Headphones + Speaker
		alsa_output.pci-0000_09_00.3.HiFi__hw_Generic__sink.monitor/#3: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Line Out
		alsa_input.pci-0000_09_00.3.HiFi__hw_Generic_4__source/#4: Family 17h (Models 00h-0fh) HD Audio Controller Front Microphone
		alsa_input.pci-0000_09_00.3.HiFi__hw_Generic__source/#5: Family 17h (Models 00h-0fh) HD Audio Controller Rear Microphone + Rear Line In
	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: 1
	name: <alsa_output.pci-0000_09_00.3.HiFi__hw_Generic_4__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9033
	volume: front-left: 38400 /  59% / -13.93 dB,   front-right: 38400 /  59% / -13.93 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: 2
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.14 ms
	card: 2 <alsa_card.pci-0000_09_00.3>
	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 = "4"
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) 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 = "Family 17h (Models 00h-0fh) 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] Headphones>
  * index: 2
	name: <alsa_output.pci-0000_09_00.3.HiFi__hw_Generic__sink>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9032
	volume: front-left: 13104 /  20% / -41.94 dB,   front-right: 13104 /  20% / -41.94 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
	card: 2 <alsa_card.pci-0000_09_00.3>
	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 = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HDAudio-Gigabyte-ALC1220DualCodecs"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:09:00.3"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:09:00.3/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "1457"
		device.product.name = "Family 17h (Models 00h-0fh) 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 = "Family 17h (Models 00h-0fh) 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>
$ pkexec dmesg | grep -E 'snd|sof' 
[    4.605284] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    4.605351] snd_hda_intel 0000:07:00.1: Force to non-snoop mode
[    4.605541] snd_hda_intel 0000:09:00.3: enabling device (0000 -> 0002)
[    4.671969] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    4.671971] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.671972] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.671973] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    4.671974] snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x1e/0x0
[    4.671975] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    4.671976] snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
[    4.671977] snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
[    4.718932] snd_hda_codec_realtek hdaudioC2D1: autoconfig for ALC1220: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:hp
[    4.718936] snd_hda_codec_realtek hdaudioC2D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.718938] snd_hda_codec_realtek hdaudioC2D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.718939] snd_hda_codec_realtek hdaudioC2D1:    mono: mono_out=0x0
[    4.718940] snd_hda_codec_realtek hdaudioC2D1:    inputs:
[    4.718942] snd_hda_codec_realtek hdaudioC2D1:      Front Mic=0x1a
[    4.756348] snd_hda_intel 0000:07:00.1: bound 0000:07:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    5.922219] usbcore: registered new interface driver snd-usb-audio

Offline

#4 2021-02-12 08:26:08

appetrosyan3
Member
Registered: 2021-02-05
Posts: 4

Re: Onboard Sound LineOut profile not detected.

Not much can be done, eh?

Offline

#5 2021-02-13 11:09:39

appetrosyan3
Member
Registered: 2021-02-05
Posts: 4

Re: Onboard Sound LineOut profile not detected.

I've managed to get an older version of Arch on a separate HDD to boot. It doesn't seem to have these issues. Not only do I *not* need to get into the guts of ALSA and Pulseaudio, but also the audio profile is not shown as unavailable... On the same machine.

So I guess the issue could be the kernel (old is pre 5.9) or it could be the audio configuration on this current system. Any ideas how to do that?

Offline

Board footer

Powered by FluxBB