linux:egpu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:egpu [2026/04/25 12:29] – [Setup Procedure (Linux Mint 22 + Razer Core X + GTX 1060)] mhlinux:egpu [2026/04/25 12:30] (current) – [Setup Procedure (Linux Mint 22 + Razer Core X + GTX 1060)] mh
Line 152: Line 152:
 exec "$@" exec "$@"
 </code> </code>
 +
 +
 +Make executable:
 +
 +<code bash>
 +sudo chmod +x /usr/local/bin/prime-run
 +</code>
 +
 +
 +=== 8. Test GPU usage ===
 +
 +Connect the eGPU after boot, then run:
 +
 +<code bash>
 +nvidia-smi
 +</code>
 +
 +You should see the GTX 1060 listed.
 +
 +Test offloading:
 +
 +<code bash>
 +prime-run glxinfo | grep "OpenGL renderer"
 +</code>
 +
 +
 +=== 9. Usage ===
 +
 +Run applications on the eGPU:
 +
 +<code bash>
 +prime-run <application>
 +</code>
 +
 +Example:
 +
 +<code bash>
 +prime-run blender
 +prime-run steam
 +</code>
 +
 +
 +=== 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
  • linux/egpu.txt
  • Last modified: 2026/04/25 12:30
  • by mh