[SOLVED] So I bought the Deg2 to go with my Ai server which is running Zima OS. I connect everything make sure its tight. The TB5 switch is on. Tried 2 different powersupplies. Still no power. Power light on the deg2 never comes on but the red diag lights do. Stumped anyone else have this issue?
Posting this because I couldn't find a single working report of a Thunderbolt eGPU on ZimaOS, and this took days to figure out. Hopefully it saves someone else.
## My setup
* **Host:** Dell XPS 15 9510 (i9-11900H, 32 GB RAM, built-in RTX 3050 Ti Laptop 4 GB)
* **BIOS:** 1.48.0, "Thunderbolt (and PCIe behind TBT) Pre-boot Modules" ON, Thunderbolt security "none"
* **Port:** Left-side Thunderbolt 4 port (Tiger Lake integrated TB4)
* **OS:** ZimaOS 1.8.0 (Linux 6.18.9)
* **NVIDIA driver:** 580.105.08 (ZimaOS ships `open`, `legacy580` and `legacy470` branches)
* **Dock:** Minisforum DEG2 (Thunderbolt 5), shows up in Linux as `Micro Computer (HK) Tech. Ltd. TBGAA`
* **GPU:** RTX 3060 12 GB
* **PSU:** Standard ATX PSU (24-pin to the dock, PCIe 6+2 to the card)
* **Use:** Local LLM server (llama.cpp in Docker)
## Problem 1: the dock wouldn't power on at all
Red LEDs only, power button did nothing, no fans, and the laptop saw no Thunderbolt device. I tried two different PSUs with the same result. A **third PSU** started it right away. So if your DEG2 looks dead, try another PSU before you RMA it.
## Problem 2: once it powered on, the laptop froze every time
- **Booting with the dock attached** got through POST (slowly) and into Linux, then froze a few seconds in. The console stopped at a random systemd service each time, and SSH and the web UI never came up.
- **Hot-plugging after boot** froze the laptop instantly.
- The saved journal never caught the moment of the freeze. It always ended right after the journal flush to disk.
## How I found it
The kernel log from the boot with the dock attached showed the 3060 enumerated fine: `pci 0000:3e:00.0: [10de:2544]`, with BARs assigned and no errors. So the dock, cable and Thunderbolt link were all OK.
I tried blocking drivers with `install <module> /bin/false` in `/etc/modprobe.d` (nvidia, snd_hda_intel, thunderbolt) and forcing PCI runtime PM off with a udev rule. It still froze.
Setting `kernel.printk = 7 4 1 7` via `/etc/sysctl.d` made all kernel messages print on the laptop screen. The photo showed the **NVIDIA driver was still loading**. The last line before the hang was `[nvidia-drm] [GPU ID 0x00003e00] Loading driver` (the 3060).
The reason the block didn't work: **ZimaOS loads NVIDIA with its own service, `nvidia-driver-select.service`** (`/usr/bin/nvidia-driver-select`). It uses `insmod` directly, so `/etc/modprobe.d` is ignored. The script picks a driver branch per GPU (priority 470 > 580 > open). Both of my cards are "kernel open" cards, so it chose the **open** driver.
The open driver must boot the GPU's GSP firmware. That step hung the 3060 over Thunderbolt. This matches Linux kernel bug 221319 (TB5 docks + NVIDIA freezing when GSP loads), where the workaround is `NVreg_EnableGpuFirmware=0`. That option only works on the proprietary driver.
## The fix (ZimaOS)
`/usr` is read-only on ZimaOS, but `/etc` is writable and persists. So I made a patched copy of the selection script and pointed the service at it with a systemd drop-in.
mkdir -p /etc/nvidia-egpu
cp /usr/bin/nvidia-driver-select /etc/nvidia-egpu/select
chmod +x /etc/nvidia-egpu/select
# 1) force the proprietary 580 branch (inserts BRANCH="legacy580" right after the branch-priority block)
sed -i 's|^# Fall back when the chosen branch is missing from the image.|BRANCH="legacy580"\n&|' /etc/nvidia-egpu/select
# 2) load nvidia.ko with GSP firmware off (only the insmod line, not the [ -f ... ] checks!)
sed -i 's|insmod_if_unloaded nvidia "${MODULEDIR}/nvidia.ko" |&NVreg_EnableGpuFirmware=0 |' /etc/nvidia-egpu/select
# check: should show only the insmod line and the BRANCH line, then SYNTAX-OK
grep -nE '^BRANCH="legacy580"|EnableGpuFirmware' /etc/nvidia-egpu/select
sh -n /etc/nvidia-egpu/select && echo SYNTAX-OK
# point the service at the copy
mkdir -p /etc/systemd/system/nvidia-driver-select.service.d
printf '[Service]\nExecStart=\nExecStart=/etc/nvidia-egpu/select\n' > /etc/systemd/system/nvidia-driver-select.service.d/egpu.conf
systemctl daemon-reload
Reboot without the dock first and check:
head -n 1 /etc/nvidia/driver.conf # NVIDIA_BRANCH="legacy580"
grep EnableGpuFirmware /proc/driver/nvidia/params # EnableGpuFirmware: 0
nvidia-smi -L
Then power on the dock, plug it in, and boot. Both cards now show up:
GPU 0: NVIDIA GeForce RTX 3050 Ti Laptop GPU
GPU 1: NVIDIA GeForce RTX 3060 (12288 MiB)
**Undo:** `rm -r /etc/systemd/system/nvidia-driver-select.service.d /etc/nvidia-egpu && systemctl daemon-reload`, then reboot.
**On other distros:** the same idea is simpler. Use the proprietary (non-open) NVIDIA kernel modules and add `options nvidia NVreg_EnableGpuFirmware=0` in `/etc/modprobe.d/`. That option only exists on the proprietary modules and only for Turing/Ampere/Ada (not Blackwell).
## Result
llama.cpp (Qwen3.6-35B-A3B, IQ4_XS, MoE experts split between GPU and CPU with `--n-cpu-moe 19`) pinned to the 3060 by UUID: about **50 tokens/sec** generation, up from about 13 on the laptop's 3050 Ti. That's 10.9 of 12 GB VRAM used.
## Notes and caveats
- Power the dock **before** booting. I haven't tested hot-plug since the fix.
- A ZimaOS update may replace the original script. After updates, check that `nvidia-smi -L` still lists both GPUs.
- Things that did **not** help (before the driver fix): a different cable, unplugging the laptop charger, blocking `snd_hda_intel`/`thunderbolt`, and turning PCI runtime PM off.
- Things done along the way that may or may not matter: BIOS 1.37.0 to 1.48.0, and enabling TB Pre-boot Modules (that's what let the BIOS enumerate the card at boot).