Pavo Posted July 7, 2019 Author Share Posted July 7, 2019 On 7/5/2019 at 2:26 AM, URBANsUNITED said: So, means mine is ok too? I am a bit lost, sorry... Looking for possiblities why my system is under Catalina not waking up properly, but it does on Mojave. Thanks URBANsUNITED AGPM has nothing to do with Wake/Sleep Link to comment Share on other sites More sharing options...
innerd Posted July 7, 2019 Share Posted July 7, 2019 I know that the injector needs a proper cpu with x86platformplugin loaded, but is it possible to inject that proprieties with a workaround? I really need to fix my Vega 64 power management Link to comment Share on other sites More sharing options...
Pavo Posted July 7, 2019 Author Share Posted July 7, 2019 (edited) 34 minutes ago, innerd said: I know that the injector needs a proper cpu with x86platformplugin loaded, but is it possible to inject that proprieties with a workaround? I really need to fix my Vega 64 power management You might wanna look into https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Radeon.en.md, there are multiple ways to inject properties for the GPU. It seems you are wanting to change PowerPlay or "Wattsman" type settings, which is not Power Management is about. How could I tune my GPU configuration? ATI/AMD GPUs could be configured by aty_config, aty_properties parameters that one could find in AMDxxxxController.kext Info.plist files. Different framebuffers have overrides for these preferences for lower energy consumption, higher performance, or other reasons. Unfortunately in such combinations they often are unsuitable for different GPUs. WhateverGreen allows to specify your own preferred parameters via GPU controller properties to achieve best GPU configuration. Use CFG, prefix for aty_config properties, PP, prefix for aty_properties, and CAIL, prefix for cail_properties from AMDRadeonXxxxx.kext Info.plist files. For example, to override CFG_FB_LIMIT value in aty_config you should use CFG,CFG_FB_LIMIT property. Further details are available in SSDT sample to get the general idea. Edited July 7, 2019 by Pavo Link to comment Share on other sites More sharing options...
innerd Posted July 7, 2019 Share Posted July 7, 2019 (edited) Already changed those type of settings, with vgtab or PyVega. As I said in another topic I have a strange behavior with my vega64, the p-states probably don't work as they should, under load (like valley benchmark) i can see the core frequency around 500-1000 with fluctuant fps (Geekbench is even worse, the core can't raise over 100). It seems that the gpu doesn't receive the right instruction (just a guess) in those type of scenarios while for example in LuxMark the gpu can maximize correctly its core/memory frequency with more than decent results. Can it be a lack of power management? Any advises will be really appreciated Edited July 7, 2019 by innerd Link to comment Share on other sites More sharing options...
real3x Posted August 6, 2019 Share Posted August 6, 2019 Just a little clarification since i've lost track of what happen with AGPM, specially on AMD, i always had nvidia card since 10.5 :) On older sandy bridge which load ACPI_SMC_PlateformPlugin, there is no way to load x86PlateformPlugin so there is no way to activate AGPM (RX 580) ? Link to comment Share on other sites More sharing options...
ianxpluto Posted October 26, 2019 Share Posted October 26, 2019 (edited) Hi Pavo. Thank you for your app for us. I have a question, what's different between AGPMInjector and Whatevergreen boot arg agdpmod=ignore ? Edited October 26, 2019 by ianxpluto Link to comment Share on other sites More sharing options...
Pavo Posted October 26, 2019 Author Share Posted October 26, 2019 41 minutes ago, ianxpluto said: Hi Pavo. Thank you for your app for us. I have a question, what's different between AGPMInjector and Whatevergreen boot arg agdpmod=ignore ? AGPM = AppleGraphicPowerManagement. AGDP = AppleGraphicsDevicePolicy 1 Link to comment Share on other sites More sharing options...
ianxpluto Posted October 26, 2019 Share Posted October 26, 2019 7 minutes ago, Pavo said: AGPM = AppleGraphicPowerManagement. AGDP = AppleGraphicsDevicePolicy Sorry for bother you. I thought AGPM & AGDP are linked, because they will unload together and loaded together. Link to comment Share on other sites More sharing options...
ianxpluto Posted October 26, 2019 Share Posted October 26, 2019 As iMac 19,1 did I inject it right ? Link to comment Share on other sites More sharing options...
Pavo Posted October 26, 2019 Author Share Posted October 26, 2019 4 minutes ago, ianxpluto said: As iMac 19,1 did I inject it right ? Yeah looks correct. Link to comment Share on other sites More sharing options...
ianxpluto Posted October 26, 2019 Share Posted October 26, 2019 1 minute ago, Pavo said: Yeah looks correct. Awesome, thank you. Link to comment Share on other sites More sharing options...
Pavo Posted October 27, 2019 Author Share Posted October 27, 2019 Found a HUGE bug in the the app on version 2.7.7, if you generated a injector kext using this version please update to the latest (2.7.8) and re-generate your injector kext. 2 1 Link to comment Share on other sites More sharing options...
Pavo Posted November 17, 2019 Author Share Posted November 17, 2019 AGPMInjector 2.8.0 Released - Fixed MacPro7,1 crashing 3 1 Link to comment Share on other sites More sharing options...
telepati Posted November 18, 2019 Share Posted November 18, 2019 (edited) @Pavo I downloaded the new version and try to create a new one but no Enable IGPU option? Did you remove this? I think this is a bug; No IGPU after; Also it shows vendor and device ID instead of GFX0 Before; After Edited November 18, 2019 by telepati Link to comment Share on other sites More sharing options...
Pavo Posted November 18, 2019 Author Share Posted November 18, 2019 2 hours ago, telepati said: @Pavo I downloaded the new version and try to create a new one but no Enable IGPU option? Did you remove this? I think this is a bug; No IGPU after; Also it shows vendor and device ID instead of GFX0 Before; After Yes I removed IGPU option and working on adding them back again. Yes only the dGPU Vendor and Device IDs will be used now for dGPUs. 1 Link to comment Share on other sites More sharing options...
jinbingmao Posted November 20, 2019 Share Posted November 20, 2019 (edited) Edited November 20, 2019 by jinbingmao add Link to comment Share on other sites More sharing options...
theoriginalmagneto Posted November 21, 2019 Share Posted November 21, 2019 I just discovered this, thanks! However, since I'm using the iGPU for encoding/decoding HEVC, I don't think I can use the kext...yet. Hope you re-add the iGPU support soon Link to comment Share on other sites More sharing options...
ghost8282 Posted January 2, 2020 Share Posted January 2, 2020 (edited) Thanks for this Pavo! Is it possible to add the GTX Titan Black? Vendor: 10de Device id: 100c I added a pull request in github. I generated the kext by using the 'GTX Titan' and then I manually edited the device id into the kext, everthing seems ok. I'm running catalina inside kvm/qemu. Edited January 2, 2020 by ghost8282 Link to comment Share on other sites More sharing options...
Paksman Posted January 2, 2020 Share Posted January 2, 2020 2 hours ago, ghost8282 said: Thanks for this Pavo! Is it possible to add the GTX Titan Black? Vendor: 10de Device id: 100c I added a pull request in github. I generated the kext by using the 'GTX Titan' and then I manually edited the device id into the kext, everthing seems ok. I'm running catalina inside kvm/qemu. I'm not 100% shure but according to toleda, heuristic id for Nvidia gpu should be 4, not ffffffff 1 Link to comment Share on other sites More sharing options...
ghost8282 Posted January 2, 2020 Share Posted January 2, 2020 (edited) 3 hours ago, Paksman said: I'm not 100% shure but according to toleda, heuristic id for Nvidia gpu should be 4, not ffffffff Not sure 100% me too The generated kext for 'Titan' with the Pavo app 2.8.8 has -1 (0xffffffff). However I found an older kext and the toleda's post with a value of 4 for nvidia. I switched yesterday from 4 to -1 and I didn't notice any change in the behaviour. Moreover, I saw around different templates for the AGPM injector kext, with additional entries, such as Threshold_High and Threshold_Low..Also for the structure: Pavo's app generates the VendorXXXXDevice1234 tree, other templates, such as that of toleda have also the GFX0 tree...but maybe things are changed, so there's some confusion in my mind, maybe someone can explain it a bit. Thanks Edited January 2, 2020 by ghost8282 Link to comment Share on other sites More sharing options...
Pavo Posted January 2, 2020 Author Share Posted January 2, 2020 @ghost8282 Added. 1 1 Link to comment Share on other sites More sharing options...
cclark170 Posted January 7, 2020 Share Posted January 7, 2020 I'm having a hard time getting this to work. My setup is: Catalina 10.15.2 SMBIOS set as iMac19,1 MSI Vega56 dGPU UHD630 iGPU (i7-9700k CPU) The generated kext has the following Info.plist: But in IORegistry Explorer, I see this: It seems like the injector is just not doing what it is supposed to. I did notice the following in my Console log: Quote 2020-01-06 22:13:28.794386-0600 localhost kernel[0]: (AppleGraphicsPowerManagement) <AppleGraphicsPowerManagement`AGPMLogString(AGPMLogLevel, AGPMLogModule, char const*, unsigned int, char const*, char const*, ...)> [AGPM][WARN ][CONTROLLER ][createAGPMClass ] GPU = GFX0 unknownPlatform (no matching vendor_id+device_id or GPU name); don't create AGPM class I don't know if it could be related or not. Thanks in advanced! Link to comment Share on other sites More sharing options...
Pavo Posted January 7, 2020 Author Share Posted January 7, 2020 26 minutes ago, cclark170 said: I'm having a hard time getting this to work. My setup is: Catalina 10.15.2 SMBIOS set as iMac19,1 MSI Vega56 dGPU UHD630 iGPU (i7-9700k CPU) The generated kext has the following Info.plist: But in IORegistry Explorer, I see this: It seems like the injector is just not doing what it is supposed to. I did notice the following in my Console log: I don't know if it could be related or not. Thanks in advanced! The log error has nothing to do with my kext injector, because it doesn't match against GPU device name, it matches against the Vendor and Device-ID. I dunno why its not working for you unless whatever boot loader you are using isn't injecting kext correctly. It is working fine for multiple other users right now. Link to comment Share on other sites More sharing options...
theoriginalmagneto Posted January 8, 2020 Share Posted January 8, 2020 On 1/20/2019 at 6:12 PM, Pavo said: Added user notification if there is an update on Github AGPMInjector_2.3.4 Any chance to add Intel IG support? Link to comment Share on other sites More sharing options...
telepati Posted January 16, 2020 Share Posted January 16, 2020 (edited) @Pavo did you remove 19,1 I don't see it in the latest version? Edited January 16, 2020 by telepati Link to comment Share on other sites More sharing options...
Recommended Posts