Jump to content

Fermi Graphics Power Management


  • Please log in to reply
67 replies to this topic

#21
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

carmoguy, have ypu had any problems with the Fermi freeze? Mine freezes every now and then for up to 20 seconds.

See Link



Hi, no, not having any freezing problems. And no I don't have to use nvidia smc and I haven't enabled opencl yet, don't see any reason to at the moment, rather keep as much as I can vanilla.


No idea what that pluginprocess error is about. Only thing on my mind would be to try switching your machine to MacPro, or remove the BoostPstate BoostTime from the plist, those aren't required.

#22
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
Using these Thresholds:

High
0: 25
1: 40
2: 60
3: 100
Low
0: 0
1: 75
2: 90
3: 98

And I am getting only 17 fps in Cinebench, Camoguy what are your current thresholds that give you 35fps?

#23
dysfunction

dysfunction

    InsanelyMac Protégé

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:denmark

Using these Thresholds:

High
0: 25
1: 40
2: 60
3: 100
Low
0: 0
1: 75
2: 90
3: 98

And I am getting only 17 fps in Cinebench, Camoguy what are your current thresholds that give you 35fps?


Got the same threshold as you, getting: 36,85 FPS. Funny thing is that i can't see my log any more (had to reinstall a couple of hours ago), logging is enables but the states doesn't show up.

Can you see your APGM states in console?

What mac identifier are you using?

apple menu/about this mac/system report/... hardware model name

#24
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
Well I am getting ONLY 17 fps, and before doing this process I was getting like 8 fps... (I get 50 fps in Windows 7). I should be getting like 30 something...
Mine is MacPro4,1

Are you getting 36??? that is excellent... I wonder why I have so much difference in FPS... ;)
I have not turned the LOG on, I will be doing that...

Got the same threshold as you, getting: 36,85 FPS. Funny thing is that i can't see my log any more (had to reinstall a couple of hours ago), logging is enables but the states doesn't show up.

Can you see your APGM states in console?

What mac identifier are you using?

apple menu/about this mac/system report/... hardware model name



#25
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

Using these Thresholds:

High
0: 25
1: 40
2: 60
3: 100
Low
0: 0
1: 75
2: 90
3: 98

And I am getting only 17 fps in Cinebench, Camoguy what are your current thresholds that give you 35fps?



Check your console, make sure you're in g state zero. Those are my thresholds too.

Well I am getting ONLY 17 fps, and before doing this process I was getting like 8 fps... (I get 50 fps in Windows 7). I should be getting like 30 something...
Mine is MacPro4,1

Are you getting 36??? that is excellent... I wonder why I have so much difference in FPS... ;)
I have not turned the LOG on, I will be doing that...



There's a couple things in /S/L/E/AppleGraphicsPowerManagement/Contents/Info.plist to check

1. vendor10dedevice1200 or GFX(number) entry mismatch

2.mac identifier mismatch also plausible

3. control id should be 17, at least it's 17 for my gtx 560ti as macpro41. Might try 18...

4. sensoroption 1, must be there also in heuristics

5.rebuild caches, after each change, and reboot

6.thresholds could be incorrect

post your kext if you can't get it

#26
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
Hi, I followed your steps again, and now I am getting 15 fps!!!! I really hope you can help me... Thanks

These are my G-state from Console:
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 3, ControlID = 17
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:32.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:34.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:36.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:41.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 1:08:47.000 AM kernel: AGPM: GPU = display G-state set to 0 from 1, ControlID = 17
9/21/11 1:08:50.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:51.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 1:09:02.000 AM kernel: AGPM: GPU = display G-state set to 2 from 1, ControlID = 17

And this is my kext:

Attached File  AppleGraphicsPowerManagement.kext.zip   71.5KB   12 downloads

Check your console, make sure you're in g state zero. Those are my thresholds too.

There's a couple things in /S/L/E/AppleGraphicsPowerManagement/Contents/Info.plist to check

1. vendor10dedevice1200 or GFX(number) entry mismatch
2.mac identifier mismatch also plausible
3. control id should be 17, at least it's 17 for my gtx 560ti as macpro41. Might try 18...
4. sensoroption 1, must be there also in heuristics
5.rebuild caches, after each change, and reboot
6.thresholds could be incorrect

post your kext if you can't get it



#27
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

Hi, I followed your steps again, and now I am getting 15 fps!!!! I really hope you can help me... Thanks

These are my G-state from Console:
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 3, ControlID = 17
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:31.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:32.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:34.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:36.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:41.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 1:08:47.000 AM kernel: AGPM: GPU = display G-state set to 0 from 1, ControlID = 17
9/21/11 1:08:50.000 AM kernel: AGPM: GPU = display G-state set to 0 from 0, ControlID = 17
9/21/11 1:08:51.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 1:09:02.000 AM kernel: AGPM: GPU = display G-state set to 2 from 1, ControlID = 17

And this is my kext:

Attached File  AppleGraphicsPowerManagement.kext.zip   71.5KB   12 downloads

Attached File  AppleGraphicsPowerManagement.kext.luisfdoc1.zip   72.07KB   35 downloads

Give this a go. I made a few modifications. Tested it, got 34 fps in cinebench.
Getting 44.9 in windows

#28
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
camoguy, I have some bad news. I replaced my info.plist with the one you sent, and then I repaired permissions and rebuilt cache, I rebooted, and then I ran Cinebench r11.5. GPU results: 17.21 fps :( . I also tried changing to MacPro5,1 with the same results 16-17 fps... somehow the thresholds I use are being ignored because I also tried the thresholds from the other Guide from Jordan2Delta "high performance thresholds" and it is the same... But not having my deviceID in AGPM does make difference because without it I get about 7 fps.
These were my g-states while running Cinebench:
9/21/11 10:27:05.000 AM kernel: AGPM: GPU = display G-state set to 0 from 2, ControlID = 17
9/21/11 10:27:09.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 10:27:45.000 AM kernel: AGPM: GPU = display G-state set to 2 from 1, ControlID = 17
--
Do you have idea what is going on?
Thanks!


Attached File  AppleGraphicsPowerManagement.kext.luisfdoc1.zip   72.07KB   35 downloads

Give this a go. I made a few modifications. Tested it, got 34 fps in cinebench.
Getting 44.9 in windows



#29
DefKorns

DefKorns

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 123 posts
  • Gender:Male
  • Location:Portugal
try installing the entire kext with kext utility

#30
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,704 posts
  • Gender:Male
  • Location:Canary Islands
@ camoguy

PLS post here your IOREG (IORegistryExplorer.app)

I know your motherboard(also my) very well.

We can fix this problem via DSDT...

Fabio

#31
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts
Sure, but just so we're clear, I don't have any troubles but here it is for you.
Attached File  Camoguys_P6TDV2.ioreg.zip   465.64KB   8 downloads



camoguy, I have some bad news. I replaced my info.plist with the one you sent, and then I repaired permissions and rebuilt cache, I rebooted, and then I ran Cinebench r11.5. GPU results: 17.21 fps :thumbsup_anim: . I also tried changing to MacPro5,1 with the same results 16-17 fps... somehow the thresholds I use are being ignored because I also tried the thresholds from the other Guide from Jordan2Delta "high performance thresholds" and it is the same... But not having my deviceID in AGPM does make difference because without it I get about 7 fps.
These were my g-states while running Cinebench:
9/21/11 10:27:05.000 AM kernel: AGPM: GPU = display G-state set to 0 from 2, ControlID = 17
9/21/11 10:27:09.000 AM kernel: AGPM: GPU = display G-state set to 1 from 0, ControlID = 17
9/21/11 10:27:45.000 AM kernel: AGPM: GPU = display G-state set to 2 from 1, ControlID = 17
--
Do you have idea what is going on?
Thanks!


From what you're telling me, it appears AGPM is doing everything correctly. If you said you monitored the console, and check to make sure that when running these benchmarks, the console shows the video card has switched to state 0 while performing these tests, than we can be sure it's not related to AGPM.

Post your ioreg here please.
Attached File  IORegistryExplorer.app.zip   158.02KB   17 downloads

#32
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
@Camoguy, Fabio already has my IOREG, but anyway, here is the link:
Luis' IOREG

Some extra info:
1. I installed Lion using Fabio's Lionize method.
2. I installed the latest nVidia CUDA driver
3. I enabled openCL following Netkas guide.

I will run Cinebench and time the exact moment for G-states but according to the log times I think most of the time is at state 1.
Thanks guys!

From what you're telling me, it appears AGPM is doing everything correctly. If you said you monitored the console, and check to make sure that when running these benchmarks, the console shows the video card has switched to state 0 while performing these tests, than we can be sure it's not related to AGPM.

Post your ioreg here please.
Attached File  IORegistryExplorer.app.zip   158.02KB   17 downloads



#33
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,704 posts
  • Gender:Male
  • Location:Canary Islands
@camoguy

use this DSDT (I inject the Gefo560)
Delete the GraphicsEnabler key from org.chameleon.Boot.plist,
Also (probably) we can Enable the HDMi audio...

Attached File  P6TDeluxe.PEG3._560ti.zip   17.38KB   36 downloads

Fabio

#34
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

@camoguy

use this DSDT (I inject the Gefo560)
Delete the GraphicsEnabler key from org.chameleon.Boot.plist,
Also (probably) we can Enable the HDMi audio...

Attached File  P6TDeluxe.PEG3._560ti.zip   17.38KB   36 downloads

Fabio


Thanks, I'll take a look at it.

#35
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,704 posts
  • Gender:Male
  • Location:Canary Islands

Thanks, I'll take a look at it.


If you test it and works...
pls post again your IOREG with this dsdt (needed for find the HDAU codec id)

Fabio

#36
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
@camoguy, here are my G-States with times during Cinebech tests (~17 fps):

7:06:00.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
7:06:03.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17

7:06:11.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17
7:06:13.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
7:06:17.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17
7:06:48.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17


Cinebench Image Difference Test

Cinebench OpenGL (car chasing scene) (7:06:11 to 7:06:43)
That seems like: | 4 second in State 0 | 26 seconds in State 1 | 2 seconds in State2 |

From what you're telling me, it appears AGPM is doing everything correctly. If you said you monitored the console, and check to make sure that when running these benchmarks, the console shows the video card has switched to state 0 while performing these tests, than we can be sure it's not related to AGPM.



#37
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

If you test it and works...
pls post again your IOREG with this dsdt (needed for find the HDAU codec id)

Fabio


Attached File  LionPro.ioreg.zip   482.27KB   6 downloads

@camoguy, here are my G-States with times during Cinebech tests (~17 fps):

7:06:00.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
7:06:03.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17

7:06:11.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17
7:06:13.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
7:06:17.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17
7:06:48.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17


Cinebench Image Difference Test

Cinebench OpenGL (car chasing scene) (7:06:11 to 7:06:43)
That seems like: | 4 second in State 0 | 26 seconds in State 1 | 2 seconds in State2 |


For testing, we should try moving state 0 heuristics from 0 to 100. Try that, should keep you in state zero all time.

#38
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
That would be like: LOW(97,98,99,100) and H(0,98,99,100) ?

9/21/11 8:41:56.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
9/21/11 8:42:43.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17
9/21/11 8:42:45.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17

Cinebench GPU test (car chase) (8:42:04 to 8:42:38)

Ok, pretty much all the test was on State 0; and still the same performance (~17 fps)


For testing, we should try moving state 0 heuristics from 0 to 100. Try that, should keep you in state zero all time.



#39
camoguy

camoguy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 84 posts

That would be like: LOW(97,98,99,100) and H(0,98,99,100) ?

9/21/11 8:41:56.000 PM kernel: AGPM: GPU = GFX0 G-state set to 0 from 2, ControlID = 17
9/21/11 8:42:43.000 PM kernel: AGPM: GPU = GFX0 G-state set to 1 from 0, ControlID = 17
9/21/11 8:42:45.000 PM kernel: AGPM: GPU = GFX0 G-state set to 2 from 1, ControlID = 17

Cinebench GPU test (car chase) (8:42:04 to 8:42:38)

Ok, pretty much all the test was on State 0; and still the same performance (~17 fps)

I do believe this is a problem unrelated with agpm. There seems to be something throttling. If only we had access to utilities like GPUZ that can read a video adapters mhz... Would help immensely diagnose these problems.
are running in 64 bit?
uname -a
Darwin LionPro.local 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
There's something else going on here. Drivers and agpm seems fine.
Like there's something lagging your system.
have you ever run geek bench?

Still interesting that it will work without Threshold High & Low values. I deleted the high and low like this:
Attached File  Screen_Shot_2011_09_21_at_10.43.42_PM.png   28.79KB   43 downloads

#40
luisfdoc1

luisfdoc1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
@camoguy
I deleted the thresholds, and Cinebench ran between Gstate 1 and 2, same results (16.8 fps), My CPU usage was around 13%. and GPU usage was between 13% and 50% (atMonitor app):
Attached File  Screen_Shot_2011_09_22_at_9.49.54_AM.png   47.23KB   61 downloads

-----
Darwin Luiss-Mac-Pro.local 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
-----
I ran GeekBench (Intel 32 bits, Trial did not allow me to choose 64bit)

Benchmark Summary
  Integer Score			  4806 ||||||
  Floating Point Score	   8954 |||||||||||
  Memory Score			   3320 ||||
  Stream Score			   3966 |||||

  Geekbench Score			5876 |||||||

System Information
  Operating System	  Mac OS X 10.7.1 (Build 11B26)
  Model				 MacPro4,1
  Motherboard		   Apple Inc. Mac-F221BEC8 Rev 1.xx
  Processor			 Intel Core i7-950 @ 3.81 GHz
						1 Processor, 4 Cores, 8 Threads
  Processor ID		  GenuineIntel Family 6 Model 26 Stepping 5
  L1 Instruction Cache  32.0 KB x 4
  L1 Data Cache		 32.0 KB x 4
  L2 Cache			  256 KB x 4
  L3 Cache			  8.00 MB
  Memory				6.00 GB 1658 MHz DDR3
  BIOS				  Apple Inc. MP41.88Z.0081.B08.1001221313

-----
Then, I went back to have Thresholds, LOW(97,98,99,100) and H(0,98,99,100), ran Cinebench
and I logged from (atMonitor app), even at G-State 0, my GPU usage is very low! avg 13%

Attached File  Screen_Shot_2011_09_22_at_10.18.07_AM.png   124.44KB   53 downloads

By the way my Card is :
EVGA GeForce GTX 560 Ti DS Superclocked.

Any idea? :(
Thanks!

I do believe this is a problem unrelated with agpm. There seems to be something throttling. If only we had access to utilities like GPUZ that can read a video adapters mhz... Would help immensely diagnose these problems.
are running in 64 bit?

uname -a
Darwin LionPro.local 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
There's something else going on here. Drivers and agpm seems fine.
Like there's something lagging your system.
have you ever run geek bench?







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