cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussions

ThunderRipper
Journeyman III

How can I view speeds for all fans in Linux?

One or more fans in my motherboard (Aorus Master TRX40)  toggle between a relatively quiet speed to a noisy speed once every two seconds or so.

How can I view speeds for every fan on my motherboard and GPU from the Linux CLI? The sensors command only shows a subset of the fans and only shows the speed for one of them.

➜ inxi -Fxz 
System:    Kernel: 5.8.0-50-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 Distro: Linux Mint 20.1 Ulyssa 
           base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: Gigabyte product: TRX40 AORUS MASTER v: -CF serial: <filter> 
           Mobo: Gigabyte model: TRX40 AORUS MASTER v: x.x serial: <filter> UEFI: American Megatrends LLC. v: F5k 
           date: 09/25/2020 
CPU:       Topology: 32-Core (4-Die) model: AMD Ryzen Threadripper 3970X bits: 64 type: MT MCP MCM arch: Zen 
           L2 cache: 16.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 473649 
           Speed: 2200 MHz min/max: 2200/3700 MHz Core speeds (MHz): 1: 2200 2: 2200 3: 2680 4: 1866 5: 2118 6: 2117 7: 2118 
           8: 4237 9: 2199 10: 2200 11: 2200 12: 2206 13: 2200 14: 2199 15: 2197 16: 2196 17: 2198 18: 2195 19: 2197 20: 2195 
           21: 2196 22: 2200 23: 2195 24: 2201 25: 2200 26: 2200 27: 2198 28: 2199 29: 2199 30: 2196 31: 2200 32: 2200 
           33: 2194 34: 2199 35: 2200 36: 1867 37: 2800 38: 2087 39: 1866 40: 2114 41: 2117 42: 2117 43: 4228 44: 2199 
           45: 2195 46: 2203 47: 2197 48: 2200 49: 2200 50: 2200 51: 2194 52: 2200 53: 2200 54: 2201 55: 2198 56: 2200 
           57: 2199 58: 2201 59: 2199 60: 2199 61: 2199 62: 2200 63: 1867 64: 2800 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
           vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 02:00.0 
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: 2560x1440~60Hz, 2560x1440~60Hz 
           OpenGL: renderer: Radeon RX 570 Series v: 4.6.14756 Core Profile Context direct render: Yes 
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Sapphire Limited driver: snd_hda_intel 
           v: kernel bus ID: 02:00.1 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio driver: snd_hda_intel v: kernel bus ID: 22:00.4 
           Device-3: Giga-Byte USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 7-5:3 
           Device-4: Blue Microphones Yeti Stereo Microphone type: USB driver: snd-usb-audio bus ID: 1-1:2 
           Device-5: Giga-Byte USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 5-6:3 
           Sound Server: ALSA v: k5.8.0-50-generic 
Network:   Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: 5.6.0-k port: c000 bus ID: 44:00.0 
           IF: enp68s0 state: down mac: <filter> 
           Device-2: Aquantia AQC111 NBase-T/IEEE 802.3bz Ethernet [AQtion] vendor: Gigabyte driver: atlantic v: kernel 
           port: c000 bus ID: 45:00.0 
           IF: enp69s0 state: down mac: <filter> 
           Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: c000 bus ID: 46:00.0 
           IF: wlo2 state: up mac: <filter> 
           IF-ID-1: br-704b684d4cd9 state: down mac: <filter> 
           IF-ID-2: br-70cc3a0e1e71 state: up speed: 10000 Mbps duplex: unknown mac: <filter> 
           IF-ID-3: docker0 state: down mac: <filter> 
           IF-ID-4: vethfb1cc1f state: up speed: 10000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 457.60 GiB (95.9%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 512GB size: 476.94 GiB 
           ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 970 PRO 1TB size: 953.87 GiB 
Partition: ID-1: / size: 467.96 GiB used: 228.78 GiB (48.9%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 66.0 C mobo: 24.0 C gpu: amdgpu temp: 35 C 
           Fan Speeds (RPM): cpu: 0 fan-2: 0 fan-3: 0 gpu: amdgpu fan: 923 
           Voltages: 12v: N/A 5v: N/A 3.3v: N/A vbat: 1.62 
Info:      Processes: 863 Uptime: 16h 03m Memory: 62.75 GiB used: 6.80 GiB (10.8%) Init: systemd runlevel: 5 Compilers: 
           gcc: 9.3.0 Shell: bash v: 5.0.17 inxi: 3.0.38 

➜ acpi -t
Thermal 0: ok, 16.8 degrees C

➜ sensors -u
amd_energy-isa-0000
Adapter: ISA adapter
energy1:
ERROR: Can't get value of subfeature energy1_input: Kernel interface error
energy2:
ERROR: Can't get value of subfeature energy2_input: Kernel interface error
energy3:
ERROR: Can't get value of subfeature energy3_input: Kernel interface error
energy4:
ERROR: Can't get value of subfeature energy4_input: Kernel interface error
energy5:
ERROR: Can't get value of subfeature energy5_input: Kernel interface error
energy6:
ERROR: Can't get value of subfeature energy6_input: Kernel interface error
energy7:
ERROR: Can't get value of subfeature energy7_input: Kernel interface error
energy8:
ERROR: Can't get value of subfeature energy8_input: Kernel interface error
energy9:
ERROR: Can't get value of subfeature energy9_input: Kernel interface error
energy10:
ERROR: Can't get value of subfeature energy10_input: Kernel interface error
energy11:
ERROR: Can't get value of subfeature energy11_input: Kernel interface error
energy12:
ERROR: Can't get value of subfeature energy12_input: Kernel interface error
energy13:
ERROR: Can't get value of subfeature energy13_input: Kernel interface error
energy14:
ERROR: Can't get value of subfeature energy14_input: Kernel interface error
energy15:
ERROR: Can't get value of subfeature energy15_input: Kernel interface error
energy16:
ERROR: Can't get value of subfeature energy16_input: Kernel interface error
energy17:
ERROR: Can't get value of subfeature energy17_input: Kernel interface error
energy18:
ERROR: Can't get value of subfeature energy18_input: Kernel interface error
energy19:
ERROR: Can't get value of subfeature energy19_input: Kernel interface error
energy20:
ERROR: Can't get value of subfeature energy20_input: Kernel interface error
energy21:
ERROR: Can't get value of subfeature energy21_input: Kernel interface error
energy22:
ERROR: Can't get value of subfeature energy22_input: Kernel interface error
energy23:
ERROR: Can't get value of subfeature energy23_input: Kernel interface error
energy24:
ERROR: Can't get value of subfeature energy24_input: Kernel interface error
energy25:
ERROR: Can't get value of subfeature energy25_input: Kernel interface error
energy26:
ERROR: Can't get value of subfeature energy26_input: Kernel interface error
energy27:
ERROR: Can't get value of subfeature energy27_input: Kernel interface error
energy28:
ERROR: Can't get value of subfeature energy28_input: Kernel interface error
energy29:
ERROR: Can't get value of subfeature energy29_input: Kernel interface error
energy30:
ERROR: Can't get value of subfeature energy30_input: Kernel interface error
energy31:
ERROR: Can't get value of subfeature energy31_input: Kernel interface error
energy32:
ERROR: Can't get value of subfeature energy32_input: Kernel interface error
energy33:
ERROR: Can't get value of subfeature energy33_input: Kernel interface error

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:
  temp1_input: 59.500
Tdie:
  temp2_input: 59.500
Tccd1:
  temp3_input: 59.750
Tccd3:
  temp5_input: 42.500
Tccd5:
  temp7_input: 47.250
Tccd7:
  temp9_input: 43.750

amdgpu-pci-0200
Adapter: PCI adapter
vddgfx:
  in0_input: 0.900
fan1:
  fan1_input: 923.000
  fan1_min: 0.000
  fan1_max: 3200.000
edge:
  temp1_input: 35.000
  temp1_crit: 94.000
  temp1_crit_hyst: -273.150
power1:
  power1_average: 36.032
  power1_cap: 135.000

nvme-pci-4300
Adapter: PCI adapter
Composite:
  temp1_input: 40.850
  temp1_max: 80.850
  temp1_min: -273.150
  temp1_crit: 80.850
  temp1_alarm: 0.000
Sensor 1:
  temp2_input: 40.850
  temp2_max: 65261.850
  temp2_min: -273.150
Sensor 2:
  temp3_input: 44.850
  temp3_max: 65261.850
  temp3_min: -273.150

acpitz-acpi-0
Adapter: ACPI interface
temp1:
  temp1_input: 16.800
  temp1_crit: 20.800

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1:
  temp1_input: 41.000

it8792-isa-0a60
Adapter: ISA adapter
in0:
  in0_input: 2.562
  in0_min: 0.000
  in0_max: 2.780
  in0_alarm: 0.000
  in0_beep: 0.000
in1:
  in1_input: 1.504
  in1_min: 0.000
  in1_max: 2.780
  in1_alarm: 0.000
  in1_beep: 0.000
in2:
  in2_input: 0.992
  in2_min: 0.000
  in2_max: 2.780
  in2_alarm: 0.000
  in2_beep: 0.000
in3:
  in3_input: 0.807
  in3_min: 0.000
  in3_max: 2.780
  in3_alarm: 0.000
  in3_beep: 0.000
in4:
  in4_input: 1.777
  in4_min: 0.000
  in4_max: 2.780
  in4_alarm: 0.000
  in4_beep: 0.000
in5:
  in5_input: 1.504
  in5_min: 0.000
  in5_max: 2.780
  in5_alarm: 0.000
  in5_beep: 0.000
in6:
  in6_input: 2.780
  in6_min: 0.000
  in6_max: 2.780
  in6_alarm: 1.000
  in6_beep: 0.000
3VSB:
  in7_input: 1.657
  in7_min: 0.000
  in7_max: 2.780
  in7_alarm: 0.000
  in7_beep: 0.000
Vbat:
  in8_input: 1.624
fan1:
  fan1_input: 0.000
  fan1_min: 0.000
  fan1_alarm: 0.000
  fan1_beep: 1.000
fan2:
  fan2_input: 0.000
  fan2_min: 0.000
  fan2_alarm: 0.000
  fan2_beep: 1.000
fan3:
  fan3_input: 0.000
  fan3_min: 0.000
  fan3_alarm: 0.000
  fan3_beep: 1.000
temp1:
  temp1_input: 37.000
  temp1_max: 127.000
  temp1_min: 127.000
  temp1_alarm: 0.000
  temp1_type: 4.000
  temp1_offset: 0.000
  temp1_beep: 1.000
temp2:
  temp2_input: 24.000
  temp2_max: 127.000
  temp2_min: 127.000
  temp2_alarm: 0.000
  temp2_type: 4.000
  temp2_offset: 0.000
  temp2_beep: 1.000
temp3:
  temp3_input: 42.000
  temp3_max: 127.000
  temp3_min: 127.000
  temp3_alarm: 0.000
  temp3_type: 4.000
  temp3_offset: 0.000
  temp3_beep: 1.000
intrusion0:
  intrusion0_alarm: 1.000

enp69s0-pci-4500
Adapter: PCI adapter
PHY Temperature:
  temp1_input: 42.136

nvme-pci-0100
Adapter: PCI adapter
Composite:
  temp1_input: 38.850
  temp1_max: 80.850
  temp1_min: -273.150
  temp1_crit: 80.850
  temp1_alarm: 0.000
Sensor 1:
  temp2_input: 38.850
  temp2_max: 65261.850
  temp2_min: -273.150
Sensor 2:
  temp3_input: 43.850
  temp3_max: 65261.850
  temp3_min: -273.150

Thanks in advance.

Tags (2)
0 Likes