Jump to content

MSRDumper


  • Please log in to reply
81 replies to this topic

#61
Regi Yassin

Regi Yassin

    Who am I ?

  • Members
  • PipPipPipPipPip
  • 278 posts
  • Gender:Not Telling

Yes, but you still have a lot missing. What smbios to you use? Patched IOPlatForm.kext?

no, i dont use patched io platform with macpro3,1
what is missing? can you explain more detail?

#62
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

no, i dont use patched io platform with macpro3,1
what is missing? can you explain more detail?

Try to follow the steps Speedstep from my guide. The link can be found in my signature.

#63
Pene

Pene

    InsanelyMac Geek

  • Coders
  • 112 posts
  • Gender:Male
Hi,
Is there any solution for using MSRDumper with 1st gen i7 (Nehalem)?
Neither the regular nor the legacy work.

#64
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,215 posts
  • Gender:Not Telling

@Pene, there's a beta software based on DirectHW that shows P-States too. It's not very accurate because it refreshes slower than MSRDumper and misses some states, but it works.



#65
Pene

Pene

    InsanelyMac Geek

  • Coders
  • 112 posts
  • Gender:Male
@DamnedCat,

Thanks, I tried it, but it doesn't seem to work either.
It never seems to refresh, and even if I query it manually again it always shows the same state, although the freq is constantly changing.

#66
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,215 posts
  • Gender:Not Telling
Yes, MSRDumper is still king for pstates reading. I left mine loaded for almost a day (I actually forgot) and reached 10 + 4 pstates.

This is the result with CloverEFI and a SSDT table made with revogirl's script.

MSRDumper PStatesReached: 16 25 30 34 35 36 37 38 39 40 42 43 44 45


#67
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
kernel[0]: MSRDumper PStatesReached: 16 39
kernel[0]: MSRDumper CoreMulti(16)

only getting 2 pstates with my i7 3770.
i'm using clover (uefi) with these settings:


<key>DropOemSSDT</key>
<true/>

<key>GenerateIvyStates</key>
<true/>
<key>GenerateCStates</key>
<false/>
<key>GeneratePStates</key>
<false/>


i've generated an ssdt with ssdtprgen and put it into efi/clover/acpi/patched
am i doing something wrong?

#68
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

kernel[0]: MSRDumper PStatesReached: 16 39
kernel[0]: MSRDumper CoreMulti(16)

only getting 2 pstates with my i7 3770.
i'm using clover (uefi) with these settings:


<key>DropOemSSDT</key>
<true/>

<key>GenerateIvyStates</key>
<true/>
<key>GenerateCStates</key>
<false/>
<key>GeneratePStates</key>
<false/>


i've generated an ssdt with ssdtprgen and put it into efi/clover/acpi/patched
am i doing something wrong?

What model are you using?

In case you want to know, these are my MSRdumper results using a patched SSDT:
27-05-13 13:40:05,000 kernel[0]: MSRDumper CoreMulti(27) 
27-05-13 13:40:05,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 32 33 
27-05-13 13:40:05,000 kernel[0]: MSRDumper CoreMulti(16) 
27-05-13 13:40:05,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 32 33 
27-05-13 13:40:06,000 kernel[0]: MSRDumper CoreMulti(16) 
27-05-13 13:40:06,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 32 33 
27-05-13 13:40:06,000 kernel[0]: MSRDumper CoreMulti(16) 
27-05-13 13:40:06,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 32 33 
27-05-13 13:40:07,000 kernel[0]: MSRDumper CoreMulti(16) 
27-05-13 13:40:07,000 kernel[0]: MSRDumper PStatesReached: 16 19 23 27 31 32 33

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SystemParameters</key>
<dict>
<key>prev-lang:kbd</key>
<string>nl:0</string>
<key>LegacyBoot</key>
<string>PBR</string>
<key>boot-args</key>
<string>npci=0x2000 slide=0 darkwake=0 WithKexts</string>
<key>InjectSystemID</key>
<true/>
</dict>
<key>SMBIOS</key>
<dict>
<key>ProductName</key>
<string>iMac12,2</string>
</dict>
<key>CPU</key>
<dict>
<key>BusSpeedkHz</key>
<string>99790</string>
</dict>
<key>KernelAndKextPatches</key>
<array>
<string>AsusAICPUPM</string>
<true/>
<string>AppleRTC</string>
<true/>
<string>KextsToPatch</string>
<dict>
<key>0</key>
<dict>
<key>Find</key>
<data>QVBQTEUgU1NE</data>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Replace</key>
<data>AAAAAAAAAAAA</data>
</dict>
</dict>
</array>
<key>GUI</key>
<dict>
<key>Theme</key>
<string>bluemac</string>
<key>ScreenResolution</key>
<string>1680x1050</string>
<key>HideEntries</key>
<dict>
<key>Gentoo</key>
<true/>
<key>Duplicate</key>
<true/>
<key>WindowsEFI</key>
<false/>
<key>Ubuntu</key>
<true/>
<key>Recovery</key>
<true/>
<key>OpticalUEFI</key>
<true/>
<key>OSXInstall</key>
<true/>
<key>Grub</key>
<true/>
<key>ExternalUEFI</key>
<true/>
<key>InternalUEFI</key>
<true/>
</dict>
<key>Volumes</key>
<dict>
<key>Legacy</key>
<false/>
</dict>
<key>DebugLog</key>
<true/>
<key>Mouse</key>
<dict>
<key>Enabled</key>
<false/>
</dict>
<key>Timeout</key>
<string>5</string>
<key>DefaultBootVolume</key>
<string>Macintosh HD</string>
</dict>
<key>RtVariables</key>
<dict>
<key>LogEveryBoot</key>
<false/>
<key>MountEFI</key>
<true/>
<key>LogLineCount</key>
<string>3000</string>
</dict>
<key>Graphics</key>
<dict>
<key>PatchVBios</key>
<true/>
<key>GraphicsInjector</key>
<true/>
</dict>
<key>PCI</key>
<dict>
<key>HDAInjection</key>
<string>Detect</string>
<key>USBInjection</key>
<true/>
<key>InjectClockID</key>
<true/>
<key>USBFixOwnership</key>
<true/>
<key>LpcTune</key>
<true/>
</dict>
<key>ACPI</key>
<dict>
<key>ResetValue</key>
<string>0x06</string>
<key>EnableC4</key>
<true/>
<key>EnableC6</key>
<true/>
<key>GeneratePStates</key>
<false/>
<key>C3Latency</key>
<string>0x3E7</string>
<key>EnableISS</key>
<true/>
<key>DropDMAR</key>
<true/>
<key>DropBGRT</key>
<true/>
<key>EnableC2</key>
<true/>
<key>DsdtName</key>
<string>DSDT.aml</string>
<key>PluginType</key>
<string>0</string>
<key>ResetAddress</key>
<string>0xCF9</string>
<key>PLimitDict</key>
<string>0</string>
<key>UnderVoltStep</key>
<string>0</string>
<key>DoubleFirstState</key>
<false/>
<key>DropOemSSDT</key>
<true/>
<key>GenerateCStates</key>
<false/>
</dict>
</dict>
</plist>

Also use this script to generate a (good) SSDT.aml file.

#69
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
same results with imac12,2 and imac13,1
do i need nullcpupowermanagement.kext for make it work?

edit: i got this messages with imac12,2

28/05/13 16:09:50,000 kernel[0]: X86PlatformPlugin::setRingTable - No ring table found!
28/05/13 16:09:50,000 kernel[0]: X86PlatformPlugin::configResourceHandler - Failed to set ring table!
28/05/13 16:09:50,000 kernel[0]: Failed to find sleep policy for this platform! Disabling deep sleep.
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: X86PlatformShim::sendStepper - Stepper dictionary from plist is NULL!
28/05/13 16:09:50,000 kernel[0]: X86PlatformShim::start - Failed to send stepper
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840

