Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: How to monitor the GPU temperature?

  1. #1

    Default 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. #2
    Join Date
    Dec 2007
    Posts
    2,335

    Default

    Quote 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.

  3. #3

    Default

    Quote 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?

  4. #4
    Join Date
    Dec 2007
    Posts
    2,335

    Default

    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.

  5. #5
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    74

    Default

    Quote 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.

  6. #6
    Join Date
    Dec 2009
    Posts
    40

    Default

    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.

  7. #7
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,402

    Default

    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.

  8. #8
    Join Date
    Dec 2007
    Posts
    2,335

    Default

    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.

  9. #9
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,788

    Default

    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

  10. #10
    Join Date
    Dec 2007
    Posts
    2,335

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •