I have a notebook with an Intel iGPU and a dedicated AMD GPU and I was told that by default the iGPU would be used, but that I can explicitly tell a program use the AMD GPU by running it like this
DRI_PRIME=1 example_program
I know that this works for glmark2 because it tells me in the terminal, but how can I verify this for any other process?
For nvidia GPUs there apparently is a utility called
nvidia-smi
, but I need something that works for AMD GPUs.I’m using Fedora 34 in case it matters…
Answer
Depending on your GPU:
- AMD Radeon:
radeontop
- Intel Graphics:
intel-gpu-tools
- Nvidia GeForce:
nvidia-smi
To see which process your Radeon uses, look for radeon-profile
:
Attribution
Source : Link , Question Author : Forivin , Answer Author : X.LINK