mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#3452
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1434
Author: @gt50
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:windows-amd-telemetry📝 Commits (3)
9aa2bc9telemetry: GPU load, VRAM, temperature and power for AMD cards on Windows (#1380)e818f0atelemetry: board power on discrete Radeons, and close the Windows AMD reader (#1434 review)1810d7btests: the no-card telemetry test with #1587's registry fallback📊 Changes
4 files changed (+330 additions, -17 deletions)
View changed files
📝
docs/AMD_HIP.md(+4 -1)📝
serve/telemetry.py(+227 -15)📝
serve/test_server.py(+98 -0)📝
serve/web/app.js(+1 -1)📄 Description
Title
Issue: Resolves #1380
Summary
On Windows, the Monitor shows no GPU load, VRAM, temperature or power for AMD cards: the AMD reader used the amdgpu driver's Linux sysfs files only. This adds a Windows reader that gets the same four values from what every Adrenalin install already has. It uses ctypes like the NVML reader, so there's no new dependency.
Checked on a Ryzen AI Max+ 395 / Radeon 8060S (Strix Halo), Windows 11 Pro 10.0.26300, driver 32.0.31041.1004, engine 0.1.40.2. The Monitor now shows load, VRAM
63.2 / 64 GBwith24,576 experts cached, temperature and power, all with sparklines.What changed
serve/telemetry.py: new_AmdWindowsreader with_Nvml's interface.gpu_reader(index, amd=True)picks it whenWINDOWS; on Linux it's still_Amd(sysfs).PMLOG_INFO_ACTIVITY_GFX)PMLOG_ASIC_POWER), else 30 (GFX power)ADL2_Adapter_MemoryInfo2_Get\GPU Adapter Memory(<luid>)\Dedicated Usagethroughpdh.dll(PdhAddEnglishCounterW, so any Windows language)D3DKMTEnumAdapters2+KMTQAITYPE_ADAPTERADDRESS. ADL's ownADL2_Adapter_VRAMUsage_Getreturned 3,748,023 MB on the 8060S, so it isn't used.ok() == False, as before.The #1380 note: it now says why readings are missing ("AMD's ADL library … did not answer for this card", or "the amdgpu driver's sysfs files were not found"), instead of "not available on Windows AMD yet".
app.jsshows "not available" in the VRAM tile in that case.serve/test_server.py:AmdTelemetrypinsWINDOWS = False, so the sysfs tests also pass when run on Windows.AmdWindowsTelemetry: sensor choice, LUID instance names, and no-card behaviour (Windows only), including the note.serveand setup test files pass on Windows, onmain61b3fb5d(1158 tests; rebased).docs/AMD_HIP.md: the Monitor line names the Windows sources.Extra Notes
power_limitstays None, and the tile shows no "of … W limit".free_vram_mib(amd=True)now also returns a value on Windows: total minus dedicated usage. Somin_free_vram_mibworks there too.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.