You are not logged in.

#1 2024-01-26 23:43:53

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Hi,
I'm using the LTS kernel. UP to a few days ago, LTS was 6.1, but now has been upgraded to 6.6. Since then, I have distorted audio, apparently the same problem as described in https://bbs.archlinux.org/viewtopic.php?id=287068. Looks like the fix hasn't arrived in 6.6.
I've downgraded my kernel to  6.1.71-1, but I'm still having audio issues. They are not as bad as with 6.6.13-1, but still there.

I'm using XFCE desktop with pipewire and pipewire-pulse. Except the kernel, all packages are up to date.

I've tried a few different audio sources: mpv playing local videos and Browsers (Firefox and Chromium) playing videos from different sites (YouTube and a few different TV station's media sites). In the terminal where I run mpv, I can see some

Audio device underrun detected.

messages.

I'm not sure if downgrading the kernel further will help and before I start a downgrade-reboot-test orgy, I'd like to collect a bit more info if I need to downgrade some more packages (e.g. pipewire). Maybe there is an incompatibility now with the old kernel and the newest pipewire.

Did anyone have a similar setup (LTS kernel, pipewire, maybe XFCE) and could solve it?

Thanks,
Markus

Offline

#2 2024-01-27 10:45:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Since downgrading the kernel doesn't mitigate the issue, what else got updated? firmware packages (linux, sof)?

mpv -ao alsa thunderstruck.mp3

plays fine?

pacman -Qs 'pipe|pulse'

Offline

#3 2024-01-28 16:42:17

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

mpv -ao alsa

resulted in

ao/alsa Playback open error: Device or resource busy

I've closed all applications of which I know that they use sound.  The "Audio Mixer" also shows no active streams. Unfortunately I can't reboot to clear everything up ATM without losing progress of a long-running job.

Yes, pipewire also has been updated. The thing is ... I'd like to avoid having to test all possible combinations of the latest 3-5 kernel and pipewire versions. My hope was that somebody can say 'I have this combination of versions running fine.'

pacman -Qs 'pipe|pulse'

local/gst-plugin-pipewire 1:1.0.1-2
    Multimedia graph framework - pipewire plugin
local/gtk-vnc 1.3.1-1
    VNC viewer widget for GTK
local/lib32-libcanberra 1:0.30+r2+gc0620e4-2
    A small and lightweight implementation of the XDG Sound Theme Specification (32-bit)
local/lib32-libpulse 17.0-1
    A featureful, general-purpose sound server (32-bit client libraries)
local/libcanberra 1:0.30+r2+gc0620e4-3
    A small and lightweight implementation of the XDG Sound Theme Specification
local/libcec 6.0.2-4
    Pulse-Eight's libcec for the Pulse-Eight USB-CEC adapter
local/libpipeline 1.5.7-1
    a C library for manipulating pipelines of subprocesses in a flexible and convenient way
local/libpipewire 1:1.0.1-2
    Low-latency audio/video router and processor - client library
local/libpulse 17.0-3
    A featureful, general-purpose sound server (client library)
local/libwireplumber 0.4.17-1
    Session / policy manager implementation for PipeWire - client library
local/pavucontrol 1:5.0+r64+geba9ca6-1
    PulseAudio Volume Control
local/pipewire 1:1.0.1-2
    Low-latency audio/video router and processor
local/pipewire-audio 1:1.0.1-2
    Low-latency audio/video router and processor - Audio support
local/pipewire-pulse 1:1.0.1-2
    Low-latency audio/video router and processor - PulseAudio replacement
local/qemu-audio-pa 8.2.0-3
    QEMU PulseAudio audio driver
local/qemu-audio-pipewire 8.2.0-3
    QEMU PipeWire audio driver
local/usd 23.11-8
    3D VFX pipeline interchange file format
local/wireplumber 0.4.17-1
    Session / policy manager implementation for PipeWire
local/xfce4-pulseaudio-plugin 0.4.8-1 (xfce4-goodies)
    Pulseaudio plugin for the Xfce4 panel

Offline

#4 2024-01-28 17:49:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

No pulseaudio not pipewire-media-session, it would be useful to know whether the distortions exist w/ alsa or it's a soundserver issue

sudo fuser -v /dev/snd/*
pactl list cards
pactl list sinks
sudo dmesg | grep -E 'snd|sof'

Edit: assuming it's pipewired, have you tried https://wiki.archlinux.org/title/PipeWi … _distorted ?

Last edited by seth (2024-01-28 18:14:55)

Offline

#5 2024-01-28 23:10:05

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

I'm not using pulseaudio anymore. It was replaced by pipewire mid 2019. And the switch was while updating packages with pacman. It asked something like

replace pulseaudio with pipewire?

and I just replied "y".

For the applications that can't directly use pipewire, there is the compatibility layer pipewire-pulse.

Offline

#6 2024-01-28 23:13:49

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Looks like pipewire-pulse supports pactl.

pactl list cards

Card #43
	Name: alsa_card.pci-0000_0a_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HDA ATI HDMI at 0xfce60000 irq 131"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:0a:00.1"
		device.description = "Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0a_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "49111816"
		device.product.id = "0xaae0"
		device.product.name = "Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X]"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "43"
		object.serial = "43"
		object.path = "alsa:pcm:0"
		alsa.card = "0"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xfce60000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-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-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-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-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)
		pro-audio: Pro Audio (sinks: 5, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			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, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			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, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4

Card #44
	Name: alsa_card.pci-0000_0c_00.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xfcd00000 irq 133"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:0c:00.3"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0c_00.3"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "49184594"
		device.product.id = "0x1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "14"
		client.id = "35"
		object.id = "44"
		object.serial = "44"
		object.path = "alsa:pcm:1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 133"
		alsa.driver_name = "snd_hda_intel"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, 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-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority: 5500, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
	Active Profile: output:analog-surround-51
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			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
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			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
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "2"
			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
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 4"
				card.profile.port = "3"
			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, availability group: Legacy 5, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 5"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			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)
			Properties:
				port.type = "spdif"
				card.profile.port = "5"
			Part of profile(s): output:iec958-stereo, output:iec958-stereo+input:analog-stereo

pactl list sinks

Sink #49
	State: RUNNING
	Name: alsa_output.pci-0000_0c_00.3.analog-surround-51
	Description: Family 17h (Models 00h-0fh) HD Audio Controller Analog Surround 5.1
	Driver: PipeWire
	Sample Specification: s32le 6ch 48000Hz
	Channel Map: front-left,front-right,rear-left,rear-right,front-center,lfe
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65536 / 100% / 0,00 dB,   front-center: 65536 / 100% / 0,00 dB,   lfe: 65536 / 100% / 0,00 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_0c_00.3.analog-surround-51.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC1220 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0xfcd00000 irq 133"
		alsa.name = "ALC1220 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HD-Audio Generic at 0xfcd00000 irq 133"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "surround51:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "6"
		audio.position = "FL,FR,RL,RR,FC,LFE"
		card.profile.device = "10"
		device.api = "alsa"
		device.class = "sound"
		device.id = "44"
		device.profile.description = "Analog Surround 5.1"
		device.profile.name = "analog-surround-51"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"
		node.name = "alsa_output.pci-0000_0c_00.3.analog-surround-51"
		node.nick = "ALC1220 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:surround51:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "35"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "49"
		object.serial = "49"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:0c:00.3"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0c_00.3"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "49184594"
		device.product.id = "0x1457"
		device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
	Active Port: analog-output-lineout
	Formats:
		pcm

Last edited by Markus.N2 (2024-01-29 09:05:26)

Offline

#7 2024-01-28 23:20:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Sorry, the notice was to record (for me and others and later) that the usual suspects of conflicting or legacy services do not apply. I didn't consider that they might irritate you.
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

Also see the other commands and the default frequency suggestion.

Offline

#8 2024-01-29 09:06:04

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

Sorry, I thought code is only for the commands you type and quote for the result.

Offline

#9 2024-01-29 15:46:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

seth wrote:

Also see the other commands and the default frequency suggestion.

Offline

#10 2024-01-29 18:06:41

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

sudo fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  markus     3980 F.... wireplumber
/dev/snd/controlC1:  markus     3974 F.... pipewire
                     markus     3980 F.... wireplumber
/dev/snd/pcmC1D0p:   markus     3974 F...m pipewire
/dev/snd/seq:        markus     3974 F.... pipewire

sudo dmesg | grep -E 'snd|sof'

[    0.243173] software IO TLB: area num 32.
[    0.736200] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.736201] software IO TLB: mapped [mem 0x00000000b2e57000-0x00000000b6e57000] (64MB)
[   49.096605] snd_hda_intel 0000:0a:00.1: enabling device (0000 -> 0002)
[   49.096733] snd_hda_intel 0000:0a:00.1: Force to non-snoop mode
[   49.096941] snd_hda_intel 0000:0c:00.3: enabling device (0000 -> 0002)
[   49.172224] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   49.172230] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   49.172232] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   49.172234] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   49.172236] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[   49.172237] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   49.172238] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[   49.172239] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[   49.172241] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

About the "default frequency" suggestion ... turns out that I have no pipewire.conf at all, neiter /etc /etc/pipewire/pipewire.conf nor ~/.config/pipewire/pipewire.conf.
Is it safe / sane to use the one at https://github.com/PipeWire/pipewire/bl … re.conf.in to start with?

Offline

#11 2024-01-29 21:24:10

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

I just noticed that I forgot to mention something possibly important: every now and then a short piece of the audio is repeated. mpv then reports audio/video desynchronization. It's a short part, about 1/2 second. Maybe exactly a buffer size?

Offline

#12 2024-01-29 21:31:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

You can just use

% pacman -F pipewire.conf                    
extra/pipewire
    usr/share/pipewire/pipewire.conf

wink

The A/V desync will only affect video playback but not mere audio playback, right?
The audio lags or runs ahead, mpv notices that and re-alignes. This would eg. also happen if you're trying to play a 4k/60 video in software on a potatoe and doesn't really hint at the problem.

You could try to stop the pipewire service before trying to play w/ "mpv -ao alsa"

Offline

#13 2024-01-30 10:45:56

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

I've just tried to change the frequency. The distortions are rarer, but still there. Also, I have a collection of videos with 48 KHz audio. I haven't tested them yet (will do that this evening after work), but I have a feeling that they will have more problems than before. In the end, I'm looking for a solution that supports all sample rates. I've used pactl list sinks to verify that the settings are applied.

Offline

#14 2024-01-30 13:45:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

seth wrote:

You could try to stop the pipewire service before trying to play w/ "mpv -ao alsa"

We really should want to know whether it's the kernel module or the sound daemon.

Offline

#15 2024-01-31 21:42:20

Markus.N2
Member
From: Germany
Registered: 2013-08-22
Posts: 106

Re: Downgraded linux-lts 6.6.13-1 to 6.1.71-1, still having audio issues

I've tested a few videos with different audio base frequencies now (44.1 KHz and 48 KHz). The distortions occur in all of them and I would say as often in one as the other.

Offline

Board footer

Powered by FluxBB