-
Notifications
You must be signed in to change notification settings - Fork 103
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
Incorrect/missing detection for CPU (Mediatek Dimensity 9300) #288
Comments
Hey, thanks for the report. Can you please check with the latest version? (you can find how to compile it here). It should give you the right microarchitecture and still unknown SoC. In such case, can you please share the output of:
Thanks! |
Hey,
|
My bad, |
Output of
|
It does not seem to be fetching the android properties (at least it's not shown in the output...), which is extremely odd. Have you compiled in Linux then copied the binary to your phone, or compiled directly in your phone? I have added support for your SoC in the branch |
Hey, thanks for prompt response. I have compiled cpufetch directly in termux on my phone. UPDATE u0_a298@localhost:~/git/cpufetch$ ./cpufetch --verbose
[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
SoC: MediaTek Dimensity 9300
Technology: 4nm
CPU 1:
Microarchitecture: Cortex-A720
Max Frequency: 2.000 GHz
Cores: 4 cores
## ## ###### ###### # ### @@@@@@ @@@@@@ @@ @@ Features: NEON,SHA1,SHA2,AES,CRC32
### ### # # # # #### @@ @ @@ @@ CPU 2:
######## # ### # # # ## ## @@ @ @@@ @@@@ Microarchitecture: Cortex-X4
## ### ## # # # # ## ## @@ @ @@ @@ Max Frequency: 2.850 GHz
## ## ## ###### ##### # ## ## @@ @@@@@@ @@ @@ Cores: 3 cores
Features: NEON,SHA1,SHA2,AES,CRC32
CPU 3:
Microarchitecture: Cortex-X4
Max Frequency: 3.250 GHz
Cores: 1 cores
Features: NEON,SHA1,SHA2,AES,CRC32
Peak Performance: 505.60 GFLOP/s
|
Android has this thing called build or system properties. They can be read using termux or adb shell using For instance when I executed u0_a298@localhost:~$ getprop | grep -Pi ': (?=.*(mt|mediatek|dimensity|9300|6989).*)'
[Build.BRAND]: [MTK]
[dalvik.vm.mtk-stack-trace-file]: [/data/anr/mtk_traces.txt]
[persist.vendor.connsys.chipid]: [0x6989]
[persist.vivo.voicewakeup.chip.type]: [mtk]
[ro.board.platform]: [mt6989]
[ro.boot.hardware]: [mt6989]
[ro.gfx.driver.0]: [com.mediatek.mt6989.gamedriver]
[ro.hardware]: [mt6989]
[ro.hardware.hwcomposer]: [mtk_common]
[ro.netflix.bsp_rev]: [MTK6989-37732-1]
[ro.product.board]: [k6989v1_64]
[ro.soc.manufacturer]: [Mediatek]
[ro.soc.model]: [MT6989]
[ro.sys.usb.storage.type]: [mtp]
[ro.vendor.mediatek.platform]: [MT6989]
[ro.vendor.soc.manufacturer]: [Mediatek]
[ro.vendor.soc.model]: [MT6989]
[ro.vendor.soc.model.external_name]: [MT6989W/CZA]
[ro.vendor.soc.model.part_name]: [MT6989W/CZA]
[ro.vivo.product.platform]: [MTK6989]
[ro.vivo.product.solution]: [MTK]
[vendor.connsys.bt_fw_ver]: [t-neptune-mp-mt6639-2338-tc19sp-MT6639_E1_ASIC_ROM_RAM_MOBILE_DX3_BT-20240412113624]
[vendor.gsm.project.baseband]: [BBK_U0MP1_K6989V1_64(NLWCG_FR1_CUSTOM)]
[vendor.wlan.firmware.version]: [t-neptune-mp-mt6639-2338-tc19sp-MT6639_E1_ASIC_ROM_RAM_MOBILE_DX3_WF-20240408100107] Maybe there properties can somehow be used for identification, for example |
It's fine if it shows a warning when running with |
Thank you! |
Everything alright, thanks! Just merged into master, closing. |
Hello,
I'm getting errors when running cpufetch, it says "Unknown microarchitecture detected"
CPU: 3.25GHz Mediatek Dimensity 9300 (Octa Core)
OS: Android 14 (and Termux 0.118.1)
Version:
cpufetch v1.06 (Android ARM build)
Note: this CPU is 64 bit only
The output of
cpufetch
:The output of
cpufetch --debug
:Some more details generated by Android Hardware info apps:
CPU-Z debug info:
The text was updated successfully, but these errors were encountered: