Jump to content
Pavo

AGPM Injector kext generator app!!

75 posts in this topic

Recommended Posts

Advertisement

10.14.4 Beta 1 18E174f


Process:               AGPMInjector [5909]
Path:                  /Applications/AGPMInjector.app/Contents/MacOS/AGPMInjector
Identifier:            com.pavo.AGPMInjector
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           AGPMInjector [5909]
User ID:               501

Date/Time:             2019-01-25 19:10:07.588 +1030
OS Version:            Mac OS X 10.14.4 (18E174f)
Report Version:        12
Anonymous UUID:        23ECEAF3-99A2-B098-B196-5FBECC9DAFEC


Time Awake Since Boot: 720 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 0000000101d71000-0000000101ea3000 [ 1224K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x0000000108649000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffeede8ec08
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000108649000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x101d71000 -        0x101ea2ff7 + (0) <62C9B8BD-3857-3605-AD98-457ECBA5CE9B> 
       0x108648000 -        0x1086b268f + (655.1) <E091E2A9-0B3B-3B0C-9E07-2EBF9EF181FC> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1395
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1880K resident=0K(0%) swapped_out_or_unallocated=1880K(100%)
Writable regions: Total=8716K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8716K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
__DATA                             844K        4 
__LINKEDIT                         228K        2 
__TEXT                            1652K        2 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                             66.7M       12 

Model: iMac17,1, BootROM 161.0.0.0.0, 4 processors, Intel Core i7, 4 GHz, 32 GB, SMC 2.33f10
Graphics: Radeon RX 580, Radeon RX 580, PCIe, 8 GB
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 0/DIMM1, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 1/DIMM1, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.7)
Bluetooth: Version 6.0.11d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: KINGSTON SHSS37A240G, 240.06 GB
Serial ATA Device: KINGSTON SHSS37A240G, 240.06 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: CORSAIR STRAFE RGB MK.2 Mechanical Gaming Keyboard
USB Device: AK5370
USB Device: Corsair Gaming M65 Pro RGB Mouse
USB Device: USB 3.1 Bus
USB Device: USB3.1 Hub
USB Device: USB2.1 Hub
Thunderbolt Bus: 
Edited by SavageAUS

Share this post


Link to post
Share on other sites
4 hours ago, SavageAUS said:

10.14.4 Beta 1 18E174f


Process:               AGPMInjector [5909]
Path:                  /Applications/AGPMInjector.app/Contents/MacOS/AGPMInjector
Identifier:            com.pavo.AGPMInjector
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           AGPMInjector [5909]
User ID:               501

Date/Time:             2019-01-25 19:10:07.588 +1030
OS Version:            Mac OS X 10.14.4 (18E174f)
Report Version:        12
Anonymous UUID:        23ECEAF3-99A2-B098-B196-5FBECC9DAFEC


Time Awake Since Boot: 720 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

kernel messages:

VM Regions Near 0 (cr2):
--> 
    __TEXT                 0000000101d71000-0000000101ea3000 [ 1224K] r-x/rwx SM=COW  

Thread 0 Crashed:
0                                     0x0000000108649000 _dyld_start + 0

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ffeede8ec08
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x0000000108649000  rfl: 0x0000000000000200  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x00000000
Trap Number:     0


Binary Images:
       0x101d71000 -        0x101ea2ff7 + (0) <62C9B8BD-3857-3605-AD98-457ECBA5CE9B> 
       0x108648000 -        0x1086b268f + (655.1) <E091E2A9-0B3B-3B0C-9E07-2EBF9EF181FC> 

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1395
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1880K resident=0K(0%) swapped_out_or_unallocated=1880K(100%)
Writable regions: Total=8716K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8716K(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
__DATA                             844K        4 
__LINKEDIT                         228K        2 
__TEXT                            1652K        2 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                             66.7M       12 

Model: iMac17,1, BootROM 161.0.0.0.0, 4 processors, Intel Core i7, 4 GHz, 32 GB, SMC 2.33f10
Graphics: Radeon RX 580, Radeon RX 580, PCIe, 8 GB
Memory Module: BANK 0/DIMM0, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 1/DIMM0, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 0/DIMM1, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
Memory Module: BANK 1/DIMM1, 8 GB, DDR4, 3200 MHz, G Skill Intl, F4-3200C16-8GVKB
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.61.1 AirPortDriverBrcmNIC-1305.7)
Bluetooth: Version 6.0.11d3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: KINGSTON SHSS37A240G, 240.06 GB
Serial ATA Device: KINGSTON SHSS37A240G, 240.06 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: CORSAIR STRAFE RGB MK.2 Mechanical Gaming Keyboard
USB Device: AK5370
USB Device: Corsair Gaming M65 Pro RGB Mouse
USB Device: USB 3.1 Bus
USB Device: USB3.1 Hub
USB Device: USB2.1 Hub
Thunderbolt Bus: 

Oh ok, looks like my dev account might be expired. Will fix that, thanks for letting me know.

Share this post


Link to post
Share on other sites
On 1/18/2019 at 10:10 AM, Pavo said:

That doesn't look right at all. Here is what it should look like if your GPU devices in IOReg are named GFX0 and GFX1

 

AGPMInjector.kext.zip

AGPMInjector 2.3 released. Noticed that you wouldn't know if the app generated the files or not so added a notification for both when generated and if file already exist.

43O095o.png

U5Z7b0g.png

AGPMInjector_2.3

@Pavo Thanks the kext you supplied is working great AGPM loaded for my two 1070 cards!

Share this post


Link to post
Share on other sites
1 hour ago, syn909 said:

@Pavo Thanks the kext you supplied is working great AGPM loaded for my two 1070 cards!

No problem, once I figure out how to add dynamic CodingKeys I will add support to all generating a injector kext for multiple dGPUs.

Share this post


Link to post
Share on other sites

Hi,

I am using imacpro1,1's SMBIOS.
I used AGPM Injector because AGPM is not valid.
Heuristic-ID is not FF FF FF FF.
Heuristic-ID is 00 00 00 00.
Is there no problem?1531344973_2019-02-2423_54_20.thumb.png.df88721f91bb99ab2403ed8d6fb3a404.png

2032940454_2019-02-2423_54_42.thumb.png.1022c88bcc74048444a2c3ffaabe4e1d.png

 

Edited by yumo

Share this post


Link to post
Share on other sites
56 minutes ago, yumo said:

Hi,

I am using imacpro1,1's SMBIOS.
I used AGPM Injector because AGPM is not valid.
Heuristic-ID is not FF FF FF FF.
Heuristic-ID is 00 00 00 00.
Is there no problem?1531344973_2019-02-2423_54_20.thumb.png.df88721f91bb99ab2403ed8d6fb3a404.png

2032940454_2019-02-2423_54_42.thumb.png.1022c88bcc74048444a2c3ffaabe4e1d.png

 

What version of the app are you using because I just generated a injector kext for iMacPro1,1 using the latest version and this is what it generates.

9QUgsW5.png

Share this post


Link to post
Share on other sites
40 minutes ago, Pavo said:

What version of the app are you using because I just generated a injector kext for iMacPro1,1 using the latest version and this is what it generates.

9QUgsW5.png

 

Thank you for reply.

I used the last version of AGPMInjector. (2.4.3)

 

If I do not use AGPMInjector.kext, this is the situation.

1322872016_2019-02-251_37_29.thumb.png.c8ed9ad19147733f1e45f3a60789cd83.png

I feel something is strange.

Share this post


Link to post
Share on other sites
2 hours ago, yumo said:

 

Thank you for reply.

I used the last version of AGPMInjector. (2.4.3)

 

If I do not use AGPMInjector.kext, this is the situation.

1322872016_2019-02-251_37_29.thumb.png.c8ed9ad19147733f1e45f3a60789cd83.png

I feel something is strange.

I am not understanding what your issue is? Your post is the default settings that AGPM would use since you are using a iMacPro1,1 SMBIOS. My app sets the AGPM settings that best match desktop GPUs.

 

1 hour ago, mino40 said:

app will parse the System/Library/Extensions/AppleGraphicsPowerManagement

Ok..... My app parses the system AppleGraphicsPowerManagement.kext Info.plist and applies pre-defined settings based off what SMBIOS you have selected in the drop-down menu. So.... I am not sure why you quoted that?

Share this post


Link to post
Share on other sites
13 hours ago, Pavo said:

I am not understanding what your issue is? Your post is the default settings that AGPM would use since you are using a iMacPro1,1 SMBIOS. My app sets the AGPM settings that best match desktop GPUs.

 

Ok..... My app parses the system AppleGraphicsPowerManagement.kext Info.plist and applies pre-defined settings based off what SMBIOS you have selected in the drop-down menu. So.... I am not sure why you quoted that?

Hi,
Sorry for bad English. Is there no problem if AGPM and AGPMController 's Heuristic - ID have the same value?
I used AGPMEnabler.kext so far. In that case, the Heuristic-ID was FF FF FF FF.
When AGPMInjector.kext is used, Heuristic-ID becomes 00 00 00 00.
Is there a meaning to the difference of the Heuristic-ID?

Share this post


Link to post
Share on other sites

Desktop SMBIOS iMac14.2 also Heuristic-ID changed from FF FF FF FF to 00 00 00 00 after update.

Previously I had AGPMInjector.kext generated by AGPMInjector.app version I guess 1.0 First release anyway.

Edited by hardcorehenry

Share this post


Link to post
Share on other sites
27 minutes ago, ccoaston said:

This will resolve my Strix Vega 64 card from being so loud?

No

Share this post


Link to post
Share on other sites
51 minutes ago, ccoaston said:

This will resolve my Strix Vega 64 card from being so loud?

just try .. if you didnt tried so there is no experience ... one of reason with loud sound because high fan speed problem, this tool can generate correct AGPM kext .. and maybe can solved your problem

Share this post


Link to post
Share on other sites
2 hours ago, telepati said:

@Pavo can we use the kext which we created on L/E? 

I have not tested using this injector kext into L/E but I don't see why it wouldn't work. You can test yourself and provide feedback.

Share this post


Link to post
Share on other sites
2 hours ago, Pavo said:

I have not tested using this injector kext into L/E but I don't see why it wouldn't work. You can test yourself and provide feedback.

 

Test it and its not loaded.

 

932847727_ScreenShot2019-03-10at23_07_05.png.ff407acb2753be3e8a2fc4531b1d828c.png

Share this post


Link to post
Share on other sites
17 minutes ago, telepati said:

 

Test it and its not loaded.

 

932847727_ScreenShot2019-03-10at23_07_05.png.ff407acb2753be3e8a2fc4531b1d828c.png

Thats because the kext itself doesn't load, its a injector kext. It loads the system original kext but injects the settings into the original kext from the injector kext when loading the kext. Look and see if AppleGrpahicsPowerManagement.kext is loaded. Then check AGPM in IOReg and see if the settings for the GFX0 have changed. Thats how you know that the injector kext is working.

Share this post


Link to post
Share on other sites
17 hours ago, Pavo said:

Thats because the kext itself doesn't load, its a injector kext. It loads the system original kext but injects the settings into the original kext from the injector kext when loading the kext. Look and see if AppleGrpahicsPowerManagement.kext is loaded. Then check AGPM in IOReg and see if the settings for the GFX0 have changed. Thats how you know that the injector kext is working.

 

I'm sorry I didn't know that. Thanks to you I learned something from you again :thumbsup_anim: 

Share this post


Link to post
Share on other sites

@Pavo I test it in both places L/E and Other Folder but it didn't change anything. I remember before the IGPU implementation your app worked for me control-id changed from 0x11 to 0x12 but now your app support also IGPU and when I create a kext with IGPU enabled check it doesn't work. I don't get it why? 

 

Without Injector

 

Before.png.612befe8b4f7a74cf9e32344c3778bd7.png

 

With Injector

 

After.png.7a8f2c282d0521f582fd31b207e691a1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×