Developing AMD GPU Utilities

Message boards : Number crunching : Developing AMD GPU Utilities
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2034582 - Posted: 29 Feb 2020, 11:01:29 UTC

I have just released a new version of amdgpu-utils:
https://github.com/Ricks-Lab/amdgpu-utils/releases/tag/v3.0.0
    Style and code robustness improvements
    Deprecated amdgpu-pciid and removed all related code
    Complete rewrite based on benchMT learning. Simplified code with ObjDict for GpuItem parameters and use of class variables for generic behavior parameters
    Use lspci as the starting point for developing GPU list and classify by vendor, readability, writability, and compute capability. Build in potential to be generic GPU util, instead of AMD focused
    Test for readability and writability of all GPUs and apply utilities as appropriate
    Add assessment of compute capability for each installed GPU
    Eliminated the use of lshw to determine driver compatibility and display of driver details is now informational with no impact on the utilities
    Add p-state masking capability for Type 2 GPUs (Vega20 and newer)
    Optimized pac writing to GPUs



The core of the utility has been modified to allow extension to other brands of GPUs. Will start this work when I have some available time.

ID: 2034582 · Report as offensive     Reply Quote
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 20265
Credit: 7,508,002
RAC: 20
United Kingdom
Message 2034618 - Posted: 29 Feb 2020, 16:58:01 UTC - in response to Message 2034582.  

Looking good thus far:

amdgpu-utils - User Guide


And good for the tweaks.

In the monitoring and graph plots, is there any measure of RAM usage/utilization and PCIe bandwidth utilization?


Happy crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 2034618 · Report as offensive     Reply Quote
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2034740 - Posted: 1 Mar 2020, 1:32:20 UTC - in response to Message 2034618.  


In the monitoring and graph plots, is there any measure of RAM usage/utilization and PCIe bandwidth utilization?

In the monitor tables, memory busy percent is reported. Before I add it to the plots, I need to work on plotting efficiency. Other memory related parameters available (but not used by amdgpu-utils) are:
mem_busy_percent
mem_info_gtt_used
mem_info_vis_vram_used
mem_info_vram_used
mem_info_gtt_total
mem_info_vis_vram_total
mem_info_vram_total

I don't see any device files/sensors related to PCIe loading.
ID: 2034740 · Report as offensive     Reply Quote
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 2049802 - Posted: 20 May 2020, 14:55:51 UTC
Last modified: 20 May 2020, 14:58:58 UTC

@Rick,
I have just started using the Amd gpu utilities you have created.

on Amdgpu-monitor,

Is "Memory Utilization" the amount of available memory being used or is the amount of memory bandwidth being used?

I know that Gpu-Z offers both. So I am confused over which one it is.

I really, really, really appreciate what you have done here. We need to get it publicized out on the Linux/Ati/Gpu websites out there.

Tom M
A proud member of the OFA (Old Farts Association).
ID: 2049802 · Report as offensive     Reply Quote
Shadowstarz

Send message
Joined: 29 May 99
Posts: 4
Credit: 845,270
RAC: 1
United States
Message 2051586 - Posted: 11 Jun 2020, 16:19:17 UTC

Maybe someone can help me out here. My BOINC project is sitting at 51% and hasn't moved due to "GPU missing" , "Waiting to run (0.00534 CPUs + NVIDIA GPU (missing))". I have taken it off the NVIDIA as I have installed a ATI Radeon card that allows me to use two monitors. I know a bit on PC's, but when it get too techy, I'm lost.
ID: 2051586 · Report as offensive     Reply Quote
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 2051589 - Posted: 11 Jun 2020, 16:35:08 UTC - in response to Message 2051586.  

Maybe someone can help me out here. My BOINC project is sitting at 51% and hasn't moved due to "GPU missing" , "Waiting to run (0.00534 CPUs + NVIDIA GPU (missing))". I have taken it off the NVIDIA as I have installed a ATI Radeon card that allows me to use two monitors. I know a bit on PC's, but when it get too techy, I'm lost.


You either have to run the Nvidia tasks "dry" or abort them. They won't self delete for quite a while (if ever). They won't process if there is not an Nvidia GPU installed with the appropriate drivers.

Tom M
A proud member of the OFA (Old Farts Association).
ID: 2051589 · Report as offensive     Reply Quote
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2051813 - Posted: 14 Jun 2020, 2:37:20 UTC

I have just released a new version of amdgpu-utils:
https://github.com/Ricks-Lab/amdgpu-utils/releases/tag/v3.2.0
    Fixed CRITICAL issue where Zero fan speed could be written when invalid fan speed was read from the GPU.
    Fixed issue in reading pciid file in Gentoo (@CH3CN).
    Modified setup to indicate minimum instead of absolute package versions (@smoe).
    Modified requirements to include min/max package versions for major packages.
    Fixed crash for missing pci-ids file and add location for Arch Linux (@berturion).
    Fixed a crash in amdgpu-pac when no fan details could be read (laptop GPU).
    Fixed deprecation warnings for several property setting functions. Consolidated all property setting to a single function in a new module, and ignore warnings for those that are deprecated. All deprecated actions are marked with FIXME in GPUgui.py.
    Replaced deprecated set properties statement for colors with css formatting.
    Implemented a more robust string format of datetime to address datetime conversion for pandas in some installations.
    Implemented dubug logging across the project. Activated with --debug option and output saved to a .log file.
    Updated color scheme of Gtk applications to work in Ubuntu 20.04. Unified color scheme across all utilities.
    Additional memory parameters added to utilities.
    Read ID information for all GPUs and attempt to decode GPU name. For cards with no card path entry, determine system device path and use for reading ID. Report system device path in amdgpu-ls. Add amdgpu-ls --short report to give brief description of all installed GPUs.

ID: 2051813 · Report as offensive     Reply Quote
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 2051831 - Posted: 14 Jun 2020, 7:12:31 UTC - in response to Message 2051813.  

+1

I will update later today. I think.

Tom M
A proud member of the OFA (Old Farts Association).
ID: 2051831 · Report as offensive     Reply Quote
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2052432 - Posted: 21 Jun 2020, 1:06:13 UTC

I have been working with Keith to include NV GPUs in the utilities as readable (amdgpu-pac still doesn't support NV). Looking for users to give it a try. The latest version is here
ID: 2052432 · Report as offensive     Reply Quote
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2052551 - Posted: 23 Jun 2020, 6:57:55 UTC

I have posted a package at PyPI which can be installed with:

pip install ricks-amdgpu-utils
ID: 2052551 · Report as offensive     Reply Quote
Profile RueiKe Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 14 Feb 16
Posts: 492
Credit: 378,512,430
RAC: 785
Taiwan
Message 2052627 - Posted: 24 Jun 2020, 12:53:17 UTC - in response to Message 2052551.  

I have posted a package at PyPI which can be installed with:

pip install ricks-amdgpu-utils


I have discovered an issue where the PyPI distribution could not find the plot utility when ran from amdgpu-monitor --plot. I have uploaded a new package to fix this. The utilities can be installed with the following command.

pip3 install ricks-amdgpu-utils
ID: 2052627 · Report as offensive     Reply Quote

Message boards : Number crunching : Developing AMD GPU Utilities


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.