
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
A simple Python Wrapper for the AMD/ATI ADL lib.
First, import:
.. code-block:: python
from pyadl import *
To get the supported devices list
Return: Array of ADLDevice
.. code-block:: python
ADLManager.getInstance().getDevices()
For the following methods, device is an instance of ADLDevice.
Get the current core voltage in mV
Return: Float
.. code-block:: python
device.getCurrentCoreVoltage()
Get the current engine frequency in MHz
Return: Float
.. code-block:: python
device.getCurrentEngineClock()
Get the current fan speed in a specified unit
Parameters:
Return: Integer
.. code-block:: python
device.getCurrentFanSpeed(speedType):
Get the current memory frequency in MHz
Return: Float
.. code-block:: python
device.getCurrentMemoryClock()
Get the current temperature in Celsius
Return: Float
.. code-block:: python
device.getCurrentTemperature()
Get the current load in percentage
Return: Integer
.. code-block:: python
device.getCurrentUsage():
Get the core voltage range
Parameters:
Return: (Min: Float, Max: Float)
.. code-block:: python
device.getCoreVoltageRange(reload):
Get the engine clock frequency range
Parameters:
Return: (Min: Float, Max: Float)
.. code-block:: python
device.getEngineClockRange(reload):
Get the fan speed range in the specified unit
Parameters:
Return: (Min: Integer, Max: Integer)
.. code-block:: python
device.getFanSpeedRange(speedType, reload):
Get the memory clock frequency range (Min, Max)
Parameters:
Return: (Min: Float, Max: Float)
.. code-block:: python
device.getMemoryClockRange(reload):
.. code-block:: console
$ python test.py
Options:
-h, --help show this help message and exit
-l, --list-adapters Lists all detected and supported display adapters.
-s, --status Shows current clock speeds, core voltage, utilization
and performance level.
On a single card machine:
.. code-block:: console
$ python test.py -s
0. AMD Radeon (TM) R9 380 Series
Engine core voltage: -2076327552 mV (0.0 mV - 0.0 mV)
Engine clock: 975.54 MHz (150.0 MHz - 1200.0 MHz)
Memory clock: 1400.0 MHz (75.0 MHz - 1750.0 MHz)
Fan speed: 65 % (0 % - 100 %)
Fan speed: 2958 RPM (0 RPM - 6000 RPM)
Temperature: 77.0 Celsius
Usage: 100 %
On a miner rig with 5 RX 460:
.. code-block:: python
python test.py -s
0. b'Radeon(TM) RX 460 Graphics'
Engine core voltage: 1230037376 mV (0.0 mV - 0.0 mV)
Engine clock: 1168.0 MHz (110.0 MHz - 1800.0 MHz)
Memory clock: 1750.0 MHz (150.0 MHz - 2000.0 MHz)
Fan speed: 35 % (0 % - 100 %)
Fan speed: 1042 RPM (0 RPM - 4600 RPM)
Temperature: 69.0 Celsius
Usage: 100 %
16. b'Radeon(TM) RX 460 Graphics'
Engine core voltage: 757416320 mV (0.0 mV - 0.0 mV)
Engine clock: 1142.11 MHz (110.0 MHz - 1800.0 MHz)
Memory clock: 1750.0 MHz (150.0 MHz - 2000.0 MHz)
Fan speed: 34 % (0 % - 100 %)
Fan speed: 984 RPM (0 RPM - 4600 RPM)
Temperature: 69.0 Celsius
Usage: 100 %
32. b'Radeon(TM) RX 460 Graphics'
Engine core voltage: 1230037376 mV (0.0 mV - 0.0 mV)
Engine clock: 1153.96 MHz (110.0 MHz - 1800.0 MHz)
Memory clock: 1750.0 MHz (150.0 MHz - 2000.0 MHz)
Fan speed: 33 % (0 % - 100 %)
Fan speed: 989 RPM (0 RPM - 4600 RPM)
Temperature: 70.0 Celsius
Usage: 100 %
48. b'Radeon(TM) RX 460 Graphics'
Engine core voltage: 1230037376 mV (0.0 mV - 0.0 mV)
Engine clock: 1098.78 MHz (110.0 MHz - 1800.0 MHz)
Memory clock: 1750.0 MHz (150.0 MHz - 2000.0 MHz)
Fan speed: 33 % (0 % - 100 %)
Fan speed: 851 RPM (0 RPM - 4600 RPM)
Temperature: 72.0 Celsius
Usage: 100 %
64. b'Radeon(TM) RX 460 Graphics'
Engine core voltage: 1230037376 mV (0.0 mV - 0.0 mV)
Engine clock: 1162.41 MHz (110.0 MHz - 1800.0 MHz)
Memory clock: 1750.0 MHz (150.0 MHz - 2000.0 MHz)
Fan speed: 33 % (0 % - 100 %)
Fan speed: 858 RPM (0 RPM - 4600 RPM)
Temperature: 67.0 Celsius
Usage: 100 %
FAQs
A simple Python Wrapper for the AMD/ATI ADL lib.
We found that pyadl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.