I've used the egpu switcher script before and that switches between GPUs.
However, I would like to offload some A.I. rendering onto the AMD eGPU - while keeping the Intel iGPU normally active.
My DuckDuckGo-fu is failing me. Is this even possible?
I can use my nvidia dGPU within the laptop, I can offload work easy with:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia [app]
I'm looking for the same kind of thing for my AMD eGPU.
---
For the record, yeah, all in the same system. LOL Hoping to actually use both GPUs at the same time eventually. 😉
$ sudo lshw -C display -short H/W path Device Class Description ================================================================== /0/100/1/0 display GP107GLM [Quadro P2000 Mobile] /0/100/2 /dev/fb0 display Intel Corporation /0/100/1b.4/0/1/0/1/0/0/0 display Vega 10 XL/XT [Radeon RX Vega 56/64]
For those wondering:
Thinkpad P1 w/Quadro
Pop_OS! 20.10 (fresh install w/Nvidia drivers built-in, AMD always included in Pop_OS)
Razer Core X
Razer Core X, AMD Vega 64, various 1x-to-4x HDMI-connected monitors
|- Thinkpad P1, Pop_OS (aka Ubuntu) w/Regolith
|- Thinkpad Carbon X1 6th Gen, Pop_OS (aka Ubuntu) w/Regolith
^- 2018 Macbook Pro 15", macOS High Sierra