Contribute
Register

Problem VAIO F11, 10.12.1: Micro stuttering

Status
Not open for further replies.
Joined
Jan 18, 2011
Messages
239
Motherboard
B85M-G
CPU
Core i7 4770
Graphics
nVidia 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
EDIT found a solution, it was the power management set by Apple for the nVidia gt330m. I modified that. Read last post.


Hi,

I still have a problem with my OSX 10.12.1 installation on my Vaio F11 (gt330m, core i7 1,6):

There is still kind of stuttering, that appears like every 4 seconds. I can see it while scrolling in various GUIs and also while entering text with the keyboard. Sometimes the cursor lags and then updates a bunch of letters.

I already tried the following with clover:
- using nvidia web drivers -> slightly better
- adding HPET DSDT fix (though it was already in DSDT) -> slightly better
- checking different Smbioses, macbookpro6,1 and macbookpro6,2 -> no change
- Trying various kernel pm options -> no change
- disabling VT in bios -> no change

Everything seems to be detected just fine, even the webcam works (thx to RehabMan's recent voodoo driver), full qe/gl, audio, all connectors...

So, what could be the cause for this? Maybe a too drastical graphics power management? Should I try to alter AppleGraphicsPowerManagement? I think I did this for OSX 10.9, too... Btw. on OSX 10.9 I did not have this problem.

Or could this be kind of SATA problem, or IRQ problem?

Please help!

Thanks a lot!

P.S: What is AppleIntelSlowAdaptiveClocking.kext for? This seems to be new... Maybe I should try to disable this? It's loaded...

P.S2: E.g. if I open photobooth, the mouse pointer starts to stutter every 3 seconds, too!
 
Last edited:
Ok, I tested the apps using nv_disable=1, so software graphics only. The stuttering goes away...

So I would conclude, it's a problem with graphics power management?

How can I influence that for nvidia cards? I only know how that works on AMDs, using AppleGraphicsPowerManagement.kext. Only "com.apple.AppleGraphicsDeviceControl"...

EDIT: com.apple.driver.AGPM is loaded, too. But it's missing those config keys in Info.plist, it seems.

EDIT2:
Ok, found it in the Info.plist:
MacBookPro6,1, device 0a29

I transferred now the values from high heuristics profile....
 
Last edited:
Ok,
patched AGPM now with the following values, stuttering disappeared, though fans is quite a bit louder now all the time.

Any idea how to improve the power profile for my nvidia gt330m?
Code:
    <key>ID</key>
    <integer>0</integer>
    <key>IdleInterval</key>
    <integer>100</integer>
    <key>P3HistoryLength</key>
    <integer>2</integer>
    <key>SensorOption</key>
    <integer>1</integer>
    <key>SensorSampleRate</key>
    <integer>10</integer>
    <key>TargetCount</key>
    <integer>1</integer>
    <key>Threshold_High</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>80</integer>
        <integer>100</integer>
    </array>
    <key>Threshold_High_v</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>98</integer>
        <integer>100</integer>
    </array>
    <key>Threshold_Low</key>
    <array>
        <integer>57</integer>
        <integer>68</integer>
        <integer>75</integer>
        <integer>94</integer>
    </array>
    <key>Threshold_Low_v</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>95</integer>
        <integer>99</integer>
    </array>
</dict>
</plist>
 
Ok, found a solution, it was the power management set by Apple for the nVidia gt330m. I modified that in the following way:

Modification of
/System/Library/Extensions/AppleGraphicsPowermanagement.kext/Contents/Info.plist
for a fluent graphics on Sony VAIO F11 gt330m core i7
. Use SMBIOS id "MacBookPro6,1". Navigate to node
IOKitPersonalites->AGPM->Machines->MacBookPro6,1->Vendor10deDevice0a29->Heuristic
and change it to:
Code:
    <key>ID</key>
    <integer>0</integer>
    <key>IdleInterval</key>
    <integer>100</integer>
    <key>P3HistoryLength</key>
    <integer>2</integer>
    <key>SensorOption</key>
    <integer>1</integer>
    <key>SensorSampleRate</key>
    <integer>10</integer>
    <key>TargetCount</key>
    <integer>1</integer>
    <key>Threshold_High</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>80</integer>
        <integer>100</integer>
    </array>
    <key>Threshold_High_v</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>98</integer>
        <integer>100</integer>
    </array>
    <key>Threshold_Low</key>
    <array>
        <integer>57</integer>
        <integer>68</integer>
        <integer>75</integer>
        <integer>94</integer>
    </array>
    <key>Threshold_Low_v</key>
    <array>
        <integer>57</integer>
        <integer>70</integer>
        <integer>95</integer>
        <integer>99</integer>
    </array>
 
This does not seem to work anymore with 10.12.4.

Changes in applegfxpowerman do not seem to have any effect anymore.... Does somebody know if the power management moved to another place? Maybe directly into the gfx driver?
 
Here is some log:
Code:
standard    14:52:04.828003 +0200    kernel    AGPM: updateGPUHwPstate(): state = 1. Calling fFB->setAggressiveness()...
standard    14:52:04.828023 +0200    kernel    AGPM: GPU = NGFX G-state set to 1 from 0, ControlID = 17. SW occupancy updated.
standard    14:52:06.239903 +0200    kernel    AGPM: updateGPUHwPstate(2, 0): fHwPstate = 1 fFB = 0xffffff800f1a4000
standard    14:52:06.239922 +0200    kernel    AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
standard    14:52:06.239939 +0200    kernel    AGPM: GPU = NGFX G-state set to 2 from 1, ControlID = 17. SW occupancy updated.
standard    14:52:15.462799 +0200    kernel    AGPM: updateGPUHwPstate(0, 0): fHwPstate = 2 fFB = 0xffffff800f1a4000
standard    14:52:15.462814 +0200    kernel    AGPM: updateGPUHwPstate(): state = 0. Calling fFB->setAggressiveness()...
standard    14:52:15.462826 +0200    kernel    AGPM: GPU = NGFX G-state set to 0 from 2, ControlID = 17. SW occupancy updated.
standard    14:52:16.941744 +0200    kernel    AGPM: updateGPUHwPstate(1, 0): fHwPstate = 0 fFB = 0xffffff800f1a4000
standard    14:52:16.941768 +0200    kernel    AGPM: updateGPUHwPstate(): state = 1. Calling fFB->setAggressiveness()...
standard    14:52:16.941788 +0200    kernel    AGPM: GPU = NGFX G-state set to 1 from 0, ControlID = 17. SW occupancy updated.
standard    14:52:18.356605 +0200    kernel    AGPM: updateGPUHwPstate(2, 0): fHwPstate = 1 fFB = 0xffffff800f1a4000
standard    14:52:18.356629 +0200    kernel    AGPM: updateGPUHwPstate(): state = 2. Calling fFB->setAggressiveness()...
standard    14:52:18.356649 +0200    kernel    AGPM: GPU = NGFX G-state set to 2 from 1, ControlID = 17. SW occupancy updated.

With the current values, the ngfx seems to switch between states 0,1 and 2, where 2 is idle. Assuming 0 is the fastest highperf state, this seems to be all right.

Still lagging is going on, even keyboard lagging... :(

No idea anybody?
 
Can someone please pm me his/her AppleGraphicsPowermanagement.kext from 10.12.1?
 
No idea, why it's stuttering on 10.12.4, but wasn't on 10.12.1?

Seems that the transition between two states causes a stutter...
 
Hm, I reinstalled 10.12.1 and now the micro stuttering still exists. So my theory was not right at all. Must be another reason, but no idea which one.
 
Status
Not open for further replies.
Back
Top