[GH-ISSUE #3727] [GUI] Windows + AMD (RX 9070 XT): GPU load/VRAM/temp/power/PCIe "Not available", onboarding shows 0.0 GB VRAM #1559

Open
opened 2026-11-04 01:52:14 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @LausitzAir on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3727

Summary

On Windows with an AMD card, Strata runs fine on the GPU (HIP engine, ~44 tok/s decode,
~600 tok/s prefill with Qwen3.8-Flash-Next IQ3_S), but the desktop app cannot show any GPU
telemetry, and the onboarding wizard reports 0.0 GB of VRAM.

Environment

  • Strata: 0.1.47 (desktop app + terminal distribution), engine backend hip, archs gfx1200/gfx1201
  • OS: Windows 11 (build 26100)
  • GPU: AMD Radeon RX 9070 XT (gfx1201, 16 GB), driver 32.0.32015.7029
  • CPU: Ryzen 7 5800X3D, 64 GB RAM, board ASUS ROG STRIX B550-XE
  • Model: Qwen3.8-Flash-Next IQ3_S, 64K context

What works

  • engine\strata-device.exe --list-devices:
    device 0: AMD Radeon RX 9070 XT
    arch gfx1201, 15.9 GiB, wave32
  • setup.amd_gpus_windows() returns the card correctly:
    [{'name': 'AMD Radeon RX 9070 XT', 'vram_gb': 15.92, 'arch': 'gfx1201', ...}]
  • Inference runs on the GPU at the expected speed.

Problem 1: Dashboard telemetry "Not available"

GPU load, VRAM, GPU temperature, power and PCIe all show "Not available"
("Automatic GPU placement"). Only CPU, disk and tok/s are measured.

Cause (from reading the code): serve/telemetry.py → gpu_reader(index, amd=True) returns
_Amd, which only reads the Linux amdgpu sysfs files. On Windows amd_device_dir() returns
None, so _Amd.ok() is False and every GPU field stays empty. There is no Windows AMD reader.

Problem 2: Onboarding shows 0.0 GB VRAM

In the setup wizard ("Your model" → "Your computer"), the RX 9070 XT is listed with 0.0 GB
VRAM (total = RAM only), although amd_gpus_windows() and strata-device both see 15.9 GB.
The two virtual display adapters on this PC (Meta Virtual Monitor, Virtual Desktop Monitor)
are also listed as GPUs with 0.0 GB.

Suggested fix

A Windows AMD reader with the same interface as _Nvml / _Amd, no extra install needed:

  • Load: PDH counters \GPU Engine(*)\Utilization Percentage
    (3D/Compute engines, matched to the adapter LUID) - the source Task Manager uses
  • VRAM used: PDH \GPU Adapter Memory(*)\Dedicated Usage
  • VRAM total: already available via windows_display_adapters("amd") (qwMemorySize)
  • Temperature / power / PCIe link: AMD ADLX (ships with the Adrenalin driver)

Happy to test a build or a patch on this machine.

Originally created by @LausitzAir on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3727 ## Summary On Windows with an AMD card, Strata runs fine on the GPU (HIP engine, ~44 tok/s decode, ~600 tok/s prefill with Qwen3.8-Flash-Next IQ3_S), but the desktop app cannot show any GPU telemetry, and the onboarding wizard reports 0.0 GB of VRAM. ## Environment - Strata: 0.1.47 (desktop app + terminal distribution), engine backend `hip`, archs gfx1200/gfx1201 - OS: Windows 11 (build 26100) - GPU: AMD Radeon RX 9070 XT (gfx1201, 16 GB), driver 32.0.32015.7029 - CPU: Ryzen 7 5800X3D, 64 GB RAM, board ASUS ROG STRIX B550-XE - Model: Qwen3.8-Flash-Next IQ3_S, 64K context ## What works - `engine\strata-device.exe --list-devices`: device 0: AMD Radeon RX 9070 XT arch gfx1201, 15.9 GiB, wave32 - `setup.amd_gpus_windows()` returns the card correctly: [{'name': 'AMD Radeon RX 9070 XT', 'vram_gb': 15.92, 'arch': 'gfx1201', ...}] - Inference runs on the GPU at the expected speed. ## Problem 1: Dashboard telemetry "Not available" GPU load, VRAM, GPU temperature, power and PCIe all show "Not available" ("Automatic GPU placement"). Only CPU, disk and tok/s are measured. Cause (from reading the code): `serve/telemetry.py` → `gpu_reader(index, amd=True)` returns `_Amd`, which only reads the Linux amdgpu sysfs files. On Windows `amd_device_dir()` returns None, so `_Amd.ok()` is False and every GPU field stays empty. There is no Windows AMD reader. ## Problem 2: Onboarding shows 0.0 GB VRAM In the setup wizard ("Your model" → "Your computer"), the RX 9070 XT is listed with 0.0 GB VRAM (total = RAM only), although `amd_gpus_windows()` and `strata-device` both see 15.9 GB. The two virtual display adapters on this PC (Meta Virtual Monitor, Virtual Desktop Monitor) are also listed as GPUs with 0.0 GB. ## Suggested fix A Windows AMD reader with the same interface as `_Nvml` / `_Amd`, no extra install needed: - Load: PDH counters `\GPU Engine(*)\Utilization Percentage` (3D/Compute engines, matched to the adapter LUID) - the source Task Manager uses - VRAM used: PDH `\GPU Adapter Memory(*)\Dedicated Usage` - VRAM total: already available via `windows_display_adapters("amd")` (qwMemorySize) - Temperature / power / PCIe link: AMD ADLX (ships with the Adrenalin driver) Happy to test a build or a patch on this machine.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6342250216 --> @github-actions[bot] commented on GitHub (Oct 22, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 2026):

Not reopened yet. Still missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".
  • Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead.

Edit the issue and comment /reopen again. Details: CONTRIBUTING.md

<!-- gh-comment-id:6342321907 --> @github-actions[bot] commented on GitHub (Oct 22, 2026): Not reopened yet. Still missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". - [ ] Re-test on Strata 0.2.0-beta and name that version in the issue. If it no longer happens, say so in a comment instead. Edit the issue and comment `/reopen` again. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Oct 22, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6342357981 --> @github-actions[bot] commented on GitHub (Oct 22, 2026): Thanks, this follows the format now.
Author
Owner

@noctrex commented on GitHub (Oct 27, 2026):

Same root cause on a 7900 XTX - and since this issue needs a Windows AMD reader anyway, I measured every candidate source on this card to inform the design. Independent of Strata's code: a standalone ctypes probe, read-only: https://gist.github.com/noctrex/6806eed4ac51e81400459dea1c32cc36

Environment: AMD Radeon RX 7900 XTX (gfx1100), driver 32.0.32015.7029, Windows 11 26H2 (build 26300.9711), Python 3.13.16. Load: sustained compute at ~90% utilization (PDH engine-summed) with 23,689 MB VRAM resident. Not tested: multi-GPU, other drivers or Windows builds, and no wall-meter cross-check of the power numbers.

Reading D3DKMT (gdi32) ADLX (amdadlx64) PDH (pdh.dll)
Temperature 30.0 C idle, 41-49 C load identical, sample for sample -
Power 0 (does not answer) GPUPower: NOT_SUPPORTED; board 29-40 W idle, 437-491 W load (1 bad sample in 30) -
Fan 902 rpm idle, 1503-2802 rpm load; caps MaxFanRPM 3200 - -
VRAM in use segment sum 9,942 -> 94,759 MB (semantics broken) - Dedicated Usage 2,485 MB idle, 23,689 MB load
VRAM total 98,067 MB "limit" on a 24 GB card - -
Utilization node running-time 3.2% idle, 2.3-2.8% at 90% load (broken on RDNA3) - engine-sum 3.2% idle, 87-98% load; busiest-engine 83-91% load
PCIe PCIEBandwidth: 0 no bus metric no counter set

Findings:

  • Temperature: D3DKMT's ADAPTERPERFDATA and ADLX agree exactly at idle and through the load ramp. D3DKMT needs no vendor DLL, so it is the better primary; ADLX stays the fallback.
  • Power: only ADLX's GPUTotalBoardPower answers. PR #2273's fallback chain is required as-is. The board figure is what ADLX reports; I have no independent cross-check.
  • Utilization: PDH engine-summed (clamped to 100) tracks compute. The busiest-engine reading sits 5-8 points lower; D3DKMT node deltas under-read ~10x on this card.
  • VRAM: the PDH Dedicated Usage counter is the right in-use figure. The D3DKMT segment sum counts shared-memory segments (98 GiB "total" on a 24 GB card) and is unusable without per-segment type filtering.
  • Fan: D3DKMT answers RPM with a usable MaxFanRPM, so a fan percentage is available that no current PR shows. Caps fields can be garbage on this driver (TemperatureMax = 11 C), so nothing should trust them blindly.
  • PCIe: no Windows source answers on this driver, so that tile stays blank - as PR #2273 already decided.

For the fix this suggests a small hybrid: DXGI for name and VRAM total (slot 10 GetDesc2; slot 9 fails on this driver), PDH for utilization and VRAM in use, D3DKMT for temperature and fan, ADLX only for power. PR #2273 is the right base; the deltas above are the measured refinements.

Disclosure: this report and the probe scripts were prepared with the help of an LLM working in my coding session; every measurement was run on my machine and I reviewed the text and data before posting.

<!-- gh-comment-id:6455088351 --> @noctrex commented on GitHub (Oct 27, 2026): Same root cause on a 7900 XTX - and since this issue needs a Windows AMD reader anyway, I measured every candidate source on this card to inform the design. Independent of Strata's code: a standalone ctypes probe, read-only: https://gist.github.com/noctrex/6806eed4ac51e81400459dea1c32cc36 Environment: AMD Radeon RX 7900 XTX (gfx1100), driver 32.0.32015.7029, Windows 11 26H2 (build 26300.9711), Python 3.13.16. Load: sustained compute at ~90% utilization (PDH engine-summed) with 23,689 MB VRAM resident. Not tested: multi-GPU, other drivers or Windows builds, and no wall-meter cross-check of the power numbers. | Reading | D3DKMT (gdi32) | ADLX (amdadlx64) | PDH (pdh.dll) | | --- | --- | --- | --- | | Temperature | 30.0 C idle, 41-49 C load | identical, sample for sample | - | | Power | 0 (does not answer) | GPUPower: NOT_SUPPORTED; board 29-40 W idle, 437-491 W load (1 bad sample in 30) | - | | Fan | 902 rpm idle, 1503-2802 rpm load; caps MaxFanRPM 3200 | - | - | | VRAM in use | segment sum 9,942 -> 94,759 MB (semantics broken) | - | Dedicated Usage 2,485 MB idle, 23,689 MB load | | VRAM total | 98,067 MB "limit" on a 24 GB card | - | - | | Utilization | node running-time 3.2% idle, 2.3-2.8% at 90% load (broken on RDNA3) | - | engine-sum 3.2% idle, 87-98% load; busiest-engine 83-91% load | | PCIe | PCIEBandwidth: 0 | no bus metric | no counter set | Findings: - Temperature: D3DKMT's ADAPTERPERFDATA and ADLX agree exactly at idle and through the load ramp. D3DKMT needs no vendor DLL, so it is the better primary; ADLX stays the fallback. - Power: only ADLX's GPUTotalBoardPower answers. PR #2273's fallback chain is required as-is. The board figure is what ADLX reports; I have no independent cross-check. - Utilization: PDH engine-summed (clamped to 100) tracks compute. The busiest-engine reading sits 5-8 points lower; D3DKMT node deltas under-read ~10x on this card. - VRAM: the PDH Dedicated Usage counter is the right in-use figure. The D3DKMT segment sum counts shared-memory segments (98 GiB "total" on a 24 GB card) and is unusable without per-segment type filtering. - Fan: D3DKMT answers RPM with a usable MaxFanRPM, so a fan percentage is available that no current PR shows. Caps fields can be garbage on this driver (TemperatureMax = 11 C), so nothing should trust them blindly. - PCIe: no Windows source answers on this driver, so that tile stays blank - as PR #2273 already decided. For the fix this suggests a small hybrid: DXGI for name and VRAM total (slot 10 GetDesc2; slot 9 fails on this driver), PDH for utilization and VRAM in use, D3DKMT for temperature and fan, ADLX only for power. PR #2273 is the right base; the deltas above are the measured refinements. Disclosure: this report and the probe scripts were prepared with the help of an LLM working in my coding session; every measurement was run on my machine and I reviewed the text and data before posting.
Author
Owner

@Niko1221 commented on GitHub (Oct 29, 2026):

Thank you, and thanks to noctrex for the measurements. Since 0.2.5 the app shows the real memory size, load and memory in use for Windows AMD and Intel cards (read from the DirectX adapter list and the Windows GPU counters), and the onboarding no longer shows 0.0 GB. Temperature, power, fan and PCIe are still "Not available". noctrex's table of which source answers on a 7900 XTX is useful for that part.

Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.5

<!-- gh-comment-id:6491955923 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thank you, and thanks to noctrex for the measurements. Since 0.2.5 the app shows the real memory size, load and memory in use for Windows AMD and Intel cards (read from the DirectX adapter list and the Windows GPU counters), and the onboarding no longer shows 0.0 GB. Temperature, power, fan and PCIe are still "Not available". noctrex's table of which source answers on a 7900 XTX is useful for that part. Release: https://github.com/Niko1221/Strata/releases/tag/v0.2.5
Author
Owner

@Niko1221 commented on GitHub (Oct 29, 2026):

Thanks again, and thanks to noctrex for the measurements. 0.2.8 is out with a fix for this.

We found two reasons the Monitor stayed empty on a Windows AMD card. First, while a model was running the app replaced its own readings with the engine's, and the engine has no reader for an AMD card on Windows, so load and memory went blank exactly when you looked at them. The app now keeps its own reading for anything the engine does not send. Second, the temperature was never read on Windows. It now comes from the display driver and needs no extra install.

We tested AMD cards on Linux, an NVIDIA card on Windows, and an AMD integrated graphics chip on Windows. We have not tested it on a Windows AMD graphics card such as the RX 9070 XT, so it is not confirmed for your setup yet.

Power, fan and the PCIe link still show "Not available" on Windows AMD. They need AMD's own library and are planned for a later version. On Linux, a card that is asleep when idle also shows "Not available" until a model wakes it.

Could you update the app to 0.2.8 and tell us, with a model running, whether load, memory in use and temperature show in the Monitor, and whether the temperature is close to what Adrenalin shows? That is the check we are missing.

<!-- gh-comment-id:6510351823 --> @Niko1221 commented on GitHub (Oct 29, 2026): Thanks again, and thanks to noctrex for the measurements. 0.2.8 is out with a fix for this. We found two reasons the Monitor stayed empty on a Windows AMD card. First, while a model was running the app replaced its own readings with the engine's, and the engine has no reader for an AMD card on Windows, so load and memory went blank exactly when you looked at them. The app now keeps its own reading for anything the engine does not send. Second, the temperature was never read on Windows. It now comes from the display driver and needs no extra install. We tested AMD cards on Linux, an NVIDIA card on Windows, and an AMD integrated graphics chip on Windows. We have not tested it on a Windows AMD graphics card such as the RX 9070 XT, so it is not confirmed for your setup yet. Power, fan and the PCIe link still show "Not available" on Windows AMD. They need AMD's own library and are planned for a later version. On Linux, a card that is asleep when idle also shows "Not available" until a model wakes it. Could you update the app to 0.2.8 and tell us, with a model running, whether load, memory in use and temperature show in the Monitor, and whether the temperature is close to what Adrenalin shows? That is the check we are missing.
Author
Owner

@klembitskiyr-svg commented on GitHub (Oct 30, 2026):

Confirmed working on Windows + AMD iGPU (Strix Halo), 0.2.8.

  • App 0.2.8, engine 0.1.54 (hip-rdna3, gfx1151), Windows 11, Radeon 8060S iGPU
    (Ryzen AI Max+ 395, 128 GB shared memory), Qwen3.8-Flash-Next IQ3_S.
  • The "GPU temperature" row in the Monitor's left panel now shows a real value
    (42 °C at idle-ish load) — it was "Not available" on 0.2.6/0.2.7.
    Load and memory were already reported since 0.2.6; temperature is the new part.
  • Power draw and PCIe link are still absent for the iGPU — presumably the ADLX
    part of the fix does not cover APUs. Just noting, not a complaint.

Screenshot attached.

Image
<!-- gh-comment-id:6511798740 --> @klembitskiyr-svg commented on GitHub (Oct 30, 2026): Confirmed working on Windows + AMD iGPU (Strix Halo), 0.2.8. - App 0.2.8, engine 0.1.54 (hip-rdna3, gfx1151), Windows 11, Radeon 8060S iGPU (Ryzen AI Max+ 395, 128 GB shared memory), Qwen3.8-Flash-Next IQ3_S. - The "GPU temperature" row in the Monitor's left panel now shows a real value (42 °C at idle-ish load) — it was "Not available" on 0.2.6/0.2.7. Load and memory were already reported since 0.2.6; temperature is the new part. - Power draw and PCIe link are still absent for the iGPU — presumably the ADLX part of the fix does not cover APUs. Just noting, not a complaint. Screenshot attached. <img width="3010" height="2776" alt="Image" src="https://github.com/user-attachments/assets/0c945563-3757-4efa-a6e5-f57bb76b1831" />
Author
Owner

@bob-u commented on GitHub (Oct 30, 2026):

Does not work on RX9070

Image

Patch from https://github.com/Niko1221/Strata/pull/3682 worked for me (all except live PCIe bandwidth stats were showing) with 0.1.48 and 50 engines.

<!-- gh-comment-id:6527326702 --> @bob-u commented on GitHub (Oct 30, 2026): Does not work on RX9070 <img width="987" height="749" alt="Image" src="https://github.com/user-attachments/assets/25b1190d-a898-487a-b2ff-cf1db77a71c2" /> Patch from https://github.com/Niko1221/Strata/pull/3682 worked for me (all except live PCIe bandwidth stats were showing) with 0.1.48 and 50 engines.
Author
Owner

@flynetstudios commented on GitHub (Oct 31, 2026):

Not working with 7800xt, im using version 0.2.8

Image
<!-- gh-comment-id:6538827276 --> @flynetstudios commented on GitHub (Oct 31, 2026): Not working with 7800xt, im using version 0.2.8 <img width="1918" height="1031" alt="Image" src="https://github.com/user-attachments/assets/feee70af-8db2-4dd4-bf5b-2bc6de501dc9" />
Author
Owner

@sergv-ops commented on GitHub (Nov 1, 2026):

Windows + AMD (RX 7900 GRE, gfx1100): what the sources answer under a known load — and the patch that closes the Power tile

Same family as noctrex's 7900 XTX report and on the same driver version (32.0.32015.7029), so the two reports can be read side by side. This one adds a load I generated myself, so the load side of the table is measured rather than inferred — and then the experiment that answers the question I asked here on 30.10: where a Windows AMD reader has to be added for the Monitor to actually consume it.

Environment (checked, not inferred)

  • App 0.2.9 (strata-desktop.exe, 10 159 616 B), Control 0.1.55, engine 0.1.55 windows-x86_64-hip-rdna3.
  • Windows 11. AMD Radeon RX 7900 GRE — DXGI vendor 0x1002, device 0x744C, 16 324 MiB dedicated, driver 32.0.32015.7029. OpenCL reports the device as gfx1100.
  • Python 3.12.10 (the Control's own bundled interpreter is 3.12 too).
  • Model loaded while measuring: Qwen3.8-Flash-Next IQ3_S, 256K context, 14.9 GiB VRAM in use, 2 524 experts cached.

Method

  1. noctrex's amd_sensor_probe.py verbatim (D3DKMT / ADLX / PDH side by side, read-only).
  2. A second script that puts a known, bounded load on the card through OpenCL (OpenCL.dll ships with Adrenalin): a dependent-FMA kernel, 357 launches × 262 144 work-items × 200 000 iterations in a 12-second window, clFinish timed so a load that does not saturate is visible as such instead of being mistaken for a reading. No install, no admin, nothing written to disk.
  3. Then: a Windows AMD reader added to the installed Control, the app restarted, the Monitor read.

Measured

Reading Idle Under my OpenCL load
Temperature, D3DKMT 40–46 °C 50–51 °C
Temperature, ADLX 41–44 °C 50–51 °C (agrees sample for sample)
Power, ADLX GPUTotalBoardPower 35–72 W 258–260 W
Power, ADLX GPUPower NOT_SUPPORTED NOT_SUPPORTED
Power, D3DKMT PERFDATA.Power 0 0
Fan, D3DKMT 1172–1532 rpm 2100–2133 rpm (MaxFanRPM 3600)
Utilization, PDH \GPU Engine(*) no instances at all 248 instances for this LUID, sum clamped 100 %, busiest 70–77 %
Utilization, D3DKMT node running time 0.2 % 18–53 % (while PDH said 100 % / 72 %)
VRAM in use, PDH Dedicated Usage 15 224–15 283 MiB 15 331–15 358 MiB
VRAM, D3DKMT segment sum 61 135 / 65 299 MiB on a 16 GiB card same (semantics broken)
PCIe link, device property store Gen4 x16 (current = max, speed 4 / width 16) unchanged
PCIe traffic no source no source (PCIEBandwidth 0, MemoryBandwidth 0)

A second run of the same reader during real inference (not a synthetic kernel): 98–100 % load, 184–207 W, 49–50 °C, fan 1352–1382 rpm, and 0 rpm at idle — the card stops the fan below ~40 °C, so a fan reading has to be able to show zero.

Findings

  1. Power: only ADLX answers, and only through the fallback. GPUTotalBoardPower moved 35–72 W → 258–260 W under a load I control; GPUPower never answered. D3DKMT answered Power = 0 in every single sample including under load, so on this driver the fallback chain in #2273 is not an optional nicety — it is the only path.
  2. Temperature: D3DKMT and ADLX agree at idle and under load, which supports D3DKMT as primary and ADLX as fallback, as noctrex proposed.
  3. \GPU Engine(*)\Utilization Percentage has no instances while no process uses the GPU. A reader that treats "no instances" as a broken source, or the failed instance query as "this counter set does not exist", will look wrong on an idle desktop. While my kernel ran, 248 instances matched this card's LUID.
  4. Trap worth encoding in the readers: the instance names carry the LUID in upper-case hex — …luid_0x00000000_0x0000EFF1_phys_0…. A needle built with a lower-case %08x format matches nothing, silently. My first run returned "no data" for exactly this reason, not because the counter set was missing.
  5. D3DKMT node running-time under-reads (18–53 % against PDH's 100 % / 72 %) — same direction and magnitude as on the 7900 XTX.
  6. Caps cannot be trusted here either: TemperatureMax 11 °C, TemperatureWarning 0, MaxMemoryBandwidth 0, while MaxPCIEBandwidth reads 28.37 GB/s.
  7. The PCIe link is readable without admin and without any vendor library, through the device property store (DEVPKEY_PciDevice_CurrentLinkSpeed / _MaxLinkSpeed / _CurrentLinkWidth / _MaxLinkWidth on the devnode) — Gen4 x16 here. Caveat for #3682's rule: on this PC current equals max, so the "device property reports the wiring rather than the negotiated width" case cannot be reproduced on this board; the conservative min(device property, PMLog) rule is still right, just unverifiable here.
  8. PCIe traffic has no source on this driver, same conclusion as #1871, #2273 and #2614.
  9. ADL2 (atiadlxx) is dead on this machine, which matches #2273's note that ADL answers −1/−5 for every sensor: ADL2_Main_Control_Create faults with 0xC0000005 in two different hosts (a 64-bit wrapper and a plain PowerShell window), and ADL2_Overdrive5_Temperature_Get returns −5 when the create is skipped. ADLX initializes fine on the same machine through ADLXInitializeWithIncompatibleDriver2 and finds the card by name. So the ADL half of a Windows AMD reader is not portable; the ADLX half works.

Cross-check against the driver's own overlay (same minute, same machine)

Adrenalin overlay Strata Monitor my probe
GPU use 100 % 97 % "Measured" PDH engine-sum 100 %, busiest 70–77 %
Temperature 48 °C 48 °C "Measured" D3DKMT 48–51 °C, ADLX 48–51 °C
Board power 192 W ("Общая мощность канала") "Недоступно" ADLX GPUTotalBoardPower 258–260 W under my own kernel, 184–207 W during real inference
Fan 1 592 rpm no tile D3DKMT 1 172–2 133 rpm

The Monitor's temperature is right — it equals the driver's own reading to the degree — and the number the Power tile was missing is the metric Adrenalin labels "total board power", the one ADLX answers as GPUTotalBoardPower.

The question I asked, answered by experiment

I asked which component produces the Monitor's readings, because the Control this machine runs has no Windows AMD reader at all: gpu_reader(amd=True) returns _Amd, which is amdgpu sysfs only, and running that sampler directly gave nothing.

So I added one and restarted. The Monitor does read serve/telemetry.py.

tile before after
Power draw "Not available" 243 W, "Measured", with a sparkline
GPU load 97 % 100 %
Temperature 46 °C 54 °C
VRAM 15.6 / 16 GB 14.9 / 16 GB
PCIe "Not available" "Not available"

The load figure is the proof that the panel consumes this sampler rather than the engine's own accounting: 100 % is my reader's engine-summed PDH value clamped at 100, while the panel had been showing the engine's 97 %.

The sampler's own answer, before and after (the Control's bundled interpreter, one sample, no load):

before: {'gpu_util': None, 'gpu_mem_used': None, 'gpu_temp': None, 'gpu_power': None, 'gpu_pcie_gen': None}
after:  {'gpu_util': 86, 'gpu_mem_used': 16315727872, 'gpu_mem_total': 17117806592,
         'gpu_temp': 49.0, 'gpu_power': 177.0, 'gpu_fan_rpm': 1382, 'gpu_fan_pct': 38.4}

GET /metrics now carries hardware.gpu_power (175–242 W across a minute of generation, 48–52 °C), and the devices block of GET /v1/telemetry gets temp and power too.

The patch

Two files. serve/telemetry.py gains a Windows branch in gpu_reader() — and the VRAM total for the header comes from DXGI instead of the registry fallback:

def _windows_amd_reader(index):
    if os.name != "nt":
        return None
    try:
        from . import win_amd_sensors
        return win_amd_sensors.windows_amd_reader(index)
    except Exception:      # telemetry must never take the server down
        return None

def gpu_reader(index=0, amd=False):
    if amd:
        r = _windows_amd_reader(index) if os.name == "nt" else None
        return r if r is not None else _Amd(index)     # unchanged everywhere else
    return _Metal(index) if sys.platform == "darwin" else _Nvml(index)

serve/win_amd_sensors.py (~200 lines, ctypes only, no admin, no ROCm, nothing written to disk) returns the same dict _Amd and _Nvml return, so nothing downstream had to change: temp from D3DKMT with ADLX as fallback, power from ADLX GPUTotalBoardPower, util from \GPU Engine(*) summed over the card's LUID and clamped to 100, mem_used from \GPU Adapter Memory(luid_…)\Dedicated Usage, mem_total from DXGI GetDesc2, plus fan_rpm / fan_pct from D3DKMT (extra keys, no tile for them yet).

The PCIe tile needs a decision, not a reader

It stayed empty, and I don't think it can be filled on this driver: the tile is the traffic one (its labels read "Общая передача на выбранные GPU" / "Данные о передаче на GPU недоступны"), and #1871, #2273, #2614 and my own probe agree that PCIe throughput has no source here. The link, on the other hand, is readable without admin and without a vendor library — Gen4 x16 on this PC — so the tile could show generation and width instead, or be dropped. I could not reproduce the link read through CM_Get_DevNode_PropertyW from Python (Get-PnpDeviceProperty answers those four properties fine; my DEVPKEY_PciDevice_* key numbers returned "no such value"), so I left the link out of the patch rather than ship something unverified.

Caveats

One machine, one driver version (32.0.32015.7029), one card (gfx1100). The patch is local to my install and an update would overwrite it, so I am not attached to its shape — the useful part is the finding: the tiles are fed by serve/telemetry.py, and that is where a Windows AMD reader has to land. Happy to open a PR with the module if you want it in a branch.

Disclosure: every number above was measured on my machine; the probe scripts, the patch and this text were prepared with an LLM assistant and reviewed before posting.

Strata Monitor after the patch: the Power draw tile reads 243 W, Measured

Update (01.11, 13:45): the fan, the clock and "Energy since start" — the gap is in the panel's data chain

Three readings reach /metrics and still never reach the Monitor. Live GET /metrics on the running Control:

gpu_util 100   gpu_temp 50   gpu_power 179   gpu_fan_pct 33   gpu_fan_rpm_adlx 1395
gpu_clock_mhz 2569   gpu_temp_hotspot 59   gpu_temp_memory_c 72   gpu_mem_shared 44001394688

GET /api/native passes all of it through under instances[].metrics.hardware. Nothing is missing upstream.

1. The Monitor builds its cards from /api/native, and that translation drops the fan and the clock. src/lib/native-monitor.ts (readable from the shipped index-k1Z_bgvQ.js.map), the per-device map:

devices.set(index, { util: h.gpu_util, mem_used: h.gpu_mem_used, temp: h.gpu_temp, power: h.gpu_power,
  power_limit: h.gpu_power_limit, pcie_rx_mb: h.gpu_pcie_rx_mb, pcie_gen: h.gpu_pcie_gen,
  pcie_gen_max: h.gpu_pcie_gen_max, pcie_width: h.gpu_pcie_width });   // no fan_pct, no clock_mhz

The tiles exist and are gated on the reading (fan = gpuValue('fanPct','max'), clock = gpuValue('clockMhz','max')), and withHostSensors() is meant to fill exactly these two fields from the host's own reading — the shipped comment even says so ("The fan and the clock are the host's own readings; the engine's metrics do not carry them (#3628)"). But on Windows + AMD the host's reader (host/server/device-probes.mjs → windows-gpu.mjs, the D3DKMT counters) produces load, memory and temperature only; the fanPct / clockMhz branch in device-probes.mjs is the Linux amdgpu sysfs path. So the merge has nothing to merge: before the fix, /api/monitor → gpus[0] had no fanPct / clockMhz keys at all.

2. originalDashboard() never runs when a native Control holds the model. monitor.mjs:

return engine.running && engineMetrics.source === 'engine' && engineMetrics.dashboard
  ? originalDashboard(engineMetrics.dashboard, cachedHardware() ?? hwCache, result) : result;

With a native Control the supervisor has no engine of its own (engine.status "stopped", port 8080, metricsSource "none"), so the one translation that does map fan_pct and clock_mhz is skipped. Only the host's own sensors reach /api/monitor — which is why the host gap is the thing to fix.

3. "Energy since start" integrates a value that is always null here. energy-meter.mjs integrates powerW × dt, and tick() feeds it hardwareSnapshot().powerW — the host reader's power, null on Windows + AMD — while the panel shows 180–240 W taken from the engine dashboard. The tile sat at 0.0 Wh next to a live 188 W.

What fixed it, in the host only. The host now asks the native Control for its own three readings once a second and fills only the gaps in its own reading (a number the host measured itself still wins):

let nativeSensorProbe = () => null;
export function setNativeSensorProbe(p){ nativeSensorProbe = typeof p === 'function' ? p : () => null; }
// hardwareSnapshot():
if(!demo&&readings.length) for(const r of readings){ const n = nativeSensors();
  if(!finite(r.fanPct)   && n.fanPct   !== null) r.fanPct   = n.fanPct;
  if(!finite(r.clockMhz) && n.clockMhz !== null) r.clockMhz = n.clockMhz;
  if(!finite(r.powerW)   && n.powerW   !== null) r.powerW   = n.powerW; }

After a restart, with the interface file restored to its shipped state (no gpu_fan_pct / gpu_clock_mhz anywhere in it), the Monitor shows:

Energy since start   107.8 Wh     GPU fan   29 %     GPU clock   2 559 MHz
Power 168 W "Measured"             PCIe     Unavailable — "Transfer to GPU unavailable"

and GET /api/monitor carries them:

{"id":"PCI\\VEN_1002&DEV_744C&…","temperatureC":51,"utilizationPct":95,"memoryUsedGb":15.14,
 "powerW":206,"fanPct":33,"clockMhz":2570,"source":"sensor"}

So the gap is neither in the sensors nor in the tiles — it is in the host reading that the tiles are merged from. One honest caveat about the energy figure: it is measured board power + an estimate for the CPU (25 W idle → 125 W at full load, capped at 184 W), because this Windows build exposes no CPU package-power counter at all. Board, RAM, drives and PSU losses are not in it, so it will always read lower than a wall meter; if the tile is meant to be "the PC", the tile should say what it sums.

4. The fan percentage: neither "max RPM" is the right denominator.

source value what it implies for 1 382 rpm
D3DKMT MaxFanRPM 3 600 38,4 %
ADLX GetGPUFanSpeedRange up to 6 600 20,5 %
GPU-Z (1 382 rpm ↔ 33 %) implies ≈ 4 100–4 310 32–33 %
ADLX GPUFanDuty 31–32 % matches GPU-Z

A 90-second comparison against the GPU-Z sensor log: 88 of 90 power samples matched watt for watt (max deviation 3 W), temperature within 1 °C, RPM within ~12 rpm. GPU-Z also caught a real error in our reader: during the spin-down it shows 810 → 520 → 291 → 291 → 157 rpm while D3DKMT already answers 0 — the reader reports the command, not the physical state, only during that transition. Conclusion: take the percentage from GPUFanDuty, keep the RPM division as a fallback only.

5. ADLX answers more than was asked (method order taken from the official headers, SDK/Include/IPowerMonitoring*.h; ADLX 5.0.124 on this driver does not answer QueryInterface, so slots 15–19 were probed one at a time in a throwaway process):

slot method reading GPU-Z
5 GPUClockSpeed 34 MHz idle 25–108 ✓
6 GPUVRAMClockSpeed 2 238 MHz 2 238 ✓
7 GPUTemperature 47 °C 46–47 ✓
8 GPUHotspotTemperature 55 °C 46–60 ✓
9 GPUPower NOT_SUPPORTED absent ✓
10 GPUTotalBoardPower 67 W 66–69 ✓
11 GPUFanSpeed 1 382 rpm 1 382 ✓
12 GPUVRAM 15 831 MiB ✓
13 GPUVoltage 3.4·10⁻³²¹ not a voltage — integer bits read as double; dropped
15 GPUMemoryTemperature 72 °C 62–73 ✓
18 GPUSharedMemory 41 962 MiB 41 955 ✓
19 GPUFanDuty 31–32 % 33 ✓

This matters most on a card holding 15 GiB of model: memory runs 15–25 °C hotter than the core — during generation core 49–50 °C, hotspot 59 °C, GDDR6 72 °C — and the temperature tile shows the edge sensor only, so the hottest thing on the card is invisible in the panel. Hot-spot and memory temperature would be worth tiles.

6. Two things worth encoding. (a) /api/hardware and /api/monitor identify the card by its PCI id (PCI\VEN_1002&DEV_744C&…) while /api/native calls it "amd:0"; withHostSensors() matches readings by id, and it works today only because the UI's device inventory comes from /api/hardware — change where the inventory comes from and the host-sensor merge silently stops working. (b) Load is two different quantities: the host sums all engine instances (4–10 % at idle), GPU-Z reports the 3D engine (0–1 %); both give 100 % under real generation. Worth labelling which one the tile shows.

The local change is now two small edits — host/server/monitor.mjs and host/server/index.mjs — and the interface file is back to its shipped state, because the host-side fix turned out to be sufficient.

Strata Monitor after the host-side fix, a later sample: Power 173 W Measured, GPU fan 31 %, GPU clock 2 577 MHz, Energy since start 214.1 Wh, SSD temperature 51 °C
<!-- gh-comment-id:6551954662 --> @sergv-ops commented on GitHub (Nov 1, 2026): ## Windows + AMD (RX 7900 GRE, gfx1100): what the sources answer under a known load — and the patch that closes the Power tile Same family as noctrex's 7900 XTX report and on the **same driver version** (32.0.32015.7029), so the two reports can be read side by side. This one adds a *load I generated myself*, so the load side of the table is measured rather than inferred — and then the experiment that answers the question I asked here on 30.10: where a Windows AMD reader has to be added for the Monitor to actually consume it. ### Environment (checked, not inferred) - App 0.2.9 (`strata-desktop.exe`, 10 159 616 B), Control 0.1.55, engine 0.1.55 `windows-x86_64-hip-rdna3`. - Windows 11. AMD Radeon **RX 7900 GRE** — DXGI vendor `0x1002`, device `0x744C`, 16 324 MiB dedicated, driver **32.0.32015.7029**. OpenCL reports the device as `gfx1100`. - Python 3.12.10 (the Control's own bundled interpreter is 3.12 too). - Model loaded while measuring: Qwen3.8-Flash-Next IQ3_S, 256K context, 14.9 GiB VRAM in use, 2 524 experts cached. ### Method 1. noctrex's `amd_sensor_probe.py` **verbatim** (`D3DKMT` / `ADLX` / `PDH` side by side, read-only). 2. A second script that puts a **known, bounded** load on the card through OpenCL (`OpenCL.dll` ships with Adrenalin): a dependent-FMA kernel, 357 launches × 262 144 work-items × 200 000 iterations in a 12-second window, `clFinish` timed so a load that does not saturate is visible as such instead of being mistaken for a reading. No install, no admin, nothing written to disk. 3. Then: a Windows AMD reader added to the installed Control, the app restarted, the Monitor read. ### Measured | Reading | Idle | Under my OpenCL load | |---|---|---| | Temperature, D3DKMT | 40–46 °C | **50–51 °C** | | Temperature, ADLX | 41–44 °C | **50–51 °C** (agrees sample for sample) | | Power, ADLX `GPUTotalBoardPower` | 35–72 W | **258–260 W** | | Power, ADLX `GPUPower` | NOT_SUPPORTED | NOT_SUPPORTED | | Power, D3DKMT `PERFDATA.Power` | 0 | **0** | | Fan, D3DKMT | 1172–1532 rpm | **2100–2133 rpm** (`MaxFanRPM` 3600) | | Utilization, PDH `\GPU Engine(*)` | **no instances at all** | **248 instances for this LUID**, sum clamped 100 %, busiest 70–77 % | | Utilization, D3DKMT node running time | 0.2 % | 18–53 % (while PDH said 100 % / 72 %) | | VRAM in use, PDH `Dedicated Usage` | 15 224–15 283 MiB | 15 331–15 358 MiB | | VRAM, D3DKMT segment sum | 61 135 / 65 299 MiB on a 16 GiB card | same (semantics broken) | | PCIe link, device property store | **Gen4 x16** (current = max, speed 4 / width 16) | unchanged | | PCIe traffic | no source | no source (`PCIEBandwidth` 0, `MemoryBandwidth` 0) | A second run of the same reader during **real inference** (not a synthetic kernel): 98–100 % load, **184–207 W**, 49–50 °C, fan 1352–1382 rpm, and 0 rpm at idle — the card stops the fan below ~40 °C, so a fan reading has to be able to show zero. ### Findings 1. **Power: only ADLX answers, and only through the fallback.** `GPUTotalBoardPower` moved 35–72 W → 258–260 W under a load I control; `GPUPower` never answered. D3DKMT answered `Power = 0` in every single sample including under load, so on this driver the fallback chain in #2273 is not an optional nicety — it is the only path. 2. **Temperature: D3DKMT and ADLX agree at idle and under load**, which supports D3DKMT as primary and ADLX as fallback, as noctrex proposed. 3. **`\GPU Engine(*)\Utilization Percentage` has no instances while no process uses the GPU.** A reader that treats "no instances" as a broken source, or the failed instance query as "this counter set does not exist", will look wrong on an idle desktop. While my kernel ran, 248 instances matched this card's LUID. 4. **Trap worth encoding in the readers:** the instance names carry the LUID in **upper-case** hex — `…luid_0x00000000_0x0000EFF1_phys_0…`. A needle built with a lower-case `%08x` format matches nothing, silently. My first run returned "no data" for exactly this reason, not because the counter set was missing. 5. **D3DKMT node running-time under-reads** (18–53 % against PDH's 100 % / 72 %) — same direction and magnitude as on the 7900 XTX. 6. **Caps cannot be trusted here either:** `TemperatureMax` 11 °C, `TemperatureWarning` 0, `MaxMemoryBandwidth` 0, while `MaxPCIEBandwidth` reads 28.37 GB/s. 7. **The PCIe *link* is readable without admin and without any vendor library**, through the device property store (`DEVPKEY_PciDevice_CurrentLinkSpeed` / `_MaxLinkSpeed` / `_CurrentLinkWidth` / `_MaxLinkWidth` on the devnode) — Gen4 x16 here. Caveat for #3682's rule: on this PC current equals max, so the "device property reports the wiring rather than the negotiated width" case cannot be reproduced on this board; the conservative min(device property, PMLog) rule is still right, just unverifiable here. 8. **PCIe *traffic* has no source on this driver**, same conclusion as #1871, #2273 and #2614. 9. **ADL2 (`atiadlxx`) is dead on this machine**, which matches #2273's note that ADL answers −1/−5 for every sensor: `ADL2_Main_Control_Create` faults with `0xC0000005` in two different hosts (a 64-bit wrapper and a plain PowerShell window), and `ADL2_Overdrive5_Temperature_Get` returns −5 when the create is skipped. **ADLX initializes fine on the same machine** through `ADLXInitializeWithIncompatibleDriver2` and finds the card by name. So the ADL half of a Windows AMD reader is not portable; the ADLX half works. ### Cross-check against the driver's own overlay (same minute, same machine) | | Adrenalin overlay | Strata Monitor | my probe | |---|---|---|---| | GPU use | 100 % | 97 % "Measured" | PDH engine-sum 100 %, busiest 70–77 % | | Temperature | **48 °C** | **48 °C "Measured"** | D3DKMT 48–51 °C, ADLX 48–51 °C | | Board power | **192 W** ("Общая мощность канала") | "Недоступно" | ADLX `GPUTotalBoardPower` 258–260 W under my own kernel, 184–207 W during real inference | | Fan | 1 592 rpm | no tile | D3DKMT 1 172–2 133 rpm | The Monitor's temperature is **right** — it equals the driver's own reading to the degree — and the number the Power tile was missing is the metric Adrenalin labels "total board power", the one ADLX answers as `GPUTotalBoardPower`. ### The question I asked, answered by experiment I asked which component produces the Monitor's readings, because the Control this machine runs has no Windows AMD reader at all: `gpu_reader(amd=True)` returns `_Amd`, which is amdgpu sysfs only, and running that sampler directly gave nothing. So I added one and restarted. **The Monitor does read `serve/telemetry.py`.** | tile | before | after | |---|---|---| | Power draw | "Not available" | **243 W, "Measured", with a sparkline** | | GPU load | 97 % | **100 %** | | Temperature | 46 °C | 54 °C | | VRAM | 15.6 / 16 GB | 14.9 / 16 GB | | PCIe | "Not available" | "Not available" | The load figure is the proof that the panel consumes this sampler rather than the engine's own accounting: 100 % is my reader's engine-summed PDH value clamped at 100, while the panel had been showing the engine's 97 %. The sampler's own answer, before and after (the Control's bundled interpreter, one sample, no load): ``` before: {'gpu_util': None, 'gpu_mem_used': None, 'gpu_temp': None, 'gpu_power': None, 'gpu_pcie_gen': None} after: {'gpu_util': 86, 'gpu_mem_used': 16315727872, 'gpu_mem_total': 17117806592, 'gpu_temp': 49.0, 'gpu_power': 177.0, 'gpu_fan_rpm': 1382, 'gpu_fan_pct': 38.4} ``` `GET /metrics` now carries `hardware.gpu_power` (175–242 W across a minute of generation, 48–52 °C), and the `devices` block of `GET /v1/telemetry` gets `temp` and `power` too. ### The patch Two files. `serve/telemetry.py` gains a Windows branch in `gpu_reader()` — and the VRAM total for the header comes from DXGI instead of the registry fallback: ```python def _windows_amd_reader(index): if os.name != "nt": return None try: from . import win_amd_sensors return win_amd_sensors.windows_amd_reader(index) except Exception: # telemetry must never take the server down return None def gpu_reader(index=0, amd=False): if amd: r = _windows_amd_reader(index) if os.name == "nt" else None return r if r is not None else _Amd(index) # unchanged everywhere else return _Metal(index) if sys.platform == "darwin" else _Nvml(index) ``` `serve/win_amd_sensors.py` (~200 lines, ctypes only, no admin, no ROCm, nothing written to disk) returns the same dict `_Amd` and `_Nvml` return, so nothing downstream had to change: `temp` from D3DKMT with ADLX as fallback, `power` from ADLX `GPUTotalBoardPower`, `util` from `\GPU Engine(*)` summed over the card's LUID and clamped to 100, `mem_used` from `\GPU Adapter Memory(luid_…)\Dedicated Usage`, `mem_total` from DXGI `GetDesc2`, plus `fan_rpm` / `fan_pct` from D3DKMT (extra keys, no tile for them yet). ### The PCIe tile needs a decision, not a reader It stayed empty, and I don't think it can be filled on this driver: the tile is the *traffic* one (its labels read "Общая передача на выбранные GPU" / "Данные о передаче на GPU недоступны"), and #1871, #2273, #2614 and my own probe agree that PCIe throughput has no source here. The link, on the other hand, is readable without admin and without a vendor library — Gen4 x16 on this PC — so the tile could show generation and width instead, or be dropped. I could not reproduce the link read through `CM_Get_DevNode_PropertyW` from Python (`Get-PnpDeviceProperty` answers those four properties fine; my `DEVPKEY_PciDevice_*` key numbers returned "no such value"), so I left the link out of the patch rather than ship something unverified. ### Caveats One machine, one driver version (32.0.32015.7029), one card (gfx1100). The patch is local to my install and an update would overwrite it, so I am not attached to its shape — the useful part is the finding: the tiles are fed by `serve/telemetry.py`, and that is where a Windows AMD reader has to land. Happy to open a PR with the module if you want it in a branch. Disclosure: every number above was measured on my machine; the probe scripts, the patch and this text were prepared with an LLM assistant and reviewed before posting. <img width="1442" height="873" alt="Strata Monitor after the patch: the Power draw tile reads 243 W, Measured" src="https://github.com/user-attachments/assets/ee9c5e30-bc21-43d8-b0b7-b534a447c44d" /> --- ### Update (01.11, 13:45): the fan, the clock and "Energy since start" — the gap is in the panel's data chain Three readings reach `/metrics` and still never reach the Monitor. Live `GET /metrics` on the running Control: ``` gpu_util 100 gpu_temp 50 gpu_power 179 gpu_fan_pct 33 gpu_fan_rpm_adlx 1395 gpu_clock_mhz 2569 gpu_temp_hotspot 59 gpu_temp_memory_c 72 gpu_mem_shared 44001394688 ``` `GET /api/native` passes all of it through under `instances[].metrics.hardware`. Nothing is missing upstream. **1. The Monitor builds its cards from `/api/native`, and that translation drops the fan and the clock.** `src/lib/native-monitor.ts` (readable from the shipped `index-k1Z_bgvQ.js.map`), the per-device map: ```ts devices.set(index, { util: h.gpu_util, mem_used: h.gpu_mem_used, temp: h.gpu_temp, power: h.gpu_power, power_limit: h.gpu_power_limit, pcie_rx_mb: h.gpu_pcie_rx_mb, pcie_gen: h.gpu_pcie_gen, pcie_gen_max: h.gpu_pcie_gen_max, pcie_width: h.gpu_pcie_width }); // no fan_pct, no clock_mhz ``` The tiles exist and are gated on the reading (`fan = gpuValue('fanPct','max')`, `clock = gpuValue('clockMhz','max')`), and `withHostSensors()` is meant to fill exactly these two fields from the host's own reading — the shipped comment even says so ("The fan and the clock are the host's own readings; the engine's metrics do not carry them (#3628)"). But on Windows + AMD the host's reader (`host/server/device-probes.mjs` → `windows-gpu.mjs`, the D3DKMT counters) produces load, memory and temperature only; the `fanPct` / `clockMhz` branch in `device-probes.mjs` is the Linux amdgpu sysfs path. So the merge has nothing to merge: before the fix, `/api/monitor` → `gpus[0]` had no `fanPct` / `clockMhz` keys at all. **2. `originalDashboard()` never runs when a native Control holds the model.** `monitor.mjs`: ```js return engine.running && engineMetrics.source === 'engine' && engineMetrics.dashboard ? originalDashboard(engineMetrics.dashboard, cachedHardware() ?? hwCache, result) : result; ``` With a native Control the supervisor has no engine of its own (`engine.status "stopped"`, port 8080, `metricsSource "none"`), so the one translation that *does* map `fan_pct` and `clock_mhz` is skipped. Only the host's own sensors reach `/api/monitor` — which is why the host gap is the thing to fix. **3. "Energy since start" integrates a value that is always null here.** `energy-meter.mjs` integrates `powerW × dt`, and `tick()` feeds it `hardwareSnapshot().powerW` — the **host** reader's power, null on Windows + AMD — while the panel shows 180–240 W taken from the engine dashboard. The tile sat at `0.0 Wh` next to a live 188 W. **What fixed it, in the host only.** The host now asks the native Control for its own three readings once a second and fills only the gaps in its own reading (a number the host measured itself still wins): ```js let nativeSensorProbe = () => null; export function setNativeSensorProbe(p){ nativeSensorProbe = typeof p === 'function' ? p : () => null; } // hardwareSnapshot(): if(!demo&&readings.length) for(const r of readings){ const n = nativeSensors(); if(!finite(r.fanPct) && n.fanPct !== null) r.fanPct = n.fanPct; if(!finite(r.clockMhz) && n.clockMhz !== null) r.clockMhz = n.clockMhz; if(!finite(r.powerW) && n.powerW !== null) r.powerW = n.powerW; } ``` After a restart, with the **interface file restored to its shipped state** (no `gpu_fan_pct` / `gpu_clock_mhz` anywhere in it), the Monitor shows: ``` Energy since start 107.8 Wh GPU fan 29 % GPU clock 2 559 MHz Power 168 W "Measured" PCIe Unavailable — "Transfer to GPU unavailable" ``` and `GET /api/monitor` carries them: ```json {"id":"PCI\\VEN_1002&DEV_744C&…","temperatureC":51,"utilizationPct":95,"memoryUsedGb":15.14, "powerW":206,"fanPct":33,"clockMhz":2570,"source":"sensor"} ``` So the gap is neither in the sensors nor in the tiles — it is in the host reading that the tiles are merged from. One honest caveat about the energy figure: it is **measured board power + an estimate for the CPU** (25 W idle → 125 W at full load, capped at 184 W), because this Windows build exposes no CPU package-power counter at all. Board, RAM, drives and PSU losses are not in it, so it will always read lower than a wall meter; if the tile is meant to be "the PC", the tile should say what it sums. **4. The fan percentage: neither "max RPM" is the right denominator.** | source | value | what it implies for 1 382 rpm | |---|---|---| | D3DKMT `MaxFanRPM` | 3 600 | 38,4 % | | ADLX `GetGPUFanSpeedRange` | up to 6 600 | 20,5 % | | GPU-Z (1 382 rpm ↔ 33 %) | implies ≈ 4 100–4 310 | 32–33 % | | ADLX `GPUFanDuty` | **31–32 %** | matches GPU-Z | A 90-second comparison against the GPU-Z sensor log: 88 of 90 power samples matched watt for watt (max deviation 3 W), temperature within 1 °C, RPM within ~12 rpm. GPU-Z also caught a real error in our reader: during the spin-down it shows 810 → 520 → 291 → 291 → 157 rpm while D3DKMT already answers 0 — the reader reports the command, not the physical state, only during that transition. Conclusion: take the percentage from `GPUFanDuty`, keep the RPM division as a fallback only. **5. ADLX answers more than was asked** (method order taken from the official headers, `SDK/Include/IPowerMonitoring*.h`; ADLX 5.0.124 on this driver does not answer `QueryInterface`, so slots 15–19 were probed one at a time in a throwaway process): | slot | method | reading | GPU-Z | |---|---|---|---| | 5 | `GPUClockSpeed` | 34 MHz idle | 25–108 ✓ | | 6 | `GPUVRAMClockSpeed` | 2 238 MHz | 2 238 ✓ | | 7 | `GPUTemperature` | 47 °C | 46–47 ✓ | | 8 | `GPUHotspotTemperature` | 55 °C | 46–60 ✓ | | 9 | `GPUPower` | NOT_SUPPORTED | absent ✓ | | 10 | `GPUTotalBoardPower` | 67 W | 66–69 ✓ | | 11 | `GPUFanSpeed` | 1 382 rpm | 1 382 ✓ | | 12 | `GPUVRAM` | 15 831 MiB | ✓ | | 13 | `GPUVoltage` | 3.4·10⁻³²¹ | **not a voltage** — integer bits read as double; dropped | | 15 | `GPUMemoryTemperature` | **72 °C** | 62–73 ✓ | | 18 | `GPUSharedMemory` | 41 962 MiB | 41 955 ✓ | | 19 | `GPUFanDuty` | **31–32 %** | 33 ✓ | This matters most on a card holding 15 GiB of model: **memory runs 15–25 °C hotter than the core** — during generation core 49–50 °C, hotspot 59 °C, GDDR6 72 °C — and the temperature tile shows the edge sensor only, so the hottest thing on the card is invisible in the panel. Hot-spot and memory temperature would be worth tiles. **6. Two things worth encoding.** (a) `/api/hardware` and `/api/monitor` identify the card by its PCI id (`PCI\VEN_1002&DEV_744C&…`) while `/api/native` calls it `"amd:0"`; `withHostSensors()` matches readings by `id`, and it works today only because the UI's device inventory comes from `/api/hardware` — change where the inventory comes from and the host-sensor merge silently stops working. (b) Load is two different quantities: the host sums all engine instances (4–10 % at idle), GPU-Z reports the 3D engine (0–1 %); both give 100 % under real generation. Worth labelling which one the tile shows. The local change is now two small edits — `host/server/monitor.mjs` and `host/server/index.mjs` — and the interface file is back to its shipped state, because the host-side fix turned out to be sufficient. <img width="1705" height="1239" alt="Strata Monitor after the host-side fix, a later sample: Power 173 W Measured, GPU fan 31 %, GPU clock 2 577 MHz, Energy since start 214.1 Wh, SSD temperature 51 °C" src="https://github.com/user-attachments/assets/b4af8e01-1610-4af2-8fa2-52e26d1dd213" />
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#1559
No description provided.