Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not display the frequency of my CPUs #222

Open
ibobak opened this issue Nov 23, 2024 · 1 comment
Open

It does not display the frequency of my CPUs #222

ibobak opened this issue Nov 23, 2024 · 1 comment

Comments

@ibobak
Copy link

ibobak commented Nov 23, 2024

The problem is that s-tui doesn't display the frequency of my cores:

image

Step 1: Describe your environment

  • System (Intel/AMD/Raspberry Pi etc):
/opt$ inxi -Fxz
System:
  Kernel: 6.8.0-49-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9
    Distro: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Machine:
  Type: Desktop System: HUANANZHI product: N/A v: N/A
    serial: <superuser required>
  Mobo: HUANANZHI model: X99-F8D PLUS v: V1.3 serial: <superuser required>
    UEFI: American Megatrends v: 5.11 date: 04/26/2023
CPU:
  Info: 2x 22-core model: Intel Xeon E5-2696 v4 bits: 64 type: MT MCP SMP
    arch: Broadwell rev: 1 cache: L1: 2x 1.4 MiB (2.8 MiB)
    L2: 2x 5.5 MiB (11 MiB) L3: 2x 55 MiB (110 MiB)
  Speed (MHz): avg: 1294 high: 3700 min/max: 1200/3700 cores: 1: 1198
    2: 1198 3: 1200 4: 2506 5: 1200 6: 1198 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1200 12: 1200 13: 1200 14: 1200 15: 1200 16: 1200 17: 1200 18: 1197
    19: 1200 20: 1200 21: 1200 22: 1200 23: 1200 24: 1200 25: 1200 26: 1200
    27: 1200 28: 1200 29: 1200 30: 1200 31: 1200 32: 1200 33: 1200 34: 1200
    35: 1200 36: 1200 37: 1200 38: 1198 39: 1200 40: 1200 41: 1200 42: 1200
    43: 1200 44: 1200 45: 1200 46: 1200 47: 3500 48: 1200 49: 1200 50: 1200
    51: 1200 52: 1200 53: 1200 54: 2195 55: 1200 56: 1200 57: 1200 58: 1200
    59: 1200 60: 1200 61: 1198 62: 1200 63: 1200 64: 1197 65: 1197 66: 1200
    67: 1200 68: 1200 69: 1200 70: 1200 71: 1200 72: 3700 73: 1200 74: 1200
    75: 1200 76: 2400 77: 1200 78: 1200 79: 1200 80: 1200 81: 1200 82: 1200
    83: 1200 84: 1200 85: 1200 86: 1200 87: 1200 88: 1200 bogomips: 386348
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 565.57.01
    bus-ID: 81:00.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    resolution: 1920x1200~60Hz
  OpenGL: renderer: NVIDIA GeForce RTX 4090/PCIe/SSE2
    v: 4.6.0 NVIDIA 565.57.01 direct render: Yes
Audio:
  Device-1: Intel C610/X99 series HD Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0
  Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 81:00.1
  Sound Server-1: ALSA v: k6.8.0-49-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: 6000
    bus-ID: 05:00.0
  IF: enp5s0 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE driver: r8169 v: kernel port: 5000
    bus-ID: 06:00.0
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: outline-tun0 state: up speed: 10000 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Realtek Bluetooth 5.3 Radio type: USB driver: btusb v: 0.8
    bus-ID: 3-12:2
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.1
Drives:
  Local Storage: total: 6.41 TiB used: 1.68 TiB (26.3%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SKC3000D2048G size: 1.86 TiB
    temp: 31.9 C
  ID-2: /dev/nvme1n1 vendor: Kingston model: SFYRDK4000G size: 3.64 TiB
    temp: 34.9 C
  ID-3: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB
Partition:
  ID-1: / size: 3.58 TiB used: 322.46 GiB (8.8%) fs: ext4 dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 40 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 1054 Uptime: 1d 1h 23m Memory: 251.76 GiB used: 14.8 GiB (5.9%)
  Init: systemd runlevel: 5 Compilers: gcc: 12.3.0 Packages: 2385 Shell: Bash
  v: 5.1.16 inxi: 3.3.13
-------------------------------------------------------------------------------------------------------------------


  • OS version: Ubuntu 22.04
  • s-tui version:
/opt$ s-tui --version
s-tui 1.1.3 - (C) 2017-2020 Alex Manuskin, Gil Tsuker
    Released under GNU GPLv2
  • Installation method(pip/PPA/source code):
sudo apt install s-tui

Step 2: Describe the problem:

Observed Results:

as I said above, no displaying of frequencies.

Debug Results, output of s-tui -d created in a file _s-tui.log:

_s-tui.log

Step 3: Reproduce the problem:

Steps to reproduce:

Nothing special: just run s-tui. I launched it both with sudo and without, nothing changes.

@amanusk
Copy link
Owner

amanusk commented Nov 24, 2024

Hey,
Thanks for the interest in the project.
This is a bug that was unfortunatelly introduced with verision 1.1.3 which is packaged with ubuntu 22.04.

This issues is caused by psutil changing the API, are requires multiplying the value by 1000, while the max value is reported as before. This was fixed in psutil 5.9.1, but 22.04 comes with 5.9.0

As a result, you can see in the sidebar that frequency values are reported, but 1.2 should be 1200.

you can remedy this by using the latest version in the repo. This is fixed in 24.04 onwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants