Bashtop and Bpytop faiil to display any temperatures

Specifications

System:
  Kernel: 5.4.0-67-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.6.7 Distro: Linux Mint 20 Ulyana 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop System: Gigabyte product: GA-78LMT-S2 v: N/A 
  serial: <filter> 
  Mobo: Gigabyte model: GA-78LMT-S2 v: sex serial: <filter> BIOS: Award 
  v: F6 date: 01/09/2014 
Battery:
  Device-1: hidpp_battery_0 model: Logitech M570 charge: 65% 
  status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard 
  charge: 55% (should be ignored) status: Discharging 
CPU:
  Topology: Quad Core model: AMD FX-4300 bits: 64 type: MCP arch: Bulldozer 
  L2 cache: 2048 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 30533 
  Speed: 1412 MHz min/max: 1400/3800 MHz Core speeds (MHz): 1: 1428 2: 1414 
  3: 1405 4: 1406 
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] 
  vendor: VISIONTEK driver: radeon v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.9 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa 
  resolution: 1920x1080~60Hz, 1680x1050~60Hz 
  OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.4.0-67-generic LLVM 12.0.0) 
  v: 3.3 Mesa 21.1.0-devel (git-6e6cd7d 2021-03-20 focal-oibaf-ppa) 
  direct render: Yes 
Audio:
  Device-1: AMD SBx00 Azalia vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus ID: 00:14.2 
  Device-2: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] 
  vendor: VISIONTEK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.0-67-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: de00 bus ID: 02:00.0 
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 311.87 GiB (33.5%) 
  ID-1: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB 
Partition:
  ID-1: / size: 903.97 GiB used: 311.56 GiB (34.5%) fs: ext4 dev: /dev/sda3 
  ID-2: /boot size: 938.0 MiB used: 207.4 MiB (22.1%) fs: ext2 
  dev: /dev/sda1 
  ID-3: swap-1 size: 11.18 GiB used: 111.6 MiB (1.0%) fs: swap 
  dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 7.1 C mobo: N/A gpu: radeon temp: 50 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 245 Uptime: 12h 14m Memory: 7.77 GiB used: 3.76 GiB (48.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 

Additional Information (if applicable)

  • Bashtop and Bpytop(snap version)
  • Bpytop is freshly installed and updated ---- Bashtop is updated

Steps to reproduce

  1. Bashtop has never displayed temperatures readings(‘Sensors’ is installed)
  2. I thought Bpytop may display them, but it fails as well.

Expected behaviour

  • There should be a Temperature output box beside the Core Usage display box

Actual behaviour

  • Temperature output is missing on both Bashtop and Bpytop

Extra details

  • Iinxi and sensors output are very close iin their temperature readings

Sorry,

That’s so far over my head I couldn’t see it even with Hubble.

@edgrin2

You say sensors is installed, but what output do you actually get when you run it?

I have two desktop systems:

  1. A ~10 year old HP business tower model with a Core i5 CPU and a totally unsupported hardware monitoring chip/platform — the only sensors data I get is per-core CPU temps from coretemp:

    $ sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Package id 0:  +37.0°C  (high = +80.0°C, crit = +99.0°C)
    Core 0:        +33.0°C  (high = +80.0°C, crit = +99.0°C)
    Core 1:        +32.0°C  (high = +80.0°C, crit = +99.0°C)
    Core 2:        +32.0°C  (high = +80.0°C, crit = +99.0°C)
    Core 3:        +37.0°C  (high = +80.0°C, crit = +99.0°C)
    
  2. An even older Acer Aspire box based on an AMD Athlon 64 X2 CPU, which also has a well-supported it8716 sensor chip from which I get a wealth of readouts:

    $ sensors
    k8temp-pci-00c3
    Adapter: PCI adapter
    Core0 Temp:   +30.0°C  
    Core0 Temp:   +21.0°C  
    Core1 Temp:   +38.0°C  
    Core1 Temp:   +25.0°C  
    
    acpitz-acpi-0
    Adapter: ACPI interface
    temp1:        +16.0°C  (crit = +70.0°C)
    
    it8716-isa-0290
    Adapter: ISA adapter
    VCPU:          1.10 V  (min =  +0.61 V, max =  +1.79 V)
    in1:           2.50 V  (min =  +0.00 V, max =  +4.08 V)
    VMem:          1.79 V  (min =  +0.00 V, max =  +4.08 V)
    +3.3V:         3.33 V  (min =  +0.00 V, max =  +4.08 V)
    in4:           2.94 V  (min =  +0.00 V, max =  +4.08 V)
    in5:           1.17 V  (min =  +0.00 V, max =  +4.08 V)
    in6:           2.88 V  (min =  +0.00 V, max =  +4.08 V)
    in7:           3.07 V  (min =  +2.40 V, max =  +3.60 V)
    Vbat:          2.86 V  
    CPU Fan:     1864 RPM  (min = 1500 RPM)
    System Fan:  1250 RPM  (min =  399 RPM)
    CPU Temp:     +16.0°C  (low  =  +0.0°C, high = +70.0°C)  sensor = thermal diode
    M/B Temp:     +38.0°C  (low  =  +0.0°C, high = +60.0°C)  sensor = thermistor
    

…Despite this, system #1 shows the temp next to each core when running bashtop, whereas system #2 shows no temps. In fact, if I go into the Bashtop Options screen (Esc, Options) on both systems, system #1 has “Check temp” defaulted to “true”, whereas System #2 forces it to “false” and will not let me enable it.

I conclude from this that Bashtop, at least, only supports reading temperature data from the kernel’s CPU hardware monitoring driver, and doesn’t support the k8temp driver used for AMD CPUs. Likely Bpytop is the same.

1 Like

And to put an even finer point on it: Because Bashtop is able to detect that it can’t get temps on system #2, and even lock the “Check temp” setting to “false”, I’m guessing this is a known limitation of the software. Most likely everything is working as expected. (After all, someone clearly wrote code in Bashtop to account for this situation and override the Options menu item.)

1 Like

Here is the readout from Sensors:

$ sensors
fam15h_power-pci-00c4
Adapter: PCI adapter
power1: 69.63 W (crit = 95.06 W)

radeon-pci-0100
Adapter: PCI adapter
temp1: +50.0°C (crit = +120.0°C, hyst = +90.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +4.9°C (high = +70.0°C)
(crit = +70.0°C, hyst = +67.0°C)

I got Bpytop to give a small temperature display of k10temp on the same line as the CPU usage. I had to take it off of the Auto setting and move it to the k10temp setting.

I see from your output comparisons that the problem is just a lower functioning hardware.

Thank you for your help.
-Edgrin2

1 Like