imac13,1 with nullcpupowermanagement.kext
28/05/13 16:59:57,000 kernel[0]: X86PlatformPlugin::setRingTable - No ring table found!
28/05/13 16:59:57,000 kernel[0]: X86PlatformPlugin::configResourceHandler - Failed to set ring table!
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C1
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C3
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C6
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::start - Failed to send CStates
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (PMIOCSETPSTATETABLE) returned 0xffffffff
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::start - Failed to send PStates
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendStepper - failed to set initial p-state to P0 (-1)
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::loadStepperContext - pmCPUControl (pmioctlPStateContext_t) failed, result = 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::sendStepper - Failed to load normal stepper dictionary!
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::loadStepperContext - pmCPUControl (pmioctlPStateContext_t) failed, result = 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::sendStepper - Failed to load normal stepper dictionary!
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::start - Failed to send stepper
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::propertyChangedHandler - Error: pmCPUControl (PMIOCSETVARVALUE) returned 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::propertyChangedHandler - Error: pmCPUControl (PMIOCSETVARVALUE) returned 0xffffffff


ssdt generated with the script:

Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a MacMini6,2 [Mac-942B59F58194171B]
Ivy Bridge Core i7-3770 processor [0x0704] setup
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3400 MHz)
Number of Turbo States: 5 (3500-3900 MHz)
Number of P-States: 24 (1600-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)


#70
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

same results with imac12,2 and imac13,1
do i need nullcpupowermanagement.kext for make it work?

edit: i got this messages with imac12,2

28/05/13 16:09:50,000 kernel[0]: X86PlatformPlugin::setRingTable - No ring table found!
28/05/13 16:09:50,000 kernel[0]: X86PlatformPlugin::configResourceHandler - Failed to set ring table!
28/05/13 16:09:50,000 kernel[0]: Failed to find sleep policy for this platform! Disabling deep sleep.
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: X86PlatformShim::sendStepper - Stepper dictionary from plist is NULL!
28/05/13 16:09:50,000 kernel[0]: X86PlatformShim::start - Failed to send stepper
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840
28/05/13 16:09:50,000 kernel[0]: Standby delay is not specified! Defaulting to 0x1068
28/05/13 16:09:50,000 kernel[0]: ErP Timer is not specified! Defaulting to 0x3840

imac13,1 with nullcpupowermanagement.kext
28/05/13 16:59:57,000 kernel[0]: X86PlatformPlugin::setRingTable - No ring table found!
28/05/13 16:59:57,000 kernel[0]: X86PlatformPlugin::configResourceHandler - Failed to set ring table!
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C1
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C3
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendCStates - PMIOCSETCSTATE result 0xffffffff for state C6
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::start - Failed to send CStates
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (PMIOCSETPSTATETABLE) returned 0xffffffff
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::start - Failed to send PStates
28/05/13 16:59:57,000 kernel[0]: X86PlatformShim::sendStepper - failed to set initial p-state to P0 (-1)
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::loadStepperContext - pmCPUControl (pmioctlPStateContext_t) failed, result = 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::sendStepper - Failed to load normal stepper dictionary!
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::loadStepperContext - pmCPUControl (pmioctlPStateContext_t) failed, result = 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::sendStepper - Failed to load normal stepper dictionary!
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::start - Failed to send stepper
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::propertyChangedHandler - Error: pmCPUControl (PMIOCSETVARVALUE) returned 0xffffffff
28/05/13 16:59:58,000 kernel[0]: X86PlatformShim::propertyChangedHandler - Error: pmCPUControl (PMIOCSETVARVALUE) returned 0xffffffff


ssdt generated with the script:

Processor Declaration(s) Found in DSDT (ACPI 1.0 compliant)
Generating ssdt_pr.dsl for a MacMini6,2 [Mac-942B59F58194171B]
Ivy Bridge Core i7-3770 processor [0x0704] setup
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 8 (Core Frequency: 3400 MHz)
Number of Turbo States: 5 (3500-3900 MHz)
Number of P-States: 24 (1600-3900 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)

Try to use a model that has an Ivy Bridge CPU, iMac13,2, etc.
You also need to change this line PluginType=1 instead of 0.

Also remove NullCPU, otherwise speedstep will not work. So patch your bios first, or try to patch IntelCPUPM.

#71
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
isn't speedstepper only for asus motherboards? i'm on a gigabyte
the plugintype=1 and model imac13,2 fix also seems to do nothing

:(

#72
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 553 posts
  • Gender:Male

i'm using clover (uefi) with these settings:

<key>DropOemSSDT</key>
<true/>
<key>GenerateIvyStates</key>
<true/>
<key>GenerateCStates</key>
<false/>
<key>GeneratePStates</key>
<false/>
i've generated an ssdt with ssdtprgen and put it into efi/clover/acpi/patched
am i doing something wrong?


You enabled GenerateIvyStates and you got a custom SSDT, that's not good - however I don't know what exactly this option does.

Two states with iMac13 definitions are fine as far as I know and why would you need more? Otherwise try MacMini, it should give you more states.

#73
ktzyeah

ktzyeah

    InsanelyMac Protégé

  • Members
  • PipPip
  • 51 posts
  • Gender:Male
ok now i'm using only ssdt without generating ivy/c/p states and i'm not getting errors during boot.
anyway it would be nice to have also a state at 3.4ghz instead of only 1.6 and 3.9

#74
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

ok now i'm using only ssdt without generating ivy/c/p states and i'm not getting errors during boot.
anyway it would be nice to have also a state at 3.4ghz instead of only 1.6 and 3.9

See this. Remember to do at your own risk. It works for me here, don't know about Gigabyte, but seems to be listed.
Also if I'm right you using an UEFI-bios.

#75
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 553 posts
  • Gender:Male
@beta992: As far as I know current Gigabytes don't need this patch. I'm pretty sure his power management is working. He should just try more SMBIOS definitions.

#76
Maniac10

Maniac10

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,215 posts
  • Gender:Not Telling
Guys, you're totally off topic.

@ktzyeah try posting in the Clover forum or at projectosx.com

#77
The_Village_Idiot

The_Village_Idiot

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 128 posts

sorry to bump an old thread.

Asus P8H77 MLE with i7-3770, smbios iMac 13,1. SSDT generated by ssdtprgen script and i got this (while running geekbench, etc)
 

 

Sep 17 15:24:58 praetoriuss-iMac kernel[0]: MSRDumper PStatesReached: 16 34 

Sep 17 15:24:58 praetoriuss-iMac kernel[0]: MSRDumper CoreMulti(16) 
Sep 17 15:24:58 praetoriuss-iMac kernel[0]: MSRDumper PStatesReached: 16 34 
Sep 17 15:24:59 praetoriuss-iMac kernel[0]: MSRDumper CoreMulti(16) 
Sep 17 15:24:59 praetoriuss-iMac kernel[0]: MSRDumper PStatesReached: 16 34 

 

DropSSDT=yes, GenerateCStates/Pstates=No in ocb.plist

am i missing something?



#78
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 553 posts
  • Gender:Male
@praetorius: No, this is the way iMacs work. If you want more states, you can either switch to a different model identifier or keep using iMac and replace its platform setting plist with the one from Mac Mini, which will give you more states, for instance.

#79
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

@praetorius: No, this is the way iMacs work. If you want more states, you can either switch to a different model identifier or keep using iMac and replace its platform setting plist with the one from Mac Mini, which will give you more states, for instance.

Or replace the <data>[speedstep-tables]</data> with another model spec. (MacbookPro8,3 works best for me)



#80
Smith@@™

Smith@@™

    InsanelyMac LOL

  • Retired
  • 2,928 posts
  • Gender:Male
  • Location:Somewhere over the rainbow...ITALIA!
  • Interests:Dark matter and dark energy. E basta. HD3000. E basta.

This is good also for Mavericks! :)







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