Skip to content

Releases: Umio-Yasuno/amdgpu_top

v0.8.0

29 Mar 13:35
Compare
Choose a tag to compare

Changelog

  • fix build issue without tui feature
  • use GPU_INFO::find_device_name_or_default instead of DEVICE_HANDLE::get_marketing_name_or_default
  • dump pp_table from sysfs and VBIOS (only support Navi1x and Navi2x, Navi3x)

SMI

  • set no_wrap to TextView for fdinfo
  • display ECC uncorrected error

TUI

  • display fdinfo stat for VPE (Video Processing Engine)
  • display ECC Error Count

GUI

  • display fdinfo stat for VPE (Video Processing Engine)
  • change resolution info format ("{v}x{h}" -> "{h}x{v}")
  • display sort mark for fdinfo
  • re-display the hw ip info
  • display ECC Error Count
  • fix the collapsing state of mode properties with the same name (#73 )

v0.7.0

04 Feb 09:52
Compare
Choose a tag to compare

Changelog

  • update libdrm_amdgpu_sys to v0.5.0
  • add JSON_FIFO mode for other applications and scripts (#70)
  • update amdgpu_top-tui.desktop
    • remove amdgpu_top-smi.desktop
    • change package to install amdgpu_top-tui.desktop

TUI

  • support gpu_metrics_v1_4 and gpu_metrics_v1_5
  • initial support for future APU (SMU v14.0.0) with gpu_metrics_v3_0

GUI

  • display usable_heap_size
  • support gpu_metrics_v1_4 and gpu_metrics_v1_5
  • initial support for future APU (SMU v14.0.0) with gpu_metrics_v3_0

v0.6.1

04 Jan 05:46
Compare
Choose a tag to compare

Changelog

  • fix get_gfx_target_version_from_kfd (#64)

v0.6.0

01 Jan 11:59
Compare
Choose a tag to compare

Changelog

  • support --dark, --dark-mode and --light, --light-mode options for TUI and GUI
  • use utilities-system-monitor for icon
  • display gfx_target_version (e.g. gfx1032, gfx90c)

Dump

  • fix layout for drm_info
  • remove duplicate
  • support MEC2 version & feature

TUI

  • support dark mode

GUI

  • update license to MIT AND OFL-1.1
  • support drm mode info

JSON

  • support drm mode info

v0.5.0

13 Dec 16:09
Compare
Choose a tag to compare

Changelog

  • update help msg
  • support "--drm_info, --drm-info" options
  • update dependencies

GUI

  • Fix sort by media in GUI on VCN4 by @Randomblock1
  • add small toggle-button for light and dark mode
  • add Connector Info (like drm_info)

JSON

  • fix JsonDeviceInfo::json for no_pc
  • add stat (VRAM, Sensors, gpu_metrics, gpu_activity) to dump_json
  • add docs/dump.json
  • update docs/sample.json
  • fix example of using json mode
  • support drm_info

amdgpu_top --drm_info

Node: "/dev/dri/card0"
β”œβ”€β”€β”€Connector 103 (DisplayPort-1), disconnected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 3, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 104, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 105, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 106, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 107, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 108, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"subconnector", id = 109, value: 0, enums: ["Unknown"=0, "VGA"=1, "DVI-D"=3, "HDMI"=11, "DP"=10, "Wireless"=18, "Native"=15]
β”œβ”€β”€β”€Connector 111 (DisplayPort-2), disconnected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 3, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 112, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 113, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 114, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 107, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 108, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"subconnector", id = 109, value: 0, enums: ["Unknown"=0, "VGA"=1, "DVI-D"=3, "HDMI"=11, "DP"=10, "Wireless"=18, "Native"=15]
β”œβ”€β”€β”€Connector 116 (DisplayPort-3), connected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 121, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 0, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 117, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 118, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 119, value: 1, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 107, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 108, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"subconnector", id = 109, value: 15, enums: ["Unknown"=0, "VGA"=1, "DVI-D"=3, "HDMI"=11, "DP"=10, "Wireless"=18, "Native"=15]
β”œβ”€β”€β”€Connector 122 (HDMI-A-1), connected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 136, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 0, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 123, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"content type", id = 124, value: 0, enums: ["No Data"=0, "Graphics"=1, "Photo"=2, "Cinema"=3, "Game"=4]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 125, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 126, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 107, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 108, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]


Node: "/dev/dri/card1"
β”œβ”€β”€β”€Connector 87 (HDMI-A-2), disconnected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 3, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 88, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"content type", id = 89, value: 0, enums: ["No Data"=0, "Graphics"=1, "Photo"=2, "Cinema"=3, "Game"=4]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 90, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 91, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 92, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 93, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€Connector 95 (HDMI-A-3), disconnected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 3, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 96, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"content type", id = 89, value: 0, enums: ["No Data"=0, "Graphics"=1, "Photo"=2, "Cinema"=3, "Game"=4]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 97, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 98, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 92, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 93, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€Connector 100 (DisplayPort-4), disconnected
β”œβ”€β”€β”€β”€β”€β”€β”€"EDID", id = 1, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"DPMS", id = 2, value: 3, enums: ["On"=0, "Standby"=1, "Suspend"=2, "Off"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"link-status", id = 5, value: 0, enums: ["Good"=0, "Bad"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"non-desktop", id = 6, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"TILE", id = 4, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"scaling mode", id = 33, value: 0, enums: ["None"=0, "Full"=1, "Center"=2, "Full aspect"=3]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan", id = 34, value: 0, enums: ["off"=0, "on"=1, "auto"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan hborder", id = 35, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"underscan vborder", id = 36, value: 0, values: [0, 128]
β”œβ”€β”€β”€β”€β”€β”€β”€"max bpc", id = 101, value: 16, values: [8, 16]
β”œβ”€β”€β”€β”€β”€β”€β”€"Colorspace", id = 102, value: 0, enums: ["Default"=0, "BT709_YCC"=2, "opRGB"=7, "BT2020_RGB"=9, "BT2020_YCC"=10]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDR_OUTPUT_METADATA", id = 7, value: 0, blob
β”œβ”€β”€β”€β”€β”€β”€β”€"vrr_capable", id = 103, value: 0, values: [0, 1]
β”œβ”€β”€β”€β”€β”€β”€β”€"Content Protection", id = 92, value: 0, enums: ["Undesired"=0, "Desired"=1, "Enabled"=2]
β”œβ”€β”€β”€β”€β”€β”€β”€"HDCP Content Type", id = 93, value: 0, enums: ["HDCP Type0"=0, "HDCP Type1"=1]
β”œβ”€β”€β”€β”€β”€β”€β”€"subconnector", id = 104, value: 0, enums: ["Unknown"=0, "VGA"=1, "DVI-D"=3, "HDMI"=11, "DP"=10, "Wireless"=18, "Native"=15]

v0.4.0

30 Nov 20:40
Compare
Choose a tag to compare

Changelog

  • support --no-pc option
    • The application does not read the performance counter (GRBM, GRBM2) if this flag is set.
    • Reading the performance counter may deactivate the power saving feature of APU/GPU and increase power consumption by several watts..
  • support -gm, --gpu-metrics, --gpu_metrics options

TUI

  • support average_cpu_power for gpu_metrics_v2_x
  • fix layout
  • detect the KFD process

GUI

  • add VRAM/GTT Plot
  • update {eframe,egui_plot} to v0.24.0
  • support average_cpu_power for gpu_metrics_v2_x
  • add copy button to VBIOS Info
  • improve sensors, temp, perf_counter (GRBM, GRBM2) plots
  • detect the KFD process

JSON

  • update OutputJson for GpuMetrics
  • support --gpu_metrics + --json option

v0.3.1

11 Nov 08:57
Compare
Choose a tag to compare

Changelog

  • implement fallback v2 (#54)
  • improve main setup
  • add --single, --single-gpu options
  • update dependencies

TUI

  • improve setup

GUI

  • reduce spawn_update_index_thread
  • use PCI bus instead of instance number (#54)
  • update egui_device_list

v0.3.0

08 Nov 04:31
Compare
Choose a tag to compare

Changelog

  • update dependencies
  • update build.rs
  • add -p and --process options
    • Dump All GPU processes and memory usage per process.
$ amdgpu_top -p
amdgpu_top v0.3.0 (git-f6b1224)

AMD Radeon RX 6600 (0000:03:00.0), VRAM   669/ 8176 MiB, GTT    36/ 7684 MiB
    firefox         (   4235), VRAM   410 MiB (  5%), GTT    18 MiB (  0%)
                    Requested: VRAM   410 MiB,        GTT    18 MiB
                      Evicted: VRAM     0 MiB
    amdgpu_top      ( 277805), VRAM     0 MiB (  0%), GTT     0 MiB (  0%)
                    Requested: VRAM     0 MiB,        GTT     0 MiB
                      Evicted: VRAM     0 MiB

AMD Radeon Graphics (0000:08:00.0), VRAM    29/  512 MiB, GTT    14/ 7684 MiB
    amdgpu_top      ( 277805), VRAM     0 MiB (  0%), GTT     0 MiB (  0%)
                    Requested: VRAM     0 MiB,        GTT     0 MiB
                      Evicted: VRAM     0 MiB

Lib

  • rename system_cpu_usage to system_cpu_memory_usage (AMDGPU_GEM_DOMAIN_CPU)
  • support amd_visible_vram, amd_evicted_{vram, visible_vram}, amd_requested_{vram, gtt, visible_vram} for Linux Kernel v6.4+
  • common code (AppAmdgpuTop)

TUI, SMI

  • use AppAmdgpuTop

GUI

  • use AppAmdgpuTop
  • set false to egui_plot::Plot.show_axes (#52)
  • support multi-GPU by way of switching

JSON

  • fix OutputJson for FdInfoStat
  • use AppAmdgpuTop

v0.2.3

26 Oct 16:44
Compare
Choose a tag to compare

Changelog

Lib

  • remove fallback
  • cleanup
  • update to libdrm_amdgpu_sys v0.2.2

v0.2.2-1

26 Oct 16:05
Compare
Choose a tag to compare
v0.2.2-1 Pre-release
Pre-release
  • Update Cargo.lock
  • Update sample.json