You are not logged in.

#1 2020-08-21 21:07:29

Luh
Member
Registered: 2018-01-22
Posts: 24

GPU not detected by sensors-detect

Hello,

I'm trying to get the temp of my GPU, but the command `sudo sensors-detect` doesn't seem to detect it.

$ sensors

f75387-i2c-9-2e
Adapter: SMBus I801 adapter at f000
in0:           1.66 V  (min =  +0.00 V, max =  +2.04 V)
in1:           1.10 V  (min =  +0.00 V, max =  +2.04 V)
in2:           1.01 V  (min =  +0.00 V, max =  +2.04 V)
in3:         896.00 mV (min =  +0.00 V, max =  +2.04 V)
fan1:         781 RPM  (min =   97 RPM, max =  940 RPM)
fan2:         788 RPM  (min = 5882 RPM, max =  893 RPM)
temp1:       -110.8°C  (high = +100.0°C, hyst = +95.0°C)
temp2:       -110.8°C  (high = +100.0°C, hyst = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +32.0°C  (high = +81.0°C, crit = +95.0°C)
Core 0:        +28.0°C  (high = +81.0°C, crit = +95.0°C)
Core 1:        +32.0°C  (high = +81.0°C, crit = +95.0°C)
Core 2:        +32.0°C  (high = +81.0°C, crit = +95.0°C)
Core 3:        +28.0°C  (high = +81.0°C, crit = +95.0°C)

f71889a-isa-0290
Adapter: ISA adapter
+3.3V:         3.30 V  
in1:         936.00 mV (max =  +2.04 V)
in2:         744.00 mV 
in3:         952.00 mV 
in4:           1.09 V  
in5:         744.00 mV 
in6:         920.00 mV 
3VSB:          3.30 V  
Vbat:          3.31 V  
fan1:        1452 RPM
fan2:           0 RPM  ALARM
fan3:         918 RPM
temp1:        +22.0°C  (high = +255.0°C, hyst = +251.0°C)  ALARM (CRIT)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp2:          FAULT  (high = +255.0°C, hyst = +251.0°C)
                       (crit = +255.0°C, hyst = +251.0°C)  sensor = transistor
temp3:        +45.0°C  (high = +255.0°C, hyst = +253.0°C)  ALARM (CRIT)
                       (crit = +255.0°C, hyst = +253.0°C)  sensor = transistor

detect-sensors part:

Next adapter: AMDGPU i2c bit bus 0x90 (i2c-0)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x91 (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x92 (i2c-2)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x4a
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/ADT7420'...             No
Probing for `Analog Devices ADT7411'...                     No
Probing for `Maxim MAX6642'...                              No
Probing for `Texas Instruments TMP435'...                   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
Client found at address 0x4b
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/ADT7420'...             No
Probing for `Analog Devices ADT7411'...                     No
Probing for `Maxim MAX6642'...                              No
Probing for `Texas Instruments TMP435'...                   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 `Analog Devices ADT7481'...                     No

Next adapter: AMDGPU i2c bit bus 0x93 (i2c-3)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x94 (i2c-4)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x95 (i2c-5)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x96 (i2c-6)
Do you want to scan it? (yes/NO/selectively): yes

Next adapter: AMDGPU i2c bit bus 0x97 (i2c-7)
Do you want to scan it? (yes/NO/selectively): yes
y
Next adapter: card0-DP-1 (i2c-8)
Do you want to scan it? (yes/NO/selectively): yes

As I understood on the forums, I should have a `amdgpu-pci-0100` section.

I have a RX 570 and I use the amdgpu (not -pro) driver.

Offline

#2 2020-08-21 21:25:14

Luh
Member
Registered: 2018-01-22
Posts: 24

Re: GPU not detected by sensors-detect

Oh and my GRUB options are

amdgpu.dc=0 amdgpu.dpm=0

Offline

#3 2020-08-22 07:20:39

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: GPU not detected by sensors-detect

I have a feeling lm-sensors doesn't interface with AMD gpu devices.
If you want to check your AMD gpu, check this link. There are commands here that can tell you the gpu temp.

Offline

#4 2020-08-22 08:46:58

Luh
Member
Registered: 2018-01-22
Posts: 24

Re: GPU not detected by sensors-detect

The wiki says

$ cat /sys/class/drm/card0/device/hwmon/hwmon*/temp1_input

, but I do not have any "hwmon" folder under "device". Any idea ?

$ ls /sys/class/drm/card0/device/
aer_dev_correctable   class			device		 enable      i2c-3  link		mem_info_gtt_used	 modalias	    product_name    resource0	  revision	    uevent
aer_dev_fatal	      config			devspec		 fw_version  i2c-4  local_cpulist	mem_info_vis_vram_total  msi_bus	    product_number  resource0_wc  rom		    vbios_version
aer_dev_nonfatal      consistent_dma_mask_bits	dma_mask_bits	 graphics    i2c-5  local_cpus		mem_info_vis_vram_used	 msi_irqs	    remove	    resource2	  serial_number     vendor
ari_enabled	      current_link_speed	driver		 i2c-0	     i2c-6  max_link_speed	mem_info_vram_total	 numa_node	    rescan	    resource2_wc  subsystem
boot_vga	      current_link_width	driver_override  i2c-1	     i2c-7  max_link_width	mem_info_vram_used	 pcie_replay_count  reset	    resource4	  subsystem_device
broken_parity_status  d3cold_allowed		drm		 i2c-2	     irq    mem_info_gtt_total	mem_info_vram_vendor	 power		    resource	    resource5	  subsystem_vendor

Last edited by Luh (2020-08-22 08:53:54)

Offline

#5 2020-08-22 10:57:01

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: GPU not detected by sensors-detect

As far as I know, you shouldn't have to do anything. The "amdgpu" module itself is what does the work and amdgpu is already loaded so it should work without "sensors-detect".

Maybe the problem is those kernel command line options you are using?

Are you using a special kernel? Try the normal Arch one or the -lts one.

I have an RX480 here, and I didn't need to do anything. The amdgpu entry in "sensors" was already there from the start. I use "early KMS", meaning I've added the amdgpu module into the initramfs in /etc/mkinitcpio.conf.

Offline

#6 2020-08-22 11:32:42

Luh
Member
Registered: 2018-01-22
Posts: 24

Re: GPU not detected by sensors-detect

My issue is that my fans are not working once GRUB is loaded (I boot, the fans are working, then they stop) and I saw and the forums that it's normal if the GPU isn't used.
However, when launching a game or glxgears, the fans are still stopped. That's why I wanted to know the GPU temp.

My graphics card doesn't work without those kernel options.
I use the kernel 5.8, same problem with the LTS.

Edit: dpm=0 is the source of my fans problems.

Last edited by Luh (2020-08-22 12:18:58)

Offline

Board footer

Powered by FluxBB