examine: Strix Halo APU (gfx1151, Ryzen AI Max+ 395) misclassified as discrete GPU (has_apu=false)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start with the rocm examine --json entry point and trace how GPU metadata, gfx_target, is_apu, and has_apu are derived; compare that path with the gfx-target lookup discussed in #393. Reproduce against the Strix Halo evidence in the issue, then verify that gfx1151 is classified as an APU without misclassifying discrete AMD GPUs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
On an AMD Ryzen AI Max+ 395 (Strix Halo, gfx1151), rocm examine --json classifies the machine as having no APU ("has_apu": false, GPU entry "is_apu": false, "has_discrete_amd": true). This is a discrete-GPU-only misclassification of an iGPU-with-unified-memory APU, and it feeds wrong routing to consumers that branch on has_apu (APU-specific diagnostics and GTT/memory-tuning flows get skipped on exactly the machines where GTT tuning is the whole point).
Environment
- OS: Ubuntu 24.04, kernel
6.17.0-1032-oem(Ubuntu OEM) - APU: AMD Ryzen AI Max+ 395 w/ Radeon 8060S (Strix Halo, gfx1151)
- rocm-cli:
0.1.0 (main, 8788394)(nightly channel installer)
Observed
"gpus": [
{
"name": "Advanced Micro Devices, Inc. [AMD/ATI] Device",
"gfx_target": "",
"pci_id": "0000:66:00.0",
"is_apu": false,
"is_amd": true
}
],
"has_amd_gpu": true,
"has_apu": false,
"has_discrete_amd": true
Ground truth from other official tools on the same machine:
amd-smi static:MARKET_NAME: AMD Radeon 8060S Graphics,TARGET_GRAPHICS_VERSION: gfx1151,MEM_CARVEOUTpresent, VRAM8192 MB(DRAM-backed)rocminfo: agentName: gfx1151- Unified-memory evidence:
mem_info_vram_total=8589934592alongside a 96 GiB GTT (ttm.pages_limit=25165824) — classic UMA APU split
Expected
has_apu / is_apu should be true for Strix Halo and other Radeon-A APUs.
Suggested fix
PCI-topology heuristics alone miss APUs whose iGPU enumerates on a separate host bridge (Strix Halo exposes the GPU at 0000:66:00.0). Consider classifying by one of:
- gfx target set:
gfx1150/gfx1151/gfx1152are APU-only LLVM targets — a whitelist here is cheap and precise - UMA detection: VRAM carve-out is DRAM-backed (no separate HBM/GDDR instance) —
amd-smialready exposes this shape
Note: gfx_target being empty in examine output (see #393) is likely also feeding this — fixing the gfx-target lookup would give this classification the cheap precise signal.
Impact
Downstream consumers branching on has_apu misroute: e.g. the official rocm-doctor skill's APU flows and GTT-related diagnostics are skipped on this machine even though GTT tuning (currently 8 GiB carve-out + 96 GiB GTT) is this platform's headline feature.
- Lingua principale
- Rust
- Stelle
- 45
- Fork
- 11
- Merge medio
- 3g 23h
- PR unite (30g)
- 145
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ROCm/rocm-cli
-
Collapse the bare/_at/_read three-entry-point split in openmpi.rs and driver_install.rsForse già presa @jussielo-amd l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 2 giorni
-
Move the remaining `scripts/` tooling to Rust (`cargo xtask` / e2e scenarios)Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 2 giorni
-
examine: lspci cannot name a GPU that pci.ids does not know, though the device id is on the lineApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di ROCm/rocm-cli
Issue simili
-
BASEPRI needs an ISBAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
rust-embedded/cortex-m#702 · 1 commento ·
-
Make major, minor, and makedev safe on solarish targetsForse già presa @xtqqczze l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
improvement/feedback improvement/workflow-project
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
higress-group/HiRoute#166 ·
I maintainer di solito rispondono entro 1 giorno
-
Proxy ignores l5d-retry-http and l5d-retry-grpc conditions that follow a comma and spaceForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 3 giorni
-
sncast panics when decoding a `u384` valueForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
foundry-rs/starknet-foundry#4635 ·
I maintainer di solito rispondono entro 3 giorni