You are not logged in.

#1 2023-11-01 08:38:28

Szymon
Member
Registered: 2022-06-09
Posts: 24

No HDMI audio with Thinkpad USB-C dock

Hi there,

I'm running Arch on a Thinkpad X1 Carbon gen 9 with a USB-C Thunderbolt gen 2 dock.
I tried following the solution in this thread , however it seems like I already have the sof-firmware package installed.
Below you can find the output of aplay pacmd and amixer:

**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 31: HDA Analog Deep Buffer (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: USB [ThinkPad Thunderbolt 3 Dock USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd list-cards                                                                                                                                                                                                                                                            ✔ 
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "sof-hda-dsp"
		alsa.long_card_name = "LENOVO-20XW0057PB-ThinkPadX1CarbonGen9"
		alsa.driver_name = "snd_soc_skl_hda_dsp"
		device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a0c8"
		device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		device.string = "0"
		device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		HiFi: Play HiFi quality Music (priority 40768, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <HiFi>
	sinks:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
	sources:
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
		alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
		alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
	ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
			properties:
				
		[Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: yes)
			properties:
				device.product.name = "DELL P3418HW"
		[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
		[Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
			properties:
				
		[In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
			properties:
				
    index: 1
	name: <alsa_card.usb-Lenovo_ThinkPad_Thunderbolt_3_Dock_USB_Audio_000000000000-00>
	driver: <module-alsa-card.c>
	owner module: 25
	properties:
		alsa.card = "1"
		alsa.card_name = "ThinkPad Thunderbolt 3 Dock USB"
		alsa.long_card_name = "Lenovo ThinkPad Thunderbolt 3 Dock USB at usb-0000:22:00.0-2.1.1.2, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:22:00.0-usb-0:2.1.1.2:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:07.0/0000:20:00.0/0000:21:02.0/0000:22:00.0/usb5/5-2/5-2.1/5-2.1.1/5-2.1.1.2/5-2.1.1.2:1.0/sound/card1"
		udev.id = "usb-Lenovo_ThinkPad_Thunderbolt_3_Dock_USB_Audio_000000000000-00"
		device.bus = "usb"
		device.vendor.id = "17ef"
		device.vendor.name = "Lenovo"
		device.product.id = "30cf"
		device.product.name = "ThinkPad Thunderbolt 3 Dock USB Audio"
		device.serial = "Lenovo_ThinkPad_Thunderbolt_3_Dock_USB_Audio_000000000000"
		device.string = "1"
		device.description = "ThinkPad Thunderbolt 3 Dock USB Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:mono-fallback: Mono Input (priority 1, available: no)
		output:analog-stereo: Analog Stereo Output (priority 39268, available: unknown)
		output:analog-stereo+input:mono-fallback: Analog Stereo Output + Mono Input (priority 6501, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 38268, available: unknown)
		output:iec958-stereo+input:mono-fallback: Digital Stereo (IEC958) Output + Mono Input (priority 5501, available: unknown)
		output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/AC3) Output (priority 300, available: unknown)
		output:iec958-ac3-surround-51+input:mono-fallback: Digital Surround 5.1 (IEC958/AC3) Output + Mono Input (priority 301, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
 amixer -c1                                                                                                                                                                                                                                                                  ✔ 
Simple mixer control 'PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic',0
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 30
  Mono: Capture 30 [100%] [0.00dB] [on]

To give you some additional context I'm using pulseaudio. When using pavucontrol it seems like I can set the correct settings and select it to output audio to HDMI1, however there is no sound coming from my monitor.
Have you seen an issue like this before?

Another problem is that sometimes when I power everything off and then try to turn it on, the login manager hangs for some reason and I need to reboot the whole thing.
It only happens when the dock is connected. I'm running native wayland and I suspect that might be causing the issue.

Did I miss anything in terms of the setup? It seems like none of the configurations in pavucontrol fix the issue.
What I'm trying to achieve is to send the sound output through the hdmi connected to the usb hub so that it is played by my monitor.
The dock is definitely working as expected as I tested it on another OS and the audio was fine.

Thanks,

Offline

#2 2023-11-01 10:43:17

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

I have investigated the issue a bit deeper. It turns out that there is some issue with the dock not passing through the audio to the hdmi, however there is a workaround to make it somewhat functional:

0. Make sure the laptop is plugged in to the dock using the usbc thunderbolt cable
1. Plug in the HDMI to the port on the laptop and start playing some sound
2. Then move the HDMI to one of the ports on the back of the dock, after that the audio should still be playing but everything will be going through the dock.

The problem is that it is not feasible to use this strategy in the long run.
What is more, I sometimes got issues where the lid of the laptop is open, the sound flows through the dock to the hdmi and is played by the monitor, however once I close the lid something gets messed up and it isn't able to play the sound. Meanwhile the display seems to behave correctly.

Offline

#3 2023-11-01 11:09:33

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,224

Re: No HDMI audio with Thinkpad USB-C dock

Have you verfiied whether the dock is on the latest firmware, see https://wiki.archlinux.org/title/Thunde … re_updates ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#4 2023-11-01 11:19:20

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

I have updated the firmware using another os, would you say it might be worth giving it a go using fwupdmgr?
Below you can see the status of the audio firmware:

─ThinkPad Thunderbolt 3 Dock USB Audio:
│ │         Device ID:    901515bb1e030acc17640c170ae1505f8e6d7766
│ │         Summary:      CX20985 USB audio device
│ │         Current version:04-0E-95
│ │         Bootloader Version:02.00.00.00
│ │         Vendor:       Lenovo (USB:0x17EF)
│ │         Install Duration:3 seconds
│ │         Serial Number:0
│ │         GUID:         3d32b19d-229d-57ea-bd9b-8d1828431215 ← USB\VID_17EF&PID_30CF
│ │         Device Flags: • Updatable
│ │                       • Unsigned Payload

I found this  thread so I don't know if the firmware for this dock is even available.

Thanks a lot for suggesting this direction though.

Offline

#5 2023-11-01 11:21:29

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

I just checked and it turns out that there are no available firmware updates for the dock:

 fwupdmgr update 901515bb1e030acc17640c170ae1505f8e6d7766                                                                   1 ✘ 
Devices with no available firmware updates: 
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • ELAN0673:00 04F3:3188
 • USB2.0 Hub
 • USB2.0 Hub
 • Internal SPI Controller
 • ThinkPad Thunderbolt 3 Dock USB Audio
 • msp430
No updatable devices

Offline

#6 2023-11-01 11:46:25

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,224

Re: No HDMI audio with Thinkpad USB-C dock

The dock itself has firmware, but you need to be very sure of the type & model .

The 3 in "ThinkPad Thunderbolt 3 Dock USB Audio" may just relate to the thunderbolt version it supports.

In the first post you mention 'USB-C Thunderbolt gen 2 dock" and lenovo does have a "Thunderbolt gen 2 dock" .
I suggest you check the dock physically and look for its type-plate (usually a small black plate that's attached with screws) to determine the exact type & model .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2023-11-01 11:55:16

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

Ok thanks for those pointers.

I just checked the device and the exact model name is Thinkpad Thunderbolt 3 Dock Gen 2 40AN0135UK.
You can see an amazon link  here for reference.

Offline

#8 2023-11-01 12:03:35

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

As for the firmware version. The one above that I posted was found by fwupdmgr based on the dock that was connected.
The weirdest thing about the whole issue is that configuration-wise it seems like nothing changes, however when I do the workaround that I described above (HDMI into the laptop, play audio, move to the dock)
then the sound continues to function correctly through the dock. Unfortunately when I reboot and leave the HDMI plugged into the dock it doesn't work anymore. Although pavucontrol indicates that something is being played through the HDMI

Offline

#9 2023-11-01 12:34:08

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,224

Re: No HDMI audio with Thinkpad USB-C dock

https://support.lenovo.com/gb/en/soluti … vice-parts

The latest firmware it mentions was released on 7 july 2023, so if you updated sometime after that it should be the correct version .

Display and Video Output Configurations - Docking Stations shows tables for that dock that indicate  DP2 & HDMI2 share their connection , while DP1 & HDMI1 each have their own dedicated logic/electronics .


Which hdmi port on the dock are you using and does it matter if you change it ?

Incase changing the port on the dock doesn't help, HDMI audio tends to be closely related to the video driver.

Please post the full output of lspci -k .

Is xf86-video-intel installed ? if yes, remove it.

Last edited by Lone_Wolf (2023-11-01 12:35:14)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2023-11-01 12:38:34

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

Thanks a lot for helping me investigate this.
Here is the output of lspci -k:

lspci -k                                                                                                                     ✔ 
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
	Subsystem: Lenovo 11th Gen Core Processor Host Bridge/DRAM Registers
	Kernel modules: igen6_edac
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
	Subsystem: Lenovo TigerLake-LP GT2 [Iris Xe Graphics]
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
	Subsystem: Lenovo TigerLake-LP Dynamic Tuning Processor Participant
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device_pci_legacy
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
	Subsystem: Lenovo 11th Gen Core Processor PCIe Controller
	Kernel driver in use: pcieport
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
	Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 PCI Express Root Port
	Kernel driver in use: pcieport
00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01)
	Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 PCI Express Root Port
	Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
	Subsystem: Lenovo GNA Scoring Accelerator module
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
	Subsystem: Lenovo Tigerlake Telemetry Aggregator Driver
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
	Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 USB Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
	Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 NHI
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01)
	Subsystem: Lenovo Tiger Lake-LP Thunderbolt 4 NHI
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Integrated Sensor Hub
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
	Subsystem: Lenovo Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Shared SRAM
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
	Subsystem: Intel Corporation Wi-Fi 6 AX201
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Serial IO I2C Controller
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #3 (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Serial IO I2C Controller
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Management Engine Interface
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:1c.0 PCI bridge: Intel Corporation Device a0b8 (rev 20)
	Subsystem: Lenovo Device 22d5
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
	Subsystem: Lenovo Tiger Lake-LP LPC Controller
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
	Subsystem: Lenovo Tiger Lake-LP Smart Sound Technology Audio Controller
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
	Subsystem: Lenovo Tiger Lake-LP SMBus Controller
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
	Subsystem: Lenovo Tiger Lake-LP SPI Controller
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
04:00.0 Non-Volatile memory controller: Micron Technology Inc 3400 NVMe SSD [Hendrix]
	Subsystem: Micron Technology Inc Device 0100
	Kernel driver in use: nvme
	Kernel modules: nvme
08:00.0 Unassigned class [ff00]: Quectel Wireless Solutions Co., Ltd. EM120R-GL LTE Modem
	Subsystem: Quectel Wireless Solutions Co., Ltd. EM120R-GL LTE Modem
	Kernel driver in use: mhi-pci-generic
	Kernel modules: mhi_pci_generic
50:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
	Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018]
	Kernel driver in use: pcieport
51:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
	Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018]
	Kernel driver in use: pcieport
51:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06)
	Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018]
	Kernel driver in use: pcieport
52:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018] (rev 06)
	Subsystem: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

Offline

#11 2023-11-01 12:42:05

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

As for the package xf86-video-intel I don't have it installed
I will go through the tables that you provided and let you know if I can find anything.
After checking both HDMI it doesn't matter which one I use. After reboot it isn't able to send sound through it unless I manually plug the HDMI into the laptop and then move it back to the dock again.

Offline

#12 2023-11-01 12:44:23

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

In case there could be some issues with the intel gpu packages here is some output of pacman:

pacman -Q | grep intel                                                                                                     1 ✘ 
intel-compute-runtime 23.30.26918.9-1
intel-gmmlib 22.3.12-1
intel-gpu-tools 1.27-2
intel-graphics-compiler 1:1.0.14828.8-1
intel-media-driver 23.3.5-1
intellij-idea-community-edition 4:2023.1.4-1
vulkan-intel 1:23.2.1-2

Offline

#13 2023-11-01 12:50:23

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,224

Re: No HDMI audio with Thinkpad USB-C dock

It's preferred to edit posts to add info when no one has responded instead of creating  a new post.

This sounds like some initialization issue . Does hdmi sound work if you boot the laptop without the dock connected and connect it say a minute after you have logged in ?

(the minute delay is to ensure everything in the laptop hardware has fully initialised and settled ) .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#14 2023-11-01 13:03:23

Szymon
Member
Registered: 2022-06-09
Posts: 24

Re: No HDMI audio with Thinkpad USB-C dock

Ok thank you for suggesting this. I will adopt this convention from now on.
It makes sense, reduces clutter in the thread.

To answer your question. It seems like some sort of concurrency issue. Sometimes when I boot up with the dock connected the audio works fine through HDMI, however the moment I close the lid and switch to using the HDMI monitor exclusively, it stops working and doesn't come back.

The problem is that sometimes plugging the HDMI directly into the laptop fixes the issue, although I tried that just now and it didn't seem to affect it.
There is definitely some issue with stuff breaking on boot. I think it could be related to the problem that I mentioned above where if I try to use the dock properly and power the laptop on while the lid is closed using the switch on the dock, it fails to get to the login manager and hangs on a black screen sometimes. The issue is that it doesn't happen every time that's why I suspect it is related to some concurrency issues.

To give you some context I'm using sway on wayland. Maybe that's causing some problems
I'm using greetd as my login manager and set up autologin as follows:

// inside /etc/greetd/config.toml
[default_session]
command = "agreety --cmd sway"
user = "szymon"

[initial_session]
command = "sway > /home/szymon/.cache/.sway_autolauncher.log 2>&1"
user = "szymon"

Last edited by Szymon (2023-11-01 13:09:21)

Offline

Board footer

Powered by FluxBB