Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Cannot hotplug eGPU (for compute) anymore (Read 1132 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Cannot hotplug eGPU (for compute) anymore

Hi, I have a Razer Core X eGPU, with a NVIDIA RTX 3060Ti inside.

Whereas some time ago I was able to just plug the eGPU and use it for e.g. Pytorch, now I cannot anymore and I have to boot the laptop with the eGPU already plugged-in.

I just checked that, with a Ubuntu 22.04.1, the hotplug works.

The way I check that hotplugging works (independently of Nvidia driver support) is that I check if the NVIDIA device shows up in lspci.

So with the current 6.0.12-artix1-1 kernel, after I hotplug the eGPU, there is no NVIDIA mention in lspci.

Does anybody have some hint about what could be changed, e.g. in kernel compilations settings, or in kernel boot options, to have it working again?

Re: Cannot hotplug eGPU (for compute) anymore

Reply #1
Hello,

I propose to check the output of "dmesg" command at the time of the hotplug event, if there is something interesting printed there.

Re: Cannot hotplug eGPU (for compute) anymore

Reply #2
@SGOrava Thanks for your reply!

When I plug the eGPU, these lines appear in dmesg:

Code: [Select]
[  126.869990] thunderbolt 0-0:1.1: new retimer found, vendor=0x8087 device=0x15ee
[  127.400842] thunderbolt 0-1: new device found, vendor=0x127 device=0x1
[  127.400845] thunderbolt 0-1: Razer Core X

And there is nothing else triggered by the event (no other lines after, and all the lines before were already there before the event).

Re: Cannot hotplug eGPU (for compute) anymore

Reply #3
Whereas, under the same circumstances, Ubuntu 22.04.1 (on a Live USB) outputs this:

Code: [Select]
[  372.111271] thunderbolt 0-1: new device found, vendor=0x127 device=0x1
[  372.111283] thunderbolt 0-1: Razer Core X
[  372.372397] pcieport 0000:00:07.0: pciehp: Slot(3): Card present
[  372.372406] pcieport 0000:00:07.0: pciehp: Slot(3): Link Up
[  372.505079] pci 0000:02:00.0: [8086:15da] type 01 class 0x060400
[  372.505194] pci 0000:02:00.0: enabling Extended Tags
[  372.505457] pci 0000:02:00.0: supports D1 D2
[  372.505462] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[  372.505619] pci 0000:02:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.0 (capable of 31.504 G[  372.506113] pci 0000:02:00.0: Adding to iommu group 18
[  372.516832] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  372.517044] pci 0000:03:01.0: [8086:15da] type 01 class 0x060400
[  372.517127] pci 0000:03:01.0: enabling Extended Tags
[  372.517326] pci 0000:03:01.0: supports D1 D2
[  372.517329] pci 0000:03:01.0: PME# supported from D0 D1 D2 D3hot D3cold
[  372.517988] pci 0000:03:01.0: Adding to iommu group 19
[  372.518354] pci 0000:02:00.0: PCI bridge to [bus 03-2a]
[  372.518369] pci 0000:02:00.0:   bridge window [io  0x0000-0x0fff]
[  372.518377] pci 0000:02:00.0:   bridge window [mem 0x00000000-0x000fffff]
[  372.518387] pci 0000:02:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  372.518393] pci 0000:03:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[  372.518570] pci 0000:04:00.0: [10de:2489] type 00 class 0x030000
[  372.518603] pci 0000:04:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[  372.518630] pci 0000:04:00.0: reg 0x14: [mem 0x00000000-0x0fffffff 64bit pref]
[  372.518655] pci 0000:04:00.0: reg 0x1c: [mem 0x00000000-0x01ffffff 64bit pref]
[  372.518670] pci 0000:04:00.0: reg 0x24: [io  0x0000-0x007f]
[  372.518685] pci 0000:04:00.0: reg 0x30: [mem 0x00000000-0x0007ffff pref]
[  372.518898] pci 0000:04:00.0: PME# supported from D0 D3hot
[  372.519127] pci 0000:04:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x4 link at 0000:00:07.0 (capable of 252.048 Gb/s with 16.0 GT/s PCIe x16 link)
[  372.519554] pci 0000:04:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[  372.519567] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[  372.519584] pci 0000:04:00.0: Adding to iommu group 19
[  372.519671] pci 0000:04:00.1: [10de:228b] type 00 class 0x040300
[  372.519705] pci 0000:04:00.1: reg 0x10: [mem 0x00000000-0x00003fff]
[  372.520044] pci 0000:04:00.1: Adding to iommu group 19
[  372.520180] pci 0000:03:01.0: PCI bridge to [bus 04-2a]
[  372.520193] pci 0000:03:01.0:   bridge window [io  0x0000-0x0fff]
[  372.520200] pci 0000:03:01.0:   bridge window [mem 0x00000000-0x000fffff]
[  372.520211] pci 0000:03:01.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[  372.520216] pci_bus 0000:04: busn_res: [bus 04-2a] end is updated to 04
[  372.520226] pci_bus 0000:03: busn_res: [bus 03-2a] end is updated to 04
[  372.520247] pci 0000:02:00.0: BAR 15: assigned [mem 0x6000000000-0x601bffffff 64bit pref]
[  372.520252] pci 0000:02:00.0: BAR 14: assigned [mem 0x7c000000-0x881fffff]
[  372.520255] pci 0000:02:00.0: BAR 13: assigned [io  0x4000-0x4fff]
[  372.520261] pci 0000:03:01.0: BAR 15: assigned [mem 0x6000000000-0x601bffffff 64bit pref]
[  372.520265] pci 0000:03:01.0: BAR 14: assigned [mem 0x7c000000-0x881fffff]
[  372.520268] pci 0000:03:01.0: BAR 13: assigned [io  0x4000-0x4fff]
[  372.520273] pci 0000:04:00.0: BAR 1: assigned [mem 0x6000000000-0x600fffffff 64bit pref]
[  372.520296] pci 0000:04:00.0: BAR 3: assigned [mem 0x6010000000-0x6011ffffff 64bit pref]
[  372.520318] pci 0000:04:00.0: BAR 0: assigned [mem 0x7c000000-0x7cffffff]
[  372.520326] pci 0000:04:00.0: BAR 6: assigned [mem 0x7d000000-0x7d07ffff pref]
[  372.520330] pci 0000:04:00.1: BAR 0: assigned [mem 0x7d080000-0x7d083fff]
[  372.520338] pci 0000:04:00.0: BAR 5: assigned [io  0x4000-0x407f]
[  372.520347] pci 0000:03:01.0: PCI bridge to [bus 04]
[  372.520352] pci 0000:03:01.0:   bridge window [io  0x4000-0x4fff]
[  372.520361] pci 0000:03:01.0:   bridge window [mem 0x7c000000-0x881fffff]
[  372.520368] pci 0000:03:01.0:   bridge window [mem 0x6000000000-0x601bffffff 64bit pref]
[  372.520379] pci 0000:02:00.0: PCI bridge to [bus 03-04]
[  372.520383] pci 0000:02:00.0:   bridge window [io  0x4000-0x4fff]
[  372.520391] pci 0000:02:00.0:   bridge window [mem 0x7c000000-0x881fffff]
[  372.520398] pci 0000:02:00.0:   bridge window [mem 0x6000000000-0x601bffffff 64bit pref]
[  372.520408] pcieport 0000:00:07.0: PCI bridge to [bus 02-2a]
[  372.520412] pcieport 0000:00:07.0:   bridge window [io  0x4000-0x4fff]
[  372.520417] pcieport 0000:00:07.0:   bridge window [mem 0x7c000000-0x881fffff]
[  372.520422] pcieport 0000:00:07.0:   bridge window [mem 0x6000000000-0x601bffffff 64bit pref]
[  372.520473] pcieport 0000:02:00.0: enabling device (0000 -> 0003)
[  372.521020] pcieport 0000:03:01.0: enabling device (0000 -> 0003)
[  372.522388] pci 0000:04:00.1: D0 power state depends on 0000:04:00.0
[  372.522444] snd_hda_intel 0000:04:00.1: enabling device (0000 -> 0002)
[  372.522653] snd_hda_intel 0000:04:00.1: Disabling MSI
[  372.522664] snd_hda_intel 0000:04:00.1: Handle vga_switcheroo audio client
[  372.555525] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input27
[  372.556130] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input28
[  372.556320] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input29
[  372.556544] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input30
[  372.556782] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input31
[  372.556935] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input32
[  372.557116] input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:07.0/0000:02:00.0/0000:03:01.0/0000:04:00.1/sound/card1/input33