Jump to content
Pimentel

Gerenciamento de energia para Sandy Bridge/Ivy Bridge/Haswell CPU

272 posts in this topic

Recommended Posts

Advertisement

A sim, agora eu vi seus EDITs no post anterior.

 

Bem, que continue assim né  :D

 

Falta mais alguma coisa?

Nops. A única coisa que eu precisava de ajuda, era com o gerenciamento de energia. 

 

Obrigado mais uma vez! :)

Share this post


Link to post
Share on other sites

Estava fazendo uns testes aqui pra ver se conseguia mais states baixos, e troquei a smbios de iMac 15,1 pra Macbook Pro 11,2 e consegui isso:

 

25/05/15 19:14:19, P States: 8, 17, 35, 36, 37

 

No iMac era apenas 8, 35 e 38.

Share this post


Link to post
Share on other sites

Só os testes vão dizer se deve ou não usar.

 

O IOReg é a prova principal, então está ok.

Agora temos de ver como estão seus States, e continue a usar o -xcpm e KernelPM.

 

Faça os testes: How to check your states – Using AICPMInfo, MSRDumper or AppleIntelInfo

 

No seu caso use a AppleIntelInfo.

 

Algo mudou de lá para cá?

iMac-de-Junior:~ botnet$ cd Downloads
iMac-de-Junior:Downloads botnet$ sudo chown -R root:wheel ./AppleIntelInfo.kext
iMac-de-Junior:Downloads botnet$ sudo chmod -R 755 ./AppleIntelInfo.kext
iMac-de-Junior:Downloads botnet$ sudo kextload AppleIntelInfo.kext
iMac-de-Junior:Downloads botnet$ sudo cat /tmp/AppleIntelInfo.dat | grep "AICPUPMI:"
iMac-de-Junior:Downloads botnet$

Não mostra mais nada após essa última versão do OS X. Oo

 

EDIT: usei o comando "cat /var/log/system.log |grep AICP" e agora foi.  :P

Share this post


Link to post
Share on other sites

Uma dica que só fui descobrir hoje: pra quem usa o clover, ao gerar o SSDT e habilita o "drop oem", não marquem as opções:

 

P-STATE

C-STATE

ENABLE C7,6 e etc.

 

Eu só consegui o gerenciamento correto do processador depois de fazer isso.

 

Olhem:

AppleIntelInfo.kext v1.4 Copyright © 2012-2015 Pike R. Alpha. All rights reserved
 
Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 0
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x1e258292953
MWAIT C-States.....................: 270624
 
Model Specific Regiters
------------------------------------
MSR_CORE_THREAD_COUNT......(0x35)  : 0x40008
MSR_PLATFORM_INFO..........(0xCE)  : 0x80838F7012300
MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E000404
MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x21814
IA32_MPERF.................(0xE7)  : 0x10EE857078
IA32_APERF.................(0xE8)  : 0x10409F6EDB
MSR_FLEX_RATIO.............(0x194) : 0x0
MSR_IA32_PERF_STATUS.......(0x198) : 0x1E7200002300
MSR_IA32_PERF_CONTROL......(0x199) : 0x2300
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x883E0800
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x1
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x25262727
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x5
MSR_POWER_CTL..............(0x1FC) : 0x4005F
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x8348000082A0
MSR_PKG_ENERGY_STATUS......(0x611) : 0x2B23953
MSR_PKG_POWER_INFO.........(0x614) : 0x280
MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x2F8
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0xA5D619
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x23
MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x0
MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
MSR_PKGC3_IRTL.............(0x60a) : 0x8842
MSR_PKGC6_IRTL.............(0x60b) : 0x8873
MSR_PKGC7_IRTL.............(0x60c) : 0x8891
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x1669B2DEC0B
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
IA32_TSC_DEADLINE..........(0x6E0) : 0x1E25B3BAE80
 
CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 3900 MHz
CPU P-States [ (8) 26 35 ]
CPU C3-Cores [ 0 1 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 10 26 35 ]
CPU C3-Cores [ 0 1 3 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 10 12 26 35 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 8 10 12 26 33 (35) ]
CPU P-States [ (8) 10 12 26 28 33 35 ]
CPU P-States [ (8) 10 12 24 26 28 33 35 ]
CPU P-States [ 8 10 12 24 25 26 28 33 (35) ]
CPU P-States [ 8 10 12 23 24 25 26 28 33 (35) ]
CPU P-States [ (8) 10 12 23 24 25 26 27 28 33 35 ]
CPU P-States [ (8) 10 12 23 24 25 26 27 28 31 33 35 ]
CPU P-States [ 8 10 12 18 23 24 25 26 27 28 31 33 (35) ]
CPU P-States [ (8) 10 12 18 22 23 24 25 26 27 28 31 33 35 ]
CPU P-States [ (8) 10 12 18 22 23 24 25 26 27 28 30 31 33 35 ]
CPU P-States [ (8) 10 12 18 19 22 23 24 25 26 27 28 30 31 33 35 ]
CPU P-States [ 8 10 12 18 19 22 23 24 25 26 27 28 29 30 31 33 (35) ]
CPU P-States [ 8 10 12 18 19 22 23 24 25 26 27 28 29 30 31 32 33 (35) ]
CPU P-States [ (8) 10 11 12 18 19 22 23 24 25 26 27 28 29 30 31 32 33 35 ]
CPU P-States [ (8) 9 10 11 12 18 19 22 23 24 25 26 27 28 29 30 31 32 33 35 ]
CPU P-States [ (8) 9 10 11 12 13 18 19 22 23 24 25 26 27 28 29 30 31 32 33 35 ]
CPU P-States [ 8 9 10 11 12 13 18 19 21 22 23 24 25 26 27 28 29 30 31 32 33 (35) ]
CPU P-States [ (8) 9 10 11 12 13 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 ]
CPU P-States [ (8) 9 10 11 12 13 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 ]
CPU P-States [ 8 9 10 11 12 13 14 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 (35) ]
CPU P-States [ 8 9 10 11 12 13 14 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 35 36 (37) ]
CPU P-States [ (8) 9 10 11 12 13 14 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 ]
CPU P-States [ 8 9 10 11 12 13 14 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 (39) ]
CPU P-States [ 8 9 10 11 12 13 14 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 (38) 39 ]
CPU P-States [ (8) 9 10 11 12 13 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
 
CPU P-States [ (8) 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]

Todos os states bonitinhos.  :thumbsup_anim: 

 

Mesmo o IOREG estando assim como na imagem, o gerenciamento está funcionando perfeitamente. Inclusive, a kext do LPC está sendo carregada.

post-637410-0-16710100-1463115217_thumb.png

Share this post


Link to post
Share on other sites

o gerenciamento está funcionando perfeitamente....

 

O que???  :|

 

Na verdade você conseguiu obter mais P-States, mas o gerenciamento continua errado.

 

A verdade ai não são números, mas o que o IOReg diz. -_-

Share this post


Link to post
Share on other sites

O que???  :|

 

Na verdade você conseguiu obter mais P-States, mas o gerenciamento continua errado.

 

A verdade ai não são números, mas o que o IOReg diz. -_-

Tô procurando aqui alguma forma de inject para carregar a x86platformplugin, sem a necessidade de habilitar P e C-states, visto que já são definidos automaticamente na geração do SSDT.

Share this post


Link to post
Share on other sites

Tenta injetar 2 vezes, deixa a do SSDT como está, e usa do Clover também.

 

 

 

Infelizmente não funcionou. :/

 

Estranho que a as outras duas kexts carregam "SMC e LPC", o "com_intel_driver_EnergyDriver" também, o sleep funciona perfeitamente, mas o problema é quando chega aqui:

	
		
			
				ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
		
		
			
				WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3c
		
		
			
				  -- power management may be incomplete or unsupported

Vou continuar buscando alguma solução aqui. Brigadão! :D

 

Será que preciso de alguma coisa no DSDT? Lembrando que não estou usando DSDT.

 

PS: aproveito pra pedir que alguém dê uma olhada no DSDT, pois adicionei o patch pro LPC, adicionei o DTGP, editei a ID mas a AppleLPC não carrega.

DSDT.aml.zip

Share this post


Link to post
Share on other sites

Finalmente consegui o maldito gerenciamento de energia 100%!  :thumbsup_anim:

CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 3900 MHz
CPU P-States [ (8) 33 39 ]
CPU C3-Cores [ 0 1 6 7 ]
CPU C6-Cores [ 0 1 4 6 7 ]
CPU C7-Cores [ 0 1 3 4 5 6 7 ]
CPU P-States [ (8) 18 33 39 ]
CPU C3-Cores [ 0 1 4 5 6 7 ]
CPU C6-Cores [ 0 1 4 5 6 7 ]
CPU P-States [ (8) 18 22 33 39 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 18 22 24 33 39 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 8 18 22 24 33 (35) 36 39 ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU P-States [ (8) 18 22 24 30 33 35 36 39 ]
CPU P-States [ 8 18 22 24 28 30 33 (35) 36 39 ]
CPU P-States [ (8) 18 22 24 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 18 22 24 26 28 30 31 33 35 36 39 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 15 18 22 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 15 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 14 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 14 15 16 18 22 23 24 25 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 22 23 24 25 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 22 23 24 25 26 28 29 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 33 35 36 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 (35) 36 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 35 36 (37) 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 35 36 37 (38) 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
 
C e P-states desabilitados no clover, apenas o kernel_pm habilitado, xcpm injetado direto na SSDT (não precisa usar no clover) e com 99,9% dos states que eu peguei antes.  :drool:
 
Injetei as propriedades do LCP direto na kext AppleLPC original do sistema e funcionou.
 
Sobre o SSDT, o segredo pra conseguir carregar os malditos plugins x86blablabla, foi esse aqui:
 
./ssdtPRGen.sh -p 'E3-1241 v3' -w 3 -x 1
 
Só isso. Era uma coisa tão simples, mas desde ontem que matutei atrás da solução, e finalmente consegui encontrar em um tópico aqui no fórum.  :D
 
Agora sim, acabou a dor de cabeça.  B)

post-637410-0-84918000-1463350116_thumb.png

Share this post


Link to post
Share on other sites

Dai sim man!  :D

 

Parabéns pelo trabalho, desfrute tudo do seu Hack agora  :yes:

Brigadão! :D

 

Aproveitei também e editei a AGPM, injetando a ID da minha VGA na AGPM Legacy. Funcionou perfeitamente! :D

 

A única coisa que ainda tenho que descobrir como resolver, é o porquê da renderização dos vídeos está sendo jogada para a CPU ao invés da GPU. Depois que resolver isso, será "sombra e água fresca".

Share this post


Link to post
Share on other sites

Sobre essa questão da renderização, já tentou com outros GPUs?

 

E sobre instalar o CUDA já tentou?

Ainda não testei com o CUDA. Vou instalá-lo e ver no que dá.

 

Infelizmente não possuo outras GPUs pra teste. :/

 

EDIT: é, infelizmente não vai rolar.

 

 

this driver does not support the older generation GPUs with SM1.x (compute capability 1.x)

 

Depois eu compro uma VGA melhor. rsrsrs

Share this post


Link to post
Share on other sites

 

Finalmente consegui o maldito gerenciamento de energia 100%!  :thumbsup_anim:

CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 3500 MHz
CPU Maximum Turbo Frequency........: 3900 MHz
CPU P-States [ (8) 33 39 ]
CPU C3-Cores [ 0 1 6 7 ]
CPU C6-Cores [ 0 1 4 6 7 ]
CPU C7-Cores [ 0 1 3 4 5 6 7 ]
CPU P-States [ (8) 18 33 39 ]
CPU C3-Cores [ 0 1 4 5 6 7 ]
CPU C6-Cores [ 0 1 4 5 6 7 ]
CPU P-States [ (8) 18 22 33 39 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 18 22 24 33 39 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 8 18 22 24 33 (35) 36 39 ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU P-States [ (8) 18 22 24 30 33 35 36 39 ]
CPU P-States [ 8 18 22 24 28 30 33 (35) 36 39 ]
CPU P-States [ (8) 18 22 24 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 18 22 24 26 28 30 31 33 35 36 39 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 15 18 22 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 15 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 14 15 16 18 22 23 24 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 14 15 16 18 22 23 24 25 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 22 23 24 25 26 28 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 22 23 24 25 26 28 29 30 31 33 35 36 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 33 35 36 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 (35) 36 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 35 36 (37) 39 ]
CPU P-States [ 8 12 13 14 15 16 18 19 22 23 24 25 26 28 29 30 31 32 33 35 36 37 (38) 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 27 28 29 30 31 32 33 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
CPU P-States [ (8) 9 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ]
 
C e P-states desabilitados no clover, apenas o kernel_pm habilitado, xcpm injetado direto na SSDT (não precisa usar no clover) e com 99,9% dos states que eu peguei antes.  :drool:
 
Injetei as propriedades do LCP direto na kext AppleLPC original do sistema e funcionou.
 
Sobre o SSDT, o segredo pra conseguir carregar os malditos plugins x86blablabla, foi esse aqui:
 
./ssdtPRGen.sh -p 'E3-1241 v3' -w 3 -x 1
 
Só isso. Era uma coisa tão simples, mas desde ontem que matutei atrás da solução, e finalmente consegui encontrar em um tópico aqui no fórum.  :D
 
Agora sim, acabou a dor de cabeça.  B)

 

 

 

Junior,

 

Bom dia!

 

Tudo bem?

 

Acompanhei ai todo seu passo a passo nessa empreitada com o Mestre Jedi Allan, agora estou tendo mesmo problema que você! 

 

Porém, não criei ainda o SSDT, então o segredo ao criar é especificar o modelo do Processador? Pois estou usando Clover com C e P-States Habilitados.  O AppleLPC carrega normal, só não as X86...

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 2300 MHz

CPU Maximum Turbo Frequency........: 3300 MHz

CPU P-States [ (12) 22 23 ]

CPU C7-Cores [ 2 6 7 ]

CPU C7-Cores [ 2 3 4 6 7 ]

CPU C7-Cores [ 2 3 4 5 6 7 ]

 C7-Cores [ 2 3 4 5 6 7 ]

CPU P-States [ (12) 21 22 23 ]

Share this post


Link to post
Share on other sites

Junior,

 

Bom dia!

 

Tudo bem?

 

Acompanhei ai todo seu passo a passo nessa empreitada com o Mestre Jedi Allan, agora estou tendo mesmo problema que você! 

 

Porém, não criei ainda o SSDT, então o segredo ao criar é especificar o modelo do Processador? Pois estou usando Clover com C e P-States Habilitados.  O AppleLPC carrega normal, só não as X86...

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 2300 MHz

CPU Maximum Turbo Frequency........: 3300 MHz

CPU P-States [ (12) 22 23 ]

CPU C7-Cores [ 2 6 7 ]

CPU C7-Cores [ 2 3 4 6 7 ]

CPU C7-Cores [ 2 3 4 5 6 7 ]

 C7-Cores [ 2 3 4 5 6 7 ]

CPU P-States [ (12) 21 22 23 ]

 

 

Senhores, Mestres JEDI

 

Criei a SSDT, só as kexts estão carregando normalmente, o iOReg está como Allan já postou prints como devem ficar. 

 

Mas está ocorrendo algo estranho, quando vou rodar a kext AppleCPUPowerManagement no Desktop o mesmo trava e reinicia na mesma hora, a outra AppleIntelInfo nada acontece e os comandos executados listados aqui estão corretos.

 

O que percebi  também que o desempenho em testes no CINEBENCH R15 da GTX 670M com o SSDT criada e no seu devido local cai para infernais 5 fps, e quando está com o P/C States no CLOVER ativos sem a SSDT vai pra normais 35.09 fps...

 

Então o que me dizem a respeito?

 

Desde já grato.

 

Abraços.

Share this post


Link to post
Share on other sites

Junior,

 

Bom dia!

 

Tudo bem?

 

Acompanhei ai todo seu passo a passo nessa empreitada com o Mestre Jedi Allan, agora estou tendo mesmo problema que você! 

 

Porém, não criei ainda o SSDT, então o segredo ao criar é especificar o modelo do Processador? Pois estou usando Clover com C e P-States Habilitados.  O AppleLPC carrega normal, só não as X86...

 

CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 1200 MHz

CPU Maximum non-Turbo Frequency....: 2300 MHz

CPU Maximum Turbo Frequency........: 3300 MHz

CPU P-States [ (12) 22 23 ]

CPU C7-Cores [ 2 6 7 ]

CPU C7-Cores [ 2 3 4 6 7 ]

CPU C7-Cores [ 2 3 4 5 6 7 ]

 C7-Cores [ 2 3 4 5 6 7 ]

CPU P-States [ (12) 21 22 23 ]

 

Olá. Não sei se você resolveu o problema, mas o que eu falei no meu post foi justamente o C e P-states DESABILITADOS. Eu não faço a mínima ideia de qual é o seu processador, já que você não especificou. Então fica difícil dar uma ideia assim.

Share this post


Link to post
Share on other sites

Olá pessoal, estou por aqui em busca de solução para o gerenciamento de energia de uma máquina nova. Todo o resto esta funcionando. 

 

Placa Mãe s2600cp 2011

2x Xeon 2670

 

Já achei tópicos com hardware semelhante, já pedi ajuda, mas ninguem me respondeu nada até agora.

A instalação foi feita numa boa, apesar de problemas com usb que já foram resolvidos.

Fiz o SSDT, apliquei o patchs na AppleIntelCPUPowereManagement pelo clover e o que acontece é que consigo fazer funcionar apenas 1 processador. O processamento single core está perfeito, com turbo e tudo mais, mas em multicore... horrivel. Tenho pontuação de geekbench como se estivesse funcionando apenas 1 processador. em torno de 2800 pontos single e 16000 multi.

Para terem uma ideia, colocando a Null, tenho 20.000 no multicore e um single core de 1600.

Nunca tive uma máquina assim, então estou apanhando muito e as informação sobre as correções de DSDT e SSDT são muito escassas, ou incompletas. Alguem poderia dar uma força? Agradeço muito e posso fazer uma contribuição... é uma máquina de trabalho para edição e colorização.

 

 

Share this post


Link to post
Share on other sites

Olá. Este tópico já é antigo, mas gostaria de saber se no tópico que ensina: -Criando SSDT- funciona para versões mais novas, como a última, Catalina 10.15.2. Obrigado.

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.

Announcements

  • Similar Content

    • By MaLd0n
      -Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      -Donations with Bitcoin
      33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3
       
      -Donations with PicPay 
      @danielnmaldonado
        Nehalem, SandyBridge, IvyBridge, Haswell, Broadwell   https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/   Skylake, Kabylake and Coffeelake is here https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
          First...   ***Update bios to last available version!***   If you need a full patched DSDT...  -Extract tables with F4 key in Clover boot screen! -Run it and send me files! RunMe.app   Installation   --Create a bootable copy of macOS Sierra / High Sierra / Mojave   https://github.com/chris1111/Create-Install-Media/releases   --Install Clover in USB stick   https://github.com/CloverHackyColor/CloverBootloader/releases   --Replace with my Clover folder https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Install Sierra/High Sierra and boot into system!   Post Installation --Install Clover and replace with my folder   https://www.olarila.com/topic/5676-clover-folder-for-all-chipsets/   --Reboot and activate video!   Bingo!   Now you need a fine tune! DSDT time!   --DSDT   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -XXXX to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI
       
      --Power Management
      - 1 Generation Intel Processors, use Generate P and C States in config.plist
      - 2 and 3 Generations Intel Processors, Generate SSDT with Piker script and drop CpuPm and Cpu0Ist SSDTs
      ssdtPRGen.command.zip
      Credits-https://github.com/Piker-Alpha/ssdtPRGen.sh
      - 4 Generation+ Intel Processors, use PluginType=1 in DSDT, SSDT or Clover config.plist
       
      for check Power, Frequency, Temperature and Utilization, use it
       
      Install Intel Power Gadget.pkg.zip
       
      --Brightness
      Install .app, select the required permission and reboot. Work in F1 / F2 keys!
      NativeDisplayBrightness.app.zip


      https://github.com/Bensge/NativeDisplayBrightness/releases
      *in some cases .app don't work, check patches in config.plist inside Clover folder Post Install
       
      --Clover
       
      https://sourceforge.net/projects/cloverefiboot/files/Installer/
       
      --AUDIO
       
      Use DSDT + AppleAlc
       
      --install Lan driver by Mieze
        -Atheros   http://www.insanelymac.com/forum/files/file/313-atherose2200ethernet/   -Intel   http://www.insanelymac.com/forum/files/file/396-intelmausiethernet/   -Realtek   http://www.insanelymac.com/forum/files/file/88-realtekrtl8111-binary/   --Links   -FakeSMC   https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek   -Audio   https://github.com/vit9696/AppleALC http://www.insanelymac.com/forum/topic/314406-voodoohda-289/   -USB   https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads   It's time to Rock   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Apple, Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!  
    • By Kailash
      I successfully managed to install Hackintosh on my Lenovo Ideapad 520 but now I don't have audio, brightness control feature or battery indicator. My audio driver is an ALC230. I am new to all this. What do I do to solve this? I have attached my EFI files below.
      EFI.zip
    • By chatelp
      Hi all !
       
      I'm migrating from Clover to OpenCore and stuck on an ACPI error at boot:
      ACPI Error [_STA] Namespace lookup failure, AE_ALREADY_EXISTS This comes from trying to load my custom SSDT-EC tables.
       
      From what I gather, the preferred method of dealing with EC0 for Desktops with OC is to add an _STA method to EC0 to change return code to 0, and then to add a new fake EC device. Both done via SSDT-EC.
       
      Problem is, my EC0 defined in the system DSDT already has an _STA method. And it looks like it can't be overridden through SSDT redefinition at boot. Is this excepted ACPI behavior? Is it not possible to override/redefine methods like _STA? If so, what other option do I have?
       
      Here is the original EC0 device in DSDT
      Device (EC0) { Name (_HID, EisaId ("PNP0C09")) // _HID: Hardware ID Name (_UID, One) // _UID: Unique ID Name (_GPE, 0x6E) // _GPE: General Purpose Events Method (_STA, 0, NotSerialized) // _STA: Status { Return (0x0F) } ....  
      Here is my very standard SSTD-EC for Skylake:
       
      /* * AppleUsbPower compatibility table for Skylake+. * * Be warned that power supply values can be different * for different systems. Depending on the configuration * these values must match injected IOKitPersonalities * for com.apple.driver.AppleUSBMergeNub. iPad remains * being the most reliable device for testing USB port * charging support. * * Try NOT to rename EC0, H_EC, etc. to EC. * These devices are incompatible with macOS and may break * at any time. AppleACPIEC kext must NOT load. * See the disable code below. * * Reference USB: https://applelife.ru/posts/550233 * Reference EC: https://applelife.ru/posts/807985 */ DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000) { External (_SB_.PCI0.LPCB, DeviceObj) /* * Uncomment replacing EC0 with your own value in case your * motherboard has an existing embedded controller of PNP0C09 type. * * While renaming EC0 to EC might potentially work initially, * it connects an incompatible driver (AppleACPIEC) to your hardware. * This can make your system unbootable at any time or hide bugs that * could trigger randomly. */ External (_SB_.PCI0.LPCB.EC0, DeviceObj) Scope (\_SB.PCI0.LPCB.EC0) { Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0) } Else { Return (0x0F) } } } Scope (\_SB) { Device (USBX) { Name (_ADR, Zero) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x08) { "kUSBSleepPowerSupply", 0x13EC, "kUSBSleepPortCurrentLimit", 0x0834, "kUSBWakePowerSupply", 0x13EC, "kUSBWakePortCurrentLimit", 0x0834 }) } } Scope (\_SB.PCI0.LPCB) { Device (EC) { Name (_HID, "ACID0001") // _HID: Hardware ID Method (_STA, 0, NotSerialized) // _STA: Status { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } } } }  
      I saw this other similar post but can't find a working solution in it: https://www.insanelymac.com/forum/topic/341585-hpet/?_fromLogin=1
       
       
    • By MacKonsti
      Hello everyone, I hope you are well and safe. Long time Hackintosh user, didn't post new topics really as most solutions are here, just need some good digging around.
       
      However, there has been no talk about renaming "bare" PCI devices shown in IORegistryExplorer such as e.g. pci8086,1911@8 or pci8086,9def@14,2 to something more meaningful such as ACPI Devices like (SPI1) or (PGMM) or (SHRM) etc. etc.
       
      I have been experimenting a lot with different SSDT ways of making code and injecting the compiled AML via Clover, in preparation for OpenCore, but I cannot succeed for this one.
       
      Why is this needed? For starters, I have two good reasons.
       
      a) My device pci8086,3ed0@0 is MCHC per lspci and despite Clover being able to inject the parameter AddMCHC, I cannot achieve the same result via SSDT injection instead, meaning OpenCore would not do it either (well, for now).
       
      b) Moreover, I discovered by accident from another config.plist in some Github repository, that my device pci8086,9df9@12 that is listed in lspci as Coffee Lake Thermal Controller [8086:9df9] can be set to being compatible with Apple's accepted and combatible device-id of pci8086,9d21 via Clover injection in Devices -> Properties section or via SSDT, but I cannot make it get a human-friendly ACPI name at all so it get to work and load kext com.apple.driver.AppleIntelPCHPMC.
       
      Believe me, I have a few structures of code... Here is my code (compiles 100%) as an example and below, a blocking issue as well.
       
      /* * Intel ACPI Name Space Architecture for NUC8i7BEH2 device * * NOTES: * Assigned PCI device generic (PGMM) and working (PMCR) to undefined devices in IODeviceTree. * Added new (SBUS) sub-system (BUS0) and (DVL0) devices for improved vanilla detection. * Added new (LPCB) sub-system (EC) device for improved Catalina detection. */ DefinitionBlock ("SSDT-OTHER.aml", "SSDT", 2, "Clover", "OTHER", 0x00000000) { External (_SB_.PCI0, DeviceObj) External (_SB_.PCI0.LPCB, DeviceObj) External (_SB_.PCI0.LPCB.H_EC, DeviceObj) External (_SB_.PCI0.SBUS, DeviceObj) Scope (\_SB.PCI0) { // Device (MCHC) // Intel Corporation Host Bridge/DRAM Registers [8086:3ed0] // { // Name (_ADR, 0x00000000) // } // Device (PGMM) // Intel Corporation Core Processor Gaussian Mixture Model [8086:1911] // { // Name (_ADR, 0x00080000) // } Device (PMCR) // Intel Corporation Coffee Lake Thermal Controller [8086:9df9] { Name (_ADR, 0x00120000) } // Device (SRAM) // Intel Corporation Coffee Lake Shared SRAM [8086:9def] // { // Name (_ADR, 0x00142000) // } // Device (SPI1) // Intel Corporation Coffee Lake Serial Bus SPI Controller [8086:9da4] // { // Name (_ADR, 0x001F5000) // } } Scope (\_SB.PCI0.LPCB) // Intel Corporation Coffee Lake LPC Controller [8086:9d84] { Device (EC) { Name (_HID, "ACID0001") Method (_STA, 0, NotSerialized) { If (_OSI ("Darwin")) { Return (0x0F) } Else { Return (Zero) } } } } // Do not rename EC0, H_EC, etc. to EC as these devices are incompatible with macOS // and may break at any time; AppleACPIEC kext must NOT load. If your motherboard // has an existing Embedded Controller of PNP0C09 type, use the code below to disable. Scope (\_SB.PCI0.LPCB.H_EC) { Method (_STA, 0, NotSerialized) { If (_OSI ("Darwin")) { Return (Zero) } Else { Return (0x0F) } } } Scope (\_SB.PCI0.SBUS) // Intel Corporation Coffee Lake SMBus Controller [8086:9da3] { Device (BUS0) { Name (_ADR, Zero) Name (_CID, "smbus") Device (DVL0) { Name (_ADR, 0x57) Name (_CID, "diagsvault") Method (_DSM, 4, NotSerialized) { If (LEqual (Arg2, Zero)) { Return (Buffer (One) {0x57}) } Return (Package (0x02) {"address", 0x57}) } } } } } So if I use External (_SB_.PCI0, DeviceObj) reference on top, then a Scope (\_SB.PCI0) under it, I found out after many tests and reboots that device with 0x00120000 address is somehow allowed to be assigned a "name" in IODeviceTree but not any others! If I enable the other ones, nothing gets injected in this SSDT as a result !
       
      00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ed0] (rev 08) 00:08.0 System peripheral [0880]: Intel Corporation Core Processor Gaussian Mixture Model [8086:1911] 00:12.0 Signal processing controller [1180]: Intel Corporation Coffee Lake Thermal Controller [8086:9df9] (rev 30) 00:14.2 RAM memory [0500]: Intel Corporation Coffee Lake Shared SRAM [8086:9def] (rev 30) 00:1f.5 Serial bus controller [0c80]: Intel Corporation Coffee Lake SPI Controller [8086:9da4] (rev 30) I guess this is likely due to the way my Intel NUC8i7BEH's BIOS and ACPI code is written ?
       
      What's amazing is that if we use Clover's AddMCHC option, in MacIASL I see inside the main DSDT a new code portion added in the _SB.PCI0 very very end at the bottom:
       

       
      But if I uncomment the code for adding Device (MCHC) in my SSDT code above, the device will not get injected ! This is nuts.
       
      @MaLd0n I have been following most of your work for many years and know that you have better knowledge of ACPI code than me, can you possibly advise how we can rename these "naked" PCI devices in IORegistry Explorer to something meaningful like Device (XYZ) ? Is this possible via SSDT code injection?
       
      Anyone else you have in mind, that could help? @Hervé peut-être, maybe you?
       
      The idea is that, except device at 0x00120000 address being accepted (by chance!) and renamed as Device (PMCR) that helps enable the native power-management by injecting later in Clover's configuration a <key>compatible</key> ID, all others including MCHC cannot be assigned a name.
       
      Your help is appreciated... I tried ways to define Devices with root " \ " reference as in External (\_SB_.PCI0, DeviceObj) and Scope (\_SB.PCI0) and without this, for the love of me I cannot understand how to do it.
       
      Moreover, having disassembled all AML files obtained at Clover Boot time, there is no reference to a device with addresses Name (_ADR, 0x00000000), Name (_ADR, 0x00080000), Name (_ADR, 0x00120000) or Name (_ADR, 0x001F5000) anywhere...
       
      Could it be that they do not belong to Scope (\_SB.PCI0) at all ? But Hackintool does report them as being under PciRoot(0x0) ! Could it be differently under some other device instead? ACPIPlane in IORegistryExplorer doesn't show anything
       
      IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/MCHC@0 --> PciRoot(0x0)/Pci(0x0,0x0) IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PMCR@12 --> PciRoot(0x0)/Pci(0x12,0x0) IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/pci8086,9def@14,2 --> PciRoot(0x0)/Pci(0x14,0x2) IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/pci8086,9da4@1F,5 --> PciRoot(0x0)/Pci(0x1F,0x5)  
      Thanks... hope I can resolve this before spending time migrating to OpenCore...!
       
      Here's a screenshot of the "bare" pci8086,xxxx devices without injection of my code at all, except Clover's AddMCHC option.

    • By Cimmerian_Iter
      Hello everyone i have a sony vaio svd1321Z9E intel i7-4500U/4400HD and 8G of ram and using opencore 5.6
      I made a battery patch following rehabman tutorials and i think the patch looks good, but when i try to load it with the kext my pc won't boot to the home menu.

      Like i it does the verbose boot then show me a grey glitchy screen with scattered apple logo.

      Normally it should give this screen then immediately turn into a black apple loading screen (still glitchy) and then return back to normal once it boot into the desktop menu of mac os. (my gpu problem that i never managed to fix but doesn't bother me)

      I would like to know how i could debug and solve this problem. Any help is appreciated.
      Here are my DSDT, config and my battery patch

       
      config.plist
      DSDT.dsl
      SSDT-BATT-3.aml
×