Jump to content

DSDT for Asus P8P67-M PRO


  • Please log in to reply
833 replies to this topic

#481
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets

I suggested that post...
Now Turbo Ratios is correct:

I think you mean something different? :( Glad it worked, stupid ASUS bug.

Does your sleep and deep-sleep works correctly there?

Sleep works, but I do get the GPU glitches I mentioned (flickering) upon wake.

And RevoBoot doesn't support booting from a deep-sleep image at the moment.

#482
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male

I think you mean something different? ;) Glad it worked, stupid ASUS bug.

;)

Sleep works, but I do get the GPU glitches I mentioned (flickering) upon wake.

Not here :(

And RevoBoot doesn't support booting from a deep-sleep image at the moment.

Like I presuppose...

#483
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
Ouh, some action over at hardforum, finally some response from Asus!

#484
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

Ouh, some action over at hardforum, finally some response from Asus!

Yeah. They needed a kick in the...

BTW. Reading MSR's from different cores is easy. First you let it sleep, which triggers it to switch to a different core, and then you read it. It' all in CPUi.cpp Look at loopTimerEvent and specifically this part of it:
// State Readout
	IOSimpleLockLock(SimpleLock);
	mp_rendezvous_no_intrs(IntelState, &magic);
	IOSimpleLockUnlock(SimpleLock);
Now something else. Please verify this:

1.) Disable EIST/C1E in UEFI settings.
2.) Boot.
3.) Run Geekbench.
4.) do a tail/var/log/kernel.log

Repeat the steps but now with EIST/C1E enabled. Please attach the output because I think to have found a way to boot quicker (will update RevoBoot sources when confirmed).

#485
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
Will test it after I make some coffee :(

Did you see my post on Page #139 at hardforum? How can we test this?

4.) do a tail/var/log/kernel.log

This will usually output vmnet info on my system, which info do you need? Current multiplier from MSRDumper?

#486
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male

Now something else. Please verify this:

1.) Disable EIST/C1E in UEFI settings.
2.) Boot.
3.) Run Geekbench.
4.) do a tail/var/log/kernel.log

Repeat the steps but now with EIST/C1E enabled. Please attach the output because I think to have found a way to boot quicker (will update RevoBoot sources when confirmed).

Here we go ->Attached File  Archivio.zip   5.52KB   12 downloads
Any suggestion regarding this?
Also don't solve issue regarding iMac12,2 mac model identifier. Always get blue screen after boot using iMac12_2.plist in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/.

#487
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets

Also don't solve issue regarding iMac12,2 mac model identifier. Always get blue screen after boot using iMac12_2.plist in /System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/.

Sorry, without more data you'll have to do some debugging on your own. A blue screen suggests some sort of gpu issue, though.

#488
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male
I'm checking AGPM.kext Info.plist...
See that in DHP's AGPM.kext Info.plist there's a part of code regarding iMac12,2 that's not present in mine AGPM.kext Info.plist.

#489
Time2Retire

Time2Retire

    Retired

  • Retired Developers
  • 1,012 posts
  • Gender:Female
  • Location:anonymouse.eu

Will test it after I make some coffee :)

LOL Coffee? What about food?

Did you see my post on Page #139 at hardforum? How can we test this?

You mean if turbo works without EIST? Look at the dump I asked you for :)

This will usually output vmnet info on my system, which info do you need? Current multiplier from MSRDumper?

What I am after here is the ratio scale with and without EIST enabled in UEFI.

Here turbo ratio only works (the full scale) when I disable EIST. Then I see MSRDumper: multiplier: 16, 35, 36, 37 and 38 but as soon as I enable EIST I only see 16 and 34 – hence the lower Geekbench score.

I found a way to boost it one stage, by setting an MSR, but AICPUPM handles turbo states in a far more relaxed way, compared to what the hardware/UEFI does, and thus I want to use the kext instead.

#490
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets

I'm checking AGPM.kext Info.plist...
See that in DHP's AGPM.kext Info.plist there's a part of code regarding iMac12,2 that's not present in mine AGPM.kext Info.plist.

Search the thread please, DHP posted a diff. You also need to change vendor/device in that plist.
I currently don't use the mod, because I want to understand the QSC package first. I do have the iMac12,2 plist in there, but it shouldn't match on the stock device ids present there.

Ok so EIST/C1 disabled, Geekbench: 9730
May 24 12:58:41 slave kernel[0]: MSRDumper: multiplier: 36
May 24 12:58:46 slave kernel[0]: MSRDumper: multiplier: 16
May 24 12:58:56: --- last message repeated 1 time ---
May 24 12:58:56 slave kernel[0]: MSRDumper: multiplier: 35
May 24 12:59:06: --- last message repeated 1 time ---
May 24 12:59:06 slave kernel[0]: MSRDumper: multiplier: 34
May 24 12:59:11 slave kernel[0]: MSRDumper: multiplier: 35
May 24 12:59:16 slave kernel[0]: MSRDumper: multiplier: 34
May 24 12:59:21 slave kernel[0]: MSRDumper: multiplier: 35
May 24 12:59:26 slave kernel[0]: MSRDumper: multiplier: 16
May 24 12:59:31 slave kernel[0]: MSRDumper: multiplier: 22
May 24 12:59:36 slave kernel[0]: MSRDumper: multiplier: 16

EIST/C1 enabled, Geekbench: 9600, 9700, 9750 (wth?)
May 24 13:03:30 slave kernel[0]: MSRDumper: multiplier: 30
May 24 13:03:35 slave kernel[0]: MSRDumper: multiplier: 16
May 24 13:03:40 slave kernel[0]: MSRDumper: multiplier: 34
May 24 13:03:46 slave kernel[0]: MSRDumper: multiplier: 35
May 24 13:03:50 slave kernel[0]: MSRDumper: multiplier: 22
May 24 13:03:55 slave kernel[0]: MSRDumper: multiplier: 34
May 24 13:04:01 slave kernel[0]: MSRDumper: multiplier: 35
May 24 13:04:05 slave kernel[0]: MSRDumper: multiplier: 16
May 24 13:04:20: --- last message repeated 2 times ---
May 24 13:04:20 slave kernel[0]: MSRDumper: multiplier: 34
May 24 13:04:30: --- last message repeated 1 time ---
May 24 13:04:30 slave kernel[0]: MSRDumper: multiplier: 16

By the looks of it, this is not conclusive for the i5-2500K?

#491
dhy8386

dhy8386

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
hey guys

Been following the thread and its amazing stuff. I have one question, and sorry if its a distraction so feel free to pass on it for now...

I have the i5 2400 and not sure how i would adjust my ssdt_pr file to reflect the turbo ratios. I was looking at DHPs latest ssdt_pr compared to flAkeds latest for the 2500K and it is not just simply a few lines deleted to remove extra frequencies.

Besides this one item, i think i got everything else working with your files in my P8H67-I Deluxe...

Much thanks for any help or direction.

#492
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets

I have the i5 2400 and not sure how i would adjust my ssdt_pr file to reflect the turbo ratios. I was looking at DHPs latest ssdt_pr compared to flAkeds latest for the 2500K and it is not just simply a few lines deleted to remove extra frequencies.

Sorry about that, it's not exactly diff-friendly, it's based on my old revision. But the only differences are in APSS, _PSS and the processor value in PSD. I'll get back to you, once I have some time on my hand.

LOL Coffee? What about food?

Hehe, always comes with some toast and jam though :)

You mean if turbo works without EIST? Look at the dump I asked you for :)

More like how to send him our results. I found a tool for windows to directly read MSR's. So I could do some screenshots with CPU-Z. But I would need to be sure if EIST is really disabled in windows.

BTW, if you need more granularity, set the event timeout to 5.


Note that I have 0x1A0: 0x850089 for each test run, so the EIST bit didn't change (the UEFI bug).

#493
dhy8386

dhy8386

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
OK Thanks. Much appreciated.

#494
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
Now, here a some insights. Raja said they tied TurboMode and EIST together. That would mean if one disables EIST and leave TurboMode on, then EIST would still be enabled.

But, testing shows:
1) EIST + Turbo enabled: 0x850089
2) EIST disabled + Turbo enabled: 0x850089
3) EIST enabled + Turbo disabled: 0x850089 + 0x40 (edx)
4) EIST + Turbo disabled: 0x850089 + 0x40 (edx)

1) is fine
2) is a poor BIOS choice, so that people can enable Turbo separately, but in reality, it just leaves EIST on
3) is fine
4) is totally wrong, EIST should be disabled in this case, but it isn't

Even if C1M is off, 4) is still not altered.

Shouldn't it be possible to set a fixed ratio and then only enable Turbo? Say I want my CPU at 33x at all time and if thermal allows it, go up to 37x.

#495
elitee

elitee

    InsanelyMac Protégé

  • Members
  • PipPip
  • 99 posts

I'm checking AGPM.kext Info.plist...
See that in DHP's AGPM.kext Info.plist there's a part of code regarding iMac12,2 that's not present in mine AGPM.kext Info.plist.


patch plist -i new_plist.diff -o plist.new


#496
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets

patch plist -i new_plist.diff -o plist.new

Until recently, RevoBoot used iMac12,3 internally, which was the reason why AGPMEnabler didn't match. This is fixed. We don't need to edit the plist in order to get SpeedStep working. It is only for GPU throttling.

I haven't tackled this part yet. But if those QSC values in fact set the GPU frequency I would be careful.

#497
mrmojorisin17

mrmojorisin17

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,942 posts
  • Gender:Male

Until recently, RevoBoot used iMac12,3 internally, which was the reason why AGPMEnabler didn't match. This is fixed. We don't need to edit the plist in order to get SpeedStep working. It is only for GPU throttling.

Confirmed ;)
With "old" version of RevoBoot (e4e61b2) is necessary to patch AGPM.kext Info.plist in order to boot succesfully with iMac12,2 mac model identifier.
With new one (6e99411) all works properly also without patching AGPM.kext Info.plist.

Just made some other test but sleep doens't work.
I tried to make a reset instead of a shutdown after trying to wake up the PC; result: I get 3 beeps and the PC shutdown.

#498
flAked

flAked

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 470 posts
  • Gender:Male
  • Location:internets
Alright, so I posted an extensive explanation of my testings @hardforum, let's hope they will fix this soon.

#499
ThisNameUnavailable

ThisNameUnavailable

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
I've added my support (on HF). Shall I invite tonymac Asus owner to contribute their support or are you good for now?

#500
dhy8386

dhy8386

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
flAked,

my dsdt.bin attached. much thanks.

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy