Framework 13(12th gen Intel) eGPU disconnect automatically

Symptom:
eGPU will get disconnected automatically in around 20 seconds after being detected and then keep getting connected and disconnected.

Laptop:

  • Framework 13(12th gen Intel) 1260P
  • BIOS 3.08
  • Running Arch Linux(6.12.1-arch1-1) with Hyprland wm(Wayland)

eGPU setup:

  • EXP GDC TH3P4G3(JHL7440)
  • 750W PSU(Corsair CX750M)
  • AMD 6900XT

Here’s the kernel log:

[  740.833716] thunderbolt 1-0:3.1: new retimer found, vendor=0x8087 device=0x15ee
[  741.714352] thunderbolt 1-3: new device found, vendor=0x8086 device=0x2
[  741.714371] thunderbolt 1-3: Intel Tamales Module 2
[  741.967847] pcieport 0000:00:07.3: pciehp: Slot(6): Card present
[  741.967862] pcieport 0000:00:07.3: pciehp: Slot(6): Link Up
[  742.093820] pci 0000:7d:00.0: [8086:15ef] type 01 class 0x060400 PCIe Switch Upstream Port
[  742.093908] pci 0000:7d:00.0: PCI bridge to [bus 00]
[  742.093933] pci 0000:7d:00.0:   bridge window [io  0x0000-0x0fff]
[  742.093946] pci 0000:7d:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.093979] pci 0000:7d:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.094016] pci 0000:7d:00.0: enabling Extended Tags
[  742.094351] pci 0000:7d:00.0: supports D1 D2
[  742.094357] pci 0000:7d:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  742.094547] pci 0000:7d:00.0: PTM enabled, 4ns granularity
[  742.094611] pci 0000:7d:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.3 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  742.095165] pci 0000:7d:00.0: Adding to iommu group 18
[  742.095458] pcieport 0000:00:07.3: ASPM: current common clock configuration is inconsistent, reconfiguring
[  742.100229] pci 0000:7d:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.100447] pci 0000:7e:01.0: [8086:15ef] type 01 class 0x060400 PCIe Switch Downstream Port
[  742.100506] pci 0000:7e:01.0: PCI bridge to [bus 00]
[  742.100523] pci 0000:7e:01.0:   bridge window [io  0x0000-0x0fff]
[  742.100532] pci 0000:7e:01.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.100558] pci 0000:7e:01.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.100589] pci 0000:7e:01.0: enabling Extended Tags
[  742.100814] pci 0000:7e:01.0: supports D1 D2
[  742.100817] pci 0000:7e:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  742.101836] pci 0000:7e:01.0: Adding to iommu group 19
[  742.102046] pci 0000:7e:02.0: [8086:15ef] type 01 class 0x060400 PCIe Switch Downstream Port
[  742.102101] pci 0000:7e:02.0: PCI bridge to [bus 00]
[  742.102116] pci 0000:7e:02.0:   bridge window [io  0x0000-0x0fff]
[  742.102123] pci 0000:7e:02.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.102146] pci 0000:7e:02.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.102175] pci 0000:7e:02.0: enabling Extended Tags
[  742.102387] pci 0000:7e:02.0: supports D1 D2
[  742.102390] pci 0000:7e:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[  742.102980] pci 0000:7e:02.0: Adding to iommu group 20
[  742.103159] pci 0000:7e:04.0: [8086:15ef] type 01 class 0x060400 PCIe Switch Downstream Port
[  742.103209] pci 0000:7e:04.0: PCI bridge to [bus 00]
[  742.103222] pci 0000:7e:04.0:   bridge window [io  0x0000-0x0fff]
[  742.103229] pci 0000:7e:04.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.103250] pci 0000:7e:04.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.103277] pci 0000:7e:04.0: enabling Extended Tags
[  742.103491] pci 0000:7e:04.0: supports D1 D2
[  742.103493] pci 0000:7e:04.0: PME# supported from D0 D1 D2 D3hot D3cold
[  742.103807] pci 0000:7e:04.0: Adding to iommu group 21
[  742.103981] pci 0000:7d:00.0: PCI bridge to [bus 7e-a5]
[  742.104007] pci 0000:7e:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.104023] pci 0000:7e:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.104037] pci 0000:7e:04.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.104232] pci 0000:7f:00.0: [1002:1478] type 01 class 0x060400 PCIe Switch Upstream Port
[  742.104267] pci 0000:7f:00.0: BAR 0 [mem 0x00000000-0x00003fff]
[  742.104300] pci 0000:7f:00.0: PCI bridge to [bus 00]
[  742.104316] pci 0000:7f:00.0:   bridge window [io  0x0000-0x0fff]
[  742.104324] pci 0000:7f:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.104350] pci 0000:7f:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.104605] pci 0000:7f:00.0: PME# supported from D0 D3hot D3cold
[  742.104786] pci 0000:7f:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.3 (capable of 252.048 Gb/s with 16.0 GT/s PCIe x16 link)
[  742.104981] pci 0000:7f:00.0: Adding to iommu group 22
[  742.105131] pci 0000:7e:01.0: PCI bridge to [bus 7f-a5]
[  742.105156] pci 0000:7f:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.105313] pci 0000:80:00.0: [1002:1479] type 01 class 0x060400 PCIe Switch Downstream Port
[  742.105375] pci 0000:80:00.0: PCI bridge to [bus 00]
[  742.105390] pci 0000:80:00.0:   bridge window [io  0x0000-0x0fff]
[  742.105397] pci 0000:80:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  742.105423] pci 0000:80:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  742.105676] pci 0000:80:00.0: PME# supported from D0 D3hot D3cold
[  742.106069] pci 0000:80:00.0: Adding to iommu group 23
[  742.106245] pci 0000:7f:00.0: PCI bridge to [bus 80-a5]
[  742.106277] pci 0000:80:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  742.106422] pci 0000:81:00.0: [1002:73af] type 00 class 0x030000 PCIe Legacy Endpoint
[  742.106464] pci 0000:81:00.0: BAR 0 [mem 0x00000000-0x0fffffff 64bit pref]
[  742.106489] pci 0000:81:00.0: BAR 2 [mem 0x00000000-0x001fffff 64bit pref]
[  742.106504] pci 0000:81:00.0: BAR 4 [io  0x0000-0x00ff]
[  742.106519] pci 0000:81:00.0: BAR 5 [mem 0x00000000-0x000fffff]
[  742.106533] pci 0000:81:00.0: ROM [mem 0x00000000-0x0001ffff pref]
[  742.106805] pci 0000:81:00.0: PME# supported from D1 D2 D3hot D3cold
[  742.107027] pci 0000:81:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.3 (capable of 252.048 Gb/s with 16.0 GT/s PCIe x16 link)
[  742.107219] pci 0000:81:00.0: Adding to iommu group 24
[  742.107285] pci 0000:81:00.0: vgaarb: bridge control possible
[  742.107287] pci 0000:81:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[  742.107297] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
[  742.107365] pci 0000:81:00.1: [1002:ab28] type 00 class 0x040300 PCIe Legacy Endpoint
[  742.107395] pci 0000:81:00.1: BAR 0 [mem 0x00000000-0x00003fff]
[  742.107647] pci 0000:81:00.1: PME# supported from D1 D2 D3hot D3cold
[  742.108310] pci 0000:81:00.1: Adding to iommu group 25
[  742.108484] pci 0000:80:00.0: PCI bridge to [bus 81-a5]
[  742.108512] pci_bus 0000:81: busn_res: [bus 81-a5] end is updated to 81
[  742.108523] pci_bus 0000:80: busn_res: [bus 80-a5] end is updated to 81
[  742.108532] pci_bus 0000:7f: busn_res: [bus 7f-a5] end is updated to 91
[  742.108658] pci 0000:92:00.0: [8086:15f0] type 00 class 0x0c0330 PCIe Endpoint
[  742.108684] pci 0000:92:00.0: BAR 0 [mem 0x00000000-0x0000ffff]
[  742.108766] pci 0000:92:00.0: enabling Extended Tags
[  742.108948] pci 0000:92:00.0: supports D1 D2
[  742.108950] pci 0000:92:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  742.109109] pci 0000:92:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.3 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[  742.109280] pci 0000:92:00.0: Adding to iommu group 26
[  742.109403] pci 0000:7e:02.0: PCI bridge to [bus 92-a5]
[  742.109422] pci_bus 0000:92: busn_res: [bus 92-a5] end is updated to 92
[  742.109499] pci 0000:7e:04.0: PCI bridge to [bus 93-a5]
[  742.109517] pci_bus 0000:93: busn_res: [bus 93-a5] end is updated to a5
[  742.109523] pci_bus 0000:7e: busn_res: [bus 7e-a5] end is updated to a5
[  742.109535] pci 0000:7e:04.0: bridge window [mem 0x00100000-0x001fffff 64bit pref] to [bus 93-a5] add_size 100000 add_align 100000
[  742.109537] pci 0000:7e:04.0: bridge window [mem 0x00100000-0x001fffff] to [bus 93-a5] add_size 100000 add_align 100000
[  742.109540] pci 0000:7d:00.0: bridge window [mem 0x00100000-0x005fffff] to [bus 7e-a5] add_size 100000 add_align 100000
[  742.109545] pci 0000:7d:00.0: bridge window [mem 0x6060000000-0x607bffffff 64bit pref]: assigned
[  742.109547] pci 0000:7d:00.0: bridge window [mem 0x52000000-0x5e1fffff]: assigned
[  742.109548] pci 0000:7d:00.0: bridge window [io  0x7000-0x9fff]: assigned
[  742.109551] pci 0000:7e:01.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: assigned
[  742.109552] pci 0000:7e:01.0: bridge window [mem 0x52000000-0x580fffff]: assigned
[  742.109553] pci 0000:7e:02.0: bridge window [mem 0x58100000-0x581fffff]: assigned
[  742.109554] pci 0000:7e:02.0: bridge window [mem 0x6070200000-0x60702fffff 64bit pref]: assigned
[  742.109555] pci 0000:7e:04.0: bridge window [mem 0x58200000-0x5e0fffff]: assigned
[  742.109557] pci 0000:7e:04.0: bridge window [mem 0x6070300000-0x60722fffff 64bit pref]: assigned
[  742.109558] pci 0000:7e:01.0: bridge window [io  0x7000-0x7fff]: assigned
[  742.109559] pci 0000:7e:02.0: bridge window [io  0x8000-0x8fff]: assigned
[  742.109560] pci 0000:7e:04.0: bridge window [io  0x9000-0x9fff]: assigned
[  742.109562] pci 0000:7f:00.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: assigned
[  742.109563] pci 0000:7f:00.0: bridge window [mem 0x52000000-0x57ffffff]: assigned
[  742.109564] pci 0000:7f:00.0: BAR 0 [mem 0x58000000-0x58003fff]: assigned
[  742.109570] pci 0000:7f:00.0: bridge window [io  0x7000-0x7fff]: assigned
[  742.109572] pci 0000:80:00.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: assigned
[  742.109573] pci 0000:80:00.0: bridge window [mem 0x52000000-0x57ffffff]: assigned
[  742.109574] pci 0000:80:00.0: bridge window [io  0x7000-0x7fff]: assigned
[  742.109576] pci 0000:81:00.0: BAR 0 [mem 0x6060000000-0x606fffffff 64bit pref]: assigned
[  742.109594] pci 0000:81:00.0: BAR 2 [mem 0x6070000000-0x60701fffff 64bit pref]: assigned
[  742.109612] pci 0000:81:00.0: BAR 5 [mem 0x52000000-0x520fffff]: assigned
[  742.109618] pci 0000:81:00.0: ROM [mem 0x52100000-0x5211ffff pref]: assigned
[  742.109620] pci 0000:81:00.1: BAR 0 [mem 0x52120000-0x52123fff]: assigned
[  742.109626] pci 0000:81:00.0: BAR 4 [io  0x7000-0x70ff]: assigned
[  742.109632] pci 0000:80:00.0: PCI bridge to [bus 81]
[  742.109635] pci 0000:80:00.0:   bridge window [io  0x7000-0x7fff]
[  742.109644] pci 0000:80:00.0:   bridge window [mem 0x52000000-0x57ffffff]
[  742.109650] pci 0000:80:00.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.109660] pci 0000:7f:00.0: PCI bridge to [bus 80-81]
[  742.109664] pci 0000:7f:00.0:   bridge window [io  0x7000-0x7fff]
[  742.109672] pci 0000:7f:00.0:   bridge window [mem 0x52000000-0x57ffffff]
[  742.109678] pci 0000:7f:00.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.109688] pci 0000:7e:01.0: PCI bridge to [bus 7f-91]
[  742.109691] pci 0000:7e:01.0:   bridge window [io  0x7000-0x7fff]
[  742.109697] pci 0000:7e:01.0:   bridge window [mem 0x52000000-0x580fffff]
[  742.109702] pci 0000:7e:01.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.109710] pci 0000:92:00.0: BAR 0 [mem 0x58100000-0x5810ffff]: assigned
[  742.109716] pci 0000:7e:02.0: PCI bridge to [bus 92]
[  742.109719] pci 0000:7e:02.0:   bridge window [io  0x8000-0x8fff]
[  742.109725] pci 0000:7e:02.0:   bridge window [mem 0x58100000-0x581fffff]
[  742.109729] pci 0000:7e:02.0:   bridge window [mem 0x6070200000-0x60702fffff 64bit pref]
[  742.109737] pci 0000:7e:04.0: PCI bridge to [bus 93-a5]
[  742.109740] pci 0000:7e:04.0:   bridge window [io  0x9000-0x9fff]
[  742.109746] pci 0000:7e:04.0:   bridge window [mem 0x58200000-0x5e0fffff]
[  742.109750] pci 0000:7e:04.0:   bridge window [mem 0x6070300000-0x60722fffff 64bit pref]
[  742.109758] pci 0000:7d:00.0: PCI bridge to [bus 7e-a5]
[  742.109760] pci 0000:7d:00.0:   bridge window [io  0x7000-0x9fff]
[  742.109766] pci 0000:7d:00.0:   bridge window [mem 0x52000000-0x5e1fffff]
[  742.109771] pci 0000:7d:00.0:   bridge window [mem 0x6060000000-0x607bffffff 64bit pref]
[  742.109779] pcieport 0000:00:07.3: PCI bridge to [bus 7d-a5]
[  742.109780] pcieport 0000:00:07.3:   bridge window [io  0x7000-0x9fff]
[  742.109783] pcieport 0000:00:07.3:   bridge window [mem 0x52000000-0x5e1fffff]
[  742.109785] pcieport 0000:00:07.3:   bridge window [mem 0x6060000000-0x607bffffff 64bit pref]
[  742.109913] pcieport 0000:7d:00.0: enabling device (0000 -> 0003)
[  742.110142] pcieport 0000:7e:01.0: enabling device (0000 -> 0003)
[  742.110337] pcieport 0000:7e:01.0: pciehp: Slot #1 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[  742.110572] pcieport 0000:7e:02.0: enabling device (0000 -> 0003)
[  742.110857] pcieport 0000:7e:04.0: enabling device (0000 -> 0003)
[  742.110997] pcieport 0000:7e:04.0: pciehp: Slot #4 AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+ Interlock- NoCompl+ IbPresDis- LLActRep+
[  742.111430] pcieport 0000:7f:00.0: enabling device (0000 -> 0003)
[  742.111667] pcieport 0000:80:00.0: enabling device (0000 -> 0003)
[  742.112143] amdgpu 0000:81:00.0: enabling device (0000 -> 0003)
[  742.112251] [drm] initializing kernel modesetting (SIENNA_CICHLID 0x1002:0x73AF 0x1462:0x3955 0xC0).
[  742.112542] [drm] register mmio base: 0x52000000
[  742.112543] [drm] register mmio size: 1048576
[  742.119396] [drm] add ip block number 0 <nv_common>
[  742.119397] [drm] add ip block number 1 <gmc_v10_0>
[  742.119398] [drm] add ip block number 2 <navi10_ih>
[  742.119399] [drm] add ip block number 3 <psp>
[  742.119400] [drm] add ip block number 4 <smu>
[  742.119401] [drm] add ip block number 5 <dm>
[  742.119402] [drm] add ip block number 6 <gfx_v10_0>
[  742.119403] [drm] add ip block number 7 <sdma_v5_2>
[  742.119404] [drm] add ip block number 8 <vcn_v3_0>
[  742.119405] [drm] add ip block number 9 <jpeg_v3_0>
[  742.197355] amdgpu 0000:81:00.0: amdgpu: Fetched VBIOS from ROM BAR
[  742.197357] amdgpu: ATOM BIOS: 113-V395TRIO-3OC
[  742.201992] amdgpu 0000:81:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[  742.202005] amdgpu 0000:81:00.0: amdgpu: PCIE atomic ops is not supported
[  742.202011] [drm] GPU posting now...
[  742.202031] amdgpu 0000:81:00.0: amdgpu: MEM ECC is not presented.
[  742.202032] amdgpu 0000:81:00.0: amdgpu: SRAM ECC is not presented.
[  742.202047] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[  742.202071] amdgpu 0000:81:00.0: BAR 2 [mem 0x6070000000-0x60701fffff 64bit pref]: releasing
[  742.202073] amdgpu 0000:81:00.0: BAR 0 [mem 0x6060000000-0x606fffffff 64bit pref]: releasing
[  742.202116] pcieport 0000:80:00.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: releasing
[  742.202117] pcieport 0000:7f:00.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: releasing
[  742.202118] pcieport 0000:7e:01.0: bridge window [mem 0x6060000000-0x60701fffff 64bit pref]: releasing
[  742.202119] pcieport 0000:7d:00.0: Assigned bridge window [mem 0x6060000000-0x607bffffff 64bit pref] to [bus 7e-a5] cannot fit 0x600000000 required for 0000:80:00.0 bridging to [bus 81]
[  742.202121] pcieport 0000:80:00.0: bridge window [mem 0x00000000 64bit pref] to [bus 81] requires relaxed alignment rules
[  742.202122] pcieport 0000:7d:00.0: Assigned bridge window [mem 0x6060000000-0x607bffffff 64bit pref] to [bus 7e-a5] cannot fit 0x800000000 required for 0000:7f:00.0 bridging to [bus 80-81]
[  742.202123] pcieport 0000:7f:00.0: bridge window [mem 0x00000000 64bit pref] to [bus 80-81] requires relaxed alignment rules
[  742.202124] pcieport 0000:7d:00.0: Assigned bridge window [mem 0x6060000000-0x607bffffff 64bit pref] to [bus 7e-a5] cannot fit 0x800000000 required for 0000:7e:01.0 bridging to [bus 7f-91]
[  742.202125] pcieport 0000:7e:01.0: bridge window [mem 0x00000000 64bit pref] to [bus 7f-91] requires relaxed alignment rules
[  742.202127] pcieport 0000:7e:01.0: bridge window [mem size 0x400200000 64bit pref]: can't assign; no space
[  742.202128] pcieport 0000:7e:01.0: bridge window [mem size 0x400200000 64bit pref]: failed to assign
[  742.202129] pcieport 0000:7f:00.0: bridge window [mem size 0x400200000 64bit pref]: can't assign; no space
[  742.202130] pcieport 0000:7f:00.0: bridge window [mem size 0x400200000 64bit pref]: failed to assign
[  742.202131] pcieport 0000:80:00.0: bridge window [mem size 0x400200000 64bit pref]: can't assign; no space
[  742.202132] pcieport 0000:80:00.0: bridge window [mem size 0x400200000 64bit pref]: failed to assign
[  742.202133] amdgpu 0000:81:00.0: BAR 0 [mem size 0x400000000 64bit pref]: can't assign; no space
[  742.202133] amdgpu 0000:81:00.0: BAR 0 [mem size 0x400000000 64bit pref]: failed to assign
[  742.202134] amdgpu 0000:81:00.0: BAR 2 [mem 0x52200000-0x523fffff 64bit pref]: assigned
[  742.202152] pcieport 0000:7d:00.0: PCI bridge to [bus 7e-a5]
[  742.202154] pcieport 0000:7d:00.0:   bridge window [io  0x7000-0x9fff]
[  742.202159] pcieport 0000:7d:00.0:   bridge window [mem 0x52000000-0x5e1fffff]
[  742.202163] pcieport 0000:7d:00.0:   bridge window [mem 0x6060000000-0x607bffffff 64bit pref]
[  742.202170] pcieport 0000:7e:01.0: PCI bridge to [bus 7f-91]
[  742.202172] pcieport 0000:7e:01.0:   bridge window [io  0x7000-0x7fff]
[  742.202178] pcieport 0000:7e:01.0:   bridge window [mem 0x52000000-0x580fffff]
[  742.202181] pcieport 0000:7e:01.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.202188] pcieport 0000:7f:00.0: PCI bridge to [bus 80-81]
[  742.202191] pcieport 0000:7f:00.0:   bridge window [io  0x7000-0x7fff]
[  742.202199] pcieport 0000:7f:00.0:   bridge window [mem 0x52000000-0x57ffffff]
[  742.202204] pcieport 0000:7f:00.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.202213] pcieport 0000:80:00.0: PCI bridge to [bus 81]
[  742.202216] pcieport 0000:80:00.0:   bridge window [io  0x7000-0x7fff]
[  742.202224] pcieport 0000:80:00.0:   bridge window [mem 0x52000000-0x57ffffff]
[  742.202229] pcieport 0000:80:00.0:   bridge window [mem 0x6060000000-0x60701fffff 64bit pref]
[  742.202251] [drm] Not enough PCI address space for a large BAR.
[  742.202254] amdgpu 0000:81:00.0: BAR 0 [mem 0x6060000000-0x606fffffff 64bit pref]: assigned
[  742.202276] amdgpu 0000:81:00.0: amdgpu: VRAM: 16368M 0x0000008000000000 - 0x00000083FEFFFFFF (16368M used)
[  742.202277] amdgpu 0000:81:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[  742.202293] [drm] Detected VRAM RAM=16368M, BAR=256M
[  742.202294] [drm] RAM width 256bits GDDR6
[  742.202474] [drm] amdgpu: 16368M of VRAM memory ready
[  742.202475] [drm] amdgpu: 15902M of GTT memory ready.
[  742.202489] [drm] GART: num cpu pages 131072, num gpu pages 131072
[  742.202653] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
[  744.209438] amdgpu 0000:81:00.0: amdgpu: STB initialized to 2048 entries
[  744.209515] [drm] Loading DMUB firmware via PSP: version=0x02020020
[  744.209897] [drm] use_doorbell being set to: [true]
[  744.209912] [drm] use_doorbell being set to: [true]
[  744.209925] [drm] use_doorbell being set to: [true]
[  744.209937] [drm] use_doorbell being set to: [true]
[  744.209952] [drm] Found VCN firmware Version ENC: 1.32 DEC: 4 VEP: 0 Revision: 0
[  744.278429] amdgpu 0000:81:00.0: amdgpu: reserve 0xa00000 from 0x83fd000000 for PSP TMR
[  744.422056] amdgpu 0000:81:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[  744.422102] amdgpu 0000:81:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5a00 (58.90.0)
[  744.422115] amdgpu 0000:81:00.0: amdgpu: SMU driver if version not matched
[  744.422173] amdgpu 0000:81:00.0: amdgpu: use vbios provided pptable
[  744.497723] amdgpu 0000:81:00.0: amdgpu: SMU is initialized successfully!
[  744.498551] [drm] Display Core v3.2.301 initialized on DCN 3.0
[  744.498552] [drm] DP-HDMI FRL PCON supported
[  744.500172] [drm] DMUB hardware initialized: version=0x02020020
[  744.528025] [drm] kiq ring mec 2 pipe 1 q 0
[  744.638440] amdgpu: HMM registered 16368MB device memory
[  744.638575] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[  744.638599] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[  744.638783] amdgpu: Virtual CRAT table created for GPU
[  744.638973] amdgpu: Topology: Add dGPU node [0x73af:0x1002]
[  744.638975] kfd kfd: amdgpu: added device 1002:73af
[  744.639018] amdgpu 0000:81:00.0: amdgpu: SE 4, SH per SE 2, CU per SH 10, active_cu_number 80
[  744.639021] amdgpu 0000:81:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[  744.639023] amdgpu 0000:81:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[  744.639023] amdgpu 0000:81:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[  744.639024] amdgpu 0000:81:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[  744.639025] amdgpu 0000:81:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[  744.639025] amdgpu 0000:81:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[  744.639026] amdgpu 0000:81:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[  744.639026] amdgpu 0000:81:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[  744.639027] amdgpu 0000:81:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[  744.639027] amdgpu 0000:81:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[  744.639028] amdgpu 0000:81:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[  744.639028] amdgpu 0000:81:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[  744.639029] amdgpu 0000:81:00.0: amdgpu: ring sdma1 uses VM inv eng 14 on hub 0
[  744.639030] amdgpu 0000:81:00.0: amdgpu: ring sdma2 uses VM inv eng 15 on hub 0
[  744.639030] amdgpu 0000:81:00.0: amdgpu: ring sdma3 uses VM inv eng 16 on hub 0
[  744.639031] amdgpu 0000:81:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[  744.639031] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[  744.639032] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[  744.639032] amdgpu 0000:81:00.0: amdgpu: ring vcn_dec_1 uses VM inv eng 5 on hub 8
[  744.639033] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_1.0 uses VM inv eng 6 on hub 8
[  744.639033] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_1.1 uses VM inv eng 7 on hub 8
[  744.639034] amdgpu 0000:81:00.0: amdgpu: ring jpeg_dec uses VM inv eng 8 on hub 8
[  744.640565] amdgpu 0000:81:00.0: amdgpu: Using BOCO for runtime pm
[  744.641142] [drm] Initialized amdgpu 3.59.0 for 0000:81:00.0 on minor 0
[  744.650978] amdgpu 0000:81:00.0: [drm] Cannot find any crtc or sizes
[  744.651722] pci 0000:81:00.1: D0 power state depends on 0000:81:00.0
[  744.651771] snd_hda_intel 0000:81:00.1: enabling device (0000 -> 0002)
[  744.651922] snd_hda_intel 0000:81:00.1: Force to non-snoop mode
[  744.651952] pci 0000:92:00.0: enabling device (0000 -> 0002)
[  744.652217] xhci_hcd 0000:92:00.0: xHCI Host Controller
[  744.652403] xhci_hcd 0000:92:00.0: new USB bus registered, assigned bus number 5
[  744.653590] xhci_hcd 0000:92:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810
[  744.653935] xhci_hcd 0000:92:00.0: xHCI Host Controller
[  744.653937] xhci_hcd 0000:92:00.0: new USB bus registered, assigned bus number 6
[  744.653938] xhci_hcd 0000:92:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[  744.653965] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[  744.653966] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  744.653967] usb usb5: Product: xHCI Host Controller
[  744.653967] usb usb5: Manufacturer: Linux 6.12.1-arch1-1 xhci-hcd
[  744.653968] usb usb5: SerialNumber: 0000:92:00.0
[  744.656015] hub 5-0:1.0: USB hub found
[  744.656024] hub 5-0:1.0: 2 ports detected
[  744.657921] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[  744.657925] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  744.657927] usb usb6: Product: xHCI Host Controller
[  744.657928] usb usb6: Manufacturer: Linux 6.12.1-arch1-1 xhci-hcd
[  744.657930] usb usb6: SerialNumber: 0000:92:00.0
[  744.663224] snd_hda_intel 0000:81:00.1: bound 0000:81:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[  744.664166] hub 6-0:1.0: USB hub found
[  744.664185] hub 6-0:1.0: 2 ports detected
[  744.664695] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input51
[  744.664776] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input52
[  744.664816] input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input53
[  744.664854] input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input54
[  744.664893] input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input55
[  744.664938] input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:07.3/0000:7d:00.0/0000:7e:01.0/0000:7f:00.0/0000:80:00.0/0000:81:00.1/sound/card1/input56
[  761.753650] thunderbolt 0000:00:0d.3: 0:3: failed to reach state TB_PORT_UP. Ignoring port...
[  761.753671] thunderbolt 0000:00:0d.3: 0:3: lost during suspend, disconnecting
[  761.810391] thunderbolt 1-0:3.1: retimer disconnected
[  761.813142] thunderbolt 1-3: device disconnected

btw the same eGPU setup works perfectly on another Zephyrus 14 laptop (running Win11) so at least the issue is not on the eGPU side :frowning:

If it’s disconnecting and reconnecting my assumption would be a cabling issue.

Perhaps the cable is faulty, or the type c port is on the way out on the laptop. Have you tried different ports on the laptop?

Does the Zephyrus connect at the full 32Gbps speed? Some older laptops use a slower tb speed so if that’s a slower one it might be fine with a cable that the framework won’t like.

I thought it might be a cable issue at first so I bought another TB4 cable but the problem still persists. :pensive: And this issue can be reproduced on all 4 ports.
I haven’t run a detailed test on my Zephyrus about the transmission speed but gaming on the external monitor connected to the eGPU seems fine. I’ll try running some benchmarks today to check.

now that doesn’t seem normal… what suspend? :-?
Seems like a driver/kernel issue to me: have you tried another distro from a live media maybe? or at least some older kernel versions? (like 6.11 or 6.10)

I agree that this looks more like a driver/kernel issue. I tried 6.11 and the issue is the same.
Actually now I suspect this may relate to PD since once I only use the port for data transmission at least there’s no disconnection anymore. However, there’re still some issues related to the GPU power management - this occurs repeatedly:

[  445.068319] pcieport 0000:00:07.3: PME: Spurious native interrupt!
[  445.321250] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
[  445.321312] amdgpu 0000:81:00.0: amdgpu: PSP is resuming...
[  445.403185] amdgpu 0000:81:00.0: amdgpu: reserve 0xa00000 from 0x83fd000000 for PSP TMR
[  445.547766] amdgpu 0000:81:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[  445.547784] amdgpu 0000:81:00.0: amdgpu: SMU is resuming...
[  445.547798] amdgpu 0000:81:00.0: amdgpu: smu driver if version = 0x00000040, smu fw if version = 0x00000041, smu fw program = 0, version = 0x003a5a00 (58.90.0)
[  445.547812] amdgpu 0000:81:00.0: amdgpu: SMU driver if version not matched
[  445.622604] amdgpu 0000:81:00.0: amdgpu: SMU is resumed successfully!
[  445.624260] [drm] DMUB hardware initialized: version=0x02020020
[  445.651194] [drm] kiq ring mec 2 pipe 1 q 0
[  445.661899] amdgpu 0000:81:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[  445.661901] amdgpu 0000:81:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[  445.661902] amdgpu 0000:81:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[  445.661903] amdgpu 0000:81:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[  445.661904] amdgpu 0000:81:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[  445.661905] amdgpu 0000:81:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[  445.661906] amdgpu 0000:81:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[  445.661907] amdgpu 0000:81:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[  445.661908] amdgpu 0000:81:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[  445.661909] amdgpu 0000:81:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[  445.661909] amdgpu 0000:81:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[  445.661910] amdgpu 0000:81:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[  445.661911] amdgpu 0000:81:00.0: amdgpu: ring sdma1 uses VM inv eng 14 on hub 0
[  445.661912] amdgpu 0000:81:00.0: amdgpu: ring sdma2 uses VM inv eng 15 on hub 0
[  445.661913] amdgpu 0000:81:00.0: amdgpu: ring sdma3 uses VM inv eng 16 on hub 0
[  445.661914] amdgpu 0000:81:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[  445.661915] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[  445.661915] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[  445.661916] amdgpu 0000:81:00.0: amdgpu: ring vcn_dec_1 uses VM inv eng 5 on hub 8
[  445.661917] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_1.0 uses VM inv eng 6 on hub 8
[  445.661918] amdgpu 0000:81:00.0: amdgpu: ring vcn_enc_1.1 uses VM inv eng 7 on hub 8
[  445.661919] amdgpu 0000:81:00.0: amdgpu: ring jpeg_dec uses VM inv eng 8 on hub 8
[  445.669785] amdgpu 0000:81:00.0: [drm] Cannot find any crtc or sizes
[  446.180718] pci_bus 0000:92: Allocating resources
[  446.193364] pci_bus 0000:92: Allocating resources