Closed freeze-dolphin closed 2 months ago
GPU information:
freeze-dolphin@abyss:~$ lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
03:00.0 VGA compatible controller [0300]: Intel Corporation DG2 [Arc A770] [8086:56a0] (rev 08) (prog-if 00 [VGA controller])
13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c2) (prog-if 00 [VGA controller])
Solved:
Finally I found the solution myself.
As you can see when setting DRI_PRIME to '1', it will use the iGPU. While setting to '0', it uses the dGPU. That's why the 'Use discrete GPU' option confused me a lot.
Originally posted by @freeze-dolphin in https://github.com/PrismLauncher/PrismLauncher/issues/2834#issuecomment-2357416049
I'm trying to specify GPU for my games using gamemode, here is the gpu part of my
gamemode.ini
:gamemoded -t
output:Running Minecraft (Nomifactory Modpack, based on 1.12.2), apparently it's not using the dedicated GPU:
The amd gpu above is the iGPU of my CPU.