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.

              Comment


              • #8
                You need this patch for systems that use the internal thermal sensor (most rv6xx+ boards):
                http://people.freedesktop.org/~agd5f...mal-sens.patch
                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


                    • #11
                      Well, I guess I'll try your patch after the rebase or wait for 2.6.36 before I take another look into it. Thanks for the info, it's much appreciated.

                      Comment


                      • #12
                        Any idea how to monitor the temperature of a RV570 (Asus EAX 1950 Pro)? I've had a look through the logs, but can't seem to find anything.

                        http://pastebin.com/vUx352Nc

                        Comment


                        • #13
                          Originally posted by whizse View Post
                          Any idea how to monitor the temperature of a RV570 (Asus EAX 1950 Pro)? I've had a look through the logs, but can't seem to find anything.

                          http://pastebin.com/vUx352Nc
                          For pre-rv6xx cards, assuming your card has a thermal sensor, grab a 2.6.35rc kernel and it should automatically load the hwmon driver for the i2c thermal chip used on your card. The temp info can be accessed via lm_sensors tools or via sysfs /sys/class/hwmon*.

                          Comment


                          • #14
                            Hmm, I'm not getting much of a difference on 2.6.35-rc3, can't find anything in the logs, no new modules are getting loaded, and there's nothing new in /sys/class/hwmon/

                            I guess this card doesn't have a sensor?

                            http://pastebin.com/njeTvyyv

                            Comment


                            • #15
                              Originally posted by whizse View Post
                              Hmm, I'm not getting much of a difference on 2.6.35-rc3, can't find anything in the logs, no new modules are getting loaded, and there's nothing new in /sys/class/hwmon/

                              I guess this card doesn't have a sensor?

                              http://pastebin.com/njeTvyyv
                              It doesn't appear to. It will print in the log what thermal chip is on board if there is one.

                              Comment

                              Working...
                              X