Jump to content

Best settings for HD5770

Clover Ati HD5770 Mavericks Yosemite

  • Please log in to reply
12 replies to this topic

#1
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

Hi guys, I have a very good hackintosh in a G5 case with original look. I'm using Clover for UEFI booting and everything except one thing is good.
I'm using MacPro 3,1 as SMBIOS. I know my video card is old, but it could perform a bit better and stay a bit cooler. I read people say that they have the same card (Vapor-x) running around 36 degrees, which is a lot cooler than mine.
My problem is that in Mavericks it runs with 57-58 degrees Celsius on idle. In Yosemite it's 54 degrees with 26 ambient temperature. In terms of performance I see no problems. The only difference which I know of in Clover is SMBIOS. In Mavericks I use MacPro 3,1 and in Yosemite iMac 13,2   12,2. In both my card is correctly recognized with some settings in Clover. (Later I will post a screenshot).
The only thing I didn't touch on either system is AGPM kext. I would like to try to tweak that, but I still don't understand how it works and what are the values I need to put.
So my question is if someone is using this card with Clover and has a better performance in terms of temperature, please share some info what needs to be done to get the best of this card.

 

Screen_Shot_2014_08_08_at_09_05_23.png

 

Screen_Shot_2014_08_08_at_09_05_54.png

Attached Files



#2
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,726 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

13,2 use nvidia card

 

u should try to apply the agpm settings from macpro5,1 in both smbios

 

Attached File  Captura de ecrã 2014-08-8, s 08.26.45.png   122.46KB   5 downloads

 

u should use a legacy_AGPM to avoid touch in original AGPM

 

try to see here the idea

 

AppleGraphicsPowerManagement (AGPM) for nVidia

 

good hack



#3
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

I will see it in detail, but i maid a little mistake. In Yosemite I actually use iMac 12,2. Clover auto selects it.



#4
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,726 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

as u can see macpro5,1 use that ati card.. so the perfect agpm is there

 

anyway in both .. u should use for that cpu imac smbios

 

good hack



#5
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

That's why in Yosemite I decided to go with iMac 12,2. 

So after some tests in Yosemite and Mavericks I have some results.

 

In Mavericks before I touched the agpm kext idle temp was 57-58, now it's 53-54, but in console I don't see state switching.

 

 

Here is the log:

08/08/14 11:28:59,000 kernel[0]: [AGPM Controller] build GPUDict by Vendor1002Device68b8
08/08/14 11:28:59,000 kernel[0]: AGPM: GPU = PEGP Initialized, Control ID 18
08/08/14 11:29:00,000 kernel[0]: AGPM: updateGPUHwPstate(0, 0): fHwPstate = 3 fFB = 0xffffff802643f000
08/08/14 11:29:00,000 kernel[0]: AGPM: updateGPUHwPstate(): state = 0. Calling fFB->setAggressiveness()...
08/08/14 11:29:01,000 kernel[0]: AGPM: GPU = PEGP G-state set to 0 from 3, ControlID = 18. SW occupancy updated.
 

Here is the edit I've done:

<key>MacPro5,1</key>
				<dict>
					<key>Vendor1002Device68b8</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>87</integer>
								<integer>87</integer>
								<integer>87</integer>
								<integer>100</integer>
							</array>
							<key>Threshold_Low</key>
							<array>
								<integer>0</integer>
								<integer>87</integer>
								<integer>87</integer>
								<integer>87</integer>
							</array>
						</dict>
						<key>LogControl</key>
						<integer>1</integer>
						<key>control-id</key>
						<integer>18</integer>
					</dict>

This is with MacPro5,1 SMBIOS in Mavericks and Yosemite the result is the same. Here I didn't touch high and low thresholds. I left them at default values.

 

 

 

With iMac12,2 I tested only in Yosemite as this is a test system and I prefer to do it there, but the result is the same. I see only state 0 which is supposed to be the highest state, right? Here I did the high and low thresholds according to the link above, but same result as in Mavericks, stuck in 0 state.

 

What else I can try? Is there someone with this card who has some states working?

 

Attached ioreg MacPro5,1 definition.

Attached Files



#6
Maniac10

Maniac10

    InsanelyMac Legend

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

I believe that "state" method only works with Nvidia graphics, not ATI/AMD. For the 5770 try only this:

<key>Vendor1002Device68b8</key>
<dict>
<key>control-id</key>
<integer>17</integer>
</dict>

I'm not sure what control-id means exactly but you can see which one to use by opening the plist for the emulated mac model from:

 

/System/Library/Extensions/IOPlatformPluginFamily.kext/Contents/PlugIns/ACPI_SMC_PlatformPlugin.kext/Contents/Resources/

 

Then in the plist look for ControlArray and identify the discrete device.

 

MacPro5,1:

<dict>
<key>Desc-Key</key>
<string>GPU_RANGE_CONTROL_PCI</string>
<key>IOClass</key>
<string>IOPlatformControl</string>
<key>control-flags</key>
<integer>2</integer>
<key>control-id</key>
<integer>18</integer>
<key>location</key>
<string>gpu-pci</string>
<key>type</key>
<string>gpu-control</string>
</dict>
iMac12,2:
<dict><key>Desc-Key</key>
<string>GPU_RANGE_CONTROL_EXTERNAL</string>
<key>IOClass</key>
<string>IOPlatformControl</string>
<key>control-flags</key>
<integer>2</integer>
<key>control-id</key>
<integer>17</integer>
<key>location</key>
<string>gpu-external</string>
<key>type</key>
<string>gpu-control</string>
</dict>


#7
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

Maniac10 what is your card idle temp?

 

 

 

When I put this only with iMac12,2 SMBIOS

<key>Vendor1002Device68b8</key>
<dict>
<key>control-id</key>
<integer>17</integer>
</dict>

in console I get:

08/08/14 17:59:21,000 kernel[0]: [AGPM Controller] build GPUDict by Vendor1002Device68b8
08/08/14 17:59:21,000 kernel[0]: AGPM: GPU = PEGP Initialized, Control ID 17
08/08/14 17:59:22,000 kernel[0]: AGPM: updateGPUHwPstate(0, 0): fHwPstate = 0 fFB = 0xffffff80247ba000
08/08/14 17:59:23,000 kernel[0]: AGPM: GPU = PEGP G-state set to 0 from 0, ControlID = 17. SW occupancy updated.



#8
Maniac10

Maniac10

    InsanelyMac Legend

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

Around 46-47º, much lower than yours. Though this might be related to the kind of cooling system implemented and case ventilation. This is my exact model: click.



#9
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

Mine is in a G5 case with a temperature controlled 80 mm fan blowing directly towards the card at 2100 rpm, when the card is at 54 degrees. Of course the stock Vapor-x cooler is also working (kind of). I love this card as it's not giving me problems. I don't need a lot of video performance, but it just runs too hot when ambient temperature is around 30 celsius. 



#10
Maniac10

Maniac10

    InsanelyMac Legend

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

Hey, we've got very similar hardware! Except of course for your motherboard being Z77 and mine Z68. FYI I'm using the MacBookPro8,3 profile right now, it gives me "better spread" CPU p-states and it feels like it performs better too. And if you search for the MacBookPro8,3 you can see that it's got a 6750-6770 (supposedly rebranded 5700 series) so it should be a better fit for the graphics as well. Also I keep my HD3000 active for the hardware decoder/encoder used in media players and AirPlay.



#11
Stefan Milev

Stefan Milev

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Barcelona, Spain

I tried with MacBookPro8,3 but i couldn't boot. Could you share your config from clover? Do i Need to enable integrated graphics in BIOS?



#12
Maniac10

Maniac10

    InsanelyMac Legend

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

MacBookPro8,2/3 models comes with both integrated and discrete graphics so OSX might not boot if you don't enable it. You don't have to set it as primary, just leave it on.

 

If you don't want to enable the HD3000, try with an iMac12,1 model that comes with a "similar" 6770-50. The iMac12,1 —like the MacBookPro8,3— defines the discrete graphics as GFX0 in AGPM so it should work. That's not the case with iMac12,2 which instead lists two specific ATI models and requires tinkering for it to work properly.

 

Of course in both cases you need an untouched AGPM.



#13
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,726 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco

hello

 

is never a good idea modify system kext .. new update.. new kext

 

what i want to say before is this

 

this legacy have imac12,2 > with sets macpro5,1 .. in this one u make the changes u want .. in any update no changes

 

that is the idea when use a legacy

 

the legacy must be use with original agpm kext

 

good hack







Also tagged with one or more of these keywords: Clover, Ati, HD5770, Mavericks, Yosemite


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