Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux:egpu [2026/04/25 12:26] – [Setup Procedure (Linux Mint 22 + Razer Core X + GTX 1060)] mh | linux:egpu [2026/04/25 12:30] (current) – [Setup Procedure (Linux Mint 22 + Razer Core X + GTX 1060)] mh | ||
|---|---|---|---|
| Line 131: | Line 131: | ||
| Reboot (without eGPU connected). | Reboot (without eGPU connected). | ||
| + | |||
| + | |||
| + | === 7. Create PRIME offload helper === | ||
| + | |||
| + | Linux Mint 22 does not provide prime-run by default. | ||
| + | |||
| + | Create it manually: | ||
| + | |||
| + | <code bash> | ||
| + | sudo nano / | ||
| + | </ | ||
| + | |||
| + | Content: | ||
| + | < | ||
| + | #!/ bin / sh | ||
| + | __NV_PRIME_RENDER_OFFLOAD=1 \ | ||
| + | __GLX_VENDOR_LIBRARY_NAME=nvidia \ | ||
| + | __VK_LAYER_NV_optimus=NVIDIA_only \ | ||
| + | __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 \ | ||
| + | exec " | ||
| + | </ | ||
| + | |||
| + | |||
| + | Make executable: | ||
| + | |||
| + | <code bash> | ||
| + | sudo chmod +x / | ||
| + | </ | ||
| + | |||
| + | |||
| + | === 8. Test GPU usage === | ||
| + | |||
| + | Connect the eGPU after boot, then run: | ||
| + | |||
| + | <code bash> | ||
| + | nvidia-smi | ||
| + | </ | ||
| + | |||
| + | You should see the GTX 1060 listed. | ||
| + | |||
| + | Test offloading: | ||
| + | |||
| + | <code bash> | ||
| + | prime-run glxinfo | grep " | ||
| + | </ | ||
| + | |||
| + | |||
| + | === 9. Usage === | ||
| + | |||
| + | Run applications on the eGPU: | ||
| + | |||
| + | <code bash> | ||
| + | prime-run < | ||
| + | </ | ||
| + | |||
| + | Example: | ||
| + | |||
| + | <code bash> | ||
| + | prime-run blender | ||
| + | prime-run steam | ||
| + | </ | ||
| + | |||
| + | |||
| + | === 10. Important notes === | ||
| + | |||
| + | * Laptop must boot **without** eGPU connected (known limitation on this hardware) | ||
| + | * eGPU must be hot-plugged after login | ||
| + | * Internal display introduces a ~20–30% performance penalty (PCIe copy-back) | ||
| + | * External monitor connected to the GPU removes this penalty completely | ||
| + | * Cycles rendering (Blender) is not affected by this limitation | ||