omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

USB-C→HDMI DisplayPort Alt Mode negotiation fails and stays wedged until reboot (Panther Lake xe/ucsi_acpi)

Open artjsalina5 opened this issue 2 months ago • 9 comments

What happened

Plugging a USB-C→HDMI adapter (Cable Matters) into one of the laptop's Thunderbolt/USB-C ports fails to bring up any display output. The kernel log shows the adapter's DisplayPort Alt Mode negotiation getting corrupted and falling back to USB2-only:

usb 3-2: not running at top speed; connect to a high speed hub
usb 3-2: New USB device found ... Manufacturer: Cable Matters Inc. Product: billboard
ucsi_acpi USBC000:00: con1: Firmware bug: duplicate partner altmode SVID 0xff01 at offset 1, ignoring but please contact the BIOS vendor to fix this issue.
ucsi_acpi USBC000:00: con1: VDO mismatch: 0xff01a043 vs 0x00001005

After this, the adapter enumerates only as a USB "billboard" device (the fallback identity a Type-C alt-mode adapter reports when alt-mode negotiation fails), and no new DRM connector appears:

$ for c in /sys/class/drm/card*-*; do echo "$(basename $c): $(cat $c/status)"; done
card0-DP-1: disconnected
card0-DP-2: connected      # separate monitor on a different port, working fine
card0-DP-3: disconnected
card0-eDP-1: connected

/sys/class/typec/port0/port0-partner/ confirms the port is wedged:

usb_mode: [usb2]
port0-partner.0 (SVID ff01, VESA DisplayPort Alt Mode): active=yes  <- claims active but no video lanes routed

The affected USB-C port then stays wedged in this state until a full system reboot. Unplugging/replugging the adapter, or trying to reset it via sysfs, does not clear it — the bad state appears to live in the embedded/UCSI controller firmware, not just the kernel driver.

Expected

USB-C→HDMI DisplayPort Alt Mode negotiation should succeed reliably, and if it does glitch once, replugging the adapter (without a full reboot) should be enough to recover it.

Steps to reproduce

  1. On a Dell XPS 16 (Panther Lake, Intel Core Ultra X7 358H / Arc B390 xe driver), plug a USB-C→HDMI adapter into one of the Thunderbolt/USB-C ports while another external monitor is already connected via native DisplayPort on a different port.
  2. Observe journalctl -k for the ucsi_acpi firmware-bug / VDO-mismatch messages and the adapter enumerating as billboard.
  3. No display output reaches the HDMI-connected monitor; /sys/class/drm/card0-DP-* for that port stays disconnected.
  4. Unplug/replug the adapter — port stays wedged (usb_mode: [usb2]).
  5. Reboot — port works normally again until the bug recurs.

System details

  • Omarchy: 4.0.3-1
  • Kernel: 7.1.8-arch1-2-ptl (Linux omarchy 7.1.8-arch1-2-ptl #1 SMP PREEMPT_DYNAMIC Wed, 12 Aug 2026)
  • Hardware: Dell XPS 16 (DA16260)
  • CPU/iGPU: Intel Core Ultra X7 358H, Panther Lake Arc B390, xe driver
  • Adapter: Cable Matters USB-C→HDMI (idVendor=0bda, idProduct=5452)

Note

This looks like it may ultimately be an upstream kernel/ucsi_acpi/Dell BIOS firmware issue (the kernel's own log points at "contact the BIOS vendor") rather than something Omarchy's userspace config controls, but filing here per Omarchy's own troubleshooting guidance since it's a recurring, reboot-only-fixable regression on a supported Omarchy machine. Happy to help narrow it down further (bisect kernel versions, test with a different adapter/port, etc.) if useful.

artjsalina5 avatar Sep 14 '26 22:09 artjsalina5

@spencerbull flagging this one for visibility — possibly related to the kernel/firmware regressions you mentioned in #10948 (https://github.com/omacom/omarchy/issues/10948#issuecomment-5646913655), also on a Panther Lake Dell XPS. Here it's the USB-C→HDMI DisplayPort Alt Mode negotiation that gets wedged (ucsi_acpi firmware-bug/VDO-mismatch, port stuck at usb_mode: [usb2]) until a full reboot. Let me know if it'd help to test on 7.1 vs 7.2 to check for the same regression pattern.

artjsalina5 avatar Sep 14 '26 22:09 artjsalina5

Same laptop, still present on a newer kernel.

XPS 16 DA16260 · Core Ultra X7 358H · Arc B390 (xe) · BIOS 1.8.2 · kernel 7.2.3-arch1-1-ptl · Omarchy 4.0.3-1

ucsi_acpi USBC000:00: con1: Firmware bug: duplicate partner altmode SVID 0xff01
  at offset 1, ignoring but please contact the BIOS vendor to fix this issue.
ucsi_acpi USBC000:00: con1: VDO mismatch: 0xff01a043 vs 0x00140045

Simpler reproduction than the original. Single monitor connected directly over USB-C — no adapter, no second display. The original reproduction adds a USB-C→HDMI adapter while another monitor is on native DP, so neither the adapter nor a multi-monitor setup is required to trigger this.

The VDO pair is monitor-independent. Hit with a Dell U2720Q and a Samsung Smart M70F; all 16 occurrences this boot report a byte-identical pair, so the duplicate entry is laptop firmware, not negotiated from the sink. Fires on con1, con2 and con3 — changing ports is not a workaround.

My second VDO (0x00140045) differs from yours (0x00001005) despite the same model and identical first value.

ucsi_acpi unbind/rebind does not help. Ports re-register, then hit the same error one second later. It re-reads the firmware table without resetting PD.

Suspend/resume clears it — no replug, no reboot. systemctl suspend, wake ~12s later. Cable untouched:

before:  card0-DP-1: disconnected   port0-partner.0: svid=ff01 active=yes
after:   card0-DP-1: connected      port0-partner.0: svid=ff01 active=yes

No duplicate partner altmode message is emitted on the resume path at all.

Two non-indicators that cost me time: active=yes on the alt mode is identical in the wedged and working states, and USB2-only (480Mbps) persists while video works fine — 4-lane DP alt mode leaves only USB2.

Also seen: UCSI_GET_PDOS failed (-5) and unknown error 0.

jorgeholguin avatar Sep 15 '26 03:09 jorgeholguin

I’m seeing the same USB-C DisplayPort Alt Mode failure on a Dell XPS 15 9530.

System:

  • Dell XPS 15 9530
  • BIOS 1.31.0 (2026-04-23)
  • Omarchy 4.0.4-1
  • Kernel tested: linux-omarchy 7.2.5-3-omarchy and stock Arch linux 7.2.3-arch1-3
  • Intel Iris Xe iGPU using i915

Symptoms:

  • USB devices through the hub continue working after unplug/replug.
  • The HDMI monitor does not return after unplug/replug.
  • Multiple different USB-C hubs reproduce the issue.
  • Windows and Fedora previously worked with the same hardware.
  • Suspend/resume restores the monitor.
  • Logging out also restores the monitor.
  • hyprctl reload does not restore the monitor.

Relevant kernel evidence:

ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
ucsi_acpi USBC000:00: con2: Firmware bug: duplicate partner altmode SVID 0xff01 at offset 1, ignoring but please contact the BIOS vendor to fix the issue.
ucsi_acpi USBC000:00: con2: VDO mismatch: 0xff01a043 vs 0x000c0045
usb ...: Product: Generic Billboard Device

After the failure, all external DRM connectors remain disconnected and Hyprland reports only eDP-1; no external connector or mode is exposed to Hyprland.

Tests performed:

  • hyprctl reload: no effect
  • UCSI ucsi_acpi unbind/rebind with the hub attached: no effect
  • UCSI unbind/rebind with the hub unplugged before replugging: no effect
  • Same behavior on both the Omarchy and stock Arch kernels

This appears to be the same UCSI/firmware Alt Mode state issue described here, but on an XPS 15 9530 rather than an XPS 16.

emilioea avatar Sep 16 '26 20:09 emilioea

Same thing on an XPS 14 DA14260, with two data points I haven't seen in this thread yet.

System: XPS 14 DA14260, Core Ultra X7 358H, xe, BIOS 1.8.2 (2026-05-22), EC 1.4, kernel 7.2.5-3-omarchy, Omarchy 4.0.4-1. LG HDR 4K connected directly over USB-C, no dock or adapter.

Symptom: unplug and replug the monitor, and the monitor's USB hub comes back but video does not. Same log lines as above, on both con1 and con2:

ucsi_acpi USBC000:00: unknown error 0
ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-5)
ucsi_acpi USBC000:00: con1: Firmware bug: duplicate partner altmode SVID 0xff01 at offset 1, ignoring but please contact the BIOS vendor to fix this issue.
ucsi_acpi USBC000:00: con1: VDO mismatch: 0xff01a043 vs 0x00140045

1. Nothing in the kernel is driving DP in the wedged state. The partner altmode is registered with the malformed VDO, but typec_displayport is not bound to it, and xe logs no errors at all:

/sys/class/typec/port0-partner/usb_mode        = [usb2]
/sys/class/typec/port0-partner/port0-partner.0 : svid=ff01 vdo=0xff01a043 active=yes, no driver bound
/sys/class/drm/card0-DP-{1,2,3}/status         = disconnected

2. A 5 second s2idle cycle is enough to clear it. This confirms what @jorgeholguin and @emilioea saw with suspend/resume, and it doesn't need a full suspend or the lock screen:

sudo rtcwake -m freeze -s 5

DP-1 reports connected within 3 seconds of wake, cable untouched. Worked 3 out of 3 times today, including once after a normal systemctl suspend.

As a stopgap I run a small user service that watches for "DP-capable partner attached, no DP connector connected for 8 seconds" and triggers that 5 second sleep, at most twice per plug. Replug to picture takes about 15 seconds.

oskarth avatar Sep 20 '26 04:09 oskarth

Another data point on different hardware, same platform and I think I can localize where it breaks.

Framework Laptop 13 Pro (not Dell), same silicon:

  • CPU/GPU: Intel Core Ultra X7 358H / Arc B390, xe
  • Kernel: 7.2.5-3-omarchy (newer than the 7.1.8 in the OP)
  • Omarchy 4.0.4
  • BIOS 03.02 (2026-05-26), EC sakura-3.0.2, PD controllers 1.0.0A both sides; all current
  • Device: USB-C hub (not a direct HDMI adapter). USB data, ethernet and webcam all enumerate fine; only video is dead.

Different error signature from the OP. No duplicate partner altmode or VDO mismatch here:

ucsi_acpi USBC000:00: unknown error 256
ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)
ucsi_acpi USBC000:00: con3: failed to register partner alt modes (-5)

Same wedged end-state though, so possibly the same root cause reached by a different path.

The useful part: the PD controller has the link up, the kernel never hears about it. framework_tool --pdports while the monitor is dark:

USB-C Port 3:
  PD Contract:   Yes
  Data Role:     Dfp
  DP Alt Mode:   UFP_D Connected, HPD High (0x82)

Meanwhile every DP connector reads disconnected:

card0-DP-1 .. card0-DP-4   disconnected
card0-eDP-1                connected

and xe logged nothing at all at plug-in time — no hotplug, no connector event. So DP alt mode is negotiated and HPD is asserted at the PD controller, but because UCSI fails to register the partner alt modes, the typec layer never hands the lanes to the display driver.

Things that do not recover it:

  • Unplug/replug — fails identically each time
  • echo detect > /sys/class/drm/card0-DP-*/status; no change
  • Unbind/rebind ucsi_acpi ; reproduces `GET_CABLE_PROPERTY failed (-5 immediately)

Only a full reboot, which power-cycles the PD controller. Also note the GET_CABLE_PROPERTY failed line appears right after boot, ~50 minutes the hub was plugged in, so that connector is unhealthy from startup rather than being broken by the hotplug.

davidkhanks avatar Sep 24 '26 19:09 davidkhanks

The solution to this in #11019, the problem is the aquamarine version that ships with omarchy stable. The issue has been fixed with aquamarine v0.15.1-1, but that version does not ship with omarchy stable yet.

I installed it as described in the other issue and that resolved the problem for me, unplug and re-plug external monitors works as expected: sudo pacman -U https://geo.mirror.pkgbuild.com/extra/os/x86_64/aquamarine-0.15.1-1-x86_64.pkg.tar.zst

I am running the latest omarchy version v4.0.4.

jorgeholguin avatar Oct 04 '26 18:10 jorgeholguin

Another early confirmation that aquamarine 0.15.1-1 fixes the replug problem, on a different laptop. I have only tested a few replugs so far.

System

  • ThinkPad X1 Carbon Gen 14, Intel Core Ultra X7 368H (Panther Lake, xe), BIOS N4OET51W 1.14
  • Omarchy 4.0.4-1, linux-omarchy 7.2.5-3, Hyprland 0.56.2-2
  • Monitors: Dell U3421WE and Dell P2219HC, each on a direct USB-C cable (DP alt mode, no dock). The laptop charges through the U3421WE.

Before, on aquamarine 0.15.0-2

I first saw this the day after the 9 September update installed aquamarine 0.15.0-2. After an unplug and replug, the monitor's USB hub came back but DP-1 stayed disconnected. The Hyprland log showed this sequence, as in hyprwm/aquamarine#386:

drm: Connector DP-1 disconnected
ERR drm: Cannot commit a disconnected output
drm: DP-1 is not connected, clearing stale crtc 270

Suspend/resume with the cable plugged in was the only reliable way to get the picture back.

After sudo pacman -U .../aquamarine-0.15.1-1-x86_64.pkg.tar.zst and a logout/login

I unplugged and replugged with the lid open, three times in a row: U3421WE, then P2219HC, then U3421WE again. The picture came back each time, with no suspend in the journal. The log now has a new line before the error. The error and the stale-crtc line are still logged, but they no longer seem to cause any harm:

drm: Connector DP-1 disconnected
drm: Disabled KMS output DP-1 before disconnect
ERR drm: Cannot commit a disconnected output
drm: DP-1 is not connected, clearing stale crtc 270

Upgrades should keep 0.15.1: omarchy-update-system-pkgs runs pacman -Syu, and that does not downgrade local packages that are newer than the stable mirror's 0.15.0-2.

Pitfall: unplugging with the lid closed suspends the laptop

In clamshell mode the laptop suspends as soon as the only monitor is unplugged. After one such suspend, charging through the monitor did not come back (AC online=0, battery Discharging). It came back after I replugged with the lid open. That replug went into the other USB-C port, so I can't tell which of the two changes fixed it. My guess is that this is a separate USB-C/PD problem and not aquamarine. On this machine ucsi_acpi often fails PPM init at boot (it did on this boot too, so the kernel has no Type-C port to manage). I reported that in fwupd/firmware-lenovo#628.

ocewers avatar Oct 05 '26 08:10 ocewers

Confirmed that it is in fact an aquamarine bug and that the stated version does fix it. I did not have the same issue with unplugging in clamshell mode on my FW 13 that ocewers did which probably lends credence to it being a firmware issue with Lenovo. Thanks for the information everyone! I think we could probably close this one if this solves it for OP.

davidkhanks avatar Oct 06 '26 16:10 davidkhanks

The solution to this in #11019, the problem is the aquamarine version that ships with omarchy stable. The issue has been fixed with aquamarine v0.15.1-1, but that version does not ship with omarchy stable yet.

I installed it as described in the other issue and that resolved the problem for me, unplug and re-plug external monitors works as expected: sudo pacman -U https://geo.mirror.pkgbuild.com/extra/os/x86_64/aquamarine-0.15.1-1-x86_64.pkg.tar.zst

I am running the latest omarchy version v4.0.4.

Thanks for this. I am marking this as closed.

artjsalina5 avatar Oct 06 '26 16:10 artjsalina5