Code Monkey home page Code Monkey logo

Comments (11)

SergeyMy avatar SergeyMy commented on June 11, 2024

the indicators are in place and the values ​​are correct, but cpu-x is trying to take the wrong thing and divide it into something else
:)

an error occurred while opening file 'Core 0'
:):):):):):):):)
string_format_temperature_unit: 37.00°C ==> -1107447614°C

from cpu-x.

TheTumultuousUnicornOfDarkness avatar TheTumultuousUnicornOfDarkness commented on June 11, 2024

string_format_temperature_unit: 37.00°C ==> -1107447614°C

My bad, I put an integer into a double and formatted it as integer... Fixed by cc7a23e.

For issue with get_sensor_path_cpu_temperature_driver(), it looks like it is trying to open file content instead of file name. It will try to reproduce this issue.

from cpu-x.

SergeyMy avatar SergeyMy commented on June 11, 2024

😆

from cpu-x.

SergeyMy avatar SergeyMy commented on June 11, 2024

I'll check in 10 hours on i5-6400, but at least the code is built and works on AMD Ryzen 7 5700G

PS
btw you are constantly trying to open
an error occurred while opening file '/sys/bus/pci/devices/ videodevice /freq2_input'
without even checking if the object exists! but that's another story :) and again the GPU
Many built-in GPUs do not have a RAM frequency parameter
изображение

from cpu-x.

SergeyMy avatar SergeyMy commented on June 11, 2024

the temperature seems to be correct, but in demon mode, in normal mode the error remains :(

fopen_to_str: opening '/sys/class/hwmon/hwmon2/name'
fopen_to_str: opening '/sys/class/hwmon/hwmon0/name'
fopen_to_str: opening '/sys/class/hwmon/hwmon3/name'
fopen_to_str: opening '/sys/class/hwmon/hwmon3/temp4_label'
fopen_to_str: opening '/sys/class/hwmon/hwmon3/temp1_label'
fopen_to_str: opening '/sys/class/hwmon/hwmon3/temp5_label'
fopen_to_str: opening '/sys/class/hwmon/hwmon3/temp2_label'
get_sensor_path_cpu_temperature_driver: current_core_id=0 ==> ret=Core 0
fopen_to_str: opening 'Core 0'

an error occurred while opening file 'Core 0'

failed to retrieve CPU temperature (fallback mode)

PS Your CPU socket is not present in the database ==> Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz, codename: Comet Lake (Core i5)

cpu-x.log

from cpu-x.

SergeyMy avatar SergeyMy commented on June 11, 2024

@TheTumultuousUnicornOfDarkness
it works!
изображение
изображение

from cpu-x.

TheTumultuousUnicornOfDarkness avatar TheTumultuousUnicornOfDarkness commented on June 11, 2024

the temperature seems to be correct, but in demon mode, in normal mode the error remains :(

Yes because the daemon reads CPU temperature from MSR on Intel CPUs. Without daemon, it fallbacks to coretemp in your case, thus this bug.
Fixed by 1746e73.

from cpu-x.

TheTumultuousUnicornOfDarkness avatar TheTumultuousUnicornOfDarkness commented on June 11, 2024

PS Your CPU socket is not present in the database ==> Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz, codename: Comet Lake (Core i5)

Added in 053f9b0.

from cpu-x.

TheTumultuousUnicornOfDarkness avatar TheTumultuousUnicornOfDarkness commented on June 11, 2024

btw you are constantly trying to open
an error occurred while opening file '/sys/bus/pci/devices/ videodevice /freq2_input'
without even checking if the object exists! but that's another story :) and again the GPU
Many built-in GPUs do not have a RAM frequency parameter

Fixed in a54f78d.

from cpu-x.

TheTumultuousUnicornOfDarkness avatar TheTumultuousUnicornOfDarkness commented on June 11, 2024

Thank you @SergeyMy for your feedback.
It is hard for me to test everything (I only have AMD Ryzen CPU with a Radeon GPU; no Intel CPU and no NVIDIA GPU), that is why you faced so many bugs.

Feel free to open a new issue if you discover other bugs.

from cpu-x.

SergeyMy avatar SergeyMy commented on June 11, 2024

@TheTumultuousUnicornOfDarkness

btw you are constantly trying to open
an error occurred while opening file '/sys/bus/pci/devices/ videodevice /freq2_input'
without even checking if the object exists! but that's another story :) and again the GPU
Many built-in GPUs do not have a RAM frequency parameter

Fixed in a54f78d.

изображение
Yes, I'm shocked myself, but the log is higher

from cpu-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.