-
Notifications
You must be signed in to change notification settings - Fork 0
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
Errors and Wrong path to the value of temperature #3
Comments
If you changed line 153, you might need to change line 131 as well, since line 131 would try to search your cpu temp. sensor, I haven't tested this code with with Proxmox yet, but I think I will try it whenever I have the time. |
do i need line 131? or can i just mark it out // # something like that? |
I think i got everything right, could you maybe explain me what this is for? - >#define CPU_TEMP_CMD_LEN 9 |
There was a kernal update and i update the lm-sernsors But the Watercooler is working fine....
|
May I know your current kernel version? Are you using it in proxmox? I didn't try it on Proxmox yet. I will be testing on Proxmox soon though, please feel free to let me know the Proxmox version you are using so that I can test with it. |
Kernel 6.5.11-7-pve And this is not my cpu temp its something else /sys/class/thermal/thermal_zone%d/temp",priv->cputhermalzoneid); it was befor on hwmon4 <- now its hwmon5 since the update and i need to edite it allways my self cause it cant fine it by self. is it because maybe i got just a diffrent cpu, using threadripper 3960x |
Could you help me to check each of your /sys/class/thermal/thermal_zone?/type, because I don't have a threadripper to test with at the moment, and I would need to know which of the thermal_zone number correspond to your CPU temperature. For you information, I tested PVE with my i9-13900 CPU and it runs fine, so I think it's because of my code does not recognize your CPU yet, your help to help me identify your CPU would be helpful. |
its thermal_zone0 and 1 i think but its strangely not the cpu temp.. its says an other temp of an other device. |
could you help to run the following commands and show me the result? |
|
You are right both are not the CPU temp, when you run "sensors" do you see your CPU temperature? |
|
its in - > /sys/class/hwmon/hwmon5/temp1_input |
to get it work even with error i dont this:
|
could you help to run the following command? |
Thats the CPU:
|
/sys/class/hwmon/hwmon5/temp1_input temp1 is i think Tctl: +58.6°C cause checking it show the same temp as sensors command
It could be that may mainboard handel it otherway. |
seems your CPU temp is in this it8792-isa-0a60? |
when i turn on prime test for cpu it dont go high the temp in it8792-isa-0a60 the cpu is k10temp-pci-00c3
Main sensor is Tctl <-- i got gigabyte TRX40-AORUS-XTREME |
please try to change line to |
this works but has same errors too and print is off:
|
sorry my bad, line 110 should be line 135 |
i think it work, thanks!!! No error untill now btw this dont work for me:
or do i need to restart then? Only work if i do:
For none reboot then this: ./Makefile |
|
And if i want to install it i dont it right ? |
if you want to install it, I think you did right, i just tested on my PVE
|
Thanks very much!! 👍 This is not the right place to ask but: I got a other question, i m using pve as workstation and i m on my windows hole time with it as vm. Do u know something about laytency? i have IRQ balance installed cause i dont wana use cpu pinning, if i use it, i wont be flexibel just creating vm or use more cores if i need, cause i need to then always edite the pinning or SMT affinity. Its total a mess with that and laytency i got. When i start LatencyMon even then my sound start cracking more and often if i test with LatencyMon. Do u know something about it? Already compiled the kernel with 1000hz i think it help with video a bit and now i m working on qemu changes and compiling because some Games not working because anticheat. How i have it right now is perfect for work stuff and gaming but Latency is not great. |
I am not familiar with latency tuning on QEMU vm at the moment, if I some how get those information in future, I would get back to you. I am also interested to know how to recompile QEMU to fix the anticheat issue, would appreciate if you would put in a few pointers here. |
Thanks😊 |
Do u know maybe why i m getting again errors? 🥲 |
I just turn off the print again. |
Could you post the waterforce.c here and let me have a look? |
in this code i turn the print off in the line:
|
when the error show up, does the "CPU temperature:" also show up as well? |
everything work, display, temp shows, cooler works to and cool the cpu. only thing is, this error is there even it works.
|
there seems to be no hwmon3 directory, and since the code currently just iterative from hwmon0 to hwmon9, it would throw error message when the file or the directory is not there, I will see if I can just open directory from within the hwmon directory only. In the mean time you can just comment the Error opening file message. |
Ok 👍 Would it not help something like if not exist? just ignore it? |
Hello, first of all, thank you very much for your code.
Unfortunately, it didn't work right away...
The line 153 with: sprintf(path, "/sys/class/thermal/thermal_zone%d/temp", priv->cputhermalzoneid); does not match my CPU and system; I am using Proxmox Debian and an AMD Threadripper. I changed line 153 to the path where my system actually shows the value that your code needs. However, I have the problem that your code posts a lot of errors in my console. I have deactivated it in your code, but I would like to know why this is happening and whether it is a serious issue?
The text was updated successfully, but these errors were encountered: