Title, I am unsure if games are using my GPU or if using my CPU, or maybe my GPU through my CPU, I do not know, something is using my GPU, but I think its just KDE plasma, and I would like to know definitively how to find out
intel_gpu_top
,nvidia-smi
, orradeontop
. pick your poison.Everyone talking about nvidia, but install radeontop for amd cards. It’s not very detailed but shows the gpu usage.
For nvidia I like nvidia-smi.
nvtop, while it sounds like it’s nvidia, is brand agnostic It actually stands for “neat videocard top”
It’ll show per process usage of memory and compute usage on most GPUs
If you’ve got an nvidea gpu+drivers installed, you’ve probably got ‘nvidea-smi’ already which will show you utilization and which processes are using it.
nvtop
will show you what processes are using your GPU.does it work for multi gpu systems?
…and for anyone like me who was unsure, yes it works equivalently for AMD. I think Intel as well, but I’m not sure about that.
The master branch works well with Intel ARC, I contributed a lot of the ARC changes. I don’t think they’ve made it into a release yet though.
Thanks til. After 30+ years using Linux exclusively. That is very useful.
Admittedly GPUs were not a thing when I started. It’s cool to learn new useful things. Thanks.
+1 for nvtop, helped me check my vram usage
Thanks for the tip! I wasn’t aware of nvtop, and I’m thoroughly pleased that’s no longer the case.
Since you’re on KDE, plasma-systemmonitor should already be installed. It is the closest to the Windows task manager that you’re probably familiar with.
You can use Bumblebee to ensure your game is the only thing that gets the GPU by running only it through
optirun
(AMD support is probably not coming soon)You can also use
taskset
to ensure that only your game gets physical CPU cores, and everything else gets efficiency CPU cores