Contribute
Register

Editing AGPM to prevent GTX4XX Freeze

Status
Not open for further replies.
**If you are still experiencing crashing after editing AGPM, you will need to download the following program -

CUDA-Test.zip

Launch it at start up, move the slider to have between 80-300 triangles, and you can hide the app once you have another application loaded with Command-H. I've edited this app to not appear in your dock, so once it is hidden you can only quit it through the Activity Monitor. You will need to install Nvidia's CUDA drivers in order for this application to work. This is a new version of an old trick, except it takes a lot fewer resources and, once hidden, is out of sight, out of mind.

file.php


This can also depend on editing your GTX460 BIOS to increase the voltage and timings in the lower states in order to ensure that the card isn't jumping too much in either at the lowest levels. i believe the lowest state is something like 50mhz/100mhz, which i increased to 300/300 @ .9V.

EDIT: 5/24 to make this post more general.[/QUOTE]



Is there a way to set the Slider fix in the CUDA Test App?, as on every reboot the slider is on 0 again.

would be very fine to know!
 
Last edited by a moderator:
@scorcho,

I have a G74SX Laptop with a GTX 560M 3GB card on OSX 10.8.3, and your edit seems to be working for me even though its a mobile card. The freezing stopped in 10.8.3 from sleep to wake, idling or intensive graphic runs such as Unigine Heaven.

Can you have a quick peek to see if I inserted it correctly as far as section and correct indentations etc.


Code:
                                <key>MacBookPro8,3</key>
                                <dict>
                                        <key>GFX0</key>
                                        <dict>
                                                <key>QSC</key>
                                                <dict>
                                                        <key>Enabled</key>
                                                        <integer>1</integer>
                                                        <key>Mode</key>
                                                        <integer>1</integer>
                                                        <key>hwPState</key>
                                                        <array>
                                                                <integer>0</integer>
                                                                <integer>0</integer>
                                                                <integer>1</integer>
                                                                <integer>1</integer>
                                                                <integer>1</integer>
                                                                <integer>1</integer>
                                                                <integer>1</integer>
                                                                <integer>1</integer>
                                                                <integer>2</integer>
                                                        </array>
                                                        <key>qscOnTime</key>
                                                        <array>
                                                                <integer>0</integer>
                                                                <integer>1440</integer>
                                                                <integer>0</integer>
                                                                <integer>2400</integer>
                                                                <integer>4000</integer>
                                                                <integer>5760</integer>
                                                                <integer>7680</integer>
                                                                <integer>9760</integer>
                                                                <integer>0</integer>
                                                        </array>
                                                </dict>
                                                <key>control-id</key>
                                                <integer>17</integer>
                                                <key>max-power-state</key>
                                                <integer>8</integer>
                                                </dict>
                                        <key>IGPU</key>
                                        <dict>
                                                <key>Heuristic</key>
                                                <dict>
                                                        <key>BusyDownThresholdPercent</key>
                                                        <integer>70</integer>
                                                        <key>BusyUpThresholdPercent</key>
                                                        <integer>90</integer>
                                                        <key>DiagnosticModeDefault</key>
                                                        <integer>0</integer>
                                                        <key>EvaluateDownInterval</key>
                                                        <integer>350000</integer>
                                                        <key>EvaluateUpInterval</key>
                                                        <integer>66000</integer>
                                                        <key>ID</key>
                                                        <integer>2</integer>
                                                        <key>SensorOption</key>
                                                        <integer>1</integer>
                                                </dict>
                                                <key>control-id</key>
                                                <integer>16</integer>
                                                <key>max-power-state</key>
                                                <integer>15</integer>
                                                <key>min-power-state</key>
                                                <integer>0</integer>
                                        </dict>
                                        <key>Vendor10deDevice1251</key>       <<<CODE STARTS HERE
                                        <dict>
                                                <key>BoostPState</key>
                                                <array>
                                                        <integer>0</integer>
                                                        <integer>1</integer>
                                                        <integer>2</integer>
                                                        <integer>3</integer>
                                                </array>
                                                <key>BoostTime</key>
                                                <array>
                                                        <integer>3</integer>
                                                        <integer>3</integer>
                                                        <integer>3</integer>
                                                        <integer>0</integer>
                                                </array>
                                                <key>Heuristic</key>
                                                <dict>
                                                        <key>ID</key>
                                                        <integer>0</integer>
                                                        <key>IdleInterval</key>
                                                        <integer>500</integer>
                                                        <key>SensorOption</key>
                                                        <integer>1</integer>
                                                        <key>TargetCount</key>
                                                        <integer>5</integer>
                                                        <key>Threshold_High</key>
                                                        <array>
                                                                <integer>70</integer>
                                                                <integer>95</integer>
                                                                <integer>110</integer>
                                                                <integer>190</integer>
                                                        </array>
                                                        <key>Threshold_Low</key>
                                                        <array>
                                                                <integer>0</integer>
                                                                <integer>60</integer>
                                                                <integer>90</integer>
                                                                <integer>190</integer>
                                                        </array>
                                                </dict>
                                                <key>control-id</key>
                                                <integer>17</integer>
                                                <key>LogControl</key>
                                                <integer>1</integer>
                                        </dict>
                                        <key>default-control-id</key>
                                        <integer>17</integer>
                                        <key>LogControl</key>
                                        <integer>1</integer>
                                </dict>                                          <<<CODE ENDS HERE
                                <key>MacPro4,1</key>
                                <dict>
                                        <key>Vendor10deDevice05e2</key>
                                        <dict>


Keep in mind I started my editing way below what was already in the Info.plist as you will see. I did not want to remove that script since it was already there under MacBookPro8,3. I started the script basically at the end of the existing script and ended the script just before the MacPro4,1 key.

I read from the link below that you can have a separate Info.plist for this so you won't loose it when you update your OS. So their will be 2 Info.plists, original and the new one made?

http://www.insanelymac.com/forum/to...gy-at-the-same-time/page__st__20#entry1872968

Someone from that same thread who had edited their GTX 560M 3GB but in a different version of OSX so not sure if things changed since then? I see he did not include BoostPstate key where in the link below 2nd from the last link they added it but all 3's for the BoostTime and no 0 for the last integer?

The person from the link below this code only attached their Info.plist so I have pasted the code below. This person's not only did not include the BoostPstate but their Threshold High and Low values are way different from the GTX4xx's you posted. His Heuristic is a bit different as well. Can I just go with your settings for the GTX4XX series?

Code:
				<key>Vendor10deDevice1251</key>
				<dict>
					<key>Heuristic</key>
					<dict>
						<key>ID</key>
						<integer>0</integer>
						<key>IdleInterval</key>
						<integer>250</integer>
						<key>SensorOption</key>
						<integer>1</integer>
						<key>SensorSampleRate</key>
						<integer>4</integer>
						<key>TargetCount</key>
						<integer>5</integer>
						<key>Threshold_High</key>
						<array>
							<integer>0</integer>
							<integer>45</integer>
							<integer>75</integer>
							<integer>100</integer>
						</array>
						<key>Threshold_Low</key>
						<array>
							<integer>0</integer>
							<integer>0</integer>
							<integer>87</integer>
							<integer>98</integer>
						</array>
					</dict>
					<key>LogControl</key>
					<integer>1</integer>
					<key>control-id</key>
					<integer>18</integer>
				</dict>
				<key>default-control-id</key>
				<integer>18</integer>
			</dict>

http://www.insanelymac.com/forum/to...nd-save-energy-at-the-same-time/#entry1760444

What does the integer 16, 17 ,18 etc represent at the end of the script?

http://www.insanelymac.com/forum/to...gy-at-the-same-time/page__st__40#entry1895265

I actually found some edit on the web for the GTX 560M that looks somewhat different and have not tried this link below. They have included Threshold_High_v and Threshold_Low_v whatever those are?

http://pastebin.com/RN5UV3CL
 
Status
Not open for further replies.
Back
Top