Set up an eGPU on Olares OS
Use this guide to connect an NVIDIA eGPU to Olares One and apply a temporary Gen1 workaround that improved initialization reliability in the tested Olares OS environment.
Power off before connecting
Do not connect or disconnect the eGPU while Olares OS is running. Power off Olares One completely before changing the connection.
In the tested Olares OS environment, the eGPU sometimes failed to initialize when its PCIe link operated at Gen4. The workaround in this guide limits the enclosure's PCIe link to Gen1 before initialization.
Before you start
This workaround has been tested with:
- Olares OS 1.12.6 based on Ubuntu 24.04
- NVIDIA driver 595.84
- AOOSTAR EG02
- NVIDIA GeForce RTX 4060 Ti
It also allowed the built-in RTX 5090M and external RTX 4060 Ti to run together in this configuration.
The workaround files do not hard-code a specific enclosure or GPU model. Check the eGPU support overview for tested configurations.
You also need:
sudoaccess to Olares OS- Terminal access
- A Thunderbolt eGPU enclosure with its own power supply
- A certified Thunderbolt 5 cable, preferably the cable supplied with the enclosure
- An NVIDIA GPU based on the Turing architecture or newer
Thunderbolt is backward-compatible. For best results, use Thunderbolt 5 hardware. Older Thunderbolt enclosures are not recommended.
Performance impact
This workaround limits the eGPU link to Gen1. It does not reduce the GPU's compute resources, but it may reduce performance when data moves between system memory and GPU memory.
- Workloads that keep the model and working data in VRAM may be affected mainly during model loading.
- CPU offload, limited VRAM, frequent PCIe transfers, gaming, and real-time rendering may experience a larger impact.
Actual performance depends on the workload.
Install the workaround
System-level workaround
This workaround changes the eGPU's PCIe link settings and temporarily removes and rescans the device during startup. Use only the files provided on this page. If your configuration differs from the tested configuration, check the eGPU support overview before continuing.
Download these files into the same directory:
Open a terminal in the download directory and check that
setpciis available:bashcommand -v setpciThe command should return a path such as
/usr/sbin/setpci. The workaround requiressetpci, which is provided by thepciutilspackage. If the command returns nothing, stop here and confirm the supported installation method for your Olares OS version.Install the files:
bashsudo install -m 0755 fix-egpu-link.sh /usr/local/sbin/fix-egpu-link.sh sudo install -m 0644 egpu-gen1-fix.service /etc/systemd/system/egpu-gen1-fix.service sudo install -m 0644 99-egpu-gen1-fix.rules /etc/udev/rules.d/99-egpu-gen1-fix.rules sudo systemctl enable egpu-gen1-fix.serviceConfirm that the service is enabled:
bashsudo systemctl is-enabled egpu-gen1-fix.serviceThe command should return
enabled.
The workaround identifies NVIDIA display controllers by PCI vendor and display class. It only acts on devices marked as removable, which excludes the built-in GPU.
Shut down and connect the eGPU
Open Settings, then select My hardware > Shutdown.

Scan the QR code with LarePass. When prompted, tap Confirm to shut down Olares One.
Wait until Olares One is completely off.
Install the GPU in its enclosure and connect the enclosure to its dedicated power supply.
Power on the enclosure, then connect it to the Thunderbolt 5 (USB-C) port on Olares One with a certified Thunderbolt 5 cable.
Press the power button to start Olares One.
The workaround runs automatically during startup.
Verify the connection
Complete both checks below. Dashboard confirms that Olares detects the eGPU. The link speed and log confirm that the workaround is active.
Confirm eGPU detection in Dashboard
Log in to Olares and open Dashboard.
Select the GPU card. Confirm that both the built-in GPU and external GPU appear.

Confirm that the workaround is active
Confirm that both GPUs appear:
bashnvidia-smiCheck the workaround log:
bashsudo tail -n 20 /var/log/egpu-gen1-fix.log
2.5 GT/s PCIe means Gen1 is active. A successful log includes:
after rescan: 0000:0a:00.0 speed=2.5 GT/s PCIe driver=nvidiaIf startup stalls, power off Olares One, disconnect the eGPU, and start it again. Then see Troubleshoot eGPU issues.
Disconnect the eGPU
- Open Settings > My hardware > Shutdown.
- Confirm the shutdown in LarePass and wait until Olares One is completely off.
- Turn off the enclosure.
- Disconnect the Thunderbolt cable from Olares One.
- Press the power button to start Olares One again.
Remove the workaround
Disconnect the eGPU first
Before removing the workaround, shut down Olares One and disconnect the eGPU. Starting Olares One with the eGPU connected after removal may cause the initialization issue to return.
Follow Disconnect the eGPU and start Olares One without the eGPU connected.
Open a terminal and remove the workaround:
bashsudo systemctl disable egpu-gen1-fix.service sudo rm /usr/local/sbin/fix-egpu-link.sh sudo rm /etc/systemd/system/egpu-gen1-fix.service sudo rm /etc/udev/rules.d/99-egpu-gen1-fix.rules sudo systemctl daemon-reload sudo udevadm control --reload-rulesRestart Olares One:
bashsudo reboot
The next time you connect the eGPU, it uses the default PCIe link behavior. The initialization issue may return.