Skip to content
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

cpu speed not shown in ubuntu 20.04 #507

Open
armin-git opened this issue Aug 26, 2022 · 3 comments
Open

cpu speed not shown in ubuntu 20.04 #507

armin-git opened this issue Aug 26, 2022 · 3 comments

Comments

@armin-git
Copy link

my cpu is 12700 intel
why cpu speed is unknown?
Screenshot from 2022-08-26 14-57-51

@armin-git
Copy link
Author

i think i found why this happened
in this file system_info.cpp:
https://github.com/oguzhaninan/Stacer/blob/native/stacer-core/Info/system_info.cpp

you run lscpu command and split "model name" string by @ and get the last part of string that contain the cpu speed
for example i have intel i7-9700 and this is lscpu result

Screenshot from 2022-08-27 09-33-56

and the cpu speed in stacer dashboard:
Screenshot from 2022-08-27 14-27-22

but intel 12700 "model name", when run lscpu command, does not contain cpu speed,

Screenshot from 2022-08-27 14-33-21

therefore the cpu speed in stacer show as unknown
Screenshot from 2022-08-27 14-34-54

@armin-git
Copy link
Author

please put this issue to your plan for fixing thank you

@alexmyczko
Copy link
Contributor

@armin-git so what would be the right way to get the cpu speed? maybe post an issue at lscpu project, that they are not consistently showing cpu speed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants