Package: pyadl
PyADLA simple Python Wrapper for the AMD/ATI ADL lib.Library usageFirst, import:frompyadlimport*To get the supported devices listReturn: Array of ADLDeviceADLManager.getInstance().getDevices()For the following methods, device is an instance of ADLDevice.Get the current core voltage in mVReturn: Floatdevice.getCurrentCoreVoltage()Get the current engine frequency in MHzReturn: Floatdevice.getCurrentEngineClock()Get the current fan speed in a specified unitParameters:speedType: ADL_DEVICE_FAN_SPEED_TYPE_PERCENTAGE or ADL_DEVICE_FAN_SPEED_TYPE_RPMReturn: Integerdevice.getCurrentFanSpeed(speedType):Get the current memory frequency in MHzReturn: Floatdevice.getCurrentMemoryClock()Get the current temperature in CelsiusReturn: Floatdevice.getCurrentTemperature()Get the current load in percentageReturn: Integerdevice.getCurrentUsage():Get the core voltage rangeParameters:reload: Force reload the cached data. Default: FalseReturn: (Min: Float, Max: Float)device.getCoreVoltageRange(reload):Get the engine clock frequency rangeParameters:reload: Force reload the cached data. Default: FalseReturn: (Min: Float, Max: Float)device.getEngineClockRange(reload):Get the fan speed range in the specified unitParameters:speedType: ADL_DEVICE_FAN_SPEED_TYPE_PERCENTAGE or ADL_DEVICE_FAN_SPEED_TYPE_RPMreload: Force reload the cached data. Default: FalseReturn: (Min: Integer, Max: Integer)device.getFanSpeedRange(speedType,reload):Get the memory clock frequency range (Min, Max)Parameters:reload: Force reload the cached data. Default: FalseReturn: (Min: Float, Max: Float)device.getMemoryClockRange(reload):For testing$pythontest.pyOptions:
  -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:$pythontest.py-s0. 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:pythontest.py-s0.b'Radeon(TM) RX 460 Graphics'Enginecorevoltage:1230037376mV(0.0mV-0.0mV)Engineclock:1168.0MHz(110.0MHz-1800.0MHz)Memoryclock:1750.0MHz(150.0MHz-2000.0MHz)Fanspeed:35%(0%-100%)Fanspeed:1042RPM(0RPM-4600RPM)Temperature:69.0CelsiusUsage:100%16.b'Radeon(TM) RX 460 Graphics'Enginecorevoltage:757416320mV(0.0mV-0.0mV)Engineclock:1142.11MHz(110.0MHz-1800.0MHz)Memoryclock:1750.0MHz(150.0MHz-2000.0MHz)Fanspeed:34%(0%-100%)Fanspeed:984RPM(0RPM-4600RPM)Temperature:69.0CelsiusUsage:100%32.b'Radeon(TM) RX 460 Graphics'Enginecorevoltage:1230037376mV(0.0mV-0.0mV)Engineclock:1153.96MHz(110.0MHz-1800.0MHz)Memoryclock:1750.0MHz(150.0MHz-2000.0MHz)Fanspeed:33%(0%-100%)Fanspeed:989RPM(0RPM-4600RPM)Temperature:70.0CelsiusUsage:100%48.b'Radeon(TM) RX 460 Graphics'Enginecorevoltage:1230037376mV(0.0mV-0.0mV)Engineclock:1098.78MHz(110.0MHz-1800.0MHz)Memoryclock:1750.0MHz(150.0MHz-2000.0MHz)Fanspeed:33%(0%-100%)Fanspeed:851RPM(0RPM-4600RPM)Temperature:72.0CelsiusUsage:100%64.b'Radeon(TM) RX 460 Graphics'Enginecorevoltage:1230037376mV(0.0mV-0.0mV)Engineclock:1162.41MHz(110.0MHz-1800.0MHz)Memoryclock:1750.0MHz(150.0MHz-2000.0MHz)Fanspeed:33%(0%-100%)Fanspeed:858RPM(0RPM-4600RPM)Temperature:67.0CelsiusUsage:100%