[GH-ISSUE #5353] [GUI] Monitor tab shows no GPU readings in the SYCL container (server_intel / xe_telemetry are not in the image) #3193

Open
opened 2026-11-07 14:38:46 +07:00 by bsakaguchi · 1 comment
Owner

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:

  • The image's serve launcher runs plain -m serve.server --engine strata ... (visible in the process argv), never sycl/serve/server_intel.py. The container filesystem does not contain sycl/serve/server_intel.py or sycl/serve/xe_telemetry.py at all (checked in 0.2.11-sycl: nothing matching *intel*/*telemetry* outside serve/telemetry.py).
  • serve/telemetry.py gpu_reader() only knows NVML / amdgpu sysfs / IOKit. On this box it tries NVML, finds no libnvidia-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's tile0 check handles this, another reason the xe reader belongs in the image.)

What is available inside the unprivileged container: the xe hwmon under /sys/class/drm/card1/device/hwmon/ is world-readable — temp1..temp21 with 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.py in the SYCL image and have the entrypoint launch through it, or (b) move the sysfs half of _XeGpu into serve/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_input inside the running pod reads 52000. A host strata-sycl.sh install 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.

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: - The image's serve launcher runs plain `-m serve.server --engine strata ...` (visible in the process argv), never `sycl/serve/server_intel.py`. The container filesystem does not contain `sycl/serve/server_intel.py` or `sycl/serve/xe_telemetry.py` at all (checked in `0.2.11-sycl`: nothing matching `*intel*`/`*telemetry*` outside `serve/telemetry.py`). - `serve/telemetry.py gpu_reader()` only knows NVML / amdgpu sysfs / IOKit. On this box it tries NVML, finds no `libnvidia-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's `tile0` check handles this, another reason the xe reader belongs in the image.) What is available inside the unprivileged container: the `xe` hwmon under `/sys/class/drm/card1/device/hwmon/` is world-readable — `temp1..temp21` with 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.py` in the SYCL image and have the entrypoint launch through it, or (b) move the sysfs half of `_XeGpu` into `serve/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_input` inside the running pod reads 52000. A host `strata-sycl.sh` install 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.
Author
Owner

@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.

<!-- gh-comment-id:6671772641 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3193
No description provided.