Jump to content
4 posts in this topic

Recommended Posts

Laptop's Motherboard : Acer Predator PT14-51

CPU : 14 Core Intel i7-13700H

Integrated graphics : Intel Iris Xe Graphics (Raptor Lake gen)

Dedicated GPU : NVIDIA GeForce RTX 4070 Laptop GPU

Bios : Insyde UEFI V1.08

Card Id : (A7A08086) 0xA7A08086

 

Trying to load AppleIntelTGLFramebuffer debug version, here some tests (thanks to @jalavoui for his work).

 

To install the fb and hookcase kexts just use these instructions

chmod -R 755 test/Apple*
chown -R root:wheel test/Apple*
move the files to /L/E
redo chown -R root:wheel /Library/Extensions/Apple*

then system will ask you to apply some settings and reboot

If not works, just do these steps

chmod -R 755 test/Apple*
chown -R root:wheel test/Apple*
move the files to /L/E
delete /Library/KernelCollections/AuxiliaryKernelExtensions.kc
redo chown -R root:wheel /Library/Extensions/Apple*

then you can config info.plist in NBlue, under IOKitPersonalities -> AppleIntelFramebufferControllerTGLle -> IOPCIPrimaryMatch with your card id (just put to empty the others fb matche values)

 

Here you can find various discussions link, config tips and latest sources related to this situation

 

Here my latest quite working config (got logs) with latest nootedblue version... I will always try to pair with newer latest nBlue version posting logs and core files, latest version which can be found in the AppleIntelTGLGraphics topic above..

 

To avoid the stall I added this request

{"__ZN19AppleIntelPowerWell21hwSetPowerWellStatePGEbj",releaseDoorbell},

Using tgl fw and registers in this test, got full logs and boot on black screen with square mouse (log starts at 20:29:14.516048+0100)

void Gen11::hwInitializeCState()
{
	//FunctionCast(hwInitializeCState, callback->ohwInitializeCState)( );
	//const auto &fw = getFWByName("adlp_dmc.bin");

	unsigned long uVar3 = 0;
	do {
	  FastWriteRegister32(ccont,uVar3+0x80000, *(uint *)((long)tgl_dmc_ver2_12_bin + uVar3));
	  uVar3 = uVar3 + 4;
	} while (uVar3 != (tgl_dmc_ver2_12_bin_s/4));
	
	/*//some adlp addresses
	NBlue::callback->writeReg32(0x8f074,0x86fc0);
	NBlue::callback->writeReg32(0x8f004,0x1240108);
	NBlue::callback->writeReg32(0x8f034,0xc003b400);*/
	
	//tgl address
	NBlue::callback->writeReg32(0x8f074,0x6fc0);
	NBlue::callback->writeReg32(0x8f004,0xa40088);
	NBlue::callback->writeReg32(0x8f034,0xc003b400);
	
	//common
	NBlue::callback->writeReg32(0x45520,2);
	
	hwConfigureCustomAUX(ccont,true);	
}

 

config.plist HookCase-master.zipNootedBlue-master.zip x.log.zip

Edited by Stezza88
  • Thanks 1

Enabling adl registers in the latest version, boot in black screen with square mouse (log starts at 20:19:40.252359+0100)

void Gen11::hwInitializeCState()
{
	FunctionCast(hwInitializeCState, callback->ohwInitializeCState)( );
	
	//some adlp addresses
	NBlue::callback->writeReg32(0x8f074,0x86fc0);
	NBlue::callback->writeReg32(0x8f034,0xc003b400);
	NBlue::callback->writeReg32(0x8f004,0x1240108);
	NBlue::callback->writeReg32(0x8f008,0x512050d4);
	NBlue::callback->writeReg32(0x8f03c,0xc003b300);
	NBlue::callback->writeReg32(0x8f00c,0x584c57fc);
	NBlue::callback->writeReg32(0x5f074,0x96fc0);
	NBlue::callback->writeReg32(0x5f034,0xc003df00);
	NBlue::callback->writeReg32(0x5f004,0x214c2114);
	NBlue::callback->writeReg32(0x5f038,0xc003e000);
	NBlue::callback->writeReg32(0x5f008,0x22402208);
	NBlue::callback->writeReg32(0x5f03c,0xc0032c00);
	NBlue::callback->writeReg32(0x5f00c,0x241422fc);
	NBlue::callback->writeReg32(0x5f040,0xc0033100);
	NBlue::callback->writeReg32(0x5f010,0x26f826cc);
	NBlue::callback->writeReg32(0x5f474,0x9efc0);
	NBlue::callback->writeReg32(0x5f434,0xc003df00);
	NBlue::callback->writeReg32(0x5f404,0xa968a930);
	NBlue::callback->writeReg32(0x5f438,0xc003e000);
	NBlue::callback->writeReg32(0x5f408,0xaa5caa24);
	NBlue::callback->writeReg32(0x5f43c,0xc0032c00);
	NBlue::callback->writeReg32(0x5f40c,0xac30ab18);
	NBlue::callback->writeReg32(0x5f440,0xc0033100);
	NBlue::callback->writeReg32(0x5f410,0xaf14aee8);
	NBlue::callback->writeReg32(0x5f874,0x53fc0);
	NBlue::callback->writeReg32(0x5f83c,0xc0032c00);
	NBlue::callback->writeReg32(0x5f80c,0x25202408);
	NBlue::callback->writeReg32(0x5f840,0xc0033100);
	NBlue::callback->writeReg32(0x5f810,0x280427d8);
	NBlue::callback->writeReg32(0x5fc3c,0xc0032c00);
	NBlue::callback->writeReg32(0x5fc0c,0x95209408);
	NBlue::callback->writeReg32(0x5fc40,0xc0033100);
	NBlue::callback->writeReg32(0x5fc10,0x980497d8);
	
	NBlue::callback->writeReg32(0x60400,0x8a000006);
	NBlue::callback->writeReg32(0x60000,0x0a9f09ff);
	NBlue::callback->writeReg32(0x60004,0x0a9f09ff);
	NBlue::callback->writeReg32(0x60008,0x0a4f0a2f);
	NBlue::callback->writeReg32(0x6000c,0x06d5063f);
	NBlue::callback->writeReg32(0x60010,0x06d50000);
	NBlue::callback->writeReg32(0x60014,0x06480642);
	NBlue::callback->writeReg32(0x60028,0x00000000);
	NBlue::callback->writeReg32(0x60030,0x7e5d159e);
	NBlue::callback->writeReg32(0x60034,0x00800000);
	NBlue::callback->writeReg32(0x60040,0x0007c1cd);
	NBlue::callback->writeReg32(0x60044,0x00080000);
	NBlue::callback->writeReg32(0xc7204,0x00000067);
	NBlue::callback->writeReg32(0xc7208,0x07d00001);
	
	NBlue::callback->writeReg32(0x46140,0x10000000);
	NBlue::callback->writeReg32(0x45400,0x00000401);
	NBlue::callback->writeReg32(0x45404,0x00000c03);
	NBlue::callback->writeReg32(0x45408,0x40000000);
	NBlue::callback->writeReg32(0x4540c,0x00000401);
	
	//common
	NBlue::callback->writeReg32(0x45520,2);
	
	hwConfigureCustomAUX(ccont,true);
}

 

kern_gen11.cpp x.log

Edited by Stezza88
  • Thanks 1
  • 7 months later...

Hi, I have a Dell Latitude 5420 that uses the same Intel Iris Xe iGPU, but I have been unable to set up OSX on it. I am using Big Sur which is supposedly the latest/last version supported by my CPU (family). I have tried using Dortania's guide as well as gibMacOS (OpenCore option) with no luck. Wondering if you have an pointers or a guide? Or even if you can share your EFI folder? Thanks!

×
×
  • Create New...