aluveitie / radeonsensor Goto Github PK
View Code? Open in Web Editor NEWMonitoring Radeon GPU temperature on macOS
Monitoring Radeon GPU temperature on macOS
Hi, first thanks for the kexts.
Using smcread -s
I get the following:
TG0D [sp78] 3.437500 (bytes 37 00)
TG0P [sp78] 3.437500 (bytes 37 00)
TG0d [sp78] 3.437500 (bytes 37 00)
TG0p [sp78] 3.437500 (bytes 37 00)
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"
} else if ioClass.contains("amd") { // amd
predictModel = "AMD Graphics"
type = .discrete
if temperature == nil || temperature == 0 {
if let tmp = SMC.shared.getValue("TGDD"), tmp != 128 {
temperature = Int(tmp)
}
}
} else if ioClass.contains("intel") { // intel
predictModel = "Intel Graphics"
type = .integrated
if temperature == nil || temperature == 0 {
if let tmp = SMC.shared.getValue("TCGC"), tmp != 128 {
temperature = Int(tmp)
}
}
The keys from SMCRadeonGPU.kext are translated as follows in Stats:
"Stats/Modules/Sensors/values.swift"
Sensor(key: "TCGC", name: "GPU Intel Graphics", group: .GPU, type: .temperature),
Sensor(key: "TG0D", name: "GPU diode", group: .GPU, type: .temperature),
Sensor(key: "TGDD", name: "GPU AMD Radeon", group: .GPU, type: .temperature),
Sensor(key: "TG0H", name: "GPU heatsink", group: .GPU, type: .temperature),
Sensor(key: "TG0P", name: "GPU proximity", group: .GPU, type: .temperature),
I also found this SMC key listing that shows the same:
{Key: "TCGC", Desc: "GPU Intel Graphics"},
{Key: "TG%D", Desc: "GPU Diode %"},
{Key: "TGDD", Desc: "GPU AMD Radeon"},
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 temperature of the GPU with the latest RadeonSensor 0.31 and SNCRadebGPU version 0.31 with VirtualSMC v1.2.8 can't be read.
Hi, thanks for the cool tool.
Just wondering can it be supported for iStat Menu & Sensei in Ventura?
My graphic is RX590, RadeonGadget App works in Ventura, I can see temperature from menu, but cannot display GPU temperature both from Sensei and iStat Menu, Lilu and VirtualSMC has been loaded correctly but just no show GPU temperature.
Any ideas? Thank you.
Hello,
This gadget is great, but it is not working with the AMD Radeon PRO VII, (enterprise card), temperature reporting has not worked either in Stats or iStats app or Macs Fan Control.
Also, when I try to use the included app, it says no radeonsensor found and to download it. I assume this refers to the radeonsensor.kext?
I have enabled the loading of both the radeonsensor.kext and SMCRadeonGPU.kext in opencore for my machine. So I am not sure what I am missing here.
Maybe this is not worth it since it just to show the temp, but it would be nice to have to be able to control fans according to GPU temp. Is there a chance you could have a look to maybe include this card in the Radeon Sensor gadget?
Thanks!
After updating to 0.3.2, 6800 XT's GPU die temp cannot be detected - Issue #21
Same for me with 2 RX 6600 XT in 2 identical Hacks (Z390 + i9-9900) but it's iStat Menus where I've lost the GPU temp.
Previous version working fine.
RadeonGadget.app works fine in both versions.
Kexts seems to be loaded with kextstat | grep Radeon
.
Anyway, thanks for your work.
No Catalina support for RadeonGadget
Hi,
I use OpenCore on my MacBook Pro to get external GPU support for my RX 5700 XT. The package I use includes Lilu, does this mean that the RadeonSensor.kext should work with my config? And if I've understood correctly, do I need to use the SMCRadeonGPU.kext for iStats support (I don't have VirtualSMC, but I guess I can implement it to my config if required)?
Thanks.
Hi, I'm trying to inject this with OpenCore but upon startup SMCRadeonSensor will not load. RadeonSensor loads just fine and can be seen in kextstat output. Loading it via command-line when RadeonSensor is successfully injected by OC will give:
Executing: /usr/bin/kmutil load -p /Library/Extensions/SMCRadeonGPU.kext
Error Domain=KMErrorDomain Code=31 "Error occurred while building a collection:
1: One or more binaries has an error which prevented linking. See other errors.
2: Could not use 'aluveitie.SMCRadeonGPU' because: Failed to bind '__ZN12RadeonSensor9metaClassE' as could not find a kext with 'aluveitie.RadeonSensor' bundle-id
aluveitie.SMCRadeonGPU specific:
1: Failed to bind '__ZN12RadeonSensor9metaClassE' as could not find a kext with 'aluveitie.RadeonSensor' bundle-id
" UserInfo={NSLocalizedDescription=Error occurred while building a collection:
1: One or more binaries has an error which prevented linking. See other errors.
2: Could not use 'aluveitie.SMCRadeonGPU' because: Failed to bind '__ZN12RadeonSensor9metaClassE' as could not find a kext with 'aluveitie.RadeonSensor' bundle-id
aluveitie.SMCRadeonGPU specific:
1: Failed to bind '__ZN12RadeonSensor9metaClassE' as could not find a kext with 'aluveitie.RadeonSensor' bundle-id
}
Help please?
Hello, thank you for this amazing project.
I have issues compiling the project. Unfortuently I have no much experience with this.
After running xcodebuild I'm getting this fatal error:
/Users/macpro/openCore/RadeonSensor-0.3.1/RadeonSensor/RadeonSensor.hpp:20:10: fatal error: 'Headers/kern_efi.hpp' file not found
#include <Headers/kern_efi.hpp>
^~~~~~~~~~~~~~~~~~~~~~
MacOS 11.6.5
xcode Version 13.2.1 (13C100)
Any advice is much appreciated, or maybe a precompiled version? :)
The release zip
https://github.com/aluveitie/RadeonSensor/releases/download/0.3.1/RadeonSensor-0.3.1.zip
Doesn't contain any kexts, what is the latest build? Should I be using kexts in 0.3.0?
They work well on my hackintosh with rx5700xt on Mac 11.6.1 . If they can support read power status that would be more perfect. Expecting update.
Hi! Thank you for your work, I needed that!
Sadly sensor are showing 0°C, in GPU Die, GPU Proximity, and RadeonSensor.app too.
iStats Menu manages to read the temperature here (48°C now), as follows:
My card is AMD Sapphire Nitro Radeon R9 380 4 GB
Device ID: 0x6939
Vendor ID: 0x1002
Revision ID: 0x00f1
Do you have any ideas? I can't exclude I have broken sensors on my GPU.
Thanks in advance.
Cheers,
Michele 🇮🇹
SMCRadeonGPU.kext is added
RadeonSensor.kext is added
Bootloader : OC 0.7.6 Release & 0.7.6 Debug.
Booth version display the same thing.
2021-12-28 22:51:01.600433+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600437+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600439+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600442+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600467+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600507+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600513+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2021-12-28 22:51:01.600518+0800 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
I got lot of this on MSI RX 5500 XT. Any Idea?
Thank You so much for creating the RadeonSesor.kext. I've had my 5700XT for 2 years. I gave up hope on a temp sensor for the 5700XT😀
Hi, aluveitie.
My graphic card is Sapphire RX6600XT 8G which say GPU temperature is 0˚. Could you fix it?
Many thanks.
Hi there, thanks for the amazing tool!
I have 3 GPUs in my system, and sometimes one or two of them won't show up on the RadeonGadget menu bar.
Wondering if there's a way to troubleshoot this together?
Thanks!
While RadeonSensor.kext and RadeonGadget.app work without any problem SMCRadeonGPU is not showing any data in iStats or any other app (Mac Fan Control...).
VirtualSMC is not installed because it is genuine Mac and all other fans data are shown as normal
Installed GPU is XFX Radeon RX6600 XT swift 210 with hardware switch for silent and game mode. It doens't matter which mode is on
how to fix?
2022-08-15 17:46:33.447641+0200 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
2022-08-15 17:46:33.447645+0200 localhost kernel[0]: (SMCRadeonGPU) <compose failure [UUID]>
Hi, aluveitie, thank you for your great work. I'm wondering if there is any way to support iStat Menu, is this possible?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.