Created attachment 187304 [details] Screenshot of System monitor SUMMARY Intel discrete GPU (Arc B580) using the xe kernel driver is not detected or displayed in Plasma System Monitor's GPU information, while it works correctly in other tools. STEPS TO REPRODUCE 1. Have an Intel GPU using the xe driver (e.g., Arc B580, Battlemage) 2. Open Plasma System Monitor or KDE Info Center 3. Look for GPU information OBSERVED BEHAVIOR The Intel GPU using the xe driver does not appear in the GPU listing. EXPECTED BEHAVIOR The GPU should be detected and displayed, similar to how it appears in nvtop and other monitoring tools. SYSTEM INFORMATION - Plasma 6.x / KInfoCenter 6.5.3 - Kernel: 6.17.9-2-cachyos - GPU: Intel Arc B580 (Battlemage G21) [8086:e20b] - Driver: xe (not i915) - Mesa: 25.2.7 ADDITIONAL INFORMATION The GPU is fully functional and detected by: - lspci: Shows "VGA compatible controller: Intel Corporation Battlemage G21 [Arc B580]" - /sys/class/drm/card0: Present with correct vendor/device IDs - nvtop: Detects and monitors the GPU correctly - glxinfo: Reports "Mesa Intel(R) Arc(tm) B580 Graphics" The xe driver is the only supported driver for Battlemage GPUs - i915 cannot be used as an alternative. It appears the GPU detection code may only look for i915/amdgpu/nvidia drivers and not the newer xe driver. REPRODUCTION HINTS FOR DEVELOPERS The xe driver can be identified via: - /sys/class/drm/card*/device/uevent contains "DRIVER=xe" - /sys/class/drm/card*/device/driver symlink points to ".../drivers/xe" xe driver sysfs structure is similar to i915 but under a different driver path: - /sys/bus/pci/drivers/xe/ (vs /sys/bus/pci/drivers/i915/) The xe driver DOES expose hwmon sensors (power, temp, fan): - /sys/class/hwmon/hwmon*/name = "xe" - temp2_label: "pkg", temp3_label: "vram" - energy1_label: "card", energy2_label: "pkg" - fan1_input, fan2_input, fan3_input Detection approach that works: 1. Enumerate /sys/class/drm/card* 2. Check /sys/class/drm/card*/device/uevent for DRIVER= 3. Accept "xe" in addition to "i915", "amdgpu", "nvidia", etc. Affected hardware (xe driver only, no i915 fallback): - Intel Arc B-series (Battlemage): B580, B570 - Intel Lunar Lake integrated graphics - Future Intel discrete GPUs The i915 driver cannot be used for these GPUs - xe is the only option.
Created attachment 187305 [details] Screenshot of nvtop
We dont have any code for handling xe driver indeed. I don't have a xe driver gpu so that makes development hard. ideally someone with such a gpu would contribute the code.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/ksystemstats/-/merge_requests/119