-
Notifications
You must be signed in to change notification settings - Fork 26
SMC Key for TGDD and TCGC - Stats temperature not showing #14
Comments
Thanks for your detailed investigation 👍 This was a very tricky topic to begin with since the set of smc keys is specific to the SMBIOS used. If you look into dumps from VirtualSMC you'll see that |
That's great. Thanks so much for your help. Let me know if there's anything else I can do. Thanks again. |
I made a custom build of the SMCRadeonGPU kext to publish TGDD for the first found GPU: |
Ok. I tried the custom build. I noted the following from running
So it looks like all the SMC key values are inverted? I included the complete listing from the command in the attached file. Thanks. |
Right, they have to be added in a specific order, otherwise this happens... |
Seems the order has changed but the SMC key values are still reversed.
Thanks. |
I also use the Stats app and I noticed the GPU Temp shows up in the Sensors section under GPU Proximity as it uses the TG0P Key based on @seven-of-eleven findings through Stats source. I wanted to know if there was any progress on this implementation with TGDD Key? |
I retried it, but still can't figure out why the keys get inverted. I already ran into this once years ago but forgot why this exactly happens... |
Finally got a build working:
You can try: |
Sorry for the delayed response @aluveitie |
Hi, first thanks for the kexts.
Using
smcread -s
I get the following:So I know your kext is working. However I am using Stats and the iGPU and 6600XT temperatures don't show. I did some digging in the Stats code and noted that it is using:
"Stats/Modules/GPU/reader.swift"
The keys from SMCRadeonGPU.kext are translated as follows in Stats:
"Stats/Modules/Sensors/values.swift"
I also found this SMC key listing that shows the same:
I have managed to manually change the Stats code and compile the program by simply changing the SMC key names and it does work but would require a recompile for each update.
So my ask is, can the TGDD key be added to your SMCRadeonGPU.kext? I tried but adding the TGDD key but was unsuccessful (I have no experience with this, other than poking through some code 😀).
The text was updated successfully, but these errors were encountered: