Jump to content
6414 posts in this topic

Recommended Posts

Can solve Pink icon and Launchpad

Thanks!!

 

Everybody!!!Good news!!! I solve  Pink Launchpad!!! My method: First ,to System Preferences - displays .And choose "scaled",and choose the other resolution ratio,and you open launchpad you will find the icon to normal!!! Finally,you

choose former resolution ratio,and Launchpad still normal!!

Sorry my English!!

New AMD kernel and PM pack.

Added Sinetek's great graphics fix and modified it to only be used on AMD CPUs.

So this is the first release kernel (thanks Sinetek, great work :D)

It will run fine on both AMD and Intel CPUs.


 

Yes it will, No more glitches on ATI, NVIDIA.

still got some pink icons though.

 

 

mtrr.diff:

--- xnu-2422.1.72/osfmk/i386/mtrr.c	2011-10-18 18:42:25.000000000 -0400
+++ xnu-2422.1.72-anv/osfmk/i386/mtrr.c	2013-11-07 17:48:28.000000000 -0500
@@ -65,7 +65,7 @@
 
 //#define MTRR_DEBUG 1
 #if	MTRR_DEBUG
-#define DBG(x...)	kprintf(x)
+#define DBG(x...)	printf(x)
 #else
 #define DBG(x...)
 #endif
@@ -257,6 +257,24 @@
 }
 #endif /* MTRR_DEBUG */
 
+/*** Sinetek: AMD requires configuring a few more things ***/
+/***   doesn't seem to do anything ***/
+void mtrr_amd_init()
+{
+	uint64_t HWCR = rdmsr64(0xC0010015 );
+	printf("AMD_HWCR  %016llX\n", HWCR);
+
+	HWCR |= 1 << 1;
+	HWCR |= 1 << 3;
+	HWCR |= 1 << 4;
+	HWCR |= 1 << 6;
+	HWCR |= 1 << 8;
+	HWCR |= 1 << 17;
+	HWCR |= 1 << 18;
+
+	wrmsr64(0xC0010015, HWCR);
+}
+
 /*
  * Called by the boot processor (BP) early during boot to initialize MTRR
  * support.  The MTRR state on the BP is saved, any additional processors
@@ -273,6 +291,8 @@
 	if ((cpuid_features() & CPUID_FEATURE_MTRR) == 0)
         	return;  /* no MTRR feature */
 
+	//mtrr_amd_init();
+
 	/* use a lock to serialize MTRR changes */
 	bzero((void *)&mtrr_state, sizeof(mtrr_state));
 	simple_lock_init(&mtrr_lock, 0);
@@ -337,6 +357,10 @@
 	/* flush TLBs */
 	flush_tlb_raw();
 
+	//uint32_t amd;
+	//PE_parse_boot_argn("-amd", &amd, sizeof (amd));
+	//if(amd) mtrr_amd_init();
+
 	if (CACHE_CONTROL_PAT == cache_control_type) {
 		/* Change PA6 attribute field to WC */
 		uint64_t pat = rdmsr64(MSR_IA32_CR_PAT);
@@ -362,7 +386,8 @@
 
 		/* enable all MTRR range registers (what if E was not set?) */
 		wrmsr64(MSR_IA32_MTRR_DEF_TYPE,
-			mtrr_state.MTRRdefType | IA32_MTRR_DEF_TYPE_E);
+			MTRR_TYPE_UNCACHEABLE | IA32_MTRR_DEF_TYPE_E );
+
 	}
 
 	/* flush all caches and TLBs a second time */
@@ -680,7 +705,8 @@
 	boolean_t	istate;
 	uint64_t	pat;
 
-	if (!(cpuid_features() & CPUID_FEATURE_PAT))
+	return;
+	if ( !(cpuid_features() & CPUID_FEATURE_PAT))
 		return;
 
 	istate = ml_set_interrupts_enabled(FALSE);

Awesome Sinetek.

Really great work :D

You, Bronzovka and me wrote history in very short notice ;)

AMD_Kernel_And_PM_REL1.zip

  • Like 11

Sleep is working without SleepEnabler.kext, I'm not sure if it is a reflection of some DSDT patching I've made, but it's working...

 

Is corecrypto still required with this kernel? I'm using only NullCPUPowerManagement.kext anv corecrypto.kext FakeSMC.kext and Atheros for ethernet.

 

If someone needs help with DSDTs I think I can help, you just PM me and I'll take care ASAP. ;)

  • Like 2

Sleep is working without SleepEnabler.kext, I'm not sure if it is a reflection of some DSDT patching I've made, but it's working...

 

Is corecrypto still required with this kernel? I'm using only NullCPUPowerManagement.kext anv corecrypto.kext FakeSMC.kext and Atheros for ethernet.

 

If someone needs help with DSDTs I think I can help, you just PM me and I'll take care ASAP. ;)

@+ira

 

Just checked now and my AMD sleep is working too for the first time!

No Corecrypto needed for the kernel compiled by Shanee, not sure of AnV's recently posted kernel.

  • Like 2

New AMD kernel and PM pack.

Added Sinetek's great graphics fix and modified it to only be used on AMD CPUs.

So this is the first release kernel (thanks Sinetek, great work :D)

It will run fine on both AMD and Intel CPUs.

Awesome Sinetek.

Really great work :D

You, Bronzovka and me wrote history in very short notice ;)

hi andy

is there anther way not to touch system.kext  like make kext that do that you did on it or at least to be patched through clover ?

New AMD kernel and PM pack.

Added Sinetek's great graphics fix and modified it to only be used on AMD CPUs.

So this is the first release kernel (thanks Sinetek, great work :D)

It will run fine on both AMD and Intel CPUs.

 

still does not work on older AMD  :(

 

KP

 
warning: invalid kernel ip won't attempt to handle trap
...
bsd process name corresponding to current thread: opendirectoryd

If all we have to complain about now is iCloud & iMessage then I must say that is pretty good going devs! Great Work Guys!

I think most of the work has been done, but it would be even better if we solve the cache problem Sinetek has found in a way we don't need to disable it, i mean there's a reason for caching, disabling it is a solution for our graphics problem but maybe we can make cache works correctly instead of disabling it, i don't know, maybe the only way is disabling it...

hi andy

is there anther way not to touch system.kext like make kext that do that you did on it or at least to be patched through clover ?

If you want VoodooPState.kext to work on any kernel you need the custom System.kext

If you don't use VoodooPState.kext it isn't needed.

Sleep is working without SleepEnabler.kext, I'm not sure if it is a reflection of some DSDT patching I've made, but it's working...

 

Is corecrypto still required with this kernel? I'm using only NullCPUPowerManagement.kext anv corecrypto.kext FakeSMC.kext and Atheros for ethernet.

 

If someone needs help with DSDTs I think I can help, you just PM me and I'll take care ASAP. ;)

I patched the routines that check the PM (AICPUPM) attach ;)
  • Like 3

I would like to say Thank You for all of member, especially the "Dev Team" .. you really " The Dream Team" ..guys.. :D , finally my Athlon2 X4 635, nVidia GT220 worked ... http://cl.ly/image/1n2S3X2O2u2K

 

and then "play it cool"   http://cl.ly/image/3o080e1E2d2S

  • Like 1

Andy, Bronya, Sinetek, this is awesome! So excited to hear this!

And to everyone else, seriously well done! AMD once again pushes through. This is really great guys. 

  • Like 1

New AMD kernel and PM pack.

Added Sinetek's great graphics fix and modified it to only be used on AMD CPUs.

So this is the first release kernel (thanks Sinetek, great work :D)

It will run fine on both AMD and Intel CPUs.

Awesome Sinetek.

Really great work :D

You, Bronzovka and me wrote history in very short notice ;)

black screen on amd phenom :(

I get this when using RC7, tried both with and without GraphicsEnabler. Am I maybe missing something? I haven't replaced System.kext with the one from the pack posted by Andy. Retail with Pandora.

 

http://s8.postimg.org/ne4d6wnv9/image.jpg

 

AMD Athlon X2

ATI HD5770

Biostar A780L motherboard

black screen on amd phenom :(

Use Clover for booting, not Chameleon...

I get this when using RC7, tried both with and without GraphicsEnabler. Am I maybe missing something? I haven't replaced System.kext with the one from the pack posted by Andy. Retail with Pandora.

 

http://s8.postimg.org/ne4d6wnv9/image.jpg

 

AMD Athlon X2

ATI HD5770

Biostar A780L motherboard

Try the kernel in the latest PM Pack (REL1)

@Andy. Is it possible to fully emulate an Intel CPU? I think this would solve some problems. Terminal and System Info reads and Intel but for example Geekbench and the OpenGL Extension Viewer shows an AMD.

  • Like 1

Try the kernel in the latest PM Pack (REL1)

Should I also replace the kexts that are in that pack?

 

edit: still does not work with the kernel from your pack

Sleep is working without SleepEnabler.kext, I'm not sure if it is a reflection of some DSDT patching I've made, but it's working...

 

Is corecrypto still required with this kernel? I'm using only NullCPUPowerManagement.kext anv corecrypto.kext FakeSMC.kext and Atheros for ethernet.

 

If someone needs help with DSDTs I think I can help, you just PM me and I'll take care ASAP. ;)

In my case, corecrypto - no need anymore with both of kernels (andy and sinetek fix), but it's a lot faster booting with corecrypto to me.

 

EDIT: But I still don't have QE/CI   :(

 

:help: :help: :help:

  • Like 1

Recreated the installer USB and now it's busy installing :)

Gooooood :) I am now installing Clover on USB and then I will try to boot with that to Mavericks. I have got Clover on CD but when I try to boot, always restart :/ It's annoying...

Bravo~!!!!!

 

All works with no graphics glitches, but dont know why my FX-8350 becoming 1GHz only....

 

Screen+Shot+2013-11-08+at+22.31.31.png

VoodooPState installed?

I still need to edit the code for FX...

Bravo~!!!!!

 

All works with no graphics glitches, but dont know why my FX-8350 becoming 1GHz only....

 

 

 

 

And....... removing the System.kext and those two Voodooxxxx.kext resulting kernel panic........

VoodooPState installed?

I still need to edit the code for FX...

 

Oh...yes......

anyway i am happy with it at the moment, wait for your latest release, Thx~!  :thumbsup_anim:

I installed all the kexts and the new kernel. Borderlands 2 runs on maximum with no problems, only issue I'm having is clover not saving my settings. How can I edit config.plist while in OS X.

EDIT: Figured it out.

×
×
  • Create New...