Dr-Noob / cpufetch

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

MacBook Pro M2 #161

Closed rcmendoza7 closed 5 months ago

rcmendoza7 commented 1 year ago

This does not detect the cpu / gpu for the M2 processor

cpufetch --verbose and cpufetch --debug both give the response Found invalid cpu_family: 0xDA33D83D

Dr-Noob commented 1 year ago

Strange, it should work. Can you confirm that you compiled the program from the latest commit? If you downloaded the program from the releases webpage or homebrew it may not include support for M2.

rcmendoza7 commented 1 year ago

No, I just rebuilt it from source. It didn't work on my end. I have a 13in MBPro M2

pthariensflame commented 1 year ago

This may be related: https://github.com/Homebrew/homebrew-core/actions/runs/3927182336/jobs/6713617747 Error: : Found invalid cpu_family: 0x00000000

Dr-Noob commented 1 year ago

No, I just rebuilt it from source. It didn't work on my end. I have a 13in MBPro M2

Can you please download the project again and try it? It should print the cpufetch version along with the error message - if you don't see the cpufetch version when the error message is printed, then it's not the last version.

Dr-Noob commented 1 year ago

This may be related: https://github.com/Homebrew/homebrew-core/actions/runs/3927182336/jobs/6713617747 Error: : Found invalid cpu_family: 0x00000000

It is a well-known error - you cannot fetch CPU information when running inside a VM.

Dr-Noob commented 5 months ago

This will probably work now, closing due to inactivity.