You are not logged in.

#1 2023-04-15 07:13:20

monnux
Member
From: Finland
Registered: 2023-04-15
Posts: 6

losing audio, cracking/popping when works.

Hi, noobie here.

I recently installed Arch Linux due to being tired with Windows.
No problems other than having popping when audio is playing, and after trying to fix it I have ended up with not having any sound despite devices being picked up and pavucontrol showing that audio is playing.
I am at a loss here so I hope someone can help me fix this mess that I made, I'll gladly take the popping instead of nothing.

As far as I can tell I am using ALSA with PulseAudio. I have a USB audio interface plugged directly into my motherboard so no case ports or usb-hubs.
ASUS X470 Crosshair VII Hero Wi-Fi, Ryzen 3700X, AMD Radeon 6900XT, and my Arch Linux is on a Samsung 1TB nvme drive.

I have tried my best to attempt solutions in ALSA/Troubleshooting and PulseAudio/Troubleshooting wiki articles. I hope someone is willing to help me out.
I don't know all the commands yet so here are dumps from what I think are relevant.

Linux 6.2.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 07 Apr 2023 02:10:43 +0000 x86_64 GNU/Linux
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: U192k [UMC204HD 192k], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [LC49G95T]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [AORUS AD27QD]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lsmod | grep '^snd' | column -t
snd_hda_codec_realtek  196608  1
snd_hda_codec_generic  110592  1   snd_hda_codec_realtek
snd_hda_codec_hdmi     94208   1
snd_hda_intel          65536   4
snd_intel_dspcfg       36864   1   snd_hda_intel
snd_intel_sdw_acpi     20480   1   snd_intel_dspcfg
snd_hda_codec          217088  4   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usb_audio          442368  10
snd_hda_core           139264  5   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_usbmidi_lib        53248   1   snd_usb_audio
snd_rawmidi            53248   1   snd_usbmidi_lib
snd_hwdep              20480   2   snd_usb_audio,snd_hda_codec
snd_seq_device         16384   1   snd_rawmidi
snd_pcm                200704  6   snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer              53248   2   snd_pcm
snd                    151552  38  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

Offline

#2 2023-04-15 13:49:11

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

Re: losing audio, cracking/popping when works.

Post during a playback attempt

 sudo fuser -v /dev/snd/*
aplay -L
pactl list cards
pactl list sinks
pactl list sink-inputs
ps -elf | grep -E 'pulse|pipewire'

Also how did the "stutters" manifest exactly? During playback/continuous/a certain pattern?

What exactly did you try to configure that lead to your current problems and which exact files configurations are still left over? Mentioning you followed some links without mentioning what exactly you followed and what the current state is is relatively useless

Last edited by V1del (2023-04-15 13:57:21)

Offline

#3 2023-04-15 15:54:47

monnux
Member
From: Finland
Registered: 2023-04-15
Posts: 6

Re: losing audio, cracking/popping when works.

The popping manifests during any playback be it from discord, youtube, a game. I tried changing the default audio device per https://wiki.archlinux.org/title/Advanc … sound_card, I set default-sample-rate and alternate-sample-rate to 48000. I also have set the kernel parameter of radeon.audio=0, might have forgotten some other thing I have done. Learning the hard way that should keep up notes and back ups...

aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
    Default Audio Device
sysdefault
    Default Audio Device
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default:CARD=U192k
    UMC204HD 192k, USB Audio
    Default Audio Device
sysdefault:CARD=U192k
    UMC204HD 192k, USB Audio
    Default Audio Device
usbstream:CARD=U192k
    UMC204HD 192k
    USB Stream Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, LC49G95T
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, AORUS AD27QD
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
default:CARD=Generic
    HD-Audio Generic, ALC1220 Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, ALC1220 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC1220 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
usbstream:CARD=Webcam
    C922 Pro Stream Webcam
    USB Stream Output
pactl list cards
Card #0
	Name: alsa_card.usb-046d_C922_Pro_Stream_Webcam_AA79661F-02
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "3"
		alsa.card_name = "C922 Pro Stream Webcam"
		alsa.long_card_name = "C922 Pro Stream Webcam at usb-0000:02:00.0-12, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:02:00.0-usb-0:12:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1-12/1-12:1.2/sound/card3"
		udev.id = "usb-046d_C922_Pro_Stream_Webcam_AA79661F-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "085c"
		device.product.name = "C922 Pro Stream Webcam"
		device.serial = "046d_C922_Pro_Stream_Webcam_AA79661F"
		device.form_factor = "webcam"
		device.string = "3"
		device.description = "C922 Pro Stream Webcam"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		input:iec958-stereo: Digital Stereo (IEC958) Input (sinks: 0, sources: 1, priority: 55, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: input:analog-stereo
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo
		iec958-stereo-input: Digital Input (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): input:iec958-stereo

Card #1
	Name: alsa_card.pci-0000_0c_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 0xfc624000 irq 117"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.0/0000:0b:00.0/0000:0c:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab28"
		device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
		device.string = "1"
		device.description = "Navi 21/23 HDMI/DP 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-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: 38468, available: yes)
		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)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) 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 = "LC49G95T"
			Part of profile(s): output:hdmi-stereo
		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, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "AORUS AD27QD"
			Part of profile(s): output:hdmi-stereo-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
		hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
		hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #2
	Name: alsa_card.usb-BEHRINGER_UMC204HD_192k-00
	Driver: module-alsa-card.c
	Owner Module: 8
	Properties:
		alsa.card = "0"
		alsa.card_name = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:0e:00.3-4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:0e:00.3-usb-0:4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-4/7-4:1.0/sound/card0"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "0"
		device.description = "UMC204HD 192k"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Profiles:
		Direct: Direct UMC204HD 192k (sinks: 1, sources: 1, priority: 1, available: yes)
		HiFi: Default (sinks: 2, sources: 2, priority: 8000, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] Direct: Direct UMC204HD 192k (type: Unknown, priority: 1000, latency offset: 0 usec, availability unknown)
			Part of profile(s): Direct
		[In] Direct: Direct UMC204HD 192k (type: Unknown, priority: 1000, latency offset: 0 usec, availability unknown)
			Part of profile(s): Direct
		[Out] Line2: Line B (type: Line, priority: 100, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi
		[Out] Line1: Line A (type: Line, priority: 200, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi
		[In] Mic2: Input 2 (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi
		[In] Mic1: Input 1 (type: Mic, priority: 200, latency offset: 0 usec, availability unknown)
			Part of profile(s): HiFi

Card #3
	Name: alsa_card.pci-0000_0e_00.4
	Driver: module-alsa-card.c
	Owner Module: 9
	Properties:
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 119"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0e:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0e:00.4/sound/card2"
		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 = "2"
		device.description = "Starship/Matisse 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: 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 38268, available: yes)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5565, available: yes)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (sinks: 1, sources: 0, priority: 300, available: yes)
		output:iec958-ac3-surround-51+input:analog-stereo: Digital Surround 5.1 (IEC958/AC3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 365, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:iec958-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:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+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:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+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:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, not 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
		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
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, latency offset: 0 usec, availability unknown)
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo
pactl list sinks
Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_0c_00.1.hdmi-stereo
	Description: Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	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
	Monitor Source: alsa_output.pci-0000_0c_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 = "LC49G95T"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "1"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfc624000 irq 117"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0c:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.0/0000:0b:00.0/0000:0c:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab28"
		device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
		device.string = "hdmi:1"
		device.buffering.buffer_size = "19200"
		device.buffering.fragment_size = "3840"
		device.access_mode = "mmap"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Navi 21/23 HDMI/DP 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

Sink #1
	State: SUSPENDED
	Name: alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_2_3__sink
	Description: UMC204HD 192k Line B
	Driver: module-alsa-card.c
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 8
	Mute: no
	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
	Monitor Source: alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_2_3__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
	Properties:
		alsa.resolution_bits = "32"
		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 = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:0e:00.3-4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:0e:00.3-usb-0:4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-4/7-4:1.0/sound/card0"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "_ucm0005.umc204hd_stereo_out:U192k,0,2,3"
		device.buffering.buffer_size = "38400"
		device.buffering.fragment_size = "3840"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: umc204hd_stereo_out:U192k,0,2,3: sink"
		device.profile.description = "Line B"
		alsa.mixer_device = "_ucm0005.default:U192k"
		device.description = "UMC204HD 192k Line B"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		[Out] Line2: Line B (type: Line, priority: 100, availability unknown)
	Active Port: [Out] Line2
	Formats:
		pcm

Sink #2
	State: RUNNING
	Name: alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_0_1__sink
	Description: UMC204HD 192k Line A
	Driver: module-alsa-card.c
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 8
	Mute: no
	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
	Monitor Source: alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_0_1__sink.monitor
	Latency: 99684 usec, configured 100000 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
	Properties:
		alsa.resolution_bits = "32"
		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 = "UMC204HD 192k"
		alsa.long_card_name = "BEHRINGER UMC204HD 192k at usb-0000:0e:00.3-4, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:0e:00.3-usb-0:4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0e:00.3/usb7/7-4/7-4:1.0/sound/card0"
		udev.id = "usb-BEHRINGER_UMC204HD_192k-00"
		device.bus = "usb"
		device.vendor.id = "1397"
		device.vendor.name = "BEHRINGER International GmbH"
		device.product.id = "0508"
		device.product.name = "UMC204HD 192k"
		device.serial = "BEHRINGER_UMC204HD_192k"
		device.string = "_ucm0005.umc204hd_stereo_out:U192k,0,0,1"
		device.buffering.buffer_size = "38400"
		device.buffering.fragment_size = "3840"
		device.access_mode = "mmap"
		device.profile.name = "HiFi: umc204hd_stereo_out:U192k,0,0,1: sink"
		device.profile.description = "Line A"
		alsa.mixer_device = "_ucm0005.default:U192k"
		device.description = "UMC204HD 192k Line A"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	Ports:
		[Out] Line1: Line A (type: Line, priority: 200, availability unknown)
	Active Port: [Out] Line1
	Formats:
		pcm

Sink #3
	State: SUSPENDED
	Name: alsa_output.pci-0000_0e_00.4.iec958-stereo
	Description: Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 9
	Mute: no
	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
	Monitor Source: alsa_output.pci-0000_0e_00.4.iec958-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL 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 = "ALC1220 Digital"
		alsa.id = "ALC1220 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "2"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 119"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0e:00.4"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0e:00.4/sound/card2"
		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 = "iec958:2"
		device.buffering.buffer_size = "19200"
		device.buffering.fragment_size = "3840"
		device.access_mode = "mmap"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Starship/Matisse HD Audio Controller Digital Stereo (IEC958)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		iec958-stereo-output: Digital Output (S/PDIF) (type: SPDIF, priority: 0, availability unknown)
	Active Port: iec958-stereo-output
	Formats:
		pcm
Sink Input #7
	Driver: protocol-native.c
	Owner Module: 11
	Client: 5
	Sink: 2
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 48882 /  75% / -7.64 dB,   front-right: 48882 /  75% / -7.64 dB
	        balance 0.00
	Buffer Latency: 137458 usec
	Sink Latency: 99003 usec
	Resample method: copy
	Properties:
		media.name = "Spiritbox - Circle With Me (Official Music Video) - YouTube"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "1477"
		application.process.user = "monni"
		application.process.host = "monnux"
		application.process.binary = "firefox-bin"
		application.language = "C.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "37511eb0504e42238b4e27563484d9d8"
		application.process.session_id = "1"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
 ps -elf | grep -E 'pulse|pipewire'
0 S monni        832     628  0  69 -11 - 416018 do_sys 18:18 ?       00:00:03 /usr/bin/pulseaudio --daemonize=no --log-target=journal
0 S monni        875     832  0  80   0 - 77855 do_sys 18:18 ?        00:00:00 /usr/lib/pulse/gsettings-helper
0 S monni      18637    2633  0  80   0 -  2374 pipe_r 18:42 pts/0    00:00:00 grep --color=auto -E pulse|pipewire

Heres also another dump that I remember, idk if it helps.

 
code cat /proc/asound/card0/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 4
rate: 48000 (48000/1)
period_size: 480
buffer_size: 24000 

Last edited by monnux (2023-04-15 15:55:24)

Offline

#4 2023-04-15 17:20:13

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

Re: losing audio, cracking/popping when works.

If you're using pulse you shouldn't set the default device explicitly, remove the config file and install pulseaudio-alsa instead.

None of that will help with the device itself, random guess, switch to the other audio profile with

pactl set-card-profile alsa_card.usb-BEHRINGER_UMC204HD_192k-00 Direct

or if that didn't, back to the Hifi profile but pick the other of the two output devices i.e. alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_2_3__sink (might want to switch the firefox output to that with e.g. pavucontrol or so)

That said Behringer are somewhat notorious for a weird implementation and this might well be a kernel quirk, you could try while not playing anything reloading snd_usb_audio with

sudo modprobe -r snd_usb_audio && sudo modprobe snd_usb_audio implicit_fb=0 low_latency=0

and rechecking

Last edited by V1del (2023-04-15 17:21:17)

Offline

#5 2023-04-16 10:09:32

monnux
Member
From: Finland
Registered: 2023-04-15
Posts: 6

Re: losing audio, cracking/popping when works.

Hi I ran

pactl set-card-profile alsa_card.usb-BEHRINGER_UMC204HD_192k-00 Direct

and

sudo modprobe -r snd_usb_audio && sudo modprobe snd_usb_audio implicit_fb=0 low_latency=0

this one caused some problems by not wanting to go through due to snd_usb_audio being in use, I somehow got it to go through can't remember what I did (I'm sorry I have terrible memory).

Did not resolve the issue (can't hear anything but pavucontrols shows audio playing), but it did set the Direct profile. I also scoured and  removed any of the changes I made in config files like setting the default device etc. I installed pulseaudio-alsa after removing the config edits.

I'm sorry but I didn't exactly understand this part you mentioned:

or if that didn't, back to the Hifi profile but pick the other of the two output devices i.e. alsa_output.usb-BEHRINGER_UMC204HD_192k-00.HiFi__umc204hd_stereo_out_U192k_0_2_3__sink (might want to switch the firefox output to that with e.g. pavucontrol or so)

Am I doing another pactl set-card-profile alsa_card.usb-BEHRINGER_UMC204HD_192k-00 but with HiFi? Sorry.

Offline

#6 2023-04-16 11:56:07

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

Re: losing audio, cracking/popping when works.

Yes, that will give you two playback devices, Line A and Line B switch the firefox playback to the other device assuming that's what you originally used.

Offline

Board footer

Powered by FluxBB