Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: How to monitor the GPU temperature?

  1. #31
    Join Date
    Dec 2007
    Posts
    2,371

    Default

    Make sure radeon is loaded before lm63 since the radeon i2c buses don't exist until radeon is loaded. Try unloading lm63 if it's already loaded and then reloading it after radeon has loaded:
    modprobe -r lm63
    modprobe lm63

  2. #32
    Join Date
    Apr 2007
    Location
    Salvador - Bahia - Brazil
    Posts
    79

    Default

    Quote Originally Posted by agd5f View Post
    Make sure radeon is loaded before lm63 since the radeon i2c buses don't exist until radeon is loaded. Try unloading lm63 if it's already loaded and then reloading it after radeon has loaded:
    modprobe -r lm63
    modprobe lm63
    I've tried that, again, to no avail.

    I noticed something on dmesg:

    Code:
    $ dmesg | egrep i2c
    [    1.347993] i2c-core: driver [adp5520] using legacy suspend method
    [    1.347996] i2c-core: driver [adp5520] using legacy resume method
    [    9.066050] i2c /dev entries driver
    i2c-core shows up on the boot process, but it is not showing on lsmod:

    Code:
     lsmod | egrep i2c*
    i2c_dev                13399  0 
    i2c_algo_bit           13436  1 radeon
    i2c_viapro             13153  0
    Thanks for helping.

    I'll ask on the mailing lists.

  3. #33
    Join Date
    May 2011
    Location
    Saint-Petersburg
    Posts
    3

  4. #34
    Join Date
    Nov 2008
    Location
    Taiwan
    Posts
    10

    Default

    Hello. My video card is 4870x2 and I'm using open source radeon driver (xf86-video-ati). I can only get temperature of gpu1 but not gpu0.

    These are what I set in kernel:
    Code:
    Device Drivers --->
        Graphics support --->
            <*> Support for frame buffer devices --->
                <*> ATI Radeon display support [*] DDC/I2C for ATI Radeon support
    These are detected by lm_sensors regarding Radeon i2c:
    Code:
    Next adapter: Radeon i2c bit bus 0x91 (i2c-1)
    Do you want to scan it? (YES/no/selectively): y
    Client found at address 0x2e
    Probing for `Myson MTP008'...                               No
    Probing for `National Semiconductor LM78'...                No
    Probing for `National Semiconductor LM79'...                No
    Probing for `National Semiconductor LM80'...                No
    Probing for `National Semiconductor LM85'...                No
    Probing for `National Semiconductor LM96000 or PC8374L'...  No
    Probing for `Analog Devices ADM1027'...                     No
    Probing for `Analog Devices ADT7460 or ADT7463'...          No
    Probing for `SMSC EMC6D100 or EMC6D101'...                  No
    Probing for `SMSC EMC6D102'...                              No
    Probing for `SMSC EMC6D103'...                              No
    Probing for `SMSC EMC6D103S or EMC2300'...                  No
    Probing for `SMSC EMC6W201'...                              No
    Probing for `Winbond WPCD377I'...                           No
    Probing for `Analog Devices ADT7467 or ADT7468'...          No
    Probing for `Analog Devices ADT7470'...                     No
    Probing for `Analog Devices ADT7473'...                     Success!
        (confidence 5, driver `adt7475')
    Probing for `Analog Devices ADT7475'...                     No
    Probing for `Analog Devices ADT7476'...                     No
    Probing for `Analog Devices ADT7490'...                     No
    Probing for `Andigilog aSC7611'...                          No
    Probing for `Andigilog aSC7621'...                          No
    Probing for `National Semiconductor LM87'...                No
    Probing for `Analog Devices ADM1024'...                     No
    Probing for `National Semiconductor LM93'...                No
    Probing for `National Semiconductor LM94'...                No
    Probing for `Winbond W83781D'...                            No
    Probing for `Winbond W83782D'...                            No
    Probing for `Winbond W83791D'...                            No
    Probing for `Winbond W83792D'...                            No
    Probing for `Winbond W83793R/G'...                          No
    Probing for `Nuvoton W83795G/ADG'...                        No
    Probing for `Winbond W83627HF'...                           No
    Probing for `Winbond W83627EHF'...                          No
    Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
    Probing for `Asus AS99127F (rev.1)'...                      No
    Probing for `Asus AS99127F (rev.2)'...                      No
    Probing for `Asus ASB100 Bach'...                           No
    Probing for `Winbond W83L786NR/NG/R/G'...                   No
    Probing for `Winbond W83L785TS-S'...                        No
    Probing for `Analog Devices ADM9240'...                     No
    Probing for `Dallas Semiconductor DS1780'...                No
    Probing for `National Semiconductor LM81'...                No
    Probing for `Analog Devices ADM1026'...                     No
    Probing for `Analog Devices ADM1025'...                     No
    Probing for `Maxim MAX6639'...                              No
    Probing for `Texas Instruments AMC6821'...                  No
    Probing for `Analog Devices ADM1029'...                     No
    Probing for `Analog Devices ADM1030'...                     No
    Probing for `Analog Devices ADM1031'...                     No
    Probing for `Analog Devices ADM1022'...                     No
    Probing for `Texas Instruments THMC50'...                   No
    Probing for `Analog Devices ADM1028'...                     No
    Probing for `Texas Instruments THMC51'...                   No
    Probing for `ITE IT8712F'...                                No
    Probing for `SMSC DME1737'...                               No
    Probing for `SMSC SCH5027D-NW'...                           No
    Probing for `SMSC EMC2103'...                               No
    Probing for `Fintek F75373S/SG'...                          No
    Probing for `Fintek F75375S/SP'...                          No
    Probing for `Fintek F75387SG/RG'...                         No
    Probing for `Winbond W83791SD'...                           No
    Client found at address 0x48
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `National Semiconductor LM77'...                No
    Probing for `Analog Devices ADT7410'...                     No
    Probing for `Analog Devices ADT7411'...                     No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `National Semiconductor LM73'...                No
    Probing for `National Semiconductor LM92'...                No
    Probing for `National Semiconductor LM76'...                No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    Probing for `SMSC EMC1023'...                               No
    Probing for `SMSC EMC1043'...                               No
    Probing for `SMSC EMC1053'...                               No
    Probing for `SMSC EMC1063'...                               No
    Client found at address 0x4f
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `Texas Instruments TMP421'...                   No
    Probing for `Texas Instruments TMP422'...                   No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    
    Next adapter: Radeon i2c bit bus 0x92 (i2c-2)
    Do you want to scan it? (YES/no/selectively): y
    Client found at address 0x49
    Probing for `National Semiconductor LM75'...                No
    Probing for `National Semiconductor LM75A'...               No
    Probing for `Dallas Semiconductor DS75'...                  No
    Probing for `National Semiconductor LM77'...                No
    Probing for `Analog Devices ADT7410'...                     No
    Probing for `Dallas Semiconductor DS1621/DS1631'...         No
    Probing for `Maxim MAX6642'...                              No
    Probing for `National Semiconductor LM73'...                No
    Probing for `National Semiconductor LM92'...                No
    Probing for `National Semiconductor LM76'...                No
    Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
    Probing for `NXP/Philips SA56004'...                        No
    Probing for `SMSC EMC1023'...                               No
    Probing for `SMSC EMC1043'...                               No
    Probing for `SMSC EMC1053'...                               No
    Probing for `SMSC EMC1063'...                               No
    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)
    
    Next adapter: Radeon i2c bit bus 0x93 (i2c-3)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x14 (i2c-4)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x90 (i2c-5)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x91 (i2c-6)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x92 (i2c-7)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x93 (i2c-8)
    Do you want to scan it? (YES/no/selectively): y
    
    Next adapter: Radeon i2c bit bus 0x14 (i2c-9)
    Do you want to scan it? (YES/no/selectively): y
    Kernel modules loaded:
    Code:
    $ lsmod
    Module                  Size  Used by
    it87                   27392  0 
    coretemp                5398  0 
    adt7475                20002  0 
    hwmon_vid               2940  2 it87,adt7475
    i2c_i801                8054  0
    These are what I get from sensors command:
    Code:
    $ sensors
    radeon-pci-0400
    Adapter: PCI adapter
    temp1:        +63.5C  
    
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +55.0C  (high = +82.0C, crit = +100.0C)
    Core 1:       +54.0C  (high = +82.0C, crit = +100.0C)
    Core 2:       +51.0C  (high = +82.0C, crit = +100.0C)
    Core 3:       +49.0C  (high = +82.0C, crit = +100.0C)
    
    it8718-isa-0290
    Adapter: ISA adapter
    in0:          +1.14 V  (min =  +0.00 V, max =  +4.08 V)
    in1:          +1.94 V  (min =  +0.00 V, max =  +4.08 V)
    in2:          +3.30 V  (min =  +0.00 V, max =  +4.08 V)
    +5V:          +2.96 V  (min =  +0.00 V, max =  +4.08 V)
    in4:          +0.11 V  (min =  +0.00 V, max =  +4.08 V)
    in5:          +0.06 V  (min =  +0.00 V, max =  +4.08 V)
    in6:          +0.11 V  (min =  +0.00 V, max =  +4.08 V)
    in7:          +3.06 V  (min =  +0.00 V, max =  +4.08 V)
    Vbat:         +3.12 V  
    fan1:        2319 RPM  (min =   10 RPM)
    fan2:           0 RPM  (min =    0 RPM)
    fan3:           0 RPM  (min =    0 RPM)
    fan4:           0 RPM  (min =    0 RPM)
    temp1:        +52.0C  (low  = +127.0C, high = +127.0C)  sensor = thermistor
    temp2:        +43.0C  (low  = +127.0C, high = +80.0C)  sensor = thermal diode
    temp3:         -3.0C  (low  = +127.0C, high = +127.0C)  sensor = thermistor
    intrusion0:  ALARM
    My system:
    Code:
    $ uname -a
    Linux localhost 3.4.2-gentoo #2 SMP Wed Jun 13 20:05:53 CST 2012 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
    As you can see there is only temperature of gpu1. Temperature of gpu0 should be 85-90C (Yes I know it's too high due to my old system case :/ ). Sometimes it rises above 90C and I have to manually turn power_profile to "high" (which was set to "auto") to speed up gpu fan to cool down a bit. That's why I need gpu0's temperature rather than gpu1's. Is there anyway to get gpu0's temperature with open source radeon driver?
    Last edited by octapult; 06-13-2012 at 08:53 AM.

  5. #35
    Join Date
    Dec 2007
    Posts
    2,371

    Default

    Quote Originally Posted by octapult View Post
    As you can see there is only temperature of gpu1. Temperature of gpu0 should be 85-90C (Yes I know it's too high due to my old system case :/ ). Sometimes it rises above 90C and I have to manually turn power_profile to "high" (which was set to "auto") to speed up gpu fan to cool down a bit. That's why I need gpu0's temperature rather than gpu1's. Is there anyway to get gpu0's temperature with open source radeon driver?
    Is the driver loaded on both GPUs? Check your dmesg output. Probably best to file a bug.

  6. #36
    Join Date
    Nov 2008
    Location
    Taiwan
    Posts
    10

    Default

    Quote Originally Posted by agd5f View Post
    Is the driver loaded on both GPUs? Check your dmesg output. Probably best to file a bug.
    These are some messages related to drm/i2c from dmesg output:
    Code:
    [    0.435787] [drm] Initialized drm 1.1.0 20060810
    [    0.435907] [drm] radeon defaulting to kernel modesetting.
    [    0.435968] [drm] radeon kernel modesetting enabled.
    [    0.436299] [drm] initializing kernel modesetting (RV770 0x1002:0x9441 0x1002:0x2542).
    [    0.436412] [drm] register mmio base: 0xF5000000
    [    0.436469] [drm] register mmio size: 65536
    [    0.436667] ATOM BIOS: R700
    [    0.436741] radeon 0000:03:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [    0.436821] radeon 0000:03:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
    [    0.436902] mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
    [    0.436980] [drm] Detected VRAM RAM=1024M, BAR=256M
    [    0.437056] [drm] RAM width 256bits DDR
    [    0.437158] [TTM] Zone  kernel: Available graphics memory: 2022112 kiB
    [    0.437220] [TTM] Initializing pool allocator
    [    0.437276] [TTM] Initializing DMA pool allocator
    [    0.437348] [drm] radeon: 1024M of VRAM memory ready
    [    0.437403] [drm] radeon: 512M of GTT memory ready.
    [    0.437464] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    0.437519] [drm] Driver supports precise vblank timestamp query.
    [    0.437607] radeon 0000:03:00.0: irq 47 for MSI/MSI-X
    [    0.437615] radeon 0000:03:00.0: radeon: using MSI.
    [    0.437692] [drm] radeon: irq initialized.
    [    0.437747] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [    0.438468] [drm] radeon: ib pool ready.
    [    0.439306] [drm] Loading RV770 Microcode
    [    0.441243] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
    [    0.441338] radeon 0000:03:00.0: WB enabled
    [    0.441393] [drm] fence driver on ring 0 use gpu addr 0x40000c00 and cpu addr 0xffff88012aa48c00
    [    0.488058] [drm] ring test on 0 succeeded in 1 usecs
    [    0.488507] [drm] ib test on ring 0 succeeded in 0 usecs
    [    0.489193] [drm] Radeon Display Connectors
    [    0.489254] [drm] Connector 0:
    [    0.489307] [drm]   DVI-I
    [    0.489359] [drm]   HPD2
    [    0.489412] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
    [    0.489489] [drm]   Encoders:
    [    0.489542] [drm]     DFP1: INTERNAL_UNIPHY
    [    0.489595] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
    [    0.489648] [drm] Connector 1:
    [    0.489701] [drm]   DIN
    [    0.489753] [drm]   Encoders:
    [    0.489805] [drm]     TV1: INTERNAL_KLDSCP_DAC2
    [    0.489858] [drm] Connector 2:
    [    0.489910] [drm]   DVI-I
    [    0.489963] [drm]   HPD1
    [    0.490031] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
    [    0.490111] [drm]   Encoders:
    [    0.490164] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [    0.490217] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
    [    0.490300] [drm] Special thermal controller config
    [    0.490371] [drm] radeon: power management initialized
    [    0.555593] [drm] fb mappable at 0xD0142000
    [    0.555646] [drm] vram apper at 0xD0000000
    [    0.555700] [drm] size 8294400
    [    0.555752] [drm] fb depth is 24
    [    0.555805] [drm]    pitch is 7680
    [    0.555960] fbcon: radeondrmfb (fb0) is primary device
    [    0.969639] Console: switching to colour frame buffer device 240x67
    [    0.974146] fb0: radeondrmfb frame buffer device
    [    0.974148] drm: registered panic notifier
    [    0.974193] [drm] Initialized radeon 2.15.0 20080528 for 0000:03:00.0 on minor 0
    [    0.974485] [drm] initializing kernel modesetting (RV770 0x1002:0x9441 0x1002:0x2042).
    [    0.974557] [drm] register mmio base: 0xF7000000
    [    0.974586] [drm] register mmio size: 65536
    [    1.098206] ATOM BIOS: R700
    [    1.098242] radeon 0000:04:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
    [    1.098278] radeon 0000:04:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
    [    1.098313] mtrr: type mismatch for e0000000,10000000 old: write-back new: write-combining
    [    1.098346] [drm] Detected VRAM RAM=1024M, BAR=256M
    [    1.098367] [drm] RAM width 256bits DDR
    [    1.098388] [drm] radeon: 1024M of VRAM memory ready
    [    1.098410] [drm] radeon: 512M of GTT memory ready.
    [    1.098441] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [    1.098468] [drm] Driver supports precise vblank timestamp query.
    [    1.098532] radeon 0000:04:00.0: irq 48 for MSI/MSI-X
    [    1.098541] radeon 0000:04:00.0: radeon: using MSI.
    [    1.098584] [drm] radeon: irq initialized.
    [    1.098605] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [    1.099390] [drm] radeon: ib pool ready.
    [    1.099554] [drm] Loading RV770 Microcode
    [    1.101467] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
    [    1.101538] radeon 0000:04:00.0: WB enabled
    [    1.101558] [drm] fence driver on ring 0 use gpu addr 0x40000c00 and cpu addr 0xffff88012a308c00
    [    1.148194] Refined TSC clocksource calibration: 2399.999 MHz.
    [    1.148200] [drm] ring test on 0 succeeded in 0 usecs
    [    1.148251] Switching to clocksource tsc
    [    1.148530] [drm] ib test on ring 0 succeeded in 0 usecs
    [    1.148861] [drm] Radeon Display Connectors
    [    1.148896] [drm] Internal thermal controller without fan control
    [    1.149043] [drm] radeon: power management initialized
    [    1.149100] No connectors reported connected with modes
    [    1.149125] [drm] Cannot find any crtc or sizes - going 1024x768
    [    1.150792] [drm] fb mappable at 0xE0142000
    [    1.150811] [drm] vram apper at 0xE0000000
    [    1.150830] [drm] size 3145728
    [    1.150845] [drm] fb depth is 24
    [    1.150860] [drm]    pitch is 4096
    [    1.150954] fb1: radeondrmfb frame buffer device
    [    1.150993] [drm] Initialized radeon 2.15.0 20080528 for 0000:04:00.0 on minor 1
    [    1.153423] brd: module loaded
    [    1.154694] loop: module loaded
    snip
    [   13.696531] it87: Found IT8718F chip at 0x290, revision 5
    [   13.696539] it87: VID is disabled (pins used for GPIO)
    [   13.696550] it87: Beeping is supported
    snip
    [ 1609.712027] Modules linked in: it87 adt7475 hwmon_vid i2c_i801 coretemp
    There is a hwmon directory in /sys/class/drm/card1/device but not in card0, so I guess hwmon driver is not active on gpu0:
    Code:
    $ ls /sys/class/drm/card0/device
    boot_vga              config                    dma_mask_bits  enable    i2c-1  i2c-4          local_cpus  msi_irqs      power_profile  reset      resource0_wc  rom               subsystem_vendor
    broken_parity_status  consistent_dma_mask_bits  driver         graphics  i2c-2  irq            modalias    power         remove         resource   resource2     subsystem         uevent
    class                 device                    drm            i2c-0     i2c-3  local_cpulist  msi_bus     power_method  rescan         resource0  resource4     subsystem_device  vendor
    
    $ ls /sys/class/drm/card1/device
    broken_parity_status  consistent_dma_mask_bits  driver  graphics  i2c-6  i2c-9          local_cpus  msi_irqs      power_profile  reset      resource0_wc  rom               subsystem_vendor
    class                 device                    drm     hwmon     i2c-7  irq            modalias    power         remove         resource   resource2     subsystem         uevent
    config                dma_mask_bits             enable  i2c-5     i2c-8  local_cpulist  msi_bus     power_method  rescan         resource0  resource4     subsystem_device  vendor

Posting Permissions

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