-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[linux] Can't recognize the cpu name correctly on arm64. #567
Comments
I will just call lscpu and fetch its output |
I have output from lscpu on the AWS t4g here: #566 |
What's |
|
What's
I can't use that, because the property |
We can't use code of lscpu because of the GPL license issue. |
This is the output of my lscpu:
|
Does |
no
|
Strange. Maybe you are using an old lscpu version |
It's possible, the version I'm using is 2.38-5 but I'll update it soon when I realize |
|
Please test it |
@CarterLi please re-open. this issue is still present fastfetch 2.16.0
I would prefer that |
There is a BSD clause 3 licensed version of lscpu too. EDIT: Not sure whether it would work on Linux, though. |
It's for x86 only |
mapping tables matching the variant/part to a friendly name are not code and are not subject to licenses. these variant/part to friendly name tables all come from public license free resources. |
Sorry I didn't follow your feedback format. I noticed that on Huawei Pangu ARM machines the CPU name is output as unknown:
But the name output on the lscpu is correct, After looking at the code I realized that the lscpu does something special for arm64 cpus https://github.com/util-linux/util-linux/blob/87f491671efb920ddd1c45c70dc8016f072851bb/sys-utils/lscpu-arm.c
Hopefully fastfetch will also support recognizing
The text was updated successfully, but these errors were encountered: