Dr-Noob / cpufetch

Simple yet fancy CPU architecture fetching tool
GNU General Public License v2.0
1.82k stars 99 forks source link

New laptop with Ryzen 7 PRO 7840U doesn't work. #215

Closed anatolethien closed 6 months ago

anatolethien commented 6 months ago

Hey! Got this error while using this software on my brand new laptop.

CPU architecture should be Zen 4 if I'm not mistaken.

CPU is AMD Ryzen 7 PRO 7840U. OS is Fedora 39.

anatolethien@fedora-laptop:~$ cpufetch 
[ERROR]: Unknown microarchitecture detected: M=0x00000004 EM=0x00000007 F=0x0000000F EF=0x0000000A S=0x00000001
[VERSION]: cpufetch v1.04 (Linux x86_64 build)
Please, create a new issue with this error message, the output of 'cpufetch' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues
[ERROR]: Found invalid process: '0'
[VERSION]: cpufetch v1.04 (Linux x86_64 build)
Please, create a new issue with this error message, the output of 'cpufetch' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues

          '###############             
             ,#############            Name:         AMD Ryzen 7 PRO 7840U w/ Ra
                      .####            uArch:        Unknown
              #.      .####            Technology:   Unknown
            :##.      .####            Max Freq:     5.132 GHz
           :###.      .####            Cores:        8 cores (16 threads)
           #########.   :##            AVX:          AVX,AVX2,AVX512
           #######.       ;            FMA:          FMA3
                                       L1i Size:     32KB (256KB Total)
    ###     ###      ###   #######     L1d Size:     32KB (256KB Total)
   ## ##    #####  #####   ##     ##   L2 Size:      1MB (8MB Total)
  ##   ##   ### #### ###   ##      ##  L3 Size:      16MB
 #########  ###  ##  ###   ##      ##  Peak Perf.:   1.31 TFLOP/s
##       ## ###      ###   ##     ##   
##       ## ###      ###   #######     
anatolethien@fedora-laptop:~$ cpufetch --debug
[ERROR]: Unknown microarchitecture detected: M=0x00000004 EM=0x00000007 F=0x0000000F EF=0x0000000A S=0x00000001
[VERSION]: cpufetch v1.04 (Linux x86_64 build)
Please, create a new issue with this error message, the output of 'cpufetch' and 'cpufetch --debug' on https://github.com/Dr-Noob/cpufetch/issues
cpufetch v1.04 (Linux x86_64 build)
AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics 
- Max standard level: 0x00000010
- Max extended level: 0x80000028
- AMD topology extensions: 1
- CPUID dump: 0x00A70F41

Have a nice day!

Dr-Noob commented 6 months ago

Download and compile the latest version of cpufetch. It will probably already have support for your CPU.

anatolethien commented 6 months ago

I executed the script from the documentation you provided and replaced my existing binary at /usr/bin/cpufetch with the newly compiled binaries and now it works great! Thanks!