System monitor does not show intel igpu usage

hello i’m new here.

i’ve always been using intel_gpu_top to watch my igpu usage. Now, I upgraded to KDE plasma 6.4 expecting the “usage monitoring for Intel GPUs”, and GPU usage is at 0% even though intel_gpu_top shows usage. I also tried adding another page in the system monitor for all GPU usage.

Here are some of my details:
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.11.0-26-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® N4100 CPU @ 1.10GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Intel® UHD Graphics 600
Manufacturer: LENOVO

I suspect this kernel might not expose this through the API used by systemsettings.

This depends on libdrm and driver implementation.

For instance intel gpu report temperature and fan speed since 6.12.

Not sure need to update to 6.4 to check.

intel_gpu_top is first party software, meaning it is developed using special syscalls specific to intel drivers. Since those can break and would require implementing more code, we support this through libdrm which standardize this kind of data access across drivers (nvidia has yet to follow amd and intel suit).

I see the same issue as OP, and I don’t think it’s about kernel/libdrm support. First of all, even nvtop shows non-zero GPU usage and memory while the KDE applet and system monitor think it’s zero. Second, I actually have seen the applet partially working (i.e. showing GPU usage but not memory) after rebooting the machine, and then it seems to go mute at some moment, I couldn’t figure out why so far.

At least on my system it works, my laptop is a bit recent.
In the processus view, add the Gpu usage and gpu memory usage:

kinfo
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1365U

Individual processes work here too - it’s the History tab (and the applet that also shows the total GPU usage) that is showing 0.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 12th Gen Intel® Core™ i7-1280P
Memory: 32 GiB of RAM (31.0 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

I don’t have this issue.

Please share your system info. kinfo

See above. Also, someone has even submitted the bug already: 506993 – GPU usage always shows 0 after almost one hour's work

For the record - looks like the problem is somewhere inside Intel GPU tools code: Making sure you're not a bot!

Rather plasma-systemmonitor is affected by the same issue.

plasma-systemmonitor does not use intel_gpu_top, but probably the same source data.

I do not agree with the solution. Using the latest daily build of kubuntu:
Operating System: Kubuntu 26.04
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.9.2
Kernel Version: 6.18.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 14 × Intel® Core™ Ultra 5 235T
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: Intel® Graphics

The problem is still there if I start plasma-systemmonitor via menu. But when I start it with root rights:
sudo strace plasma-systemmonitor
then the GPU load is shown.

Using the latest Fedora KDE:
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.11-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 14 × Intel® Core™ Ultra 5 235T
Memory: 32 GiB of RAM (30.6 GiB usable)
Graphics Processor: Intel® Graphics
The problem is not reproducible.

I stopped seeing the problem on my Fedora machine too - I think it was an upgrade to intel-gpu-firmware version 20251125 that fixed it.

Hello,

I am having similar problem, plasma-systemmonitor does not show the GPU usage (as user). Incidentally fount out, that when I’m logged in as root on KDE and then start systemmonitor, it shows GPU… So it must be something with root -privileges. Unfortunately cannot start systemmonitor from the user account via sudo or similar.

Also when i use intel_gpu_top or nvtop or (GUI)Mission control the GPU is shown, so the info is there, only plasma-systemmonitor cannot read it. Do you have any idea what file permissions etc. I have to change, so I can see the GPU? Or any other solution?

xxxx@localhost:~> inxi -v2
System:
  Host: localhost.localdomain Kernel: 6.12.0-160000.30-default arch: x86_64
    bits: 64
  Desktop: KDE Plasma v: 6.4.2 Distro: openSUSE Leap 16.0
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME H510M-A WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1601
    date: 05/07/2022
CPU:
  Info: 6-core 11th Gen Intel Core i5-11400 [MT MCP] speed (MHz): avg: 800
    min/max: 800/4400
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] driver: i915 v: kernel
  Device-2: Microdia Sonix USB 2.0 Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: vesa
    dri: iris gpu: i915 resolution: 1920x1080
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.3.3
    renderer: Mesa Intel Graphics (RKL GT1)
Network:
  Device-1: Intel Ethernet I219-V driver: e1000e
kinfo
Operating System: openSUSE Leap 16.0
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.12.0-160000.30-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 16 GiB of RAM (14.5 GiB usable)
Graphics Processor: Mesa Intel® Graphics

xxx@localhost:~> sudo plasma-systemmonitor 
[sudo] Passwort für xxx: 
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.

Abgebrochen

CAP_PERFMON on ksystemstats_intel_helper like mentioned here?
The path to ksystemstats_intel_helper could be different to the one in that thread as it is just “/usr/lib/” for me (on arch). A getcap /usr/lib/ksystemstats_intel_helper (with the correct path for openSUSE) will show you if cap_perfmon is set to “ep”

Thank you!

now it works (even without rebooting, just closing and starting systemmonitor). The path for my distro seems to be /usr/libexec :

braun@localhost:~> getcap /usr/lib/ksystemstats_intel_helper

Das Programm 'getcap' kann in den folgenden Paketen gefunden werden:
  * libcap-progs [ Pfad: /usr/sbin/getcap, Repository: openSUSE:repo-oss ]
  * libcap-progs [ Pfad: /usr/sbin/getcap, Repository: openSUSE:repo-oss ]

Zum Installieren versuchen Sie:
    sudo zypper install <ausgewähltes_Paket>

braun@localhost:~> sudo getcap /usr/lib/ksystemstats_intel_helper
[sudo] Passwort für braun:
/usr/lib/ksystemstats_intel_helper (No such file or directory)
braun@localhost:~> sudo getcap /usr/libexec/ksystemstats_intel_helper
[sudo] Passwort für braun:
braun@localhost:~> sudo setcap ‘CAP_SYS_ADMIN=+ep’ /usr/libexec/ksystemstats_intel_helper
argument: ‘CAP_SYS_ADMIN=+ep’
fatal error: Invalid argument
usage: setcap [--license] [-f] [-h] [-n <rootid>] [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]

 Note <filename> must be a regular (non-symlink) file.
 -r          remove capability from file
 -           read capability text from stdin
 <capsN>     cap_from_text(3) formatted file capability
 [ Note: capsh --suggest="something..." might help you pick. ]
 --license   display the license info
 -f          force setting even when the capability is invalid
 -h          this message and exit status 0
 -n <rootid> write a user namespace (!= 0) limited capability
 -q          quietly
 -v          validate supplied capability matches file
braun@localhost:~> sudo setcap CAP_SYS_ADMIN=+ep /usr/libexec/ksystemstats_intel_helper
braun@localhost:~> sudo setcap CAP_PERFMON=+ep /usr/libexec/ksystemstats_intel_helper
braun@localhost:~> sudo getcap /usr/libexec/ksystemstats_intel_helper
/usr/libexec/ksystemstats_intel_helper cap_perfmon=ep
braun@localhost:~>

Sigh seems like your distro ignored my email that we need CAP_PERFMON that I send when things were merged. Please report to them.