Jump to content

ATI5970 Mountain Lion - QE/CI is not enabled

ATI 5970

  • Please log in to reply
15 replies to this topic

#1
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Greetings,

I am not sure if anybody tried to enable QE/CI for ATI5970 in MountainLion. The card has been working great since Snow Leopard to Lion. The only thing need is just a modification of ATIRadeon5000Controller.kext by adding the cardID and VendorID in IOPCIMatch as "0x689C1002". Mountain Lion always installs fine. I use xMove and modified the ATIRadeon5000Controller.kext in the Installer before start the install. And it boots fine into Mountain Lion.

The only problem that I have is the QE/CI (QE/CI was enabled in the Lion and SnowLeopard). From my reading so far, it looks like I need to add the card ID and vendor ID to the AMDRadeonAccelerator.kext. But ATI5970 belongs to Class Name "Hemlock" which is not listed in the AMDRadeonAccelerator.kext. I tried to add it to the Cypress IOPCIMatch key, but doesn't work out for me. It stuck after [IOBluethController] Started, which i think it's related to that change.

Can anyone share some light into this? It's kinda frustrated when QE/CI is not enabled (feels like screen got torn sometimes)

Thanks in advance.

#2
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I think i just got this to work.

Previously in Snow Leopard, 5970 needs to disable the second GPU by adding:

<key>IOPCIClassMatch</key>
<string>0x03000000&amp;0xFFFF0000</string>
in the

ATIRadeonX3000.kext. But later on in Lion, this constraint is not needed anymore.


But in the mountain lion,

ATIRadeonX3000 is replaced with AMDRadeonAccelerator.kext, and I need to explicitly disable the GPU again as well as adding the device card in the Cypress family.



#3
fantomas1

fantomas1

    InsanelyMacaholic

  • Supervisors
  • 2,952 posts
  • Gender:Male
so only 1 of both cores work ?

But ATI5970 belongs to Class Name "Hemlock" which is not listed in the AMDRadeonAccelerator.kext.


try to put one of :


<key>AMDHemlockGraphicsAccelerator</key>
<dict>
<key>ATIEnableWideBlitSupport</key>
<true/>
<key>ATIUseTearingWideBlit</key>
<false/>
<key>CFBundleIdentifier</key>
<string>com.apple.AMDRadeonAccelerator</string>
<key>GpuDebugPolicy</key>
<integer>0</integer>
<key>IOClass</key>
<string>AMDHemlockGraphicsAccelerator</string>
<key>IODVDBundleName</key>
<string>AMDRadeonVADriver</string>
<key>IOKitDebug</key>
<integer>0</integer>
<key>IOMatchCategory</key>
<string>IOAccelerator</string>
<key>IOPCIMatch</key>
<string>0x689C1002</string>
<key>IOProbeScore</key>
<integer>200</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOSourceVersion</key>
<string>0.0.0.0.0</string>
<key>IOVARendererID</key>
<integer>16908288</integer>
<key>sensor-properties</key>
<array>
<dict>
<key>device_type</key>
<data>
Z3B1LXNlbnNvcg==
</data>
<key>location</key>
<string>GPU</string>
<key>name</key>
<string>gpu-sensor</string>
<key>polling-period</key>
<data>
AAAAAQAAAAA=
</data>
<key>reg</key>
<data>
AAAAAg==
</data>
<key>sample-period</key>
<data>
AAAAAACYmAA=
</data>
<key>sensor-id</key>
<data>
AAAABg==
</data>
<key>version</key>
<data>
AAAAAg==
</data>
<key>zone</key>
<data>
AAAAAg==
</data>
</dict>
</array>
</dict>



I don't know if this can work or not, or if there's need to patch binary. But you can try it. ;)


Good luck

#4
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Thanks fantomas1,
Yes, only one core is actually working. Is there anybody managed to get two cores in 5970 to work?

I checked over the plist, it looks like the settings are the same with Cypress Family. It's probably won't work since it didn't disable the second GPU. I tried to add the device ID to the Cypress Family without Disable GPU, it fails to boot.

But do you know if anybody manage to get two cores of 5970 to work?

#5
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
and I seem to have this extra display problem: I have only one display connected but the displays shows 2.
One display is ID 756E6B6E-0000-0717-0000-00005B81C5C4
and another one ID is: 00000610-0000-9236-02D9-061300000000

How do I remove the other display? (set AtiPorts=1 doesn't help)

#6
fantomas1

fantomas1

    InsanelyMacaholic

  • Supervisors
  • 2,952 posts
  • Gender:Male
yes but you don't tell me if you have try to put the settings like i said in #3 ! :)

if you watch into Info.plist, all settings seem to be same, just the name of Framebuffer change !

This is why i said you to try this, maybe it can work or maybe need patching binary ! ;)

#7
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
hmm... just tried. It looks like this key AMDHemlockGraphicsAccelerator is not being read in the plist.
System boots ok but without QE/CI.

what framebuffer does it specify? Any instructions on patch the binary?

#8
fantomas1

fantomas1

    InsanelyMacaholic

  • Supervisors
  • 2,952 posts
  • Gender:Male
try with Uakari instead of Hemlock

#9
negative zero

negative zero

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
i am currently using Uakari,
ioreg | grep ATY
| | | | | +-o ATY,Uakari@0 <class AtiFbStub, id 0x1000003ab, registered, matched, active, busy 0 (2727 ms), retain 8>
| | | | | | +-o ATY_Uakari <class AMDFramebuffer, id 0x1000003bd, registered, matched, active, busy 0 (2266 ms), retain 18>
| | | | | +-o ATY,Uakari@1 <class AtiFbStub, id 0x1000003ac, registered, matched, active, busy 0 (0 ms), retain 8>
| | | | | | +-o ATY_Uakari <class AMDFramebuffer, id 0x1000003c8, registered, matched, active, busy 0 (0 ms), retain 14>
| | | | | +-o ATY,Uakari@2 <class AtiFbStub, id 0x1000003ad, registered, matched, active, busy 0 (0 ms), retain 8>
| | | | | | +-o ATY_Uakari <class AMDFramebuffer, id 0x1000003ce, registered, matched, active, busy 0 (0 ms), retain 14>
| | | | | +-o ATY,Uakari@3 <class AtiFbStub, id 0x1000003ae, registered, matched, active, busy 0 (0 ms), retain 8>
| | | | | | +-o ATY_Uakari <class AMDFramebuffer, id 0x1000003d4, registered, matched, active, busy 0 (0 ms), retain 14>

#10
Music Producer

Music Producer

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
any update on this, or if anyone reading has found a solution to get QE/CI working with a ati 5970 on mountain lion please let us know...

Thankyou

#11
Rampage Dev

Rampage Dev

    InsanelyMac Deity

  • Local Moderators
  • 2,026 posts
  • Gender:Male

any update on this, or if anyone reading has found a solution to get QE/CI working with a ati 5970 on mountain lion please let us know...

Thankyou


DSDT injection....

#12
romaincs

romaincs

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:France
Hello,

I successfuly have my 5970 working with QE/CI with AtiConfig=Uakari, pcidev in AMDRadeonAccelerator.kext under Cypress and in Ati5000Controller.kext.

I'm experiencing a white screen when I boot straight to ML, but it does not happend when I previously booted under windows rebooted and then boot to ML (the two from power off).

It must be an init issue.

Any ideas ?

PS: Sorry for my english

EDIT: It seems that Evoenabler solved my problem.

It now detects 4 monitors instead of two... AtiPorts=2 does not help :wallbash:

#13
romaincs

romaincs

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:France
Hi all !

The 4 monitors problem seems to be produced by the second GPU.

IODeviceTree shows two display adapters : The first one with 4 ports (two monitors enabled on DVI ports realy connected), the second one with 2 ports (two monitors enabled as CRT but does not exist).

The difference between the two GPU is the Sub-System ID :

ATI Radeon HD 5970 (Master GPU) :

Nom: ATY,Uakari
Type: Contrôleur du moniteur
Gestionnaire installé: Oui
MSI: Oui
Bus: PCI
Logement: Slot-1
Identifiant du fournisseur: 0x1002
Identifiant du périphérique: 0x689c
Identifiant du fournisseur du sous-système: 0x1002
Identifiant du sous-système: 0x2542
Identifiant de révision: 0x0000
Largeur du câble: x16
Vitesse de la liaison: 5.0 GT/s

ATI Radeon HD 5970 (Slave GPU) :

Nom: ATY,Uakari
Type: Contrôleur du moniteur
Gestionnaire installé: Oui
MSI: Oui
Bus: PCI
Logement: Slot-1
Identifiant du fournisseur: 0x1002
Identifiant du périphérique: 0x689c
Identifiant du fournisseur du sous-système: 0x1002
Identifiant du sous-système: 0x2042
Identifiant de révision: 0x0000
Largeur du câble: x16
Vitesse de la liaison: 5.0 GT/s

Is there a way to disable de second GPU by making the driver to enable only the first one ? Or simply enable Crossfire ?

May be I should have opened a new thread for that ? Please tell me.

Thanks for reading.

#14
romaincs

romaincs

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:France
I solved my ghost screens problem by adding a IOPCISecondaryMatch section to ATI Kexts to disable the second graphic adapter.

#15
romaincs

romaincs

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:France
What I did :

1. Added AtiConfig=Uakari to org.chameleon.boot.plist.
2. Added pcidevvendorid (0x689C1002) in IOPCIMatch AMDRadeonAccelerator.kext under Cypress section and in Ati5000Controller.kext.
3. Added IOPCISecondaryMatch key/value (0x25421002) under each IOPCIMatch I edited to only match the master gpu.
4. Installed Evoenabler.kext from http://www.osx86.net...ci_support.html

Everything is fine after that steps. I also added UseAtiRom with a copy of my master rom but I don't realy know if it's necessary.
If you have troubles to do that, safe mode will help.

#16
romaincs

romaincs

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:France

No need of EVOEnabler with this steps :

1. Add AtiConfig=Uakari to org.chameleon.boot.plist with GE=No (I use chimera 2.0.1 and DVD player is ok)
2. Add pcidevvendorid (0x689C1002) in IOPCIMatch of AMDRadeonAccelerator.kext under Cypress section and in Ati5000Controller.kext Info.plist files.
3. Add IOPCIClassMatch key with 0x03000000&amp;0xFFFF0000 as string value in the two files I edited in step 2 (see code below)
 

            <key>IOPCIMatch</key>
            <string>0x689C1002</string>
            <key>IOPCIClassMatch</key>
            <string>0x03000000&amp;0xFFFF0000</string>






Also tagged with one or more of these keywords: ATI 5970

  Topic Stats Last Post Info

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