Skip to content

ctop 0.4.5

Latest

Choose a tag to compare

@ironiris ironiris released this 19 Oct 08:05
· 5 commits to main since this release

주요 변경 사항

  • ROCm(AMD SMI)이 설치된 시스템에서 AMD GPU 지표를 AMD SMI API로 우선 수집합니다. /opt/rocm의 libamd_smi.so / librocm_smi64.so.1을 런타임에 dlopen으로 불러며, 빌드 의존성은 없고 미설치 시 기존 Vulkan/sysfs 동작과 동일합니다.
  • ROCm 경로는 온도(edge→junction), 전력·전력 한계, VRAM/GTT 메모리, 사용률을 수집하며 필드별로 실패 시 sysfs 값으로 폴백합니다. 프로세스별 정보는 계속 DRM fdinfo를 사용합니다.
  • GPU 데이터 출처(nvml / rocm / sysfs)를 TUI, 웹 대시보드, metrics API("source" 필드, 원격 모니터 포함)에 표시합니다.
  • README(한/영)에 ROCm 런타임 백엔드를 문서화했습니다.

Changes

  • AMD GPU metrics now prefer the ROCm (AMD SMI) API when it is installed. The library (libamd_smi.so / librocm_smi64.so.1 from /opt/rocm) is loaded at runtime via dlopen with no build dependency; behavior is unchanged on hosts without ROCm.
  • The ROCm path collects temperature (edge, then junction), power and power cap, VRAM/GTT memory, and utilization, falling back to sysfs per field on any failure. Per-process data still comes from DRM fdinfo.
  • The GPU data source (nvml / rocm / sysfs) is shown in the TUI, the web dashboard, and the metrics API ("source" field, including remote monitors).
  • Documented the ROCm runtime backend in both READMEs.