-
Notifications
You must be signed in to change notification settings - Fork 19
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
1.4 Xbox with kpatch 1.0.x m8plus bios displays ridiculous CPU temps in xbmc4xbox dashboard #24
Comments
More than likely just a bug in XBMC. The GetCPUTempInternal() function here is very suspect. Direct I/O calls outside of the kernel should be wrapped in KeEnterCriticalRegion/KeLeaveCriticalRegion(), especially since the application is multi-threaded. Additionally, it appears that on 1.6 systems it's just reading the temp from the SMC over the SMBus and should be calling the HalReadSMBusValue() kernel function instead. If that's the case then it would have to be corrected inside of the application. Non-official software has a very low chance of having a workaround implemented in our kernel patches. (Not to mention the complexity of targeting all of the different builds) I'll circle back around to this later, but if someone wants to reimplement CFanController::GetCPUTempInternal() correctly to see if it fixes the issue then that would be much appreciated! |
Closing this as it's outside the scope of the HD+. Notes have been left on what can be done to fix the issue inside of XBMC's codebase. |
XBMC appeared to be going around the kernel to read CPU temps, switching to HalReadSMBusValue() fixed this issue for me, side benefits are that you don't have to wait for 10 samples to get a CPU temp on the 1.6 Xbox. if (!bIs16Box) |
Noticed this issue on both kpatch 1.0.0 and 1.0.1 bioses.
Right after starting up the dashboard, it will display CPU temperature in 1k+ degrees Celsius range. If you switch between skins (for example, project mayhem 3 to confluence lite), temperatures will display correctly, but if you re-start the dashboard again, they will be displayed wrongly again. When testing this with earlier patched bios, such as iND5003 1.4.3, they get displayed correctly from the beginning.
Exact dashboard version and system specs: XBMC4XBOX 3.5.3-r33027, 1.4 system with XBOXHDMI board on 2.0.5 firmware
some pictures:
The text was updated successfully, but these errors were encountered: