netkas.org forum

General Category => OSX and Graphics Cards => Topic started by: Fl0r!an on June 29, 2016, 04:37:55 PM



Title: Unexpected present from Apple/AMD?
Post by: Fl0r!an on June 29, 2016, 04:37:55 PM
So it seems Apple has included an unexpected present in Sierra: For the first time since HD 7xxx era they've included a framebuffer personality matching a standard PC PCIE card!  :o

I've already seen a framebuffer dump from AMD9500Controller online, but it seemed to be corrupted, had a strange structure. When looking closely, I realized that they had changed the structure form 16 bytes per connector to 24 bytes. So, with a simple modification to the framebuffer dump tool I got this:


Code:
Exmoor (6) @ 0x1cf6c0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Berbice (5) @ 0x1cf750
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010233000000001000020200000000
000400000403000000010313000000002103030300000000
000400000403000000010453000000001102040400000000
000400000403000000010533000000001204050500000000

Acre (3) @ 0x1cf830
DP, HDMI, DDVI
000400000403000000010101000000001102020100000000
000800000402000000010200000000002103050400000000
040000000402000000010300000000000000030500000000

Caroni (5) @ 0x1cf8f0
LVDS, LVDS, DP, DP, DP
020000000001000000010141000000001102020400000000
020000000001000000010231010000002103010300000000
000400000403000000010303000000002001030100000000
000400000403000000010403000000001204040200000000
000400000403000000010501000000001000050500000000

Florin (6) @ 0x1cf9d0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010141000000001102020400000000
020000000001000000010231010000002103010300000000
000400000403000000010313000000002001030100000000
000400000403000000010421000000001000050500000000
000400000403000000010553000000002205040200000000
000400000403000000010661000000001204060600000000

Dayman (6) @ 0x1cfa80
DP, DP, DP, HDMI, DDVI, DP
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000400000403000000010301000000001102010200000000
000800000402000000010400000000002103050400000000
040000000402000000010500000000000000030600000000
000400000001000000010601000000002001020500000000

Baladi (6) @ 0x1cfb30
DP, DP, DP, DP, DP, DP
000400000403000000010300000000001204030300000000
000400000403000000010100000000001102010100000000
000400000403000000010200000000002103020200000000
000400000403000000010400000000002205040400000000
000400000403000000010500000000001000050500000000
000400000403000000010600000000002001060600000000

OPM (5) @ 0x1cfbc0
DP, DP, DP, DP, DP
000400000403000000000001000000001102020200000000
000400000403000000000001000000002103030300000000
000400000403000000000001000000001204010100000000
000400000403000000000001000000001000040400000000
000400000403000000000001000000002001050500000000

Right in the middle you'll find "Dayman", which offers 4 DP, 1 HDMI and 1 DDVI: A combination I wouldn't expect on any Mac today.

So I went ahead, grabbed a freshly uploaded RX 480 ROM from Techpowerup, ran the well known dump tools and got this:

DP1:   0x12 / 0x4 / 0x6 / 0x1
DP2:   0x22 / 0x5 / 0x4 / 0x3
DP3:   0x11 / 0x2 / 0x1 / 0x2
HDMI: 0x21 / 0x3 / 0x5 / 0x4

Yep, that's a 100% match with Dayman! :)
I guess Apple made that Dayman FB for an internally tested prototype: On the publicly available RX 480's you still can see the soldering pads for a DDVI connector, and Apples prototype might also have had an additional DP.

Anyway, I think we might finally be looking forward a properly supported AMD card, which can achieve 100% functionality.
It has already been shown that AMD9500Controller will pick it up & initialize it properly, only thing missing is the device ID in X4000.kext to enable acceleration: http://forums.macrumors.com/threads/amd-confirms-rx-480-at-199-usd-other-apu-polaris-announcements.1975249/page-6#post-23067345 (http://forums.macrumors.com/threads/amd-confirms-rx-480-at-199-usd-other-apu-polaris-announcements.1975249/page-6#post-23067345)


Title: Re: Unexpected present from Apple/AMD?
Post by: GermanyChris on June 29, 2016, 05:09:41 PM
That'll be nice!


Title: Re: Unexpected present from Apple/AMD?
Post by: Spacedust on June 29, 2016, 11:20:00 PM
Wow - they are 14 nm and just 1x 6-pin connector so we can do Crossfire with ease ;)

http://www.benchmark.pl/testy_i_recenzje/radeon-rx480-test.html


Title: Re: Unexpected present from Apple/AMD?
Post by: oscarbg on July 01, 2016, 08:05:28 PM
sorry if noob question but your post means that can you add "the device ID in X4000.kext" of RX 480 so we get full acceleration with OpenGL/OpenCL and even Metal support..
has anybody tried it yet?..

thanks..


Title: Re: Unexpected present from Apple/AMD?
Post by: Fl0r!an on July 01, 2016, 08:56:56 PM
It might work, but I think no one has tried it yet. I also thought about ordering a 480, but the reference design doesn't look very appealing to me.

Ellesmere / Polaris 10 doesn't have it's own section in X4000 yet, but I'm sure it'll be added soon.


Title: Re: Unexpected present from Apple/AMD?
Post by: Fl0r!an on July 10, 2016, 09:18:10 PM
And another one: http://www.tonymacx86.com/threads/macos-sierra-pb-need-testers-for-new-amd-radeon-drivers.197273/page-3#post-1285764 (http://www.tonymacx86.com/threads/macos-sierra-pb-need-testers-for-new-amd-radeon-drivers.197273/page-3#post-1285764)

"Lagotto" is a 100% match for Tonga based R9 380 (I guess R9 285 and 380X, too?).


Title: Re: Unexpected present from Apple/AMD?
Post by: tomtomgps on July 13, 2016, 02:52:28 AM
Does this mean that the R9 380x might finally work in OSX ?


Title: Re: Unexpected present from Apple/AMD?
Post by: Ciro82 on July 28, 2016, 11:11:15 AM
Waiting for X4000 support...
http://i.imgur.com/Y48QgDM.png
(http://i.imgur.com/Y48QgDM.png)