Announcement

Collapse
No announcement yet.

Announcing radeontop, a tool for viewing the GPU usage

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

  • #61
    Originally posted by marek View Post
    It doesn't work on Bonaire. Everything is at 0%, only VRAM seems to be correct.
    The MMIO BAR changed on CIK parts. The relevant mapping code would need to be changed.

    Comment


    • #62
      Ideally we'd add a debugfs interface to expose the status registers so the app wouldn't have to mmap the MMIO bar itself.

      Comment


      • #63
        Patches welcome. Bonaire (7790/r260) is about five generations newer than my card, so I can't exactly test anything even close.

        Comment


        • #64
          Originally posted by agd5f View Post
          Ideally we'd add a debugfs interface to expose the status registers so the app wouldn't have to mmap the MMIO bar itself.
          Please no. Debugfs is for *debug* things only. Monitoring like this is for all users, and needs to be available without CONFIG_DEBUG* in kernel.

          Comment


          • #65
            /me cheers

            Comment


            • #66
              Anyone with a Bonaire, Kaveri, or Kabini, please test latest git. I have no such hw.

              Comment


              • #67
                Originally posted by curaga View Post
                Anyone with a Bonaire, Kaveri, or Kabini, please test latest git. I have no such hw.
                Hi,
                Tested on A10-7700K (Kaveri).
                Results looking good.
                Run some OpenCL samples over HSA and the tool definitely recognizes the increased load on the GPU.

                First benchmark:


                Second benchmark:

                Comment


                • #68
                  7790 on bus 2.
                  ./radeontop -b 2 exits
                  Code:
                  *** Error in `./radeontop': free(): invalid size: 0x00007fffc24121e0 ***
                  Aborted
                  Works correctly with line 78 of detect.c commented.

                  Comment


                  • #69
                    I assume latest git version?

                    namelist can only be invalid if scandir fails, which can only happen if you have no /dev/dri directory (or permission to read it). That's rather curious.

                    Please test latest git, added a check for that.

                    Comment


                    • #70
                      New version works perfectly, thanks!

                      Comment

                      Working...
                      X