Announcement

Collapse
No announcement yet.

How to monitor the GPU temperature?

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

  • How to monitor the GPU temperature?

    The title says it all. Is there any tool for my x1800xl that can show me the temperature?

  • #2
    Originally posted by SledgeHammer_999 View Post
    The title says it all. Is there any tool for my x1800xl that can show me the temperature?
    R5xx cards used external i2c thermal chips. 2.6.34 exposes the i2c bus and you can manually load the i2c hwmon driver. The drm-radeon-testing branch will automatically load the proper hwmon driver for your card. The temp and fan info is exposed via the sysfs hwmon interface.

    Comment


    • #3
      Originally posted by agd5f View Post
      R5xx cards used external i2c thermal chips. 2.6.34 exposes the i2c bus and you can manually load the i2c hwmon driver. The drm-radeon-testing branch will automatically load the proper hwmon driver for your card. The temp and fan info is exposed via the sysfs hwmon interface.
      I have a 2.6.34 kernel.
      Can you tell how to load the i2c module and then how to read the temp?

      Comment


      • #4
        Check your dmesg, it should mention what i2c chip is being used on the radeon board, then load the hwmon module for the chip in question.

        Comment


        • #5
          Originally posted by agd5f View Post
          Check your dmesg, it should mention what i2c chip is being used on the radeon board, then load the hwmon module for the chip in question.
          Thank you, I didn't know that.

          Comment


          • #6
            I'm currently using a 2.6.35-rc3 Zen kernel and I'm trying to get my Radeon HD 2400's temperature. I've looked into my dmesg but I don't know what I'm looking for... Any pointers please?

            The only i2c I can see here is that i801, which I assume is from my motherboard, and it is already built into my kernel. sensors-detect does see something related to my Radeon, but no thermal monitoring there:
            Code:
            Next adapter: Radeon i2c bit bus DVI (i2c-1)
            Do you want to scan it? (YES/no/selectively): 
            Client found at address 0x50
            Probing for `Analog Devices ADM1033'...                     No
            Probing for `Analog Devices ADM1034'...                     No
            Probing for `SPD EEPROM'...                                 No
            Probing for `EDID EEPROM'...                                Yes
                (confidence 8, not a hardware monitoring chip)
            Thanks for any input.

            Comment


            • #7
              I *think* the 2400 temp sensor is on-chip accessed via registers, vs external chips accessed via I2C on earlier GPUs, so an I2C bus scan wouldn't find it.
              Test signature

              Comment


              • #8
                You need this patch for systems that use the internal thermal sensor (most rv6xx+ boards):

                It's scheduled for inclusion in 2.6.36.

                Comment


                • #9
                  The patch can't be applied on 2.6.35-rc3:

                  Code:
                  patching file drivers/gpu/drm/Kconfig
                  patching file drivers/gpu/drm/radeon/evergreen.c
                  Hunk #1 succeeded at 39 with fuzz 1.
                  patching file drivers/gpu/drm/radeon/evergreend.h
                  patching file drivers/gpu/drm/radeon/r600.c
                  patching file drivers/gpu/drm/radeon/r600d.h
                  patching file drivers/gpu/drm/radeon/radeon.h
                  Hunk #2 succeeded at 671 (offset 3 lines).
                  Hunk #3 succeeded at 773 (offset 4 lines).
                  patching file drivers/gpu/drm/radeon/radeon_atombios.c
                  patching file drivers/gpu/drm/radeon/radeon_pm.c
                  Hunk #2 succeeded at 418 (offset 43 lines).
                  Hunk #3 FAILED at 478.
                  Hunk #4 succeeded at 536 with fuzz 2 (offset 47 lines).
                  Hunk #5 succeeded at 588 (offset 39 lines).
                  1 out of 5 hunks FAILED -- saving rejects to file drivers/gpu/drm/radeon/radeon_pm.c.rej
                  patching file drivers/gpu/drm/radeon/rv770.c
                  Hunk #1 succeeded at 42 with fuzz 1.
                  patching file drivers/gpu/drm/radeon/rv770d.h

                  Comment


                  • #10
                    It needs to be rebased due to changes in 2.6.35. I'll probably rebase my pending patches later this week or next.

                    Comment

                    Working...
                    X