netkas.org forum

General Category => OSX and Graphics Cards => Topic started by: calvintml on May 18, 2011, 04:03:37 AM



Title: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 18, 2011, 04:03:37 AM
I figured out a hack (which I don't believe has been suggested before) to get displayport working for 5xxx ati cards using the sandybridge ATI kexts.   Hopefully (I think probably) this will also work for the Lion ATI kexts, allowing us 5xxx card owners with displayport monitors future proof our gear (at least until apple makes more changes).

I recently posted about how I edited the Zonalis framebuffer in the non-sandybridge 10.6.7 ati kexts to make my powercolor 5770 eyefinity 5 work.
This is what I used:
00 04 00 00 04 06 00 00 00 01 00 00 20 01 06 06
00 04 00 00 04 06 00 00 00 01 00 00 11 02 05 05
00 04 00 00 04 06 00 00 00 01 00 00 21 03 04 04
00 04 00 00 04 06 00 00 00 01 00 00 10 00 01 03
00 04 00 00 04 06 00 00 00 01 00 00 12 04 02 02
00 04 00 00 04 06 00 00 00 01 00 00 22 05 03 01

When I replace Zonalis in the ATI5000Controller of the sandybridge kexts, all my ports recognize my apple cinema display (minidp), but no display comes up on the screen, which I believe is the same problem that other people have reported with using displayport with these kexts.

I also read reports that the vanilla apple cards had no problems using displayport monitors with the lion drivers, so I decided to try using Hoolock, which is the default framebuffer for vanilla 5770 and edit the framebuffer to work with my card.

original hoolock in sandybridge ati5000controller
00 04 00 00 04 06 00 00 00 01 00 00 21 03 05 01
00 04 00 00 04 06 00 00 00 01 00 00 11 02 04 02
04 00 00 00 14 02 00 00 00 01 00 00 02 04 01 03

my edits:
00 04 00 00 04 06 00 00 00 01 00 00 22 05 03 01
00 04 00 00 04 06 00 00 00 01 00 00 12 04 02 02
00 04 00 00 04 06 00 00 00 01 00 00 10 00 01 03

The trained eye will notice that now there are 3 entries for displayport connectors instead of what was originally there, 2x displayport and 1x dvi.

So now when I inject my card with framebuffer Hoolock, I get 3 of my 5 ports working, and all work with my apple cinema display mini displayport monitor!

Either 1) apple deliberately broke displayport functionality for all framebuffers that weren't vanilla…but I don't see why they would do this and only break displayport and not disable all other framebuffers entirely or 2) this was just an inadvertent consequence during the driver development/bug fixing process…
Hopefully for the osx86 community, it's the latter.

This should probably work for people with other 5xxx cards having displayport issues.  For example if you use vervet normally, replace the hoolock entry in ATI5000Controller with your 3 favorite connectors from vervet, and inject hoolock.

Perhaps somebody else knows how to increase the number of ports for a Framebuffer personality.  I think that Hoolock is the vanilla 5xxx framebuffer with the most ports (3), but that still falls short of the 5 I need.  Let me know.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Pegasusrjf on May 18, 2011, 06:34:48 PM
Good catch.

Any idea how to make this type of change for 5870 cards that have the following ports:

2 DVI
1 Displayport
1 HDMI

My original modified BIOS worked, but with 10.6.7 and stock BIOS doesn't work anymore (as everyone else has said).

Not sure what exactly to change.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 18, 2011, 07:00:04 PM
Good catch.

Any idea how to make this type of change for 5870 cards that have the following ports:

2 DVI
1 Displayport
1 HDMI

My original modified BIOS worked, but with 10.6.7 and stock BIOS doesn't work anymore (as everyone else has said).

Not sure what exactly to change.

Sure, I can give it a shot.  Could you just clarify a few things for me.
You shouldn't have had a problem upgrading to 10.6.7, did you?
Are you saying that with the 10.6.7 sandybridge kexts things stopped working?
And by things not working do you mean everything stopped working, or just displayport?  
Also, do you know how to change edit your modified BIOS to use other framebuffers besides Uakari (which I assume is what is being used for the 5870?)  I think there's one floating around that netkas made at the very beginning which uses a vanilla framebuffer, but i can't remember if that was for the apple 5770 or 5870.
I can help you with modifying the drivers, but not so much with modifying the roms.
As an alternative, we might try the stock bios plus ATY_init.kext to inject whatever framebuffer we want.

Also please extract some info from your stock bios using http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=90340

put your rom file in the same directory and execute:
./radeon_bios_decode < nameofyourrom


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Pegasusrjf on May 19, 2011, 12:56:09 PM
Sure, I can give it a shot.  Could you just clarify a few things for me.
You shouldn't have had a problem upgrading to 10.6.7, did you?
Are you saying that with the 10.6.7 sandybridge kexts things stopped working?
And by things not working do you mean everything stopped working, or just displayport?  
Also, do you know how to change edit your modified BIOS to use other framebuffers besides Uakari (which I assume is what is being used for the 5870?)  I think there's one floating around that netkas made at the very beginning which uses a vanilla framebuffer, but i can't remember if that was for the apple 5770 or 5870.
I can help you with modifying the drivers, but not so much with modifying the roms.
As an alternative, we might try the stock bios plus ATY_init.kext to inject whatever framebuffer we want.

