-
Notifications
You must be signed in to change notification settings - Fork 417
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
[BUG] Incorrect detection of CPU name & cores on android/termux #1202
Labels
bug
Something isn't working
Comments
CPU name detection should be fixed. I'm not sure about core count. Please test the dev build. |
Please try this C program: // Copied from `man 3 get_nprocs`
#include <stdio.h>
#include <stdlib.h>
#include <sys/sysinfo.h>
int
main(void)
{
printf("This system has %d processors configured and "
"%d processors available.\n",
get_nprocs_conf(), get_nprocs());
exit(EXIT_SUCCESS);
} |
Were you using the android phone that report incorrect cpu core count? |
No, I did a ssh connection to the phone with the incorrect cpu core count and run the c program there. |
What does |
[
{
"type": "CPU",
"result": {
"cpu": "Qualcomm MSM8226",
"vendor": "ARM",
"cores": {
"physical": 4,
"logical": 4,
"online": 1
},
"frequency": {
"base": 0,
"max": 0,
"biosLimit": 0
},
"coreTypes": [],
"temperature": null
}
}
] |
Can you run it several times more? |
CarterLi
added a commit
to CarterLi/fastfetch
that referenced
this issue
Aug 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
General description of bug:
termux.mentality.rip
)Often helpful information:
Screenshot:
both on sudo and non-sudo shows the incorrent cpu name/count, the locale is also wrong while using sudo, but thats for another issue.
cat /proc/cpuinfo
:Output of
fastfetch -c ci.jsonc --format json
:Click to expand
Output of
fastfetch --list-features
:The text was updated successfully, but these errors were encountered: