Skip to content

[BUG] CPU speed missing on IBM Machine 8561 (IBM/s390x architecture) #2129

@mdilai

Description

@mdilai

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

Fastfetch doesn't show CPU speed of IBM Machine 8561 mainframe. Here is output of fastfetch:

Image

And JSON output:

  {
    "type": "CPU",
    "result": {
      "cpu": "Machine 8561",
      "vendor": "IBM/S390",
      "packages": 2,
      "cores": {
        "physical": 2,
        "logical": 2,
        "online": 2
      },
      "frequency": {
        "base": 0,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null
    }
  },

At same time, Neofetch show CPU speed correctly (5.2Ghz):

Image

Here is output of /proc/cpuinfo:

vendor_id       : IBM/S390
# processors    : 2
bogomips per cpu: 3241.00
max thread id   : 0
features        : esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx vxd vxe gs vxe2 vxp sort dflt sie 
facilities      : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 38 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 58 59 60 61 69 70 71 72 73 74 75 76 77 80 81 82 128 129 130 131 133 134 135 146 147 148 150 151 152 155 156 168
cache0          : level=1 type=Data scope=Private size=128K line_size=256 associativity=8
cache1          : level=1 type=Instruction scope=Private size=128K line_size=256 associativity=8
cache2          : level=2 type=Data scope=Private size=4096K line_size=256 associativity=8
cache3          : level=2 type=Instruction scope=Private size=4096K line_size=256 associativity=8
cache4          : level=3 type=Unified scope=Shared size=262144K line_size=256 associativity=32
cache5          : level=4 type=Unified scope=Shared size=983040K line_size=256 associativity=60
processor 0: version = FF,  identification = 0918E8,  machine = 8561
processor 1: version = FF,  identification = 0918E8,  machine = 8561

cpu number      : 0
physical id     : 0
core id         : 0
book id         : 0
drawer id       : 0
dedicated       : 0
address         : 0
siblings        : 1
cpu cores       : 1
version         : FF
identification  : 0918E8
machine         : 8561
cpu MHz dynamic : 5200
cpu MHz static  : 5200

cpu number      : 1
physical id     : 1
core id         : 1
book id         : 1
drawer id       : 1
dedicated       : 0
address         : 1
siblings        : 1
cpu cores       : 1
version         : FF
identification  : 0918E8
machine         : 8561
cpu MHz dynamic : 5200
cpu MHz static  : 5200

Tested on both versions 2.48 from EPEL and latest nightly build of 2.56.1

Version used

fastfetch 2.56.1 (s390x)

Bug prevalence

Always

Regression

No

Installation

GitHub Actions (nightly)

Package manager

RPM for nightly build of s390x variant

Screenshots

No response

Configuration

System information

[
  {
    "type": "Title",
    "result": {
      "userName": "linux1",
      "fullUserName": "linux1",
      "homeDir": "/home/linux1/",
      "exePath": "/usr/bin/fastfetch",
      "userShell": "/bin/bash"
    },
    "stat": 0.005284999962896109
  },
  {
    "type": "Separator",
    "error": "Unsupported for JSON format",
    "stat": 0.0005740001797676086
  },
  {
    "type": "OS",
    "result": {
      "buildID": "",
      "codename": "",
      "id": "rhel",
      "idLike": "fedora",
      "name": "Red Hat Enterprise Linux",
      "prettyName": "Red Hat Enterprise Linux 9.7 (Plow)",
      "variant": "",
      "variantID": "",
      "version": "9.7 (Plow)",
      "versionID": "9.7"
    },
    "stat": 0.05507799983024597
  },
  {
    "type": "Host",
    "error": "neither product_family nor product_name is set by O.E.M.",
    "stat": 0.08417499996721745
  },
  {
    "type": "BIOS",
    "result": {
      "date": "",
      "release": "",
      "vendor": "",
      "version": "",
      "type": "BIOS"
    },
    "stat": 0.011315000243484974
  },
  {
    "type": "Bootmgr",
    "error": "Failed to read efivar: BootCurrent",
    "stat": 0.0030259997583925724
  },
  {
    "type": "Board",
    "error": "board_name is not set.",
    "stat": 0.0074339997954666615
  },
  {
    "type": "Chassis",
    "error": "chassis_type is not set by O.E.M.",
    "stat": 0.00801499979570508
  },
  {
    "type": "Kernel",
    "result": {
      "architecture": "s390x",
      "name": "Linux",
      "release": "5.14.0-570.42.2.el9_6.s390x",
      "version": "#1 SMP Mon Sep 8 12:10:08 EDT 2025",
      "pageSize": 4096
    },
    "stat": 0.001802000217139721
  },
  {
    "type": "InitSystem",
    "result": {
      "name": "systemd",
      "exe": "/usr/lib/systemd/systemd",
      "version": "252-55.el9_7.2",
      "pid": 1
    },
    "stat": 0.5398500002920628
  },
  {
    "type": "Uptime",
    "result": {
      "uptime": 2913150,
      "bootTime": "2026-01-03T10:08:39.148-0600"
    },
    "stat": 0.04427800001576543
  },
  {
    "type": "Loadavg",
    "result": [
      0.01,
      0.0,
      0.0
    ],
    "stat": 0.008167000021785498
  },
  {
    "type": "Processes",
    "result": 101,
    "stat": 0.15577000007033348
  },
  {
    "type": "Packages",
    "result": {
      "all": 525,
      "amSystem": 0,
      "amUser": 0,
      "apk": 0,
      "brew": 0,
      "brewCask": 0,
      "choco": 0,
      "dpkg": 0,
      "emerge": 0,
      "eopkg": 0,
      "flatpakSystem": 0,
      "flatpakUser": 0,
      "guixSystem": 0,
      "guixUser": 0,
      "guixHome": 0,
      "hpkgSystem": 0,
      "hpkgUser": 0,
      "linglong": 0,
      "mport": 0,
      "nixDefault": 0,
      "nixSystem": 0,
      "nixUser": 0,
      "opkg": 0,
      "pacman": 0,
      "pacstall": 0,
      "paludis": 0,
      "pisi": 0,
      "pkg": 0,
      "pkgtool": 0,
      "pkgsrc": 0,
      "macports": 0,
      "rpm": 525,
      "scoopUser": 0,
      "scoopGlobal": 0,
      "snap": 0,
      "soar": 0,
      "kiss": 0,
      "sorcery": 0,
      "winget": 0,
      "xbps": 0,
      "pacmanBranch": ""
    },
    "stat": 0.0973160001449287
  },
  {
    "type": "Shell",
    "result": {
      "exe": "bash",
      "exeName": "bash",
      "exePath": "/usr/bin/bash",
      "pid": 1725,
      "ppid": 1724,
      "processName": "bash",
      "prettyName": "bash",
      "version": "5.1.8",
      "tty": 0
    },
    "stat": 0.20789900003001094
  },
  {
    "type": "Editor",
    "error": "$VISUAL or $EDITOR not set",
    "stat": 0.001902999822050333
  },
  {
    "type": "Display",
    "error": "Couldn't detect display",
    "stat": 0.3836969998665154
  },
  {
    "type": "Brightness",
    "result": [],
    "stat": 0.002394000068306923
  },
  {
    "type": "Monitor",
    "error": "Monitor module is an alias of Display module",
    "stat": 0.0005020000971853733
  },
  {
    "type": "LM",
    "result": {
      "service": "sshd",
      "type": "TTY",
      "version": "8.7p1"
    },
    "stat": 4.576855999883264
  },
  {
    "type": "DE",
    "error": "No DE found",
    "stat": 0.0012240000069141388
  },
  {
    "type": "WM",
    "error": "No WM found",
    "stat": 0.001228999812155962
  },
  {
    "type": "WMTheme",
    "error": "WM Theme needs successful WM detection",
    "stat": 0.0009639998897910118
  },
  {
    "type": "Theme",
    "error": "Theme isn't supported in TTY",
    "stat": 0.001246000174432993
  },
  {
    "type": "Icons",
    "error": "Icons aren't supported in TTY",
    "stat": 0.001462000422179699
  },
  {
    "type": "Font",
    "error": "Font isn't supported in TTY",
    "stat": 0.0009499997831881046
  },
  {
    "type": "Cursor",
    "error": "Cursor isn't supported in TTY",
    "stat": 0.0016710003837943077
  },
  {
    "type": "Wallpaper",
    "error": "Failed to detect the current wallpaper path",
    "stat": 0.024633999913930893
  },
  {
    "type": "Terminal",
    "result": {
      "processName": "sshd",
      "exe": "sshd: linux1@pts/0",
      "exeName": "0",
      "exePath": "/proc/1724/exe",
      "pid": 1724,
      "ppid": 1711,
      "prettyName": "sshd",
      "version": "",
      "tty": ""
    },
    "stat": 0.15615100041031837
  },
  {
    "type": "TerminalFont",
    "error": "Unknown terminal: sshd",
    "stat": 0.003979000262916088
  },
  {
    "type": "TerminalSize",
    "result": {
      "columns": 212,
      "rows": 37,
      "width": 1699,
      "height": 677
    },
    "stat": 0.0060350000858306885
  },
  {
    "type": "TerminalTheme",
    "error": "Failed to detect terminal theme",
    "stat": 100.19560200022534
  },
  {
    "type": "CPU",
    "result": {
      "cpu": "Machine 8561",
      "vendor": "IBM/S390",
      "packages": 2,
      "cores": {
        "physical": 2,
        "logical": 2,
        "online": 2
      },
      "frequency": {
        "base": 0,
        "max": 0
      },
      "coreTypes": [],
      "temperature": null,
      "march": null,
      "numaNodes": 1
    },
    "stat": 0.1536730001680553
  },
  {
    "type": "CPUCache",
    "result": {
      "l1": [
        {
          "size": 131072,
          "num": 2,
          "lineSize": 256,
          "type": "data"
        },
        {
          "size": 131072,
          "num": 2,
          "lineSize": 256,
          "type": "instruction"
        }
      ],
      "l2": [
        {
          "size": 4194304,
          "num": 1,
          "lineSize": 256,
          "type": "data"
        },
        {
          "size": 4194304,
          "num": 1,
          "lineSize": 256,
          "type": "instruction"
        }
      ]
    },
    "stat": 0.18405400030314922
  },
  {
    "type": "CPUUsage",
    "result": [
      0.0,
      0.0
    ],
    "stat": 200.24635799974203
  },
  {
    "type": "GPU",
    "error": "GPU detection failed",
    "stat": 0.25764100020751357
  },
  {
    "type": "Memory",
    "result": {
      "total": 3647541248,
      "used": 1253367808
    },
    "stat": 0.020452999975532293
  },
  {
    "type": "PhysicalMemory",
    "error": "Failed to get SMBIOS data",
    "stat": 0.006804000120609999
  },
  {
    "type": "Swap",
    "result": [],
    "stat": 0.008262000046670437
  },
  {
    "type": "Disk",
    "result": [
      {
        "bytes": {
          "available": 47605501952,
          "free": 49869664256,
          "total": 52729708544,
          "used": 2860044288
        },
        "files": {
          "total": 3251200,
          "used": 42547
        },
        "filesystem": "ext4",
        "mountpoint": "/",
        "mountFrom": "/dev/dasda1",
        "name": "",
        "volumeType": [
          "Regular"
        ],
        "createTime": "2022-11-07T23:58:48.000-0600"
      }
    ],
    "stat": 0.19547599973157048
  },
  {
    "type": "Btrfs",
    "error": "opendir(\"/sys/fs/btrfs\") == NULL",
    "stat": 0.005213000345975161
  },
  {
    "type": "Zpool",
    "error": "dlopen libzfs.so failed",
    "stat": 0.11011900007724762
  },
  {
    "type": "Battery",
    "result": [],
    "stat": 0.0063320002518594265
  },
  {
    "type": "PowerAdapter",
    "result": [],
    "stat": 0.003684000112116337
  },
  {
    "type": "Player",
    "error": "Player module is an alias of Media module",
    "stat": 0.0004719998687505722
  },
  {
    "type": "Media",
    "error": "No media found",
    "stat": 1.7788869999349117
  },
  {
    "type": "DNS",
    "result": [
      "8.8.8.8",
      "9.9.9.9"
    ],
    "stat": 0.007898999843746424
  },
  {
    "type": "Wifi",
    "result": [],
    "stat": 0.035029999911785126
  },
  {
    "type": "DateTime",
    "result": "2026-01-03T10:57:12.607-0600",
    "stat": 0.004749999847263098
  },
  {
    "type": "Locale",
    "result": "en_US.UTF-8",
    "stat": 0.0009610000997781754
  },
  {
    "type": "Vulkan",
    "error": "dlopen libvulkan.so failed",
    "stat": 0.00138000026345253
  },
  {
    "type": "OpenGL",
    "error": "dlopen glx failed",
    "stat": 0.06307899998500943
  },
  {
    "type": "OpenCL",
    "error": "dlopen libOpenCL.so failed",
    "stat": 0.0009449999779462814
  },
  {
    "type": "Bluetooth",
    "result": [],
    "stat": 0.003647000063210726
  },
  {
    "type": "BluetoothRadio",
    "error": "Failed to open /sys/class/bluetooth",
    "stat": 0.0017810002900660038
  },
  {
    "type": "Sound",
    "error": "Failed to load libpulse.so",
    "stat": 0.024127000011503696
  },
  {
    "type": "Camera",
    "result": [],
    "stat": 0.0035959999077022076
  },
  {
    "type": "Gamepad",
    "result": [],
    "stat": 0.0058200000785291195
  },
  {
    "type": "Mouse",
    "result": [],
    "stat": 0.003432000055909157
  },
  {
    "type": "Keyboard",
    "error": "opendir(\"/dev/input/by-path/\") == NULL",
    "stat": 0.0031059999018907547
  },
  {
    "type": "Weather",
    "error": "Empty server response received",
    "stat": 1016.455330000259
  },
  {
    "type": "NetIO",
    "result": [
      {
        "name": "enc1000",
        "defaultRoute": true,
        "txBytes": 1005,
        "rxBytes": 9282,
        "txPackets": 10,
        "rxPackets": 199,
        "rxErrors": 0,
        "txErrors": 0,
        "rxDrops": 0,
        "txDrops": 0
      }
    ],
    "stat": 0.13616600027307868
  },
  {
    "type": "DiskIO",
    "result": [
      {
        "name": "dasda",
        "devPath": "/dev/dasda",
        "bytesRead": 0,
        "bytesWritten": 0,
        "readCount": 0,
        "writeCount": 0
      }
    ],
    "stat": 0.08783800015226007
  },
  {
    "type": "PhysicalDisk",
    "result": [
      {
        "name": "dasda",
        "devPath": "/dev/dasda",
        "interconnect": "",
        "kind": "SSD",
        "size": 53687091200,
        "serial": "",
        "removable": false,
        "readOnly": false,
        "revision": "",
        "temperature": null
      }
    ],
    "stat": 0.07354399980977178
  },
  {
    "type": "TPM",
    "error": "TPM device is not found",
    "stat": 0.006790999788790941
  },
  {
    "type": "Version",
    "result": {
      "projectName": "fastfetch",
      "sysName": "Linux",
      "architecture": "s390x",
      "version": "2.56.1",
      "versionGit": "",
      "cmakeBuiltType": "RelWithDebInfo",
      "compileTime": "Jan  1 2026, 15:43:27",
      "compiler": "gcc 13.1.0",
      "debugMode": false,
      "libc": "glibc 2.35"
    },
    "stat": 0.004125999752432108
  },
  {
    "type": "Break",
    "error": "Unsupported for JSON format",
    "stat": 0.0009110001847147942
  },
  {
    "type": "Colors",
    "error": "Unsupported for JSON format",
    "stat": 0.0007520001381635666
  }
]

Features built-in

threads
vulkan
wayland
xcb-randr
xrandr
drm
drm_amdgpu
gio
dconf
dbus
imagemagick6
zlib
sqlite3
rpm
egl
glx
opencl
libpulse
libelf
libzfs
linux/videodev2
linux/wireless

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions