Dr-Noob / cpufetch

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

Unknown microarchitecture detected: M=0x0000000E EM=0x0000000B F=0x00000006 EF=0x00000000 S=0x00000000 #194

Closed bbx0 closed 11 months ago

bbx0 commented 1 year ago

Looks like the new Intel® Processor N-series (former Alder Lake-N) is not supported. This is a Intel® N100:

$ cpufetch
[ERROR]: Unknown microarchitecture detected: M=0x0000000E EM=0x0000000B F=0x00000006 EF=0x00000000 S=0x00000000
[VERSION]: cpufetch v1.04-8-g7d81 (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-8-g7d81 (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 --debug
[ERROR]: Unknown microarchitecture detected: M=0x0000000E EM=0x0000000B F=0x00000006 EF=0x00000000 S=0x00000000
[VERSION]: cpufetch v1.04-8-g7d81 (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-8-g7d81 (Linux x86_64 build)
Intel(R) N100
- Max standard level: 0x00000020
- Max extended level: 0x80000008
- Hybrid Flag: 0
- CPUID dump: 0x000B06E0
Dr-Noob commented 1 year ago

I have pushed a fix that should do it, can you please confirm?

bbx0 commented 1 year ago

Cool, thanks! Looks good now:

$ ./cpufetch
 Name:                Intel(R) N100
 Microarchitecture:   Alder Lake
 Technology:          10nm
 Max Frequency:       3.400 GHz
 Cores:               4 cores
 AVX:                 AVX,AVX2
 FMA:                 FMA3
 L1i Size:            64KB (256KB Total)
 L1d Size:            32KB (128KB Total)
 L2 Size:             2MB
 L3 Size:             6MB
 Peak Performance:    435.20 GFLOP/s

$ ./cpufetch --debug
cpufetch v1.04-10-gfe4b (Linux x86_64 build)
Intel(R) N100
- Max standard level: 0x00000020
- Max extended level: 0x80000008
- Hybrid Flag: 0
- CPUID dump: 0x000B06E0