You are not logged in.
Hi guys,
I will need help on that one. It been bothering me since too long.
My setup:
Lenovo thinkpad X1 gen9
Lenovo thinkpad thunderbolt 4 dock
Samsung CF791
6.15.3-arch1-1
Gnome 48.2
The core issue: The audio has a growing over time delay with the hdmi output of my dock.
Diagnostic:
A pipewire / wireplumber service restart reset the delay.
My laptop speaker and hdmi output of my laptop are not impacted.
It persist through an undocking -> docking.
It is growing over time with lipsync delay noticeable after something like 1-2 minutes (after a pipewire restart) and the maximum delay I had was 10 seconds (between me switching from the laptop speaker to the hdmi ouput)
It's not application dependent as I have the same issue with vlc and firefox.
the volume up, down and mute are delayed too.
A switch from the delayed hdmi to the laptop speakers play the 2 sinks for the duration of the"buffer"
I already try a bunch of things from the wiki but none changed anything and debugging is a tedious process because i need to wait for the delay to build up every time i try something.
$ lspci
00:00.0 Host bridge: Intel Corporation Tiger Lake-UP3/H35 4 cores Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01)
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #3 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller S4LV008[Pascal]
50:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
51:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
51:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
51:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
51:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
51:04.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Goshen Ridge 2020] (rev 03)
$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 014: ID 8087:0b40 Intel Corp. USB3.0 Hub
Bus 002 Device 015: ID 17ef:30b6 Lenovo USB3.1 Hub
Bus 002 Device 016: ID 17ef:30b8 Lenovo USB3.1 Hub
Bus 002 Device 017: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 04f2:b6ea Chicony Electronics Co., Ltd Integrated Camera
Bus 003 Device 006: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 071: ID 17ef:30ba Lenovo V1003
Bus 003 Device 072: ID 17ef:30b4 Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller
Bus 003 Device 073: ID 17ef:30b5 Lenovo 40B0
Bus 003 Device 074: ID 17ef:30b7 Lenovo USB2.0 Hub
Bus 003 Device 075: ID 17ef:30b9 Lenovo USB2.0 Hub
Bus 003 Device 077: ID 17ef:30bb Lenovo ThinkPad Thunderbolt 4 Dock USB Audio
Bus 003 Device 084: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 085: ID 3434:0e20 Keychron Keychron K2 HE
Bus 003 Device 086: ID 06cb:00fc Synaptics, Inc. Prometheus Fingerprint Reader
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 7416
Tile Size: 65472
Server Name: PulseAudio (on PipeWire 1.4.5)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink
Default Source: alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source
Cookie: 5d18:9390
$ cat /proc/asound/cards 4.00s
0 [sofhdadsp ]: sof-hda-dsp - sof-hda-dsp
LENOVO-20XW0029MH-ThinkPadX1CarbonGen9
1 [USB ]: USB-Audio - ThinkPad Thunderbolt 4 Dock USB
Lenovo ThinkPad Thunderbolt 4 Dock USB at usb-0000:00:14.0-6.4.4.4, full speed
$ pactl list sinks | grep -B1 -A9 State:
Sink #58
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink
Description: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
--
Sink #59
State: RUNNING
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink
Description: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 32263 / 49% / -18,47 dB, front-right: 32263 / 49% / -18,47 dB
balance 0,00
--
Sink #60
State: IDLE
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink
Description: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
Driver: PipeWire
Sample Specification: s24-32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 45361 / 69% / -9,59 dB, front-right: 45361 / 69% / -9,59 dB
balance 0,00
--
Sink #61
State: IDLE
Name: alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
Description: Tiger Lake-LP Smart Sound Technology Audio Controller Speaker
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 48779 / 74% / -7,69 dB, front-right: 48779 / 74% / -7,69 dB
balance 0,00
--
Sink #5801
State: IDLE
Name: alsa_output.usb-Lenovo_ThinkPad_Thunderbolt_4_Dock_USB_Audio_000000000000-00.analog-stereo
Description: ThinkPad Thunderbolt 4 Dock USB Audio Analog Stereo
Driver: PipeWire
Sample Specification: s24le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 53379 / 81% / -5,35 dB, front-right: 53379 / 81% / -5,35 dB
This output is with a 10 seconds delay
$ pw-top -b
S ID QUANT RATE WAIT BUSY W/Q B/Q ERR FORMAT NAME
S 29 0 0 --- --- --- --- 0 Dummy-Driver
S 30 0 0 --- --- --- --- 0 Freewheel-Driver
S 47 0 0 --- --- --- --- 0 Midi-Bridge
S 55 0 0 --- --- --- --- 0 bluez_midi.server
S 58 0 0 --- --- --- --- 0 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink
R 59 1024 48000 177,5us 28,1us 0,01 0,00 4 S24_32 2 48000 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink
R 97 1536 48000 114,8us 35,8us 0,01 0,00 3 S16LE 2 48000 + FMOD Ex App
R 90 3600 48000 151,6us 14,6us 0,01 0,00 0 F32LE 2 48000 + Firefox
I 60 1024 48000 9,7us 18,0us 0,00 0,00 7 S24_32 2 48000 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink
I 61 2048 48000 13,0us 16,3us 0,00 0,00 26 S32LE 2 48000 alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
S 62 0 0 --- --- --- --- 0 alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic2__source
S 63 0 0 --- --- --- --- 0 alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source
S 82 0 0 --- --- --- --- 0 v4l2_input.pci-0000_00_14.0-usb-0_4_1.0
S 84 0 0 --- --- --- --- 0 v4l2_input.pci-0000_00_14.0-usb-0_4_1.2
I 104 0 0 0,0us 0,0us ??? ??? 0 S16LE 1 44100 speech-dispatcher-dummy
I 114 1024 48000 11,3us 23,7us 0,00 0,00 6 S24LE 2 48000 alsa_output.usb-Lenovo_ThinkPad_Thunderbolt_4_Dock_USB_Audio_000000000000-00.analog-stereo
S 113 0 0 --- --- --- --- 0 alsa_input.usb-Lenovo_ThinkPad_Thunderbolt_4_Dock_USB_Audio_000000000000-00.mono-fallback
Other issue I have with the dock:
-The Ethernet interface is not acknowledge at restart. (It is recognized on re-plugging sequence)
- A docking randomly reset my display setup ( 2 displays + my laptop screen)
I don't know if it is related but you never know.
Please help me . I don't know where to poke for it to evolve and I suspect for it to be more deep than just a pipewire/wireplumber config issue.
Last edited by polyphonus (2025-07-11 17:10:30)
Offline
Ok i have updated pipewire to 1.4.6. And now the audio doesn't bother to drift anymore . After a minute or so ( when restarting services) the audio jump back in time several seconds and stay there.
Offline