Announcement

Collapse
No announcement yet.

GlakkeClock - ATI GPU Utility

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • GlakkeClock - ATI GPU Utility

    Hello.

    I'm in the process of developing an ATI/AMD GPU utility/program for Linux. The command line version is almost done, but still needs more testing on other computers with different setups.

    Example output of --get-info
    Code:
    glakkeclock --get-info
    Device Name: ATI Radeon HD 4870 
    ID: 24918368
    Number: 0
    Current Performance Level: 2
    Performance levels: 3
    GPU (MHz): 390 [390-790]
    Memory (MHz): 475 [475-1100]
    VDDC Volt (mV): 1083 [1083-1263]
    Temperature (C): 56
    Fan Speed (RPM): 964 (20%) [600-4600]
    GPU Activity (%): 0
    Current Bus Lanes: 16/16
    Current Bus Speed: 5000
    And here are supported arguments:
    http://pastebin.ubuntu.com/519360/

    What I need - from anyone willing to try it out - is to post the output of 'glakkelevel --get-info-levels'.
    THIS IS NOT DANGEROUS TO YOUR GRAPHICS CARD. Only the commands starting with --set- are potentially dangerous if used without caution.

    Download link:
    https://sourceforge.net/projects/glakkeclock/files/
    Both 32 and 64 bit are available, as well as source code, which is documented (most part).

    ATI proprietary drivers are required, at least version 9.3.

    Any input is appreciated.

  • #2
    Did they change the license of the ADL SDK? When I downloaded it a while ago there was some extremely restrictive text in the license, basically forbidding the use of the SDK in open source software. Of course vendors tend to add all sorts of restrictions to their licenses and EULAs, and not all of these may be legal, or may conflict with local laws...

    Comment


    • #3
      Originally posted by monraaf View Post
      Did they change the license of the ADL SDK? When I downloaded it a while ago there was some extremely restrictive text in the license, basically forbidding the use of the SDK in open source software. Of course vendors tend to add all sorts of restrictions to their licenses and EULAs, and not all of these may be legal, or may conflict with local laws...
      I'll take a look at it, in worst case I'll have to take it down I guess.

      Comment


      • #4
        Indeed you're right, I'm not allowed to publish the ADL header files in open-source. Too bad, guess I can release my files without the ADL files at least.

        Comment


        • #5
          Anyhow, there are links to binaries. All links from SourceForge have been removed.

          x86/32 bit
          http://dl.dropbox.com/u/2053182/Glak...x86_0.10.24.22

          x64/64 bit
          http://dl.dropbox.com/u/2053182/Glak..._64_0.10.24.22

          Comment


          • #6
            $ ./glakkeclock_x86_64_0.10.24.22 --get-info
            Function not supported by the driver.
            Device Name: ATI Radeon HD 5700 Series
            UDID: 768:26808:4098:5252:5963
            Number: 0
            Current Performance Level: 0
            Performance levels: 3
            GPU (MHz): 400 [200-960]
            Memory (MHz): 1200 [600-1445]
            VDDC Volt (mV): 1000 [950-1125]
            Temperature (C): 45
            Fan Speed (RPM): 0 (-2147483648%) [0-0]
            GPU Activity (%): 7
            Current Bus Lanes: 16/16
            Current Bus Speed: 5000

            It's a 5770 running three 1280x1024 displays, fan speed set manually to 30%. Driver: fglrx 10.10

            Comment


            • #7
              Thank you for your input. Obviously one (probably fan) function failed, because of that I added a better way of handling errors/warnings.

              x86
              http://dl.dropbox.com/u/2053182/Glak...x86_0.10.25.13

              x64
              http://dl.dropbox.com/u/2053182/Glak..._64_0.10.25.13

              These will output more information about what function that failed, and should help me fix it. I'd be happy if you tried out the new version above.

              Comment


              • #8
                Code:
                $ ./glakkeclock_x86_64_0.10.25.13 
                Function not supported by the driver.
                Error: ADL_Overdrive5_FanSpeed_Get failed!
                Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM failed!
                Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM failed!

                Comment


                • #9
                  Code:
                  ./glakkeclock_x86_64_0.10.25.13 --get-info
                  Function not supported by the driver.
                  Error: ADL_Overdrive5_FanSpeed_Get failed!
                  Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM failed!
                  Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM failed!
                  Device Name: ATI Radeon HD 5700 Series
                  UDID: 768:26808:4098:5252:5963
                  Number: 0
                  Current Performance Level: 0
                  Performance levels: 3
                  GPU (MHz): 400 [200-960]
                  Memory (MHz): 1200 [600-1445]
                  VDDC Volt (mV): 1000 [950-1125]
                  Temperature (C): 45
                  Fan Speed (RPM): 0 (-2147483648%) [0-0]
                  GPU Activity (%): 0
                  Current Bus Lanes: 16/16
                  Current Bus Speed: 5000
                  Code:
                  $ aticonfig --pplib-cmd "get fanspeed 0"
                  Fan speed query: 
                  Query Index: 0, Speed in percent
                  Result: Fan Speed: 30%

                  Comment


                  • #10
                    I took for granted that different adapter on the same device/card should return the same information, perhaps I might be wrong.
                    I'll rewrite a few things to get information from and about all adapters instead.

                    Then of course, this might not be the problem.
                    Thank you for your input, I'll be back soon.

                    Comment


                    • #11
                      Things should be working better now.
                      I have two executables available with a few tweaks:
                      x64 (FAN_PERCENT tweak)
                      http://dl.dropbox.com/u/2053182/Glak....26.02_PERCENT

                      x64 (FAN_RPM tweak)
                      http://dl.dropbox.com/u/2053182/Glak...0.10.26.02_RPM

                      Please try:
                      --get-info --device 0 --adapter 0
                      and
                      --get-info --device 0 --adapter 1

                      On both executables, hopefully it'll work correctly on both.

                      Comment


                      • #12
                        Seems to be the RPM reading...
                        Code:
                        $ ./glakkeclock_x86_64_0.10.26.02_PERCENT --get-info --device 0 --adapter 0
                        Device Name: ATI Radeon HD 5700 Series
                        UDID: 768:26808:4098:5252:5963
                        Number: 0
                        Adapters: 4
                        Current Performance Level: 0
                        Performance levels: 3
                        GPU (MHz): 400 [200-960]
                        Memory (MHz): 1200 [600-1445]
                        VDDC Volt (mV): 1000 [950-1125]
                        Temperature (C): 42
                        Fan Speed (RPM): 30 (-2147483648%) [0-0]
                        GPU Activity (%): 0
                        Current Bus Lanes: 16/16
                        Current Bus Speed: 5000
                        Code:
                        $ ./glakkeclock_x86_64_0.10.26.02_PERCENT --get-info --device 0 --adapter 1
                        Device Name: ATI Radeon HD 5700 Series
                        UDID: 768:26808:4098:5252:5963
                        Number: 0
                        Adapters: 4
                        Current Performance Level: 0
                        Performance levels: 3
                        GPU (MHz): 400 [200-960]
                        Memory (MHz): 1200 [600-1445]
                        VDDC Volt (mV): 1000 [950-1125]
                        Temperature (C): 42
                        Fan Speed (RPM): 30 (-2147483648%) [0-0]
                        GPU Activity (%): 7
                        Current Bus Lanes: 16/16
                        Current Bus Speed: 5000
                        Code:
                        $ ./glakkeclock_x86_64_0.10.26.02_RPM --get-info --device 0 --adapter 0
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Device Name: ATI Radeon HD 5700 Series
                        UDID: 768:26808:4098:5252:5963
                        Number: 0
                        Adapters: 4
                        Current Performance Level: 0
                        Performance levels: 3
                        GPU (MHz): 400 [200-960]
                        Memory (MHz): 1200 [600-1445]
                        VDDC Volt (mV): 1000 [950-1125]
                        Temperature (C): 42
                        Fan Speed (RPM): 0 (-2147483648%) [0-0]
                        GPU Activity (%): 0
                        Current Bus Lanes: 16/16
                        Current Bus Speed: 5000
                        Code:
                        $ ./glakkeclock_x86_64_0.10.26.02_RPM --get-info --device 0 --adapter 1
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Function not supported by the driver.
                        Error: ADL_Overdrive5_FanSpeed_Get
                        Error: iSpeedType Input: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Error: iSpeedType Output: ADL_DL_FANCTRL_SPEED_TYPE_RPM
                        Device Name: ATI Radeon HD 5700 Series
                        UDID: 768:26808:4098:5252:5963
                        Number: 0
                        Adapters: 4
                        Current Performance Level: 0
                        Performance levels: 3
                        GPU (MHz): 400 [200-960]
                        Memory (MHz): 1200 [600-1445]
                        VDDC Volt (mV): 1000 [950-1125]
                        Temperature (C): 42
                        Fan Speed (RPM): 0 (-2147483648%) [0-0]
                        GPU Activity (%): 0
                        Current Bus Lanes: 16/16
                        Current Bus Speed: 5000
                        I did not exactly understand what you are trying to find out querying different adapters, my Card says it has 4 of them, three are connected but the output remains the same for 3 and 4 also.

                        Comment


                        • #13
                          Wanted to make sure that different adapters on the same card didn't return different information. And the good thing is that on your card I can see when it fails to read RPM (Function not supported by the driver.), and just switch to percent reading.

                          But on my card RPM works, but when using percent it just gives me screwed up values, but ADL library doesn't give me any errors.

                          I'll soon upload a version which should work better.

                          Comment


                          • #14
                            This version:
                            - cerr changed to cout, can now use ./glakkeclock --get-version > output.log, to log Errors as well.
                            - Should now recognize if the GPU supports RPM or PERCENT, and use the correct one. Getting PERCENT should always work, but might have a slight offset when used with RPM reading.

                            So all I need here is --get-info.

                            x64
                            http://dl.dropbox.com/u/2053182/Glak..._64_0.10.27.17

                            Comment


                            • #15
                              Mh, no more error massages, but fan speed reading is still MIN_INT...
                              Code:
                              $ ./glakkeclock_x86_64_0.10.27.17 --get-info
                              Version: 0.10.27.17
                              Device Name: ATI Radeon HD 5700 Series
                              UDID: 768:26808:4098:5252:5963
                              Number: 0
                              Adapters: 4
                              Current Performance Level: 0
                              Performance levels: 3
                              GPU (MHz): 400 [200-960]
                              Memory (MHz): 1200 [600-1445]
                              VDDC Volt (mV): 1000 [950-1125]
                              Temperature (C): 42
                              Fan type: RPM
                              Fan Speed (RPM): 0 (-2147483648%) [0-0] (-2147483648-100)
                              GPU Activity (%): 0
                              Current Bus Lanes: 16/16
                              Current Bus Speed: 5000
                              Code:
                              $ ./glakkeclock_x86_64_0.10.27.17 --get-version > output.log
                              $ cat output.log 
                              Version: 0.10.27.17
                              My hair is a bird. Your argument is invalid: --get-version
                              See --help

                              Comment

                              Working...
                              X