Announcement

Collapse
No announcement yet.

radeon-profile: tool for changing profiles and monitoring some GPU parameters

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

  • radeon-profile: tool for changing profiles and monitoring some GPU parameters

    Hi everyone!

    I made gui application for changing profiles and monitoring temperature, clocks and voltage (if available). Works with old profiles and DPM.
    I also tried implement functionality like radeontop but with no luck so far.
    Qt4 is required and lm-sensors for temperature.

    Main window
    Graphs

    Bug reports, comments and other thoughts are welcome

    https://github.com/marazmista/radeon-profile
    Arch Linux AUR

  • #2
    I bump this for what deserves to be bumped!

    Comment


    • #3
      Was curious and wanted to try it myself, but with failed installation attempts :V

      Code:
      x@Akaigo-Arc:~$ cd '/home/x/Repositories/radeon-profile-master/radeon-profile' 
      x@Akaigo-Arc:~/Repositories/radeon-profile-master/radeon-profile$ qmake-qt4 && make
      /usr/bin/uic-qt4 radeon_profile.ui -o ui_radeon_profile.h
      make: /usr/bin/uic-qt4: Command not found
      make: *** [ui_radeon_profile.h] Error 127
      x@Akaigo-Arc:~/Repositories/radeon-profile-master/radeon-profile$ `qmake-qt4 && make`
      make: /usr/bin/uic-qt4: Command not found
      make: *** [ui_radeon_profile.h] Error 127
      bash: /usr/bin/uic-qt4: No such file or directory
      x@Akaigo-Arc:~/Repositories/radeon-profile-master/radeon-profile$ qmake-qt4
      x@Akaigo-Arc:~/Repositories/radeon-profile-master/radeon-profile$ make
      /usr/bin/uic-qt4 radeon_profile.ui -o ui_radeon_profile.h
      make: /usr/bin/uic-qt4: Command not found
      make: *** [ui_radeon_profile.h] Error 127
      x@Akaigo-Arc:~/Repositories/radeon-profile-master/radeon-profile$
      I have qmake-qt4 installed.

      What am I doing wrong?

      EDIT: Oh nvm, was missing some deps for qt4 >_>
      EDIT: Pretty handy tool~ Oh and if 'profiles' tab is greyed out, that mean that there are no profiles for me to set?
      Last edited by Bushido_root; 10-18-2013, 12:49 PM.

      Comment


      • #4
        'Profiles' tab is enabled when kernel version is below 3.11 (no dpm support and then dpm tab is disabled). In 3.11 DPM was introduced and old profiles(default, auto, low, mid, high) were replaced by DPM profiles (battery, balanced, preformance).

        Comment


        • #5
          Originally posted by marazmista View Post
          'Profiles' tab is enabled when kernel version is below 3.11 (no dpm support and then dpm tab is disabled). In 3.11 DPM was introduced and old profiles(default, auto, low, mid, high) were replaced by DPM profiles (battery, balanced, preformance).
          Ah I see, thanks for clearing that up.
          Seeing how there's no 'make install' I just ran ./radeon-profile (as sudo) after qmake-qt4 && make which launched the program just fine.
          Am I suppose to move the newly made radeon-profile bin to /usr/bin ?

          EDIT: Oh, would it be possible for you to make a feature where one could minimize the window to systray? That would be neat seeing how you already made a system tray feature already.
          Last edited by Bushido_root; 10-18-2013, 07:29 PM.

          Comment


          • #6
            Originally posted by Bushido_root View Post
            Am I suppose to move the newly made radeon-profile bin to /usr/bin ?
            Yes, it will work normally. It is one-file application.

            Originally posted by Bushido_root View Post
            EDIT: Oh, would it be possible for you to make a feature where one could minimize the window to systray? That would be neat seeing how you already made a system tray feature already.
            You can hide app to tray by clicking the tray icon(and restore by clicking again). As you suggested, I modified it today and now app go to tray when minimized.

            Comment


            • #7
              Originally posted by marazmista View Post
              Yes, it will work normally. It is one-file application.



              You can hide app to tray by clicking the tray icon(and restore by clicking again). As you suggested, I modified it today and now app go to tray when minimized.
              Thank you.

              Comment


              • #8
                I tried it on my RS880/HD4290 with kernel 3.11 and DPM enabled, and without root access it works, but doesn't show clock etc.. Run as root it crashes, it seems the RS880 doesn't report voltages, /sys/kernel/debug/dri/0/radeon_pm_info looks like this:
                Code:
                uvd    vclk: 0 dclk: 0
                power level 0    sclk: 50000 vddc_index: 1

                Comment


                • #9
                  Thanks for reporting this! I pushed fix to git repo, so now it should read values correctly.

                  Comment


                  • #10
                    Thanks, that did it.

                    Comment


                    • #11
                      Hmm, I'm having the same problem as AnonymousCoward. Runs (without all info) as normal user (and can't change powerstate), segfaults when ran as root (through su, sudo, or gksu).

                      "no values (root rights? debugfs mounted?)"

                      I just built radeon-profile-git from the AUR twenty minutes ago or so.

                      For the record, I'm also on 3.11 with DPM enabled, and I have similar info in radeon_pm_info. My graphics hardware is AMD PALM, Radeon HD 7340 (AMD E2-1800).

                      If there's any other info that might be useful in diagnosing, just ask me. This tool looks promising.

                      Comment


                      • #12
                        If you want to switch power profiles as normal user this may help: (as workaround, changing file privileges, but I think it is need to be done every boot)
                        Code:
                        chmod 777 /sys/class/drm/card0/device/power_dpm_state
                        Sometimes segfaults are hard to trace, so seeing yours radeon_pm_info file would be helpful.
                        And how about temperature? Is app display it when there is an APU in machine?

                        Comment


                        • #13
                          My radeon_pm_info file:
                          Code:
                          [root@blaze adam]# cat /sys/kernel/debug/dri/0/radeon_pm_info 
                          uvd    vclk: 0 dclk: 0
                          power level 0    sclk: 28334 vddc: 838
                          It does get a temperature, yeah, which I suspect is the main CPU/APU temp.

                          Comment


                          • #14
                            Many thanks for your feedback! I hope today update will solve this issue.

                            Comment


                            • #15
                              I just rebuilt it from the AUR and it seems to work now! Thanks!

                              Comment

                              Working...
                              X