nvtop
will show you what processes are using your GPU.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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
...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.
Edit: 3.2.0 has them: https://github.com/Syllo/nvtop/releases/tag/3.2.0
Thank you for your contributions!
Thanks for the tip! I wasn't aware of nvtop, and I'm thoroughly pleased that's no longer the case.
does it work for multi gou systems?
The screenshot in the readme suggests it does, but I couldn’t say for myself. I’m not that rich.
nice
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
unfortunately, radontop doesn't support relatively old cards. I get this error. (And the github page states that >R600 will work)
Unknown Radeon card. <= R500 won't work, new cards might.
Also, my AMD CPU has a integrated GPU too, radeontop just doesn't know about it.
The GPU works on my system tho, just radeontop doesn't detect/support them. Oh well.
That's a bummer then. Sorry friend.
intel_gpu_top
, nvidia-smi
, or radeontop
. pick your poison.
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.
I've always had to manually add my GPU to system monitor, and since I've always had integrated GPU as well, had to sort out which GPU is the dedicated GPU before knowing what service is using which GPU. But this definitely is my favorite method once I get it all set up, makes it really clear if a steam game is using the wrong GPU
If you've got an nvidia gpu+drivers installed, you've probably got 'nvidia-smi' already which will show you utilization and which processes are using it.