Bug 496744

Summary: Excessive GPU usage when running plasma-systemmonitor
Product: [Applications] plasma-systemmonitor Reporter: Tom <tom>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, nate, plasma-bugs
Priority: NOR    
Version: 6.2.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom 2024-11-27 08:22:19 UTC
SUMMARY
When running the plasma system monitor my intel iGPU is 70% utilized. Without it the utilization is only around 2-5%
Such a significant performance impact kinda defeats the purpose of a resource monitoring application.
Other KDE apps have no noticeable performance impact (tried: Settings, Dolphin, Kate, Gwenview).

STEPS TO REPRODUCE
1. Have a machine running Intel Comet Lake UHD Graphics using the Mesa 24.0.9-0ubuntu0.2 driver (Other GPUs & drivers might be affected too)
2. Check intel_gpu_top
3. Start plasma-systemmonitor
4. Check intel_gpu_top again


OBSERVED RESULT
70% GPU Utilization

EXPECTED RESULT
Lower GPU utilization. 


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.8.0-49-generic (64-bit)
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Graphics Platform: X11

ADDITIONAL INFORMATION
❯ sudo lshw -c video
  *-display                 
       description: VGA compatible controller
       product: Comet Lake UHD Graphics
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:196 memory:eb000000-ebffffff memory:60000000-6fffffff ioport:3000(size=64) memory:c0000-dffff


❯ vulkaninfo --summary
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD /usr/lib/x86_64-linux-gnu/libvulkan_virtio.so. Skipping this driver.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.275


Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 7
--------------------------
VK_LAYER_INTEL_nullhw             INTEL NULL HW                1.1.73   version 1
VK_LAYER_MESA_device_select       Linux device selection layer 1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer           1.3.211  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.2.136  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.2.136  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.2.136  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.2.136  version 1

Devices:
========
GPU0:
        apiVersion         = 1.3.274
        driverVersion      = 24.0.9
        vendorID           = 0x8086
        deviceID           = 0x9bca
        deviceType         = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
        deviceName         = Intel(R) UHD Graphics (CML GT2)
        driverID           = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
        driverName         = Intel open-source Mesa driver
        driverInfo         = Mesa 24.0.9-0ubuntu0.2
        conformanceVersion = 1.3.6.0
        deviceUUID         = 8680ca9b-0400-0000-0002-000000000000
        driverUUID         = ce784419-227b-749c-8c4d-49ad2a77726e
GPU1:
        apiVersion         = 1.3.274
        driverVersion      = 0.0.1
        vendorID           = 0x10005
        deviceID           = 0x0000
        deviceType         = PHYSICAL_DEVICE_TYPE_CPU
        deviceName         = llvmpipe (LLVM 17.0.6, 256 bits)
        driverID           = DRIVER_ID_MESA_LLVMPIPE
        driverName         = llvmpipe
        driverInfo         = Mesa 24.0.9-0ubuntu0.2 (LLVM 17.0.6)
        conformanceVersion = 1.3.1.1
        deviceUUID         = 6d657361-3234-2e30-2e39-2d3075627500
        driverUUID         = 6c6c766d-7069-7065-5555-494400000000
Comment 1 Nate Graham 2024-11-27 17:05:36 UTC

*** This bug has been marked as a duplicate of bug 488440 ***