Resource monitoring in general is not really a big deal for us in Tux-land. From great CLI tools, like all of the *tops (top, htop, bpytop, gotop, etc.) to great GUI tools (with KDE's newer resource monitor particularly REALLY great when it comes to presenting resource usage in a clean way to the user). But those really miss one essential aspect of resource monitoring, specially for desktop users. GPU usage.
Want to check how hard your $1000 graphics card is being stressed by that shiny new AAA game on Windows or in some sick benchmark or workflow? Just open Task Manager and check it, easy as that. Wanna do it on Linux? Well... get ready for a ride. Figure out what CLI tool works best for your GPU brand and go get'em at the terminal, champ! What, you want GUI tools? All you get is some small text in NVIDIA Settings for those that use NVIDIA.
It can get worse depending on what specific aspect of the GPU is being used. Want to check if your computer is properly using hardware encoding/decoding? Well, you're in luck (with CLI tools), nvidia-smi dmon and intel_gpu_top are really good. Unless you use AMD that is, since radeontop still doesn't have a way to expose GPU encoding/decoding.
I'm quite aware that developers are scarce and that this is definitely not a priority (and do I wish I knew enough code-fu to be able to do it myself), but it's kind of baffling that an integration with our DE's system resource monitoring tools doesn't exist for that particular aspect of the system. It's one of those many small papercuts you only realize hurts when you really need it.
EDIT: Yeah, I used a bad example for my point. Mangoud (specially with GOverlay) works great for monitoring your system during gaming or benchmarks. I meant more in the regular desktop usage sense of monitoring then in the gaming sense. Video editing or 3D modeling would be a better example of workflows where Mangohud wouldn't be the obvious answer for monitoring the resource usage.
GPU: RX 6600M
CPU: AMD Ryzen 5800H
Kernel 5.17.4 (fedora)
in elden ring I get average 20-30 fps and only %60 GPU, 30w power usage. disabling above 4g decoding in bios helps little but still getting 40-50 fps and power usage still is average 40-50w (witcher 3 uses 70-80w power)
tried proton-ge, wine-ge, bottles, lutris all has same problem.
Videos
Hey folks,
Running CachyOS as my primary gaming distro with an NVIDIA GTX 3070 graphics card. According to Mangohud, my GPU is at 60%+ utilisation, even in main menus.
Games like Cities Skylines 2 are completely maxing it!
Is there something I can do to optimise the GPU usage or is this pretty normal?
Hello guys, I installed PopOs 22.04 for Nvidia and all my games don't use my gpu so much. I stay at something like 10% on average and sometimes hit 20% while all my cpu cores reaching 100%.Do you have any why ? I read some stuff about cpu bottleneck but it seems weird to me as on my previous OS (windows 10) everything sounds fine. And my gpu is Nvidia Geforce GTX 970.The cpu is Intel i5-3570K quad core 3.8GHz.
Edit: some progress. I installed gamemode and set in the power mizer on performance in nvidia-settings. I also set my governor cpu on performance mode. So now sometime the gpu take compution but sometimes one of my cores take over the things and I have a huge drop of framerate and it follows a crash.
This post becomes an XYZ issue so TD;LR I am looking for a way to monitor GPU usage in linux Manjaro.
I heard at one point that linux does not do hardware acceleration. So, I was looking around in firefox and I found hardware acceleration. I decided to see if my GPU was actually being utilized and found that I have no GPU usage in my System monitor, Htop or Glances or tops... So, I was curious if there was a System monitor in linux that does show GPU usage. Glances has most everything...but not a GPU usage.
Is REALLY starting to annoy me. I have a mainstream distro - Ubuntu 23.10, I am rocking RX 7700XT GPU, since it's latest line of their GPUs I keep Mesa up to data, which is at 24.0.1 And I have this annoying issue where..... gaminig is pretty much a no-go.
Sometimes games run fine but after some time, GPU goes to 100% usage and fps drops to 10... And that happens for some games, but not the others. Restarting solves it, but it sucks keep rebooting the OS 2 times every hour.
GPU usageAnd new game "Pacific Drive" - settings at medium GPU usage 75%, temperature GOES TO 90C!!! (fps locked at 60)
Booted windows, same game all settings on ultra, GPU usage ~75%, temperature is 63C (fps locked at 60)
Mesa really sucks so badly? some games cause 100% usage, other games draw insane amount of power... I mean what does that GPU have to be doing to reach 90C. And no it's not a fan curve, it's spinning like jet engine.
I thought Proton might be buggy so I tried experimental, GE, 8.0.5 issues remain unchanged.
Anything notable in dmesg?
Try updating the kernel also, with https://kernel.ubuntu.com/mainline/?C=M;O=D for example
Point release isnโt fit for your hardware. If I were you Iโd give tumbleweed a chance. Itโs a rolling distro, but stable enough. You might get way better experience with it, or any other rolling.
Hello I am trying to find a program to monitor the usage of my AMD GPU usage and for some odd reason canโt find one. What does everyone here use?
I have an HP Victus laptop with an AMD ryzen 7 5800H apu and an Nvidia RTX 3060 dGPU. I am running Debian 12 with Gnome 43.9 (Wayland)
This is a hybrid graphics laptop with no mux switch. I have envycontrol installed and I keep my nvidia gpu powered down most of the time. Playing a YouTube video on Firefox uses about 7~8 % of my AMD iGPU on Windows. It goes to about 80~90% on linux.
I have tlp and auto-cpufreq installed for power management. I have disabled all the cpu related settings I could find in tlp's configs to prevent any conflict with auto-cpufreq.
What can I do to diagnose this issue? Please help!
Recently I have been trying out different Kernel Patchsets on my machine. I have tried Mainline, Zen, Xanmod, and TKG. When it comes to performance, both Zen and Xanmod have higher GPU usage, when checking with radentop, than Mainline and TKG (20-30โ ), which leads to higher FPS. Now I'm courious what causes these two kernels to use more of the gpu. I tried looking around but couldn't figure anything out.
So my question is does anybody know that leads to this higher GPU usage with Zen and Xanmod? A compile time option? A module? A parameter? Maybe something else entirely?
My desktop, themed to look like a Mac because I love the look and feel of macOS
So I know this is a weird question, but I was wondering if there was some way to show GPU usage in the System Monitor program in Pop!_OS. I know it might be possible, but I'm a noob at Linux and I'm not really sure how to go about getting it to show. Maybe use another program? IDK ยฏ\_(ใ)_/ยฏ
EDIT: I am using an AMD card
For AMD you have 'radeontop' tool/command from terminal
For Nvidia you have 'nvidia-settings' tool accessible from GUI and also from terminal. (I suppose depending on driver and card model the GPU usage is not always displayed, but I haven't used Nvidia for quite some years already)
Other than that you have gaming overlays that can also display GPU load like: Gallium_HUD for OpenGL games, DXVK_HUD for DXVK games and MANGOHUD for all types of games.
Otherwise I am not aware of a way to display the GPU usage in the system monitor
Go to https://extensions.gnome.org and search for GPU. It's depending on your graphical card.
im thinking on getting a gpu for my desktop the rtx 3050 6gb to be exact
but i heard that its a hassle and something bout dx 12 issue
im new to linux so i got no idea what's goin on just wanna make sure that its playable and
usable:)
AMD Ryzen 3600, GTX1080, 144Hz FHD monitor, Mint 20.3
I have had Mint installed for a long time alongside windows but the power usage has always kept me away from it in daily use.
-
Using Firefox and opening e.g. reddit front page CPU temp 30 C -> 55 C and total PC power usage from 115 W -> 230 W, multiple cores having 30-60% load.
-
Using Vivaldi, Reddit front is not causing any extra CPU load but I get horrible tearing when scrolling or watching videos. Also frame drops on youtube.
-
Tearing can be fixed with the Force Full Composition setting from Nvidia settings but this will increase GPU load and temperature rises from 40 -> 50 C. Power usage from 115 -> 175 W. GPU fans start sometimes.
-
Limiting display refresh rate from 144Hz -> 100Hz may have limited the load on GPU, I'm still testing.
-
On Windows 11 I can see barely any movement in the CPU or GPU temps while browsing around.
Anyone else having these kind of issues or any tips what to try next?
I have laptop HP Elitebook 8560w with nvidia quadro 1000M GPU and MX Linux installed on it. I am wondering if there is a way to reduce gpu power usage during gaming?
On windows I usually use msi afterburner to monitor my stats. Is there a linux alternative that does this?
Simple put, title says it all. I have been on Linux for a couple of months now and my biggest issue thus far is the lack of ability to really monitor usage of my GPU by application. I have AMD and the best I have found is "radeontop" and it's ok, but it's not much.
With gaming taking off for Linux with the steam deck is there any better GPU monitoring setup for modern gaming rigs on Linux?
Other than RadeonTop I have been trying to experiment with wine launching windows tools, but I have not had much success.
[seedship@triple-destinies ~]$ nvidia-smi
Tue Dec 29 22:31:07 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.45.01 Driver Version: 455.45.01 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1070 Off | 00000000:01:00.0 On | N/A |
| N/A 64C P0 55W / N/A | 1134MiB / 8116MiB | 79% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 770 G /usr/lib/Xorg 322MiB |
| 0 N/A N/A 128937 G /usr/lib/firefox/firefox 1MiB |
| 0 N/A N/A 139902 G ...mviewer/tv_bin/TeamViewer 207MiB |
| 0 N/A N/A 147796 G ...AAAAAAAA== --shared-files 26MiB |
| 0 N/A N/A 148489 G ...e/Steam/ubuntu12_32/steam 70MiB |
| 0 N/A N/A 148504 G ./steamwebhelper 1MiB |
| 0 N/A N/A 148516 G ...token=1395340159186027037 434MiB |
| 0 N/A N/A 149878 G ...token=1571661428272191793 55MiB |
| 0 N/A N/A 150371 G /usr/lib/firefox/firefox 3MiB |
+-----------------------------------------------------------------------------+I noticed high GPU usage on my GPU from nvidia-smi, but I saw that there are so many tasks utilizing GPU, I don't know who is causing it to be that high. I searched online for GPU profilers, but all I saw was nvidia-smi.
Does anyone know if there is a way to break down the % utilization of each task?