Pages:
Author

Topic: pyADL - Python AMD ADL Wrapper - page 2. (Read 5593 times)

hero member
Activity: 560
Merit: 517
May 17, 2011, 10:09:53 PM
#4
I am very interested in this! Haven't had the time to play with it yet, but I appreciate your work! *HIGH FIVE*
legendary
Activity: 1708
Merit: 1019
May 17, 2011, 07:59:52 PM
#3
that is cool. I will try it tomorrow. The big GUIs to overclock start making me sick.

how do the levels work? is there some kind of automatic switching?
full member
Activity: 219
Merit: 120
May 16, 2011, 02:55:00 AM
#2
This could be very useful if implemented into a kernel for Phoenix. Especially when combined with MMP which supports sending meta to the server. That would allow for some interesting remote monitoring capabilities. Right now I have to run another script alongside the miners to update the temps.
full member
Activity: 120
Merit: 100
May 16, 2011, 01:18:28 AM
#1
I slapped this together last night I needed a easy way to access ADL from python so I could configure things remotely.
Now all this is a wrapper for AMDOverdriveCtrl ( http://amdovdrvctrl.sourceforge.net/ ) all I have done is turned it into a python extended library, all ADL code is by Thorsten Gilling.

I am not sure if anyone will find a use for it but it is something I wanted. It works on Windows and Linux. I would like to put it in with a miner next.


ADL SDK - http://developer.amd.com/Downloads/ADL_SDK_3.0.zip

Put the ADL SDK in ./ADL_SDK

Functions

pyADL.SetupADL(DeviceIndex) - This sets the GPU you wish to use.
pyADL.getTemp() - Returns the GPU Temp.
pyADL.getFanSpeed() - Returns the fan speed percent.
pyADL.getFanRPM() - Returns the fan RPMs.
pyADL.getCoreClockSpeed() - Returns Current Core Clock Speed.
pyADL.getMemoryClockSpeed() - Returns Current Memory Clock Speed.
pyADL.getVoltage() - Returns Current Voltage.

pyADL.setFanSpeed(Precent) - Sets The Fan Speed.
pyADL.setCoreClockSpeed(Level,Speed) - Sets Core Clock Speed. Level(0,1,2)
pyADL.setMemoryClockSpeed(Level,Speed) - Sets Memory Clock Speed. Level(0,1,2)
pyADL.setVoltage(Level, Voltage) - Sets Voltage. Level(0,1,2)
 

Example

 

import pyADL

pyADL.SetupADL(0)
print pyADL.getTemp()
print pyADL.getFanSpeed()
print pyADL.getFanRPM()
print pyADL.getCoreClockSpeed()
print pyADL.getMemoryClockSpeed()
print pyADL.getVoltage()
pyADL.setFanSpeed(75)
pyADL.SetupADL(5) # Switch to Second GPU on 6990
print pyADL.getTemp()


http://www.bitshift.io/pyADL/
https://github.com/bitshiftio/pyADL
Pages:
Jump to: