mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5353] [GUI] Monitor tab shows no GPU readings in the SYCL container (server_intel / xe_telemetry are not in the image) #3193
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3193
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @james-martinez on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5353
Area
GUI
Desktop app, Terminal or source?
Terminal — Docker/Kubernetes container, ghcr.io/niko1221/strata:0.2.11-sycl
What happened
The web app's Monitor tab shows no GPU readings at all on an Intel Arc when Strata runs from the official ghcr SYCL image: no temperature, no power, no PCIe link, no load, no VRAM. CPU/RAM rows are fine.
docs/INTEL.md describes the working setup: "server_intel.py plugs sycl/serve/xe_telemetry.py into the Monitor (temperature, power, PCIe link from sysfs). Load and VRAM come from /run/gpustat.json, written by a small root sampler (sycl/tools/gpustat.py, installed with gpustat.service)". That is true for the host install, but the container path never reaches those pieces:
-m serve.server --engine strata ...(visible in the process argv), neversycl/serve/server_intel.py. The container filesystem does not containsycl/serve/server_intel.pyorsycl/serve/xe_telemetry.pyat all (checked in0.2.11-sycl: nothing matching*intel*/*telemetry*outsideserve/telemetry.py).serve/telemetry.py gpu_reader()only knows NVML / amdgpu sysfs / IOKit. On this box it tries NVML, finds nolibnvidia-ml, and returns a not-ok reader, so the Monitor silently has no GPU series. (Side note for hybrid hosts: card0 here is the UHD 630 iGPU, also vendor 0x8086, so a naive vendor match would pick that instead of the B70 — xe_telemetry'stile0check handles this, another reason the xe reader belongs in the image.)What is available inside the unprivileged container: the
xehwmon under/sys/class/drm/card1/device/hwmon/is world-readable —temp1..temp21with labels (pkg = 52 °C, vram, vram_ch_*, pcie, mctrl),energy1_input/energy2_input,power1_cap(230 W),fan1_input. So temperature, power (energy delta), power cap and the PCIe link all work without root; only load and VRAM need the root fdinfo sampler (/run/gpustat.json), which the Monitor can simply keep omitting in containers.Suggestion, either way works: (a) ship
sycl/serve/server_intel.py+xe_telemetry.pyin the SYCL image and have the entrypoint launch through it, or (b) move the sysfs half of_XeGpuintoserve/telemetry.py gpu_reader()(vendor 0x8086 + tile0 probe after the NVML/amdgpu attempts) so every reader benefits and containers get temp/power/link for free.Reproduction status
Reproduced by me on 0.2.11-sycl / engine 0.1.57-linux-x86_64-sycl: the Monitor shows CPU/RAM but zero GPU fields, while
cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_inputinside the running pod reads 52000. A hoststrata-sycl.shinstall on the same machine does show temp/power (the server_intel path works there).Strata version
0.2.11-sycl (container ghcr.io/niko1221/strata:0.2.11-sycl), engine 0.1.57.
Graphics card, memory and system
Intel Arc Pro B70 32 GB (xe driver, PCI 0000:03:00.0, dev 0xe223) + UHD 630 iGPU as card0; Intel Core i5-8600, 6 cores; 96 GB RAM; Ubuntu 26.04 LTS host; containerd, container unprivileged with /dev/dri mounted.
@james-martinez commented on GitHub (Nov 5, 2026):
Filed #5356: the xe sysfs reader moves into serve/telemetry.py as a _Xe gpu_reader fallback, so the SYCL container shows temperature, power (energy-counter delta), the cap and the PCIe link with no image staging change; /run/gpustat.json (host sampler) still supplies load and VRAM when present. Verified live on an Arc Pro B70 container: temp 61 C, 45 W (cap 230 W), VRAM 30.8/32 GiB, PCIe Gen3 x16.