Also please extract some info from your stock bios using http://www.insanelymac.com/forum/index.php?act=attach&type=post&id=90340

put your rom file in the same directory and execute:
./radeon_bios_decode < nameofyourrom

The BIOS I am currently using the default for the XFX 5870 Radeon cards.  I had a modified BIOS, and that worked with 10.6.7 before adding the Lion drivers.

I can try to get the information you want, and will let you know if I get it.

Thanks


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 19, 2011, 06:59:24 PM


The BIOS I am currently using the default for the XFX 5870 Radeon cards.  I had a modified BIOS, and that worked with 10.6.7 before adding the Lion drivers.

I can try to get the information you want, and will let you know if I get it.

Thanks

http://www.mediafire.com/?u96cfl2s8prtqqw

Here is a link to an edited binary from ATI5000Controller.kext, replace the one that is already in there.  The binary is originally from the Lion DP3 drivers, but edited to replace Hoolock and Langur (the framebuffers for apple 5770 and 5870, respectively) with the values from Uakari (with some small optimizations).  

Try injecting both Langur and Hoolock.  For me and my 5770, both worked.  However, when using Langur, I got system instability.  I don't know if this was because of Langur being unstable, or because there is something that is optimized for 5870 when Langur and something optimized for 5770 when using Hoolock.  So please try injecting both Langur and Hoolock to see which one works better.  Can you use Netkas' ATY_init.kext and stock bios to do this?

The displayport and the two DVI ports should work.  HDMI is NOT mapped and should not work (because Langur and Hoolock only have room for 3 connections).


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: netkas on May 19, 2011, 07:33:26 PM
Perhaps somebody else knows how to increase the number of ports for a Framebuffer personality.  I think that Hoolock is the vanilla 5xxx framebuffer with the most ports (3), but that still falls short of the 5 I need.  Let me know.


easy.

Imac's ati5000:

Code:
          ..... ! __ZN11HoolockInfo10createInfoEhR18PlatformParameters:      │
│           ..... !   push        rbp                                          │
│           1c787 !   mov         rbp, rsp                                     │
│           1c78a !   lea         rax, [strz_Hoolock_2073e]                    │
│           1c791 !   mov         [rsi+8], rax                                 │
│           1c795 !   mov         byte ptr [rsi+3], 3

1c795 !   mov         byte ptr [rsi+3], 3

Bold 3 is what u need to change.

0x0001c790: c6 46 03-03

if u wanna 5 outputs, make it

c6 46 03-05


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: staticvoid on May 21, 2011, 01:35:26 PM
Hi calvintml, I have a Sapphire 5770 running a 24" Apple LED Display via a displayport to mini-displayport adapter. It worked perfect in 10.6.7 using the Vervet framebuffer, but was broken when testing the sandybridge ATI kexts or under Lion.

Anyway I wanted to report that I applied your hack to Lion, as suggested replacing the hoolock personality with vervet in the ATI5000Controller binary. Set ATIConfig=Hoolock in my com.apple.boot.plist, rebooted and bam, my ACD display sprang to life!!

Before I found this post I was considering purchasing a 6870, thanks for saving me some money!   8)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 21, 2011, 05:17:57 PM
Hi calvintml, I have a Sapphire 5770 running a 24" Apple LED Display via a displayport to mini-displayport adapter. It worked perfect in 10.6.7 using the Vervet framebuffer, but was broken when testing the sandybridge ATI kexts or under Lion.

Anyway I wanted to report that I applied your hack to Lion, as suggested replacing the hoolock personality with vervet in the ATI5000Controller binary. Set ATIConfig=Hoolock in my com.apple.boot.plist, rebooted and bam, my ACD display sprang to life!!

Before I found this post I was considering purchasing a 6870, thanks for saving me some money!   8)
Good news.  I almost bought a 6870 too  :)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Pegasusrjf on May 21, 2011, 05:20:39 PM
http://www.mediafire.com/?u96cfl2s8prtqqw

Here is a link to an edited binary from ATI5000Controller.kext, replace the one that is already in there.  The binary is originally from the Lion DP3 drivers, but edited to replace Hoolock and Langur (the framebuffers for apple 5770 and 5870, respectively) with the values from Uakari (with some small optimizations).  

Try injecting both Langur and Hoolock.  For me and my 5770, both worked.  However, when using Langur, I got system instability.  I don't know if this was because of Langur being unstable, or because there is something that is optimized for 5870 when Langur and something optimized for 5770 when using Hoolock.  So please try injecting both Langur and Hoolock to see which one works better.  Can you use Netkas' ATY_init.kext and stock bios to do this?

The displayport and the two DVI ports should work.  HDMI is NOT mapped and should not work (because Langur and Hoolock only have room for 3 connections).

I have a 2008 Mac Pro, so I am not sure if Netkas' ATY_init.kext will work.  If it will, which one is it, and where do I find it. 

Also, just be make sure I am good on all of this, how do I inject either Langur or Hoolock instead of the standard Uakari for the 5870?


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 21, 2011, 06:56:06 PM
Sorry can't help with mac pro injection.  I don't have one, so I never learned how.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: netkas on May 21, 2011, 10:06:01 PM
to have aty_init working on macpro you just need to add own bios dump(as hex string) to Info.plist to  section corresponding to your videocard.

Keyname - ATY,bin_image , key type - data.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: MacRoy on May 22, 2011, 02:26:27 PM
to have aty_init working on macpro you just need to add own bios dump(as hex string) to Info.plist to  section corresponding to your videocard.

Keyname - ATY,bin_image , key type - data.

Hi netkas!

Could you please do it for me, and include that string into ATY_init for my Sapphire 6870?

Attached Sapphire_HD6870.bin

Sincerely,

MacRoy


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: MacRoy on May 23, 2011, 03:23:20 PM
to have aty_init working on macpro you just need to add own bios dump(as hex string) to Info.plist to  section corresponding to your videocard.

Keyname - ATY,bin_image , key type - data.

Do you mean the hole BIOS? Or what?

Could you be more specific please, and give some guidelines?!!!


/MacRoy



Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Rominator on May 23, 2011, 07:37:58 PM
to have aty_init working on macpro you just need to add own bios dump(as hex string) to Info.plist to  section corresponding to your videocard.

Keyname - ATY,bin_image , key type - data.

Hi netcas!

Could you please do it for me, and include that string into ATY_init for my Sapphire 6870?

Attached Sapphire_HD6870.bin

Sincerely,

MacRoy


if you can't be bothered to spell his name correctly, why should he do anything for you?

that thing behind your eyes is a brain...use it


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: vnephos on May 23, 2011, 08:02:38 PM
Guys, I have an HIS 5450 (0x68F9) with a DVI, DisplayPort and VGA connector that I've been trying to use with a 27" Cinema display. I was able to pretty easily add my PCI ID to the 10.6.7 iMac update kext and enable DVI output, but have been unsuccessful to ever get my DisplayPort connection working. After doing some other reading over at tonymacx86 I realize that I'm just using the normal ATIFrameBuffer so I'm unclear based on the other posts in this thread how I may get my DisplayPort working. Could someone please help me out? I purchased an XFX 6750 card with a Mini DisplayPort connector thinking that it was my DisplayPort to Mini DisplayPort cable that was the problem, but was never able to even get it working at native resolution via DVI. I don't do any gaming since this is a work machine. I just want to get my Cinema display working via the DisplayPort with the correct FrameBuffer. If I can get it working with the 5450 card, I'll be willing to donate my 6750 to "science" by sending it along to the appropriate genius in this forum. Thanks!


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: MacRoy on May 23, 2011, 10:01:13 PM
to have aty_init working on macpro you just need to add own bios dump(as hex string) to Info.plist to  section corresponding to your videocard.

Keyname - ATY,bin_image , key type - data.

Hi netcas!

Could you please do it for me, and include that string into ATY_init for my Sapphire 6870?

Attached Sapphire_HD6870.bin

Sincerely,

MacRoy


if you can't be bothered to spell his name correctly, why should he do anything for you?

that thing behind your eyes is a brain...use it



Have you ever spelled wrong at some point!
I apologize for that!
I ask again, if I knew I would never have asked.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on May 23, 2011, 10:11:13 PM
Guys, I have an HIS 5450 (0x68F9) with a DVI, DisplayPort and VGA connector that I've been trying to use with a 27" Cinema display. I was able to pretty easily add my PCI ID to the 10.6.7 iMac update kext and enable DVI output, but have been unsuccessful to ever get my DisplayPort connection working. After doing some other reading over at tonymacx86 I realize that I'm just using the normal ATIFrameBuffer so I'm unclear based on the other posts in this thread how I may get my DisplayPort working. Could someone please help me out? I purchased an XFX 6750 card with a Mini DisplayPort connector thinking that it was my DisplayPort to Mini DisplayPort cable that was the problem, but was never able to even get it working at native resolution via DVI. I don't do any gaming since this is a work machine. I just want to get my Cinema display working via the DisplayPort with the correct FrameBuffer. If I can get it working with the 5450 card, I'll be willing to donate my 6750 to "science" by sending it along to the appropriate genius in this forum. Thanks!

keep using iMac sandybridge 10.6.7 ATI kexts
replace binary in ATI5000Controller.kext with each of the 6 binaries (linked below) I made for you until one works (actually go ahead and test them all if you can, and make sure you rename them to ATI5000Controller).
inject "Hoolock" using a graphics injector
report back

try 1:  http://www.mediafire.com/?gz0wffpzmgprwta
try 2:  http://www.mediafire.com/?dk4p3qoro2o2uxe
try 3:  http://www.mediafire.com/?41g44ws54e6g45i
try 4:  http://www.mediafire.com/?xtz7w4q9q1f1z1k
try 5:  http://www.mediafire.com/?k2e16hteb2w58ca
try 6:  http://www.mediafire.com/?j1t4k5qy40wszch


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: joetazz on June 04, 2011, 06:10:09 PM
Hi,

I was hoping someone could help me out. I've installed the ATI Graphics Update in 10.6.7 on mac pro 1.1. The 5770 works through the DVI ports.
But I have the same issue as described in the first post, The mini display port is recognized but no display comes up on the screen (attached screenshot).
I have tried searching the threads on this forum to make sense of how to do whats described in the first post but I am still confused.
If someone could direct me on how to inject Hoolock which I presume I need to do? and edit ATI5000Controller as described in this thread it would be much appreciated. Thanks.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Rominator on June 04, 2011, 09:14:06 PM
easier to just use regular drivers and an EFI ROM on card.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: joetazz on June 04, 2011, 09:34:59 PM
Thank you for the reply, That seems easier as I know there are good threads on flashing. Is there a particular Rom you would suggest for my case? I didn't realize anyone had got the Mini display port working with a Rom? Thanks


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: joetazz on June 05, 2011, 10:53:11 AM
So I created a rom using the guide and the mini display port works in windows but only DVI works in OSX. When creating the 5770 ROM would it work using hoolock instead of vervet efi?


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Rominator on June 05, 2011, 07:45:35 PM
did you remember to switch back to regular drivers?



Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: joetazz on June 05, 2011, 10:39:59 PM
Wow I did not think about that. It all seems to be working through mini displayport with sounds on usb with original drivers. Thank you so much for your help. I was going to give in and buy an apple version tomorrow. Do you think there will be some sort of OSX update which will remove this capability? Thanks again.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Rominator on June 05, 2011, 10:58:36 PM
hopefully not.

glad I could help

please do something nice for someone else today (help old lady across street, feed a stray puppy, etc)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: nihil on June 29, 2011, 11:36:35 PM
Hi, all i read here seems so interesting and I'd really like to apply that... but idon't know how to do...
I try to open ATIController binary in HexEdit but i can't find how to switch personalities between Holoock and Vervet (keeping from Vervet 2 DVI and DP).
If you could explain how i must do or give me a tool with i can understand better what i've got to change
Thx in advance (& sorry for my english...)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on June 30, 2011, 12:21:31 AM
are you trying to get a displayport monitor to work as one of two monitors? or are you trying to get three monitors to work simulatenously?


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: nihil on June 30, 2011, 12:49:12 AM
Well both but for two different cards for two different machines  :

i've got one XFX 5770 single slot with miniDP and i'd like to use it with Apple Cinema Display 24 as before

and one Sapphire 5770 Vapor-X that i'd like to use with 3 displays (2 Dvi & 1 DP)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 03, 2011, 07:48:50 PM
i've got one XFX 5770 single slot with miniDP and i'd like to use it with Apple Cinema Display 24 as before
In this case, look here: http://forum.netkas.org/index.php/topic,980.0.html
That fix doesn't require hexedit, and you can make the changes simply using a plain text editor

and one Sapphire 5770 Vapor-X that i'd like to use with 3 displays (2 Dvi & 1 DP)
for this you will have to stick with 10.6.7 kexts for now.  also, make sure you are injecting the correct bios for your card.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: nihil on July 11, 2011, 12:04:37 PM
Thanks calvinhtml !!!
I just find time today to try your method for my XFX 5770 (changing Vervet's references by Hoolock's references in ATI5000Controller and mis-spelling Hoolock to Hooloc) and it works just fine for my MiniDP and my Apple Cinema 24 !
For my other card, still with 10.6.7 kexts...
Thank you again, hope you and others will find something to definitively solve this issue in the future...
If i can help you (ioregs or stuff like that) just tell me how


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: redratto on July 24, 2011, 05:53:43 PM
calvintml, thanks for your posts. 

I got the MiniDP working on Lion with my XFX HD-577X-ZMF3.  In ATI5000Controller.kext, I edited Info.plist by replacing Langur with Vervet (or I guess adding Vervet).  Full acceleration.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 29, 2011, 07:45:43 AM
Hello everybody, (writing from Belgium, sorry for my english...)

I've been working abroad for a month and just got back yesterday -> I've updated  my early 2008 MacPro to OS X Lion and my flashed XFX-5870 doesn't work anymore... Well, it works, but only two screens.

I've searched on the forum how I could do to make it work again (3 monitors : 2x dvi + 1x active adapt. mdp->dvi), but I'm not sure of what I should do (some says use original drivers (don't know what they're talking about??), other says I have to change something with the kexts (again, talking about hoolock and Langur... inject something... it looks like chinese to me  ???). I'm not an expert so it would be really nice if someone could tell me what to do or give me a link to the topic where I can find the answer... I guess I'm not so far of the right place but I don't understand what to do...

Thanks in advance!

Tanguy


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Pegasusrjf on July 29, 2011, 06:23:02 PM
calvintml, thanks for your posts. 

I got the MiniDP working on Lion with my XFX HD-577X-ZMF3.  In ATI5000Controller.kext, I edited Info.plist by replacing Langur with Vervet (or I guess adding Vervet).  Full acceleration.

How do you do this for an XFX 5870.  I tried editing but it keeps telling me I don't have permission even though I have modified to have full control.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 01:49:35 AM
some says use original drivers (don't know what they're talking about??)
Try replacing ATISupport.kext, ATI5000Controller.kext, and ATIFramebuffer.kext with those from 10.6.7 (the original ones, not the sandybridge kexts).  Not sure if it will work, so please report back.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 01:55:02 AM
How do you do this for an XFX 5870.  I tried editing but it keeps telling me I don't have permission even though I have modified to have full control.

Assuming you are using Lion, download the Info.plist from this post: http://forum.netkas.org/index.php/topic,1069.0.html
go to terminal and type:
sudo -s
enter your password, then move to the directory in which you downloaded the Info.plist file and enter the following:
Code:
mv /System/Library/Extensions/ATI5000Controller.kext/Contents/Info.plist /System/Library/Extensions/ATI5000Controller.kext/Contents/Info.plist.orignal
mv Info.plist /System/Library/Extensions/ATI5000Controller.kext/Contents/
chmod -R 755 /System/Library/Extensions/ATI5000Controller.kext
chown -R 0:0 /System/Library/Extensions/ATI5000Controller.kext
rm -rv /System/Library/Caches/com.apple.kext.caches/*
touch /System/Library/Extensions

restart your computer


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: toleda on July 30, 2011, 04:30:49 AM
calvintml, thanks for your posts.  

I got the MiniDP working on Lion with my XFX HD-577X-ZMF3.  In ATI5000Controller.kext, I edited Info.plist by replacing Langur with Vervet (or I guess adding Vervet).  Full acceleration.

I can confirm mDP is now working on my Sapphire HD 5870 in both 10.6.8 and 10.7.  All the credit to redratto.

ATI5000Controller.kext/info.plist: Rename ATY,Hoolock to ATY,Uakari

As well, HDMI audio and DP audio are also working in 10.6.8 and 10.7, no framebuffer editing required.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 30, 2011, 01:01:06 PM


Try replacing ATISupport.kext, ATI5000Controller.kext, and ATIFramebuffer.kext with those from 10.6.7 (the original ones, not the sandybridge kexts).  Not sure if it will work, so please report back.

Thanks for your answer! I'll try this and report... Where can I find the kexts from 10.6.7? I've searched on the topic but didn't found them... Google?

Thanks


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 30, 2011, 01:27:36 PM
I've think about it, can I use the kexts from Time machine???


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 01:59:05 PM
I've think about it, can I use the kexts from Time machine???


Here you go.  Again, not sure if this will work so make sure you back up.
http://www.mediafire.com/?5dprqu6hywu2idw


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: Pegasusrjf on July 30, 2011, 02:08:28 PM
How do you do this for an XFX 5870.  I tried editing but it keeps telling me I don't have permission even though I have modified to have full control.

Assuming you are using Lion, download the Info.plist from this post: http://forum.netkas.org/index.php/topic,1069.0.html
go to terminal and type:
sudo -s
enter your password, then move to the directory in which you downloaded the Info.plist file and enter the following:
Code:
mv /System/Library/Extensions/ATI5000Controller.kext/Contents/Info.plist /System/Library/Extensions/ATI5000Controller.kext/Contents/Info.plist.orignal
mv Info.plist /System/Library/Extensions/ATI5000Controller.kext/Contents/
chmod -R 755 /System/Library/Extensions/ATI5000Controller.kext
chown -R 0:0 /System/Library/Extensions/ATI5000Controller.kext
rm -rv /System/Library/Caches/com.apple.kext.caches/*
touch /System/Library/Extensions

restart your computer

I will give this a try, thanks.

Does my 5870 need to be flashed, or can it stay original


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 02:27:24 PM
Does my 5870 need to be flashed, or can it stay original
not necessary to flash, but geekbench/steam will crash unless you inject Uakari (you can use aty_init or efi flashing)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 30, 2011, 05:10:13 PM
Hello,

I've tried to change the kexts using those from 8th june in my time machine : I've just copy/paste them on my Desktop, then drag & drop them in the System/Library/Extension folder (I've done a back-up of the original ones). After this, a message appeared on my screen saying that the kexts were not usable because they were not installed properly. I've restarted my MacPro but my screens stay black... So I'll try to reboot from snow leopard disk and restore from time machine. I hope it will work... How should I do to replace properly the kexts? use the terminal I suppose?

By the way, the mediafire link is broken, do my kexts from time machine are usable/correct?

Thanks again!
`

Tanguy


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 30, 2011, 05:39:07 PM
It doesn't work...

When I try to boot from Snow Leo instal disc, my screens stay black... I'l try with the original graphic card, maybe this will work... If not I will use another macpro and reinstall Snow leo on my hard drive!



Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 05:50:49 PM
Hello,

I've tried to change the kexts using those from 8th june in my time machine : I've just copy/paste them on my Desktop, then drag & drop them in the System/Library/Extension folder (I've done a back-up of the original ones). After this, a message appeared on my screen saying that the kexts were not usable because they were not installed properly. I've restarted my MacPro but my screens stay black... So I'll try to reboot from snow leopard disk and restore from time machine. I hope it will work... How should I do to replace properly the kexts? use the terminal I suppose?

By the way, the mediafire link is broken, do my kexts from time machine are usable/correct?

Thanks again!
`

Tanguy

after you installed the kexts you should have repaired permissions and cleared caches otherwise it won't work:
chmod -R 755 /System/Library/Extensions/ATI*
chown -R 0:0 /System/Library/Extensions/ATI*
rm -rv /System/Library/Caches/com.apple.kext.caches/*
touch /System/Library/Extensions

if you boot with your other card (non ATI?) and do this, you shoudl give it a try again


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: tdecumont on July 30, 2011, 09:51:35 PM
My other card is the original one from the mac pro : ATI Radeon HD 2600 XT...
I'll try tomorow, now I go to sleep !! Jetlag.... ::)

Thanks a lot for your help :-)



Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 30, 2011, 09:53:47 PM
My other card is the original one from the mac pro : ATI Radeon HD 2600 XT...
I'll try tomorow, now I go to sleep !! Jetlag.... ::)

Thanks a lot for your help :-)



I just tried it myself. It kinda worked. I needed to also replace atiradeonx3000.kext but I only got things to work in safe mode. So probably not worth your time.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: pipkato on July 31, 2011, 02:08:51 PM
Can I just clarify what I need to do to get my XFX HD 5770 XMF3 working in Lion with my Mac Pro 3,1 (early 2008)?

I've seen posts from Calvintml and Redratto about this, and Redratto seems to  have the same card as I have working in Lion.  I'm just  not clear how it's done or what compromises are involved.  At the moment the DisplayPort is not that important to me, since I don't have any displays that use it.

1.  Can the XFX HD 5770 XMF3 work as well as the Apple version in Lion without any drawbacks such as broken DVD read/write?

2.  Do I need to modify the drivers, and, if so, is there a beginner's guide somewhere?


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: electonic on July 31, 2011, 10:48:20 PM
Add me to the list of confused noobs ...
Well, I'm really not that much of a noob, but these threads are always so hard to read.

I have a MacPro and a Radeon 5870 PCS with modded bios — made it myself.
It has two DVI, DisplayPort and HDMI. I want a 27" Cinema Display REALLY bad.
But my DisplayPort doesn't seem to work. I'm on Lion.
Could somebody help me and tell me what I've got to do to get the Cinema 27" to run on my card in Lion?
Even if you got to tell me that it won't work, that would at least be an answer.

Thanks in advance!


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 31, 2011, 10:53:19 PM
Add me to the list of confused noobs ...
Well, I'm really not that much of a noob, but these threads are always so hard to read.

I have a MacPro and a Radeon 5870 PCS with modded bios — made it myself.
It has two DVI, DisplayPort and HDMI. I want a 27" Cinema Display REALLY bad.
But my DisplayPort doesn't seem to work. I'm on Lion.
Could somebody help me and tell me what I've got to do to get the Cinema 27" to run on my card in Lion?
Even if you got to tell me that it won't work, that would at least be an answer.

Thanks in advance!
displayport will work with a variety of fixes.  this is probably the easiest:
http://forum.netkas.org/index.php/topic,1069.0.html
this will NOT allow 3 monitors in lion.  it will just will allow displayport monitors to work as well as one other dvi/hdmi monitor

There is an added complication that sometimes apple cinema displays don't work with displayport to mini displayport adapters, so be careful.  This is not a problem with the kexts, but a problem with some of the earlier 5xxx cards.  The monitor won't even work in windows.

good luck


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: calvintml on July 31, 2011, 10:55:53 PM
Can I just clarify what I need to do to get my XFX HD 5770 XMF3 working in Lion with my Mac Pro 3,1 (early 2008)?

I've seen posts from Calvintml and Redratto about this, and Redratto seems to  have the same card as I have working in Lion.  I'm just  not clear how it's done or what compromises are involved.  At the moment the DisplayPort is not that important to me, since I don't have any displays that use it.

1.  Can the XFX HD 5770 XMF3 work as well as the Apple version in Lion without any drawbacks such as broken DVD read/write?

2.  Do I need to modify the drivers, and, if so, is there a beginner's guide somewhere?
your card should work without doing anything, but geekbench steam will crash.

if you want to fix that, then use aty_init.kext (recently posted on netkas.org with fix for 57xx cards).  replace all instances of Uakari with Vervet in the Info.plist. repair permissions, clear caches, and now your card should work without geekbench/steam crashes

if you want displayport to work, edit the info.plist of ati5000controller as described here http://forum.netkas.org/index.php/topic,1069.0.html

if you want eyefinity 3 monitors to work, that problem has not been solved with the lion kexts.  see here for more info: http://forum.netkas.org/index.php/topic,1070.0.html

good luck


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: electonic on August 01, 2011, 12:28:15 PM
Thank you both for your reply. You helped me a lot. Much appreciated. I'll post my findings, when I'm done to help others.
Dankeschön!


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: pipkato on August 01, 2011, 05:08:55 PM
Thanks a lot Calvintml.

I don't know much about Geekbench or Steam.  I believe the former is a benchmark utility.  Is it likely to be important to have  Geekbench working?  I think Steam is just for games, so that doesn't really worry me.  I presume I'll still be without any Apple boot screen until the 'Login' appears?

But when I first tried my XFX 5770 with 10.6.8 my DVD Player wouldn't work - it would close immediately after opening.  Are you saying that with my XFX 5770 in Lion DVD player will work normally for read/write of data and movies playback? If so, that would be great. 

If I do attempt the aty_init.kext fix is there a newbie's guide anywhere?  Are Uakari and Vervet explained somewhere?  Is it just a matter of swapping one name for another in a text editor? (I did say I was a beginner in all this stuff :-))

If I'm successful in all the above, I might as well go for it and fix the DisplayPort while I'm at it.

Wish me luck, and thanks again for being so helpful.

Can I just clarify what I need to do to get my XFX HD 5770 XMF3 working in Lion with my Mac Pro 3,1 (early 2008)?

I've seen posts from Calvintml and Redratto about this, and Redratto seems to  have the same card as I have working in Lion.  I'm just  not clear how it's done or what compromises are involved.  At the moment the DisplayPort is not that important to me, since I don't have any displays that use it.

1.  Can the XFX HD 5770 XMF3 work as well as the Apple version in Lion without any drawbacks such as broken DVD read/write?

2.  Do I need to modify the drivers, and, if so, is there a beginner's guide somewhere?
your card should work without doing anything, but geekbench steam will crash.

if you want to fix that, then use aty_init.kext (recently posted on netkas.org with fix for 57xx cards).  replace all instances of Uakari with Vervet in the Info.plist. repair permissions, clear caches, and now your card should work without geekbench/steam crashes

if you want displayport to work, edit the info.plist of ati5000controller as described here http://forum.netkas.org/index.php/topic,1069.0.html

if you want eyefinity 3 monitors to work, that problem has not been solved with the lion kexts.  see here for more info: http://forum.netkas.org/index.php/topic,1070.0.html

good luck


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: MachineShedFred on August 01, 2011, 06:12:51 PM
I don't know much about Geekbench or Steam.  I believe the former is a benchmark utility.  Is it likely to be important to have  Geekbench working?  I think Steam is just for games, so that doesn't really worry me.  I presume I'll still be without any Apple boot screen until the 'Login' appears?

It's important to understand that a problem with Geekbench or Steam may not be restricted to being just a problem with Geekbench or Steam.  They may be symptoms of an issue that may affect other applications as well.  Caveat Emptor, buddy.   ;)


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: pipkato on August 04, 2011, 09:08:35 PM
Thanks MachineShedFred.

I suspect you're right on this.

I've since discovered that Geekbench and Steam are just part of the incompatibilities that includes DVD player too.

Regards.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: jsl2000 on August 07, 2011, 02:22:58 PM
some says use original drivers (don't know what they're talking about??)
Try replacing ATISupport.kext, ATI5000Controller.kext, and ATIFramebuffer.kext with those from 10.6.7 (the original ones, not the sandybridge kexts).  Not sure if it will work, so please report back.
I found the best way to regain what I had worked 3 EyeFinity ports (DP, HDMI, & DVI) in Lion GM for my MSI Hawk 5770 is replaced 3 kexts in /S/L/E only with previous version (1.6.26) of ATI5000Controller.kext, ATIFramebuffer.kext, and ATISupport.kext. Now I can use active convertor for DP->HDMI as well as HDMI audio and DVI again. Perfectly as before in SL 10.6.6/10.6.7.
And this method is also working for SL 10.6.8 too !


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: jsl2000 on August 18, 2011, 06:15:39 AM
After upgrade to Lion 10.7.2 just set AtiConfig=Uakari and GraphicsEnabler=Y in /Extra/com.apple.Boot.plist I can get working 3 ports of DP, HDMI (mirror with 2nd DVI), and 1st DVI with HDMI audio in Asus EAH 5850 card now without any modification of ATIFramebuffer or ATI5000Controller. If set GraphicsEnabler=N, both EAH 5850 and MSI Hawk 5770 cards can get working DP, HDMI, & DVI ports at the same time.
However, DVD player and Geekbench will crash immediately.
The only way to correct it is re-apply patching of ATI5000Controller as before.
But also need rollback to previous AppleHDA.kext (1.9.9f12) for my ALC-888 in Asus P5Q PRO and Asus P6T SE respectively.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: pipkato on September 22, 2011, 06:34:24 PM
Hello Calvintml.

You were helpful with a query I posted a few weeks ago (see below) regarding a PC version XFX ATI 5770 card under 10.7.1 Lion in a Mac Pro 3,1 so I hope you can help me now with a crisis.

I think I followed your instructions correctly, but I've ended up with two black DVI screens and now I can't even see my Mac Pro on my network.  I've tried a couple of reboots but without luck, I'm afraid.  I'm not even sure if my Mac Pro is rebooting - I hear the chime, but after that everything is very quiet.

My 5700 card was working fine, but I couldn't use my DVD player, which I know is normal.  I downloaded the latest 'ATY_init.kext' (22 July, 2011) and modified the info.plist file, changing all instances of 'Uakari' to 'Vervet' as you advised.  I saved the changed file and installed the kext using 'Kext Wizard', which automatically does the permissions and cache clearing after installation.

Have you any suggestions for how I might reverse out of this problem?  Should I have changed 'Uakari' to 'Vervet' before or after I installed the kext?

Thanks,

Roy

Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
« Reply #48 on: July 31, 2011, 10:55:53 PM »
Quote from: pipkato on July 31, 2011, 02:08:51 PM
Can I just clarify what I need to do to get my XFX HD 5770 XMF3 working in Lion with my Mac Pro 3,1 (early 2008)?
I've seen posts from Calvintml and Redratto about this, and Redratto seems to  have the same card as I have working in Lion.  I'm just  not clear how it's done or what compromises are involved.  At the moment the DisplayPort is not that important to me, since I don't have any displays that use it.
1.  Can the XFX HD 5770 XMF3 work as well as the Apple version in Lion without any drawbacks such as broken DVD read/write?
2.  Do I need to modify the drivers, and, if so, is there a beginner's guide somewhere?

your card should work without doing anything, but geekbench steam will crash.
if you want to fix that, then use aty_init.kext (recently posted on netkas.org with fix for 57xx cards).  replace all instances of Uakari with Vervet in the Info.plist. repair permissions, clear caches, and now your card should work without geekbench/steam crashes
if you want displayport to work, edit the info.plist of ati5000controller as described here http://forum.netkas.org/index.php/topic,1069.0.htmlif you want eyefinity 3 monitors to work, that problem has not been solved with the lion kexts.  see here for more info:http://forum.netkas.org/index.php/topic,1070.0.htmlgood luck



Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: pipkato on September 22, 2011, 09:24:51 PM
Hi Calvintml.

Just to update my last post about the problem with the 'ATY_Init.kext' install.

I managed to get access to my Mac Pro again by starting in 'Safe' mode.

I tried to unload the kext using 'kextunload' but got the message that it was not found.  And, checking the /System/Library/Extensions folder I can't find it either.

Just in case the 'Kext Wizard' had failed, I also tried to apply the permission repairs and cache clearance you advised here in a post on July 30th last:

after you installed the kexts you should have repaired permissions and cleared caches otherwise it won't work:
chmod -R 755 /System/Library/Extensions/ATI*
chown -R 0:0 /System/Library/Extensions/ATI*
rm -rv /System/Library/Caches/com.apple.kext.caches/*
touch /System/Library/Extensions


The 'chmod' command failed on all the 'ATI*' files with various  messages - 'Unable to change file', 'Operation not permitted', 'Unable to change file mode' etc.  I didn't continue, in case I did some harm.

Any idea where that .kext file might have gone?  I tried a search but that didn't find it either.  Does it integrate itself within some of the 'ATI*' and 'ATIRadeon*' kexts in that folder? If I hadn't had my blank screens, I'd presume the 'Kext Wizard' install had failed.

BTW I used 'Kext Wizard' rather than 'Kext Helper' because I was worried about doing the various permissions and cache clearances in Terminal incorrectly.  But I just had a look at 'Kext Helper b7' and it appears to have similar capability to 'Kext Wizard' (if I understand the buttons correctly). Under 'Advanced' it has a 'Kext permissions' button' and a 'Tag Cache Rebuild' option and they create a script similar to what you provided above.

Anyway, I'm still stuck - can't find the kext file, and don't know where to go from here.  All advice welcome.

Thanks.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: peterb81 on February 08, 2012, 08:01:45 AM
some says use original drivers (don't know what they're talking about??)
Try replacing ATISupport.kext, ATI5000Controller.kext, and ATIFramebuffer.kext with those from 10.6.7 (the original ones, not the sandybridge kexts).  Not sure if it will work, so please report back.
I found the best way to regain what I had worked 3 EyeFinity ports (DP, HDMI, & DVI) in Lion GM for my MSI Hawk 5770 is replaced 3 kexts in /S/L/E only with previous version (1.6.26) of ATI5000Controller.kext, ATIFramebuffer.kext, and ATISupport.kext. Now I can use active convertor for DP->HDMI as well as HDMI audio and DVI again. Perfectly as before in SL 10.6.6/10.6.7.
And this method is also working for SL 10.6.8 too !

I used those 3 kexts from an older version of osx - installed with kext helper and repaired permissions. Now have 3 displays back in 10.7.3 on 5770.


Title: Re: displayport working with 5xxx cards and sandybridge (and Lion too?) ATI drivers
Post by: nickolan1963 on June 22, 2012, 10:18:41 AM
hey guys,

i have installed the kext with the right numbers from my card in the plist but after a reboot, i get a holy chaos. see the pic.
how can i fix it to get back or to work it? can someone help me?