Code Monkey home page Code Monkey logo

Comments (2)

Dr-Noob avatar Dr-Noob commented on June 9, 2024

Even more neccesary after d221f57

from cpufetch.

ThomasKaiser avatar ThomasKaiser commented on June 9, 2024

BTW: since I had an aarch64 Linux VM running on my MacBook below the output. Wouldn't it be an idea to print Virtualized Apple Silicon in such situations?

Apple's Hypervisor.Framework limits CPU features/flags to the one of M1's cores and sets the stepping info to r0p0 on all cores regardless of their real stepping. So it should be easy to detect such an environment?

[root@fedora # /usr/local/src/cpufetch/cpufetch 
[ERROR]: Unknown microarchitecture detected: IM=0x0 P=0x0 V=0x0 R=0x0
[VERSION]: cpufetch v1.04-42-g0967 (Linux ARM build)
Please, create a new issue with this error message, your smartphone/computer model, the output of 'cpufetch --verbose' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues

                                                            SoC:                 Unknown
                                                            Technology:          Unknown
                                                            Microarchitecture:   Unknown
                                                            Max Frequency:       Unknown
                                                            Cores:               8 cores
                                                            Features:            NEON,SHA1,SHA2,AES,CRC32
                                                            Peak Performance:    Unknown
                                                            

[root@fedora # /usr/local/src/cpufetch/cpufetch -d
[ERROR]: Unknown microarchitecture detected: IM=0x0 P=0x0 V=0x0 R=0x0
[VERSION]: cpufetch v1.04-42-g0967 (Linux ARM build)
Please, create a new issue with this error message, your smartphone/computer model, the output of 'cpufetch --verbose' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues
cpufetch v1.04-42-g0967 (Linux ARM build)
[Core 0] 0x000F0000 -1 MHz
[Core 1] 0x000F0000 -1 MHz
[Core 2] 0x000F0000 -1 MHz
[Core 3] 0x000F0000 -1 MHz
[Core 4] 0x000F0000 -1 MHz
[Core 5] 0x000F0000 -1 MHz
[Core 6] 0x000F0000 -1 MHz
[Core 7] 0x000F0000 -1 MHz

[root@fedora # /usr/local/src/cpufetch/cpufetch -v
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 0. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 1. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 2. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 3. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 4. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 5. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 6. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 7. This is probably because the core is offline
[ERROR]: Unknown microarchitecture detected: IM=0x0 P=0x0 V=0x0 R=0x0
[VERSION]: cpufetch v1.04-42-g0967 (Linux ARM build)
Please, create a new issue with this error message, your smartphone/computer model, the output of 'cpufetch --verbose' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq'
[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory

                                                            SoC:                 Unknown
                                                            Technology:          Unknown
                                                            Microarchitecture:   Unknown
                                                            Max Frequency:       Unknown
                                                            Cores:               8 cores
                                                            Features:            NEON,SHA1,SHA2,AES,CRC32
                                                            Peak Performance:    Unknown

from cpufetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.