Graphics card fix for 15″ “JackBook Pro”

I’ve had trouble with my Macbook Pro since upgrading to Lion (osx 10.7)

After much digging the problem can be traced back to the driver for the graphics card power management.

It’s talked about in depth at this discussion but its always so hard to find the page with the solution I thought I would write it down here…

This file is located at \System\Library\Extensions\AppleGraphicsPowerManagement.kext

Right click it and choose “Show Package Contents”

Then edit the info.plist file with TextWrangler.

in TextWrangler, click the icon at the top – it has a pencil with a red line through it – this is a protected file and you need to authenticate to edit it.

Now Search for MacBookPro6,2

Mine was around line 1421 or so

There are some nested settings, I had to change them as follows:

1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
	<key>MacBookPro6,2</key>
			<dict>
				<key>LogControl</key>
				<integer>0</integer>
				<key>Vendor10deDevice0a29</key>
				<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>3</integer>
					</array>
					<key>Heuristic</key>
					<dict>
						<key>ID</key>
						<integer>0</integer>
						<key>IdleInterval</key>
Changed to 250, was 100 ----------------------> <integer>250</integer>
This key is new in 10.7.x --------------------> <key>P3HistoryLength</key>
the key and value did not exist before  +----->	<integer>2</integer>
						<key>SensorOption</key>
						<integer>1</integer>
						<key>SensorSampleRate</key>
Changed to 4 was 10 -------------------------->	<integer>4</integer>
						<key>TargetCount</key>
						<integer>1</integer>
						<key>Threshold_High</key>
						<array>
							<integer>57</integer>
							<integer>70</integer>
Changed to 88 was 80 -------------------------------->	<integer>88</integer>
							<integer>100</integer>
						</array>
						<key>Threshold_High_v</key>
						<array>
							<integer>1</integer>
							<integer>3</integer>
							<integer>98</integer>
							<integer>100</integer>
						</array>
						<key>Threshold_Low</key>
						<array>
							<integer>0</integer>
							<integer>68</integer>
							<integer>75</integer>
							<integer>95</integer>
						</array>
						<key>Threshold_Low_v</key>
						<array>
							<integer>0</integer>
							<integer>2</integer>
							<integer>4</integer>
							<integer>99</integer>
						</array>
					</dict>
					<key>control-id</key>
					<integer>17</integer>
				</dict>