thunderbolt: eGPU enclosure (HP Omen Accelerator GA1-10) disconnects ~1s after authorization on Alder Lake-P TB4 (Newline OPS), works on Windows
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
Quoted 121 lines · Piotr Szmitkowski
Hi,
An HP Omen Accelerator eGPU enclosure (Thunderbolt 3) connects to the Thunderbolt 4 controller of an Alder Lake-P OPS module, is authorized successfully, and is then disconnected again about one second later. The cycle repeats every ~3 seconds, so the PCIe tunnel never stays up and the GPU never appears in lspci. The same enclosure, cable and port work correctly under Windows on the same machine.
== Hardware ==
System: Newline Interactive Inc, product "OPS" (OPS slot-in PC module
for an interactive display), board "AlderLake"CPU: 12th Gen Intel Core i7-1260P (Alder Lake-P) BIOS: Insyde, version 104, 10/11/2023(no Thunderbolt options exposed in the BIOS setup)
TB host: 00:0d.3 Alder Lake-P Thunderbolt 4 NHI #1
00:0d.0 Alder Lake-P Thunderbolt 4 USB Controller 00:07.0 / 00:07.3 Alder Lake-P Thunderbolt 4 PCIe Root PortsRetimer: vendor=0x8087 device=0x15ee (host-side, 0-0:3.1) Device: HP GA1-10-Accelerator (Thunderbolt 3), vendor=0xf0 device=0xa66Link: rx/tx 20 Gb/s = 1 lane * 20 Gb/s (as reported by boltctl;
one would expect 2 lanes)
Security: domain0 security level "user", IOMMU enabled, bolt policy iommu== Software ==
Distro: Bazzite 45.20261125 (Kinoite, Fedora 45 based, rpm-ostree) Kernel: 7.3.5-ogc3.1.fc45.x86_64 (distribution kernel with extra patches;see "Open questions" below)
bolt: boltd, auto-authorization via policy iommu
Extra kernel command line tried (no change in behaviour):
pcie_ports=native pci=realloc,assign-busses,hpbussize=0x33,hpmemsize=
128M,hpiosize=4K,pcie_bus_perf
fwupd: no firmware updates available (System Firmware, USB4 Retimer)== What happens ==
1. Device is plugged in (enclosure powered), kernel logs:
thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 thunderbolt 0-3: HP GA1-10-Accelerator
2. boltd authorizes it:
auto-auth: authorization successful (status: authorized, flags: 0)
3. About one second later the device is gone:thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoringport...
thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee thunderbolt 0-0:3.1: retimer disconnected
thunderbolt 0-3: device disconnected
4. The sequence repeats roughly every 3 seconds.Excerpt of kernel log (unfiltered log attached/below):
[161788.075715] thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoring port... [161788.319956] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device= 0x15ee [161788.503106] thunderbolt 0-0:3.1: retimer disconnected [161788.506150] thunderbolt 0-3: device disconnected [161789.842062] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 [161789.842067] thunderbolt 0-3: HP GA1-10-Accelerator (repeats)boltd log for the same cycle:
connected -> auto-auth ok -> authorize: finished: ok (status: authorized) -> disconnected (about 1 s later)== Debug log of one cycle (thunderbolt dynamic debug enabled) ==
Device: Thunderbolt 3 switch 8086:1578 (TB version 2, NVM 25.0), HP GA1-10. Timeline, relative to the hotplug event on port 0:3:701.986 0:3 hotplug: is connected, link is up (state: 2) 702.564 new device found, vendor=0xf0 device=0xa66, NVM version 25.0 702.559 3: current link speed 20.0 Gb/s, symmetric, single lane 702.566 0:4: is connected, link is not up (state: 1), retrying... ... (10 retries, ~104 ms apart) 703.606 0:4: failed to reach state TB_PORT_UP. Ignoring port... 703.610 0:3: reading NVM authentication status of retimers 703.850 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee 703.850 0:3: disabling sideband transactions 703.951 0:9 <-> 3:6 (PCI): activating; PCIe Down/Up paths: activation complete 703.959 3:1: xHCI connected / 3: xHCI connect request 704.017 acking hot unplug event on 0:3 (~60 ms after xHCI connect) 704.017 0-0:3.1: retimer disconnected 704.017 0:3: switch unplugged -> PCI tunnel deactivated 704.020 0-3: device disconnectedObservations:
- The PCIe tunnel is set up successfully and completes activation. The unplug is reported by the device side (hot unplug on 0:3) roughly 60 ms after the "xHCI connect request" to the device and about 70 ms after the PCIe tunnel finished activating.
- The second lane (adapter 0:4) never leaves the "connecting" state, so the link stays a single 20 Gb/s lane and lane bonding is not possible.
- The drop does NOT depend on authorization or on the PCIe tunnel. During early boot (initrd, before boltd runs, device unauthorized, no tunnel) the same sequence happens:[ 3.635187] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 [ 4.679682] thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoring port... [ 4.935086] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device =0x15ee [ 5.097336] thunderbolt 0-0:3.1: retimer disconnected [ 5.114747] thunderbolt 0-3: device disconnected- In every cycle (authorized or not) the link drops about 100-170 ms after "new retimer found" (retimer scan on port 0:3: "reading NVM authentication status of retimers", "disabling sideband transactions").
Examples: 4.935 -> 5.097, 7.812 -> 7.917, 13.392 -> 13.553, 30.297 -> 30.464, 33.138 -> 33.283, 35.934 -> 36.102.
When a tunnel was attempted, the PCIe activation sometimes also failed with "PCIe Down path activation failed: -107" (device already gone).
- boltd (0.9.11, security level "user", "force power support: no") shows the same loop; one authorization even failed with status auth-error because the device vanished while the authorize write was in progress ("authorize: finished: FAIL (status: auth-error ...)"), and in one cycle the device state went "authorized -> unknown" right before disconnecting.
- So the xHCI connect request and the PCIe tunnel look like bystanders; the trigger seems to be the retimer enumeration / sideband access on this platform, or whatever the enclosure does at that moment.
- The device is an Alpine Ridge-class TB3 device (8086:1578, NVM 25.0).
- The same enclosure works under Windows on the same machine and port.
- Enclosure works on M1 Mac
Quoted 13 lines
== sysfs snapshot (
/sys/bus/thunderbolt/devices) ==
0-0 (host router): vendor INTEL, device Gen12, generation 4 (USB4),
authorized 1
0-3 (enclosure): vendor HP, device GA1-10-Accelerator, generation 3,
authorized 0,rx_lanes1,tx_lanes1,rx_speed20.0 Gb/s,tx_speed20.0 Gb/s
lspci with the enclosure gone shows no devices behind the Thunderbolt root ports 00:07.0 / 00:07.3 (bus ranges 01-33 and 34-66 are empty). lspci -vvnn (full output available) shows on both root ports: AER status clean (UESta/CESta empty), DPC not triggered (DpcSta Trigger-), link down (DLActive-), 2.5 GT/s x4 capability. So no PCIe-level errors are recorded; the failure looks confined to the Thunderbolt link layer.
Note: with pcie_aspm=off the firmware's "ASPM L1 Enabled" setting is
Can you please try with the mainline and drop all non-standard command line options especially pcie_aspm=off which in fact disables your whole native PCIe support. Just keep "thunderbolt.dyndbg=+p" and then repro and share full dmesg?
By all means,
https://tb-collector.1500100.xyz/r/20261130-183248-b857bcf4/archive.tar.gz
I’ve conducted several runs, using live cd of Fedora and Cachy, you can find them all here:
https://tb-collector.1500100.xyz
Let me know if I can improve report to help.
Yes, it’s vibe coded silly, but… in love and war…
Pozdrawiam,
Piotr Szmitkowski
[email protected]
Quoted 144 lines · Mika Westerberg
Hi,
Quoted 121 lines · Piotr Szmitkowski
Hi,
An HP Omen Accelerator eGPU enclosure (Thunderbolt 3) connects to the Thunderbolt 4 controller of an Alder Lake-P OPS module, is authorized successfully, and is then disconnected again about one second later. The cycle repeats every ~3 seconds, so the PCIe tunnel never stays up and the GPU never appears in lspci. The same enclosure, cable and port work correctly under Windows on the same machine.
== Hardware ==
System: Newline Interactive Inc, product "OPS" (OPS slot-in PC module
for an interactive display), board "AlderLake"CPU: 12th Gen Intel Core i7-1260P (Alder Lake-P) BIOS: Insyde, version 104, 10/11/2023(no Thunderbolt options exposed in the BIOS setup)
TB host: 00:0d.3 Alder Lake-P Thunderbolt 4 NHI #1
00:0d.0 Alder Lake-P Thunderbolt 4 USB Controller 00:07.0 / 00:07.3 Alder Lake-P Thunderbolt 4 PCIe Root PortsRetimer: vendor=0x8087 device=0x15ee (host-side, 0-0:3.1) Device: HP GA1-10-Accelerator (Thunderbolt 3), vendor=0xf0 device=0xa66Link: rx/tx 20 Gb/s = 1 lane * 20 Gb/s (as reported by boltctl;
one would expect 2 lanes)
Security: domain0 security level "user", IOMMU enabled, bolt policy iommu== Software ==
Distro: Bazzite 45.20261125 (Kinoite, Fedora 45 based, rpm-ostree) Kernel: 7.3.5-ogc3.1.fc45.x86_64 (distribution kernel with extra patches;see "Open questions" below)
bolt: boltd, auto-authorization via policy iommu
Extra kernel command line tried (no change in behaviour):
pcie_ports=native pci=realloc,assign-busses,hpbussize=0x33,hpmemsize=
128M,hpiosize=4K,pcie_bus_perf
fwupd: no firmware updates available (System Firmware, USB4 Retimer)== What happens ==
1. Device is plugged in (enclosure powered), kernel logs:
thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 thunderbolt 0-3: HP GA1-10-Accelerator
2. boltd authorizes it:
auto-auth: authorization successful (status: authorized, flags: 0)
3. About one second later the device is gone:thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoringport...
thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee thunderbolt 0-0:3.1: retimer disconnected
thunderbolt 0-3: device disconnected
4. The sequence repeats roughly every 3 seconds.Excerpt of kernel log (unfiltered log attached/below):
[161788.075715] thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoring port... [161788.319956] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device= 0x15ee [161788.503106] thunderbolt 0-0:3.1: retimer disconnected [161788.506150] thunderbolt 0-3: device disconnected [161789.842062] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 [161789.842067] thunderbolt 0-3: HP GA1-10-Accelerator (repeats)boltd log for the same cycle:
connected -> auto-auth ok -> authorize: finished: ok (status: authorized) -> disconnected (about 1 s later)== Debug log of one cycle (thunderbolt dynamic debug enabled) ==
Device: Thunderbolt 3 switch 8086:1578 (TB version 2, NVM 25.0), HP GA1-10. Timeline, relative to the hotplug event on port 0:3:701.986 0:3 hotplug: is connected, link is up (state: 2) 702.564 new device found, vendor=0xf0 device=0xa66, NVM version 25.0 702.559 3: current link speed 20.0 Gb/s, symmetric, single lane 702.566 0:4: is connected, link is not up (state: 1), retrying... ... (10 retries, ~104 ms apart) 703.606 0:4: failed to reach state TB_PORT_UP. Ignoring port... 703.610 0:3: reading NVM authentication status of retimers 703.850 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee 703.850 0:3: disabling sideband transactions 703.951 0:9 <-> 3:6 (PCI): activating; PCIe Down/Up paths: activation complete 703.959 3:1: xHCI connected / 3: xHCI connect request 704.017 acking hot unplug event on 0:3 (~60 ms after xHCI connect) 704.017 0-0:3.1: retimer disconnected 704.017 0:3: switch unplugged -> PCI tunnel deactivated 704.020 0-3: device disconnectedObservations:
- The PCIe tunnel is set up successfully and completes activation. The unplug is reported by the device side (hot unplug on 0:3) roughly 60 ms after the "xHCI connect request" to the device and about 70 ms after the PCIe tunnel finished activating.
- The second lane (adapter 0:4) never leaves the "connecting" state, so the link stays a single 20 Gb/s lane and lane bonding is not possible.
- The drop does NOT depend on authorization or on the PCIe tunnel. During early boot (initrd, before boltd runs, device unauthorized, no tunnel) the same sequence happens:[ 3.635187] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 [ 4.679682] thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoring port... [ 4.935086] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device =0x15ee [ 5.097336] thunderbolt 0-0:3.1: retimer disconnected [ 5.114747] thunderbolt 0-3: device disconnected- In every cycle (authorized or not) the link drops about 100-170 ms after "new retimer found" (retimer scan on port 0:3: "reading NVM authentication status of retimers", "disabling sideband transactions").
Examples: 4.935 -> 5.097, 7.812 -> 7.917, 13.392 -> 13.553, 30.297 -> 30.464, 33.138 -> 33.283, 35.934 -> 36.102.
When a tunnel was attempted, the PCIe activation sometimes also failed with "PCIe Down path activation failed: -107" (device already gone).
- boltd (0.9.11, security level "user", "force power support: no") shows the same loop; one authorization even failed with status auth-error because the device vanished while the authorize write was in progress ("authorize: finished: FAIL (status: auth-error ...)"), and in one cycle the device state went "authorized -> unknown" right before disconnecting.
- So the xHCI connect request and the PCIe tunnel look like bystanders; the trigger seems to be the retimer enumeration / sideband access on this platform, or whatever the enclosure does at that moment.
- The device is an Alpine Ridge-class TB3 device (8086:1578, NVM 25.0).
- The same enclosure works under Windows on the same machine and port.
- Enclosure works on M1 MacQuoted 13 lines
== sysfs snapshot (
/sys/bus/thunderbolt/devices) ==
0-0 (host router): vendor INTEL, device Gen12, generation 4 (USB4),
authorized 1
0-3 (enclosure): vendor HP, device GA1-10-Accelerator, generation 3,
authorized 0,rx_lanes1,tx_lanes1,rx_speed20.0 Gb/s,tx_speed20.0 Gb/s
lspci with the enclosure gone shows no devices behind the Thunderbolt root ports 00:07.0 / 00:07.3 (bus ranges 01-33 and 34-66 are empty). lspci -vvnn (full output available) shows on both root ports: AER status clean (UESta/CESta empty), DPC not triggered (DpcSta Trigger-), link down (DLActive-), 2.5 GT/s x4 capability. So no PCIe-level errors are recorded; the failure looks confined to the Thunderbolt link layer.
Note: with pcie_aspm=off the firmware's "ASPM L1 Enabled" setting isCan you please try with the mainline and drop all non-standard command line options especially pcie_aspm=off which in fact disables your whole native PCIe support. Just keep "thunderbolt.dyndbg=+p" and then repro and share full dmesg?
Hi,
Quoted 8 lines · Piotr Szmitkowski
By all means,
https://tb-collector.1500100.xyz/r/20261130-183248-b857bcf4/archive.tar.gz
I’ve conducted several runs, using live cd of Fedora and Cachy, you can find them all here:
https://tb-collector.1500100.xyzLet me know if I can improve report to help.
Yes, can you add "thunderbolt.dyndbg=+p" in the kernel command line. And actually do just this:
0. Make sure bolt does not authorize PCIe tunnel
1. Boot the system up, nothing connected.
2. Enable tbtrace (from tbtools here [1])
# tbtrace enable
3. Connect the device, it should not have PCIe tunnel authorized
4. Wait for the issue to repro.
5. Stop trace
# tbtrace disable
6. Take full dmesg and send to me and also the trace output:
# tbtrace dump -vv > trace.out