#Change GPU used for a specific process (AMD)
1 messages · Page 1 of 1 (latest)
So theres 3 ways.
One is for nvidia
Second one is for both amd and nvidia
Third one is for vulkan.
1st way
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia <your_app>
2nd way
DRI_PRIME=1 <your_app>
(The 1 there was a gpu ID i forgot the command for that but you may try 0 instead of 1 to get the correct gpu and check with glxinfo)
And 3rd one
VK_ICD_FILENAMES=/path/to/nvidia_or_amd_or_whatever_icd.json <your_app>