Code Monkey home page Code Monkey logo

radeonsensor's People

Contributors

aluveitie avatar nvollmar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

radeonsensor's Issues

SMC Key for TGDD and TCGC - Stats temperature not showing

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:

  • TGDD for the Radeon temperature
  • TCGS for the iGPU temperature
    image

"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 😀).

Can it support iStat Menu & Sensei within Ventura?

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.

Mac Pro 5,1 with Opencore and using enterprise card AMD Radeon PRO VII, (Vega 20 GPU)

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!

Support

No Catalina support for RadeonGadget

Does this work on a real Mac with OpenCore?

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.

OpenCore cannot inject SMCRadeonSensor.kext

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?

Compile error: fatal error: 'Headers/kern_efi.hpp' file not found

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? :)

Showing 0°C

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) <compose failure [UUID]>

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

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😀

GPUs not always detected with RadeonGadget

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!

SMCRadeonGPU.kext not working on Mac Pro 5.1 with RX6600 XT

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

(SMCRadeonGPU) <compose failure [UUID]>

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]>

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.