netkas.org forum

General Category => OSX and Graphics Cards => Topic started by: Rominator on June 20, 2016, 10:42:50 AM



Title: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on June 20, 2016, 10:42:50 AM
Un-fucking-believeable.

AMD and Apple put Fury Nano drivers in Sierra, and hid them.

Pretended they were for Polaris (or maybe Polaris is so similar it can use same drivers)

Anyhow, here is tricky part. I tried this on cMP, was no good.

I tried this on MBA via eGPU, was no good.

But when I tried in nMP 6.1 via eGPU...BINGO !

OSX Sierra has Fury drivers !

Just have to go into AMDRadeonX4000 kext and add "7300" to Baffin family.

And I am VERY curious how this works on Hacks and other Macs.

Sure this time, not a mistake. Fury Nano working in OSX !


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on June 20, 2016, 12:16:56 PM
Oh, nice find!
I'll spread the word on tonymacx86 as soon as the NDA on Sierra is down, there are a few guys with Hack + Fury, eagerly waiting for Fiji drivers.

Would be interesting to see what happens when you try to init the GPU the other way around: Spoof the device ID to match one of the fully supported Polaris IDs. Should be possible to do this on a cMP with basic Clover installation (e.g. from flash drive).
Clover would also allow for playing with different SMBIOS settings, e.g. MP6,1 or iMac17,1.

Btw, "was no good" -> booted to black screen? Or booted without acceleration?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: netkas on June 20, 2016, 02:07:21 PM
Let me guess.

In baffin personality there is no strict check inside for device-id.

Probably we could have achieved similar in the past with tonga accelerator and some binary patch.

Apple will add these missing dev-id check but we now know what to look for.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on June 20, 2016, 08:03:11 PM
I am hopeful that someone with a Hack who can easily "spoof" different models will soon chime in on this.

I had noticed before that I could get unaccelerated 2D from Fiji on eGPU but not on cMP.

Finding how it is "locked" could quickly lead to Fiji running on cMP, possibly even in El Cap.

I have class today so won't be fiddling with this again until tonight.

Maybe someone at Insanely can try?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on June 20, 2016, 09:22:44 PM
Your good friend @ TI reported success with Fiji last weekend on other machines (not cMP though)...


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on June 21, 2016, 12:37:53 AM
Yes, issue is it doesn't work using a cMP.

There is some other check in drivers that doesn't exist for other cards.

I just tried adding the 7300 to each and every other personality (one at a time), no go on cMP.

So we need to find where this other check is.

I even renamed the Baffin one as Tahiti and renamed Tahiti as Tahit and still no go


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on June 21, 2016, 07:38:27 AM
I thought someone would care about this.

Couple years back finding latest (released) ATI cards working in OSX would have been big news.

Guess I forgot to mention the new Ruby emojis and watch bands.

Really sad where the platform has gone.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: LK LAW on June 21, 2016, 12:24:51 PM
I made an account just to tell you that I'm really excited for this and I hope that I can keep my cMP just that little longer :D


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: ClassicMartini on June 21, 2016, 02:39:47 PM
I thought someone would care about this.

Couple years back finding latest (released) ATI cards working in OSX would have been big news.

Guess I forgot to mention the new Ruby emojis and watch bands.

Really sad where the platform has gone.

"someone" here does. (G'day).

Wonder how it'll go with BruceX? - Kinda moot on a nMP, but fun to know anyway.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: electonic on June 21, 2016, 03:14:06 PM
This is great news. Thanks for all your efforts, again!
480X should be a great option for cMP owners. Especially finally a viable dual gpu option.:)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on June 22, 2016, 08:34:08 AM
What we really need is for a Hackintosh user to "spoof" the ids of various machines and report which ones work.

I know for a fact that nMP 6,1 WORKS, but Mac Pro 4,1/5,1 (flashed) does NOT work.

Odd thing is a R9 380 works in cMP, nothing locking it out, but Fury (Fiji) is LOCKED OUT of cMP.

I would guess to avoid more embarrassment about weak kneed nMP and it's watered down 7970s.

So, if you have friends at Insanely or TonyMuck, ask them to start experimenting.

Or maybe Pike would care to have a look?

BTW, I also tried removing 4,1/5,1 from AGDC to see if it was the lock, still no go.





Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Squishy Tia on June 22, 2016, 11:37:04 AM
It doesn't work on cMP, but does on nMP, and only as eGPU via TB2. If you have an iMac with a TB2 port handy, you might try on that one as well. I suspect it's being locked out by a check that looks for the device being a subsidiary of the PCIe bus, but passes the check when it's a subsidiary of the TB controller (even though TB is on the PCIe bus obviously). I'm hoping I'm wrong, but if I'm right, the only Hackies this will work with are the ones with TB2 ports with an eGPU case on those TB ports - a Fury Nano on the PCIe bus would likely be blocked there too in such a scenario.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: netkas on June 22, 2016, 03:05:33 PM
Boot in verbose mode on cmp and capture screen output on video, might give us some hints.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Spacedust on June 22, 2016, 03:51:13 PM
Maybe Apple is planning some AMD eGPU via TB3 options for Mac Pro 2016/2017 ?

There were some rumors of unknown Mac with 10 USB 3.0 ports ;)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: mysticalos on June 22, 2016, 10:54:17 PM
I'm sure it'll be another over priced machine that has half performance of an equally priced pc built well and then hackintoshed. :)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Spacedust on June 22, 2016, 11:15:32 PM
I'm sure it'll be another over priced machine that has half performance of an equally priced pc built well and then hackintoshed. :)

That's called: "Apple tax" ;)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: VladTheInhaler on June 23, 2016, 08:25:52 AM
Hi Rominator.  This carries on from your answer to my post on the other thread.  Does this mean though, that the Fury Nano will not work on the classic Mac Pro, or can it be made to work by patching frame buffers - not in clover, but in the Kext files and leaving them that way. You say the drivers are included in Sierra OS, does this mean that you have to change your OS for it to work or can we change/edit frame buffers in OSX 10.9/10.10 - or...is it because the Fiji GPU is not supported until Sierra?  Gotta be a way around this for people who don't want to upgrade to the 'dustbin'.

This is indeed a great find.  The wider implications will take some finding out.

By the way.  Florian you are my hero (after my card works like a dream that is..)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Spacedust on June 27, 2016, 01:01:54 PM
Apple is going to make displays with integrated eGPU ;)

http://www.macrumors.com/2016/06/24/thunderbolt-display-integrated-gpu/


Title: Florian Figures out cMP Fury Fiji use !
Post by: Rominator on July 02, 2016, 02:41:10 AM
Sp either in a PM or apost somewhere Florian suggested that the Fury working in nMP as eGPU may be linked to the fact that the internal cards got initialised first.

By using an EFi card at boot in cMP I was able to get Fury Nano to give accelerated display support !

So, a very good thing indeed. Thanks to Florian's idea, card is up and running !

The Valley score is comparable to a gTX780/980, and still it is in a x4 slot. If a x16 slot speeds it up more, I'll update.

I also compared the OpenCl extensions compared to the 750ti I used to init the machine.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on July 02, 2016, 09:31:07 AM
Nice to see it running! :) But this also means that the strange AMD bug has arrived in the cMP world...
Do you have a Tonga based GPU lying around? Would be interested to see if this can init on its own in Sierra. It already exhibited the same behavior in El Capitan on Hacks, but not on real cMPs.

Oh, and maybe there's something special about your setup.
I just remembered that guy @ MR who got screen output from the half working driver: http://forums.macrumors.com/threads/r9-nano-released.1914031/page-2#post-22499408 (http://forums.macrumors.com/threads/r9-nano-released.1914031/page-2#post-22499408)
That's actually what I'd expect to happen with just X4000 missing: Working, but no acceleration.

Yours needs a helper card to init properly, his didn't. Not sure what the difference could be though.

Btw, quite astonishing that your cMP @ x4 outperforms the nMP. Not sure what's wrong there, bandwidth should be similar...?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 02, 2016, 10:47:44 AM
Is R9 380 Tonga?

I have one of those laying about.

Harks back to the old SL days.

Netkas had a lovely little ATY_Init.kext that made most cards not need EFI.

ATI & Nvidia soon incorportated this into driver in 10.7.3 or so.

Will bust out the 380 soon.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on July 02, 2016, 12:25:10 PM
Yes, the 380 is Tonga. It should work quite fine OOB in Yosemite & El Capitan in a cMP. Would be interesting to see if the behavior has changed with Sierra.

With El Capitan it started to behave like your Fury on Hackintoshs, drivers were fine back in 10.10. I don't think the lack of IOReg injection is the issue here, as this doesn't help with Tonga cards either (Clovers "Inject/Ati" does pretty much the same as ATY_Init did back in the days).

Only known solution to enable a Tonga GPU in a Hackintosh is using a helper GPU (usually Intel iGPU) as primary graphics device. I think it doesn't even need to have a proper IOReg tree, so in your case even an unflashed PC GPU should work.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: netkas on July 02, 2016, 05:24:17 PM
Well, since el cap ive noticed some thing with 290x

Flashed card, with boot scren and no injection - goes to black screen in osx.
Unflahesd card - boots fine into osx.

In some way osx drivers works better with not-POSTed card.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on July 02, 2016, 07:39:34 PM
That might explain Tonga behavior on Hacks... Doesn't explain why the R9 Nano can't boot without another GPU though. It didn't have a modified EFI on it, did it?  ;)

Does your flashed 290X boot fine when unplugging all displays?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: netkas on July 02, 2016, 11:03:59 PM
Maybe Rominator need to try boot with non-flashed fiji only (we dont have flashed one, didnt bother)

> Does your flashed 290X boot fine when unplugging all displays?

no idea , can't try any time soon


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 03, 2016, 06:16:22 AM
Tonga works fine in Sierra all by itself.

Fiji working is nice, but I'm not convinced we can count on it continuing to work.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: tomtomgps on July 13, 2016, 03:31:32 AM
can i flash my 380x to a 380  so that it'll work in a mac pro ?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 19, 2016, 11:16:59 PM
don't think most AMD cards let you reassign device id via softstraps, so no

may be possible to move a resistor, but good luck finding it

Has anyone else tried Fury/Polaris in OSX?

Weird I'm the only one to bother.

You'd think with MR overrun by AMD shills there'd be more attempts.

Soiled Captain, Mr. Magoo, and Cahoots are missing an opportunity.



Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: tomtomgps on July 24, 2016, 08:12:24 AM
actually the 380X is working fine in my mac pro. The only problem is that I would like to flash it so that I can see the boot screen. Is is possible ?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 24, 2016, 11:04:03 PM
Certainly, you just need to write an EFI rom for it.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: tomtomgps on July 25, 2016, 03:46:13 AM
I would'nt be against the idea as it would be a good exercise (and really cool) but I would have little idea where to start. How would I go about writing an efi rom ?  


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 25, 2016, 08:20:43 PM
iMacs used Tonga, start with their EFI boot rom, see if it's compatible with Mac Pro.

Or start with the 7950 EFI.

Anything is possible, just a matter of how much time you want to spend on it.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on July 27, 2016, 12:05:05 AM
Hey, quick update.

On DP3 the Fury and 480 drivers are pretty much the same.

Still have to add the device ids to the 4000 kext and 480 still crashes when OpenGl is run.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: gilad215 on September 12, 2016, 10:51:58 AM
Hey guys, I'm a beginner hackintosh, internet and sound is working fine and all thats left is making my fury shine..
is there a newbie's guide on how to make this work? using the latest Sierra...

Thanks!

EDIT: I feel like I'm really close, I added 0x7300 to the kext and put inject ATI on the clover configurator, the system boots (before it booted to black screen) but it boots to the same generic driver, so it still doesnt work.
im willing to pay for the one who helps!(PayPal)


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: pscafe on September 13, 2016, 06:56:33 AM
Hey guys, I'm a beginner hackintosh, internet and sound is working fine and all thats left is making my fury shine..
is there a newbie's guide on how to make this work? using the latest Sierra...

Thanks!

EDIT: I feel like I'm really close, I added 0x7300 to the kext and put inject ATI on the clover configurator, the system boots (before it booted to black screen) but it boots to the same generic driver, so it still doesnt work.
im willing to pay for the one who helps!(PayPal)

https://www.youtube.com/watch?v=yrAl3pp9Y5k

Here is a video on how to


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: surfin on September 20, 2016, 10:19:21 PM
I think the FB name in clover graphics has to be Baffin.

Works with mine using the 0x73001002, but it's not fast. Still work to do...

I'm hoping that the final release of Sierra will let me get further.


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Ciro82 on September 20, 2016, 10:25:32 PM
I think the FB name in clover graphics has to be Baffin.

Works with mine using the 0x73001002, but it's not fast. Still work to do...

I'm hoping that the final release of Sierra will let me get further.

Baffin is not a Frame Buffer, it's a GPU name...

Polaris 10 (family) - Ellesmere (GPU name)
Polaris 11 (family) - Baffin (GPU name)

Polaris 10 framebuffers: Dayman, Guariba
Polaris 11 framebuffer: Acre


Your are currently using the AMDRadeonFrameBuffer (the generic one), just look for "ATY" on IORegistryExplorer and you will see....


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on December 16, 2016, 09:03:06 AM
So finally Fiji & Ellesmere can fly in OS X. Details are here:

http://www.insanelymac.com/forum/topic/313977-r9-nano/?p=2332854
https://www.tonymacx86.com/threads/enable-all-cores-r9-fury-cards.209892/#post-1393445


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Rominator on December 16, 2016, 10:32:41 AM
Nice work, another thing on list to try out.

EDIT: Used this

In hex:
 
48 B8 02 00 00 00 01 00  00 00 48 89 43 54 C7 43 7C 08 00 00 00
48 B8 04 00 00 00 01 00  00 00 48 89 43 54 C7 43 7C 20 00 00 00
 
0F 42 C8 89 8B 80 00 00  00 44 88 B3 99 00 00 00 44 88 73 20
90 90 90 89 8B 80 00 00  00 44 88 B3 99 00 00 00 44 88 73 20
 
E8 49 85 FE FF BE 48 01  00 00 4C 89 F7
E8 73 02 01 00 BE 48 01  00 00 4C 89 F7
 
Here are shorter patches that hopefully survive updates!

From Okrasit at Insanely (original discoverer, I'm big on giving credit where due)

http://www.insanelymac.com/forum/topic/313977-r9-nano/?p=2334590

And this one for 480 based on Okrasit's work:

Change number of CU's from 16 to 36:
48 B8 02 00 00 00 01 00 00 00 48 89 43 54 C7 43 7C 08 00 00 00
48 B8 04 00 00 00 01 00 00 00 48 89 43 54 C7 43 7C 12 00 00 00

Remove CU limit (didn't alter for P10):
0F 42 C8 89 8B 80 00 00 00 44 88 B3 99 00 00 00 44 88 73 20
90 90 90 89 8B 80 00 00 00 44 88 B3 99 00 00 00 44 88 73 20

Change init function to Ellesmere instead of Baffin:
E8 49 85 FE FF BE 48 01 00 00 4C 89 F7
E8 46 E4 00 00 BE 48 01 00 00 4C 89 F7

From Florian at tonymac



Title: These were tested in nMP 6,1 via eGPU
Post by: Rominator on December 17, 2016, 01:22:25 AM
The OpenCl increase is nice !

I didn't do the "remove power limits" mod as I don't want to burn anything up

Need to do baseline 480 run and 460 as well.

Nice of Apple to tie the hands of competing cards to keep their feeble options  looking good.

Jerks.

EDIT: added the 480 virgin shot, with just 16 enabled CUs

Florian, it still says "Baffin", should it say Ellesmere?

Does it matter?


Title: Re: Hold the Presses, OSX Sierra has complete Fury Drivers !
Post by: Fl0r!an on December 17, 2016, 12:27:40 PM
Nice scores!

The name of the accelerator device is assigned inside the OpenGL driver (AMDRadeonX4000GLDriver), which we didn't touch here. It's just a switch/case statement based on the device ID, and the default case for Baffin accelerator is that "Radeon HD Baffin Unknown Prototype" string.
I think it's just cosmetic, didn't find any other device specific settings in there, but only had a quick look.

Btw, X4000.kext contains a similar setup for all known GCN 1.1/1.2 GPUs. It contains the maximum number of CU's for each family (e.g. 44 for Hawaii, 32 for Tahiti, 20 for Pitcairn). A device specific setup for Fiji and Ellesmere is still missing (this is not within the "Ellesmere init function"), so we have to rely on the Baffin code. Actually quite remarkable that those GPUs are running so well on a driver they were never ment to be used with.