netkas.org forum

General Category => Rom things => Topic started by: Fl0r!an on April 22, 2015, 05:43:07 PM



Title: Radeon Port Mapping
Post by: Fl0r!an on April 22, 2015, 05:43:07 PM
Hey Guys,

I'm quite new to MacPro VGA flashing, so I've got a few questions: Recently I upgraded the graphics card in my Hackintosh, so I had a spare HD 6870. Since my dad has some MacPros, I decided to flash it for him to replace one of his entry-level GPUs (GT120 and stuff like that). Thanks to this great forum, flashing was really simple, the card works fine, but a few questions have come to my mind:

1. Port Mapping in OSX
Before flashing the card, I put it in a MacPro and fired it up. It worked fine OOB in Yosemite (no EFI boot screen of course): Both monitors (hooked up to both DVI ports) were working and the Cinebench score looked fine, too. Everything was stable and smooth.
After flashing, I had an EFI boot screen on one of the ports (as it's supposed to be), but the 2nd DVI port was gone, even when OSX took over control. Beside that, everything stayed the same (e.g. Cinebench score).
From my understanding, this is because of the Duckweed framebuffer, which doesn't support this 2nd DVI port. I know that you could modify the Duckweed framebuffer to support that port (that's what some of the hackintosh guys do), but I want to keep the OSX install vanilla to prevent issues when updating.
I think that, before flashing, the "RadeonFramebuffer" personality was used (I didn't check it however because I didn't expect any problems after flashing). Since everything seemed to work fine unflashed (beside the lack of a boot screen), I thought that it might be possible to use "RadeonFramebuffer" with a flashed card?
Would that be as easy as decompressing the EFI, replacing all occurrences of "Duckweed" with "RadeonFramebuffer", compressing the EFI and building a ROM from it? I've looked through all Radeon EFIs I could find, but all of them were using a specific framebuffer personality, never the generic "RadeonFramebuffer", so I'm not sure if it's that simple...
As I've said, I don't have a MacPro to try that myself, so I'd have to visit my dad to mess around with one of his productive machines, which I don't want. It's not that important to get the 2nd DVI working (other ports work fine), but I'd like to know if my idea would work. I'd then try it later on his machine, when I'm sure I won't fuck things up.  ;D

2. Port Mapping in EFI
I know that the EFI boot screen only works on all ports if the flashed card uses the same design as the Apple one, where the EFI comes from; otherwise only some (or no) ports are working (e.g. only VGA on 5770 and only 1st DVI on my 6870). This port mapping is inside the EFI part of the ROM.
Since I've got a quite good programming background and stuff like a disassembler isn't foreign to me I wanted to take a look at what's going on in the EFI: I extracted and decompressed the EFI from different Mac ROMs (e.g. 5770 (EBC and EFI64), 6870, 7950) and threw it in IDA Pro. I found many familiar things (e.g. framebuffer personalities, device ID&name display types and even port names), but I did not find any kind of port mapping.
I expected to find a mapping which connects each instance of "ATY,EFIDisplay" to some index/address, which corresponds to a specific hardware port. Ideally this would be the same address as in the vBIOS (e.g. visible with radeon_bios_decode), so you would just have to make the EFI mapping fit the vBIOS mapping. Of course it's not that easy, I can't relate any of the "magic numbers" in the port setup part of the EFI (at least I think that's what it is) to any addresses or IDs in the corresponding vBIOS or framebuffers.
I couldn't find much information on this topic, I think the latest stuff was from 2012 or 2013, so I'd like to know if anyone has made any progress on modifying the EFI port mapping?
Again, it's not very important for me to have a boot screen on all ports, but it looks like a really interesting challenge to me, and I'd like to know if anyone has any hints.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 24, 2015, 10:06:04 AM
Hi, I've made a bit progress regarding the EFI port mapping. I'm not sure if it's something new, but most information on stuff like that is really wide scattered around the internet, so I'll try to collect something here.

So, I had a look at different EFIs (both EBC and EFi64) of which I know the reference layout. This is what I found in the EBC HD 5770 EFI:
https://www.picflash.org/picture.php?key=Z1JME7&action=show (https://www.picflash.org/picture.php?key=Z1JME7&action=show)
Basically it's just a loop running from 0 to 2 (I'm quite sure this index is the port-number you can see in IOReg) and assigning a "connector-type" for each port-number. The connector-type has the same format as in the different Framebuffers, see Hackintosh-Sites. For the EBC-HD5770 (MacPro card) this is the result:
#0: connector-type = 0x400 (DisplayPort)
#1: connector-type = 0x400 (DisplayPort)
#2: connector-type = 0x4 (DVI)
As you can see, this perfectly matches the IOReg entry of an official HD5770 Mac Edition:
https://www.picflash.org/picture.php?key=OOPVW3&action=show (https://www.picflash.org/picture.php?key=OOPVW3&action=show)
To make it fit a flashed HD5770 (1x DP, 2x DVI, 1x HDMI), you'd have to remove on of the 0x400 connectors, and add another 0x4 (DVI) and an 0x800 (HDMI). For the correct order of the port, I'd first try the order in the PC-BIOS. If this doesn't work, you could still try different combinations.
I don't think that this simple modification is enough to enable EFI Bootscreens on all ports, but at least it seems to be a start. I think you'd also have to match stuff like Encoder, Transmitter, SenseID and/or ControlFlags (didn't find any of these yet).

On the older HD4870, things are even more obvious: Since this card only has two ports (DP & DVI, according to MacTracker), they didn't bother doing a loop but simple copy&pasted the setup code a second time in there:
https://www.picflash.org/picture.php?key=KXE9BS&action=show (https://www.picflash.org/picture.php?key=KXE9BS&action=show)
This is the result:
#0: connector-type = 0x400 (DisplayPort)
#1: connector-type = 0x4 (DVI)
Again, match!

On the HD5770 EFI64 (from iMac) you'll get:
#0: connector-type = 0x400 (DisplayPort)
#1: connector-type = 0x400 (DisplayPort)
This makes sense, too: One internal Displayport to connect the screen and another external one.

As I've said above, I don't think that this is enough to get bootscreens working, but it's a start. Reason: DVI-I ports only appear once (1 connector for both digital and VGA), but flashed HD5770 have the bootscreen only on VGA. I think I'll have a look at this aapl,boot-display and ATY,EFIDisplay stuff. As before, hints from some smart people are always welcome...  ;)
Ah, one question: I couldn't find any information where the HD6870-EFI comes from. Is it an iMac EFI or was there any Mac Edition of that Radeon generation?

Update: The flashed HD 6870 is connected via 1st DVI (the one which gives bootscreen). IOReg says on this port "ATY,EFIDisplay" = "HDMID", which is obviously wrong. Since bootscreen still works, this seems to be purely cosmetic...
Also found out that "appl,boot-display" is hard-coded to 0x1, so this shouldn't be an issue either. Will have a look at "ATY,EFIOrientation" and "ATY,EFIDispConfig" now (anyone knows something 'bout them?).


Title: Re: Radeon Port Mapping
Post by: Rominator on April 24, 2015, 11:30:02 PM
Great job !!

I've always said that the AMD roms could be improved, but nobody ever spends much time on it.

Maybe 666sheep or Netkas will chime in, they are the only other people who do real work on EFI that I know of.

Everyone else does copy & paste code kiddy tricks

Nice to see someone make a serious effort.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 25, 2015, 05:32:27 PM
Thanks for your post!
Yeah, I was hoping to meet someone with more experience than me here, maybe they'll see this thread.

Today I played a bit around with the flashed HD 6870: I wanted to investigate how IOReg differs when booting up with a port that doesn't show boot screen. So I hooked the display up via HDMI and startet the MacPro. I was quite surprised to see the gray Apple  :o
And I was even more surprised when the display turned black when OSX took over.  ;D Seems my Sapphire HD 6870 has a non-standard layout, which doesn't show anything on HDMI using Duckweed, but instead shows boot screen on HDMI...  :)
So I had a look at what the "eBay copy & past kiddies" (  ;) ) are selling: Their 6870s have 2x mDP, 2x DVI, 1x HDMI, mine has 1x DP, 2x DVI, 1x HDMI.

Here's my BIOS port layout:
Code:
Connector at index 0
Type [@offset 44283]: DisplayPort (10)
Encoder [@offset 44287]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44393]: 0x90, OSX senseid: 0x1
Connector at index 1
Type [@offset 44293]: HDMI-A (11)
Encoder [@offset 44297]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44420]: 0x93, OSX senseid: 0x4
Connector at index 2
Type [@offset 44303]: DVI-D (3)
Encoder [@offset 44307]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 44447]: 0x95, OSX senseid: 0x6
Connector at index 3
Type [@offset 44313]: DVI-I (2)
Encoder [@offset 44317]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 44484]: 0x94, OSX senseid: 0x5
Connector at index 4
Type [@offset 44323]: DVI-I (2)
Encoder [@offset 44327]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 44484]: 0x94, OSX senseid: 0x5

Here's the BIOS port layout of a standard card:
Code:
Connector at index 0
Type [@offset 44824]: DisplayPort (10)
Encoder [@offset 44828]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44952]: 0x90, OSX senseid: 0x1
Connector at index 1
Type [@offset 44834]: DisplayPort (10)
Encoder [@offset 44838]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 44979]: 0x91, OSX senseid: 0x2
Connector at index 2
Type [@offset 44844]: HDMI-A (11)
Encoder [@offset 44848]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 45006]: 0x93, OSX senseid: 0x4
Connector at index 3
Type [@offset 44854]: DVI-D (3)
Encoder [@offset 44858]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 45033]: 0x95, OSX senseid: 0x6
Connector at index 4
Type [@offset 44864]: DVI-I (2)
Encoder [@offset 44868]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 45070]: 0x94, OSX senseid: 0x5
Connector at index 5
Type [@offset 44874]: DVI-I (2)
Encoder [@offset 44878]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 45070]: 0x94, OSX senseid: 0x5

Basically the difference concerning HDMI is the connector index (2 vs. 1) and the encoder (0x20 vs. 0x21). Will have a look at 6870.efi if I can find an explanation for the working HDMI boot screen there. (Investigating black HDMI in OS X is less interesting, this'll definitively be because of Duckweed).

Update: Didn't find an explanation yet: 6870 EFI seems to contain 4x DP and 1x 0x2 (SL-DVI???), so DVI+HDMI should NOT work (but it does for me)... Also found a switch case statement containing 0x90 - 0x95 (looks like i2cid, see above), but I can't make sense of that yet...


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 27, 2015, 11:51:30 AM
Hehe, have a look at this: https://www.picflash.org/viewer.php?img=MappingIFQOMM.png (https://www.picflash.org/viewer.php?img=MappingIFQOMM.png)
Screenshot is a bit cropped and incomplete, complete mapping (OEM 7950 EFI btw) looks like this:

Code:
Name    internal ID  txmit   enc

DP1     0x100        0x12   0x4
DP2     0x200        0x22   0x5
TMDSA   0x1          0x30   0x0(?)
HDMIC   0x1080       0x12   0x4
HDMID   0x2080       0x22   0x5
HDMIE   0x4080       0x11   0x2

Now have a close look at redsock_bios_decode output for the same ROM file:
Code:
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

Everything except DVI-I port matches perfectly (maybe information for both digital and analog output is somehow encoded in the same port in EFI). Coincidence? Maybe, but not very likely I think...

Of course I can't be sure that these bytes in the EFI are really values for txmit and enc, but it looks quite obvious to me.
Btw, in the EFI this isn't really a table but more a somehow dynamic assignment scattered all over the EFI. Everything is linked by an identifier which I call internal ID (e.g. 0x100 for DP1). Why dynamic? The EFI contains information for 3 HDMI ports, but 2 of them are getting mapped to the same txmit & enc as DP1 and DP2. I'd assume that happens when using an DP->HDMI adapter.
All other OEM EFIs I had a look at contain a similar mapping: Again, everything matches except DVI.

Think I'll have to do some flashing now. Would be a lot easier if I had a MacPro at home  ;D
Hope I'll get around to do this this week. If s.o. wants to volunteer as tester, feel free to contact me  :)


Title: Re: Radeon Port Mapping
Post by: Rominator on April 27, 2015, 10:05:12 PM
Very interesting stuff you are finding.

Not sure if you knew, but the 6870 EFI was done by Netkas using an iMac EFI. That is why it is 64bit instead of EBC and why it may list some odd outputs in EFI.

One reason we have kind of given up on AMD is that there are likely to no longer be frame buffer personalities for future cards. They will likely only be created for cards in nMP or iMac so nothing with outputs that exist in Newegg choices.

So even if you write the perfect EFI, you will have to go back to "RadeonFramebuffer" or you will have to create or mod an existing frame buffer and update with each OS update.

Nvidia cards allow display outputs to be assigned in the rom and driver works around that, so much easier to end up with "perfect" result.

If you are able to make flashed 5770s and 5870s show output on all ports you will have a lot of fans.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 28, 2015, 08:59:59 AM
What's wrong with RadeonFramebuffer? On my hackintosh I've been using it for quite some time without any problems (HD 5770, HD 6870, R9 280).
For me as a hackintosh guy, AMDs appear a lot easier at the moment, because you don't have to care about any web drivers which might/will get f*cked up on the next OS update.

I know that I'm a bit late with what I do (HD 5770/5870 has been around for about 5 years now and even the 7xxx/R9 EFI is 2 years old) and certainly the classic MacPros best time is over, but I'll still see what I can do. Maybe something useful comes up in the end, maybe not.  :)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 28, 2015, 06:39:13 PM
Today I played a bit around with my R9 280. I think it's a good card to start messing around because of its dual BIOS. It's a non-reference card (Sapphire Dual-X with 1x DP, 2x DVI, 1x HDMI), so the 2nd DVI port is not working.

The good news: My observations mentioned above (regarding txmit & enc) seem to be correct: For testing purpose, I've changed the txmit value of my (working) HDMI port in the EFI to an arbitrary value (e.g. 0x23, which does not appear in my graphic cards BIOS). As expected, this leads to a garbled screen on HDMI while other ports (e.g. DVI) remain fully functional.

The bad news: Above information is not enough to introduce a completely new port (e.g. 2nd DVI) to the system. I've tried to make the 2nd DVI work instead of 1st DVI by changing mentioned IDs, but this simply killed both DVIs. I think the main problem is that the 7xxx EFI only contains information for one DVI port, so it takes a lot more than just fixing some mismatched mappings to make both DVIs work.

This isn't too bad however: I think you could still enable some non-functional ports on other cards using this method as long as the EFI offers basic support for this port type. My problem is currently that I can't build a working ROM file for anything else than HD 7xxx/R9: I've tried using netkas' scripts from the 7xxx testing thread with my HD 6870, but it didn't work. Of course I changed the device ID and modified the efiromheader.rom (see attachment), but it didn't work. The Mac just completely ignored the EFI part in the rom (=>no boot screen, RadeonFramebuffer in OSX). Sadly I couldn't find any information on how to build a ROM file, so I guess I need your advice here...

Thanks in advance!  :)


Title: Re: Radeon Port Mapping
Post by: blacksheep on April 28, 2015, 08:18:51 PM
Hi!
I'm glad that someone with programming skills joined to the party :) I'm mostly trial and error guy.
Your findings are great. Thank you for sharing. This is something I have missed in my experiments, because I was looking for sense ID, which determines if port works at all (see radeon_bios_decode output).


The good news: My observations mentioned above (regarding txmit & enc) seem to be correct: For testing purpose, I've changed the txmit value of my (working) HDMI port in the EFI to an arbitrary value (e.g. 0x23, which does not appear in my graphic cards BIOS). As expected, this leads to a garbled screen on HDMI while other ports (e.g. DVI) remain fully functional.

The bad news: Above information is not enough to introduce a completely new port (e.g. 2nd DVI) to the system. I've tried to make the 2nd DVI work instead of 1st DVI by changing mentioned IDs, but this simply killed both DVIs. I think the main problem is that the 7xxx EFI only contains information for one DVI port, so it takes a lot more than just fixing some mismatched mappings to make both DVIs work.

Did you patch the framebuffer to match 2x DVI layout, or you tested only EFI loading stage?

Quote
This isn't too bad however: I think you could still enable some non-functional ports on other cards using this method as long as the EFI offers basic support for this port type. My problem is currently that I can't build a working ROM file for anything else than HD 7xxx/R9: I've tried using netkas' scripts from the 7xxx testing thread with my HD 6870, but it didn't work. Of course I changed the device ID and modified the efiromheader.rom (see attachment), but it didn't work. The Mac just completely ignored the EFI part in the rom (=>no boot screen, RadeonFramebuffer in OSX). Sadly I couldn't find any information on how to build a ROM file, so I guess I need your advice here...

Thanks in advance!  :)

After you put the EFI in right place inside the BIOS, you need to correct OpROM indicators and checksum of each part. Fixrom script will do that for you.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 28, 2015, 09:51:28 PM
Hi!
Nice to see that you've found this thread! I've seen some of your posts where you investigated similar stuff (regarding 6870 EBC EFI), so you should roughly know what I'm currently doing and might be able to help me out  :)

I was looking for sense ID, which determines if port works at all (see radeon_bios_decode output).
Yeah, was looking for it, too, but didn't find it so far. Not quite sure if it's needed at all at EFI-level though...

Did you patch the framebuffer to match 2x DVI layout, or you tested only EFI loading stage?
Only EFI stage, didn't care about OS X yet since framebuffer patching seems to be a quite well documented topic.

After you put the EFI in right place inside the BIOS, you need to correct OpROM indicators and checksum of each part. Fixrom script will do that for you.
Yeah I know fixrom, it's executed at the end of netkas' HD 7xxx script, so that was definitely done. If it's really that easy, the "makerom.sh" might simply have messed up some things in the 6870 rom; I'll try it manually next time. So copying the modified, compressed EFI in it's old place will just work (after applying fixrom.py)?. Is there anything I have to consider if the length of the EFI part changes (e.g. some header which contains the total length), or is this all done by fixrom?

Would be cool if you could test some stuff, too (assuming you have the correct hardware, e.g. HD 6870 or 5770/5870). I think I've written down most stuff I've figured out so far (or at least think I've figured out  ;D ), but of course I could also provide some EFI files for testing.


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on April 28, 2015, 11:28:55 PM
I have a MP4.1 with HD5870 (flashed) - and i hope i get a MP1.1 this week.

So i would be glad to test some .roms; enough experience with bricked cards and automated/blind flashing under DOS  ;)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 29, 2015, 09:57:47 AM
That's nice! Okay, here we go:

I'll assume your HD 5870 looks like this (please verify with redsock_bios_decoder):
Code:
Connector Object Id [19] which is [DISPLAY_PORT]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x12 [duallink 0x2] enc 0x4)] linkb: false
Connector Object Id [12] which is [HDMI_TYPE_A]
encoder obj id [0x21] which is [INTERNAL_UNIPHY2 (osx txmit 0x22 [duallink 0x2] enc 0x5)] linkb: true
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x16] which is [INTERNAL_KLDSCP_DAC2] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x1e] which is [INTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

I've made the following changes (12 bytes changed in total):
- DP1: 0x11/0x2 => 0x12/0x4
- HDMI: 0x21/0x3 => 0x22/0x5 (the EFI doesn't really list a discrete HDMI port but only something that looks like support for DP=>HDMI adapter, maybe this will still change something...)
- DVI: 0x12/0x4 => 0x11/0x2 (only support for one single DVI port found)

I'd try DisplayPort first as things look most obvious here. I've attached both a compressed EFI file with EFI header and an uncompressed EFI file (without header). Normally you should be able to build a .rom by appending the compressed EFI (5870mod.efi.rom)to your PC BIOS (see HD 5xxx/6xxx guide here). If the EFI is not recognized by the system (e.g. RadeonFrame buffer and name "HD 5000 series") then I've done something wrong when I've attached the compressed EFI to the EFI header. In this case, someone with more experience than me should try to build a ROM from the uncompressed EFI file (5870mod.efi).

EDIT: Whoops, uploded wrong file. I've also added another version where I've flipped the mapping for DP and HDMI. Please test this, too, if the original version doesn't change anything.


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on April 29, 2015, 10:31:28 AM
I'll test it in about few hours!  ;)

Got a MP1.1 today, so i have a second machine for testing.


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on April 29, 2015, 07:43:52 PM
Both files are working fine. I have a XFX 5870, i guess it is reference design.

Perhaps i am the first one, who saw a bootscreen on DVI-port with flashed pc-card - very, very good work!  :o

Unfortunately i can't find a DP-cable for testing, sorry.
Both roms, same result, bootscreen on the second DVI-port. First DVI-port (lower one) only via VGA-adapter or blackscreen until login.


Title: Re: Radeon Port Mapping
Post by: Rominator on April 29, 2015, 08:05:02 PM
Excellent work !

I have a 5870 here and will test.

Btw, there is a problem with most 5870 DP ports such that they can run a Dell DP port but not an Apple LED Cinema Display.

I have both and will let you know.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 29, 2015, 09:54:06 PM
Wow, thats awesome!  :o Way better than expected  ;D

Regarding DVI-mapping both ROMs are identical, so it's no surprise that they have the same DVI port working. Only difference is DP/HDMI mapping: I'd expect that only one of the ROMs enables bootscreen on those two ports. As I've said, the 5870 EFI only provides support for one single DVI port, so it would require some extra work to include a second one (more than just fixing some mapping.
Would be nice if you could test HDMI and DP and tell me which of the ROMs work (if they do at all). I'll apply the same modifications to the 6870 and test all ports; hopefully I'll be able to do this tomorrow.

Wanna bet when the first 5870 with boot screen appears on ebay?  ;D


Title: Re: Radeon Port Mapping
Post by: Rominator on April 29, 2015, 11:31:57 PM
Mod # 2 doesn't give boot screens via HDMi or DP.

The upper DVI port does have it.

The DP port still won't run an Apple MDP display, but I think that is a hardware issue. There were later XFX 5870s that could at one point. It was after they switch to a center fan, don't recall the version #.

Anyhow, will check mod#1 and see if they work there.

Great work, nice to have someone show up with working mod instead of with their hands out and/or complaining when we don't write roms for every card they ask about.

really nice work, a mystery from years ago finally solved


Title: Re: Radeon Port Mapping
Post by: Spacedust on April 29, 2015, 11:37:20 PM
Great work. Now we need make the same for HD5770 ;)


Title: Re: Radeon Port Mapping
Post by: Rominator on April 29, 2015, 11:41:57 PM
Great work. Now we need make the same for HD5770 ;)

Go right ahead !

BTW, there is an error in the above files.

While the uncompressed EFI is different, the finished products are the same.

Will let you know which is wrong.

mod 2 has the error, I will test and report results and include a finished rom for it if it works

UPDATE: Looks like Mod 2 doesn't give boot screens to DP or HDMi either.

So perhaps needs more work?

I was reminded of one of the cool things about these cards, Apple enabled Sound output via MDP on a 5,1 only. My flashed 4,1 also has this, and in the Sound Control Panel I saw HDMI. Oddly, when I plugged DP in as well, they both said "DisplayPort", then when I unplugged the DP again, the HDMI was correctly identified.

I will double check that the mod2 I made was correct, the way to tell was that the compressed file began with "A8" while mod1 starts with "A7"

But even just having DP is a revelation. This makes 5xxx cards better match for 1,1 and 2,1 since while they can use 7950/70 they need to run a modded boot.efi to do so.

Florian, I obviously have a 5870 and a variety of displays, happy to test more.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 30, 2015, 07:56:15 AM
Many thanks for testing!  :)

While the uncompressed EFI is different, the finished products are the same.
Oh sorry, must have mixed up some files. Good that you've noticed! :)

UPDATE: Looks like Mod 2 doesn't give boot screens to DP or HDMi either.

So perhaps needs more work?
Too bad, I'll have another look inside the EFI later today. On the other hand, would be boring if my very first ROM was already working perfectly, wouldn't it?  :P
Did you verify that your card matches the layout I posted earlier (redsock_bios_decoder)? I guess that the SenseID is also inside the EFI and we'll have to adjust this, too (and this single DVI port was just a lucky hit). But I'll look for some obvious mistakes first.

Great work. Now we need make the same for HD5770 ;)
All you need is in this thread. Before providing modified/improved versions of all kinds of ROMs I'd like to understand things better and and apply the fix for other ports, too.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 30, 2015, 01:35:51 PM
Okay, I've had another look into the HD 5870 EFI, but I didn't find anything new. Maybe there's something else I've not found so far, or (would be better  ;D ) the tested cards differ in their DP/HDMI port mapping from my redsock_bios_decoder output.
While looking through the EFIs I've created a list containing all port mappings from all EFIs. A comparison with any compatible card will show you which bytes have to be modified to enable boot screen for a specific port (beside some more changes maybe, we'll see).

(https://www.picflash.org/viewer.php?img=EFI_MappingT76IPS.jpg)


Title: Re: Radeon Port Mapping
Post by: blacksheep on April 30, 2015, 02:40:55 PM
Great work!
I'll dig through this during the weekend. Got 6870 and 5870 for testing.

BTW, by "senseID" I more meant corresponding i2cid value. If (0x92 or 0x93 for HDMI for example). This one I was looking for, and if it does not match between EFI and the BIOS - port does not work. I'll let you know what I'll find.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 30, 2015, 05:34:51 PM
Would be great if you'd have a look, too, two heads are better than one  :)
I have been looking for both the sense ID and i2cid (I think they are linked, so only one would be needed, right?). I've found exactly one instance of 0x90, 0x91, 0x92, 0x93, 0x94, 0x95 which really looks like i2cid, but I didn't find any connection to a specific port/port ID.

Today I had planned to try it out myself with the HD 6870 but just with the first flash I've produced a brick.  ;D Don't know what I've done wrong, I thought I did everything in the same way as yesterday with the HD 5870. The MacPro even refused to start up with that "bad" card in it, it didn't even make the startup chime.  ???
Had to take the card home and re-flash it in my hackintosh (where it was working completely fine, even with the "bad" ROM). Has anyone of you seen this behavior before?  :-\


Title: Re: Radeon Port Mapping
Post by: Rominator on April 30, 2015, 06:03:08 PM
Welcome to the joys of rom writing. Some of the things I found took months of trial and error.

Quite common for EFI to be a dead end and stop boot. Sometimes rom is so bad that you have to remove EEPROM and start fresh. This is why "Dual Bios" cards are so nice to test with.

What you have done already is wonderful, all gravy at this point.

The 5870 I have is reference one.   


Title: Re: Radeon Port Mapping
Post by: netkas on April 30, 2015, 06:16:43 PM
There is better test scenario:

install refit, you will need efi-shell

once in efi shell (using 5870 with no efi, and some second card for output (like 2600xt)), you can load the efi driver or efi rom

with commands load and loadpcirom

this way you wont get any output  on 5870, but at least can test for some deadlocks.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on April 30, 2015, 07:17:12 PM
Nice idea, I'll try this next time.


Title: Re: Radeon Port Mapping
Post by: iHack13 on May 01, 2015, 09:00:48 AM
Hey there,

I have a 5770 but no Mac Pro.
But willing to help. Let me know if I can do anything.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 02, 2015, 09:12:49 AM
Wanna bet when the first 5870 with boot screen appears on ebay?  ;D

Two days! ;D http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815 (http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815)

Why waste time on testing and further improving the ROM (or at least giving some feedback in this thread) if you could also sell some totally overpriced beta-stuff in the mean time? His nick says everything I guess  ;D Macbitch, du bist ein jämmerliches Stück Scheiße!

Back to topic: I've bought a cheap PC 5770 on ebay to do some testing myself, modifications should be quite much the same. I'll see if I can do something about the other digital ports.

@ iHack13: MacPro is required since this is all about EFI here...


Title: Re: Radeon Port Mapping
Post by: iHack13 on May 02, 2015, 09:23:18 AM
Wanna bet when the first 5870 with boot screen appears on ebay?  ;D

Two days! ;D http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815 (http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815)

Why waste time on testing and further improving the ROM (or at least giving some feedback in this thread) if you could also sell some totally overpriced beta-stuff in the mean time? His nick says everything I guess  ;D Macbitch, du bist ein jämmerliches Stück Scheiße!

Back to topic: I've bought a cheap PC 5770 on ebay to do some testing myself, modifications should be quite much the same. I'll see if I can do something about the other digital ports.

@ iHack13: MacPro is required since this is all about EFI here...

Yeah . I noticed this guy selling 5770s with no bootscreen for 100 to 150 euros. I wonder who he is.



Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on May 02, 2015, 11:57:36 AM
Wanna bet when the first 5870 with boot screen appears on ebay?  ;D

Two days! ;D http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815 (http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815)

Why waste time on testing and further improving the ROM (or at least giving some feedback in this thread) if you could also sell some totally overpriced beta-stuff in the mean time? His nick says everything I guess  ;D Macbitch, du bist ein jämmerliches Stück Scheiße!
Was soll man dazu sagen.......ich finde es ne Frechheit, damit Kohle zu machen. Rechne mal aus, was der damit an Nebenverdienst einfährt.

Zeigt aber auch, wie doof manche Mac-Nutzer sind, statt mal etwas nachzudenken viel Geld bei Apple oder dem Typen lassen......

Sorry for offtopic.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 02, 2015, 01:22:19 PM
I don't really care if someone makes money by selling flashed PC cards. There's certainly a market for stuff like that, because many MacPro users are afraid to brick their cards, don't know how to flash them or simply don't know that it's even possible to use regular PC cards. But I think it's incredibly stupid to start selling the first (!!!) version that comes up, although it's not proven to be reliable nor finished. The least I'd expect is some feedback to this thread describing what has been tested, what's working and what doesn't work on which card (as all of you have done so far  :) )


Title: Re: Radeon Port Mapping
Post by: blacksheep on May 03, 2015, 07:31:33 AM
Simply post uncompressed EFI (if you want to post anything further). It will reduce amount of "macbitches" drastically. Copy-paste kiddies are scared to death when they see the hex editor ;)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 03, 2015, 03:46:07 PM
if you want to post anything further

Of course I will, provided that I'll be able to make further improvements.
Btw, nothing new from my side so far. Hope the 5770 will arrive soon, then I'll do some testing.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 04, 2015, 04:59:34 PM
Did some testing with my HD 6870 today, but I couldn't make any improvements. As expected, DVI 1 lost boot screen when I changed its txmit/enc values to something wrong, but I couldn't make DP1 nor DVI2 show a bootscreen by correcting their values. Must have been a lot of luck with the HD 5870 I guess.  ;D

However, since my HD 6870 is a non-reference one (1xDP, 2xDVI, 1x HDMI) I'd like to do some tests with a reference one (2x mDP, 2xDVI, 1xHDMI). I've attached a modified (uncompressed) EFI file, would be awesome if someone could try this out. Things I've changed:

Code:
HDMIC: 0x22/0x5 => 0x11/0x2
DP1:   0x11/0x2 => 0x22/0x5
DP2:   0x21/0x3 => 0x12/0x4

I'm quite confident that HDMI might work, because it does on my card (by default), and the reference card only differs in txmit/enc values (which I've adjusted) but not in senseid/i2cid. Would be interesting if there's something on DisplayPort, too. DVI is untouched, so there should not have changed anything (DVI1 fully working, DVI2 completely dead).



Title: Re: Radeon Port Mapping
Post by: Rominator on May 04, 2015, 10:01:51 PM
I don't have any 6870s so i sit this round out.

Keep in mind that Netkas made 6870 EFI from iMac rom, so "Reference" is a Mac MXM board.


Title: Re: Radeon Port Mapping
Post by: blacksheep on May 05, 2015, 06:13:32 AM
Fl0r!an, I had literally only 10 minutes to test your 6870 mods out, and here's what I got (reference card):
– HDMI works after the OS driver is loaded, on EFI stage it only power cycles the display (signal sent, signal lost)
– both mDPs act the same: no signal on EFI stage, but both do work when OS drives takes control over

During the weekend I was trying to improve my EBC 6870 EFI, but even if I have a perfect match between BIOS and EFI connectors (except upper DVI ofc) it isn't enough. Some more testing to come.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 05, 2015, 09:38:18 AM
Okay, thanks for testing!

I wonder why HDMI isn't working for you, since txmit, enc and senseid all match. So there must be even another thing that decides whether a port is working or not...


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 11, 2015, 07:05:25 PM
My HD 5770 finally arrived today. I think those pictures speak more than words.  ;D

(https://www.picflash.org/viewer.php?img=IMG_1927Y4Y77Q.JPG)
(https://www.picflash.org/viewer.php?img=IMG_1928OISXV2.JPG)
(https://www.picflash.org/viewer.php?img=IMG_1929IHL7FB.JPG)

Found another location (in total: 4 different locations!) where I had to adjust the txmit value.
Quite funny: Changes from HD 5870 (which enabled upper DVI) did not work, although port mapping in vBIOS looks completely identically. Seems the EFI consists of a good portion of black magic...  ;D Enabling the lower DVI (0x10/0x0) works however.
As you can see, the resolution is wrong on DP, but that could also be some pram/nvram thing I guess.


Title: Re: Radeon Port Mapping
Post by: blacksheep on May 11, 2015, 08:42:16 PM
You're the man! Grats.
I still have too little time for this, but in a few days I should get some for fiddling with few various models I have handy.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 11, 2015, 10:11:45 PM
Cool, would be great if you could do some additional testing as I won't have much time in the next weeks. Enabling boot screens on your 6870 EBC ROM would be awesome, would be a great alternative for MacPro 1,1 guys!  :)

Hint: Search for comparison operations that include the internal ID of a specific port (e.g. 0x1080 for HDMIC oder 0x200 for DP2) to find the mappings inside the EFI. You should find 4 different locations in total which set either txmit or enc value (or both) to a specific port.
Would be cool to find out where the port number and/or the sense id is set, because at least one of them seems to matter: When flipping the mappings for DP and HDMI, neither of them will work (although they are technically the same port type in the EFI, because HD 5000 has 2 DP ports and no HDMI). I think it's also quite notable that HDMI works although it's mapped to DP2.  ;D


Title: Todd Pisccu liar-in-chief at Fire Bird
Post by: Rominator on May 13, 2015, 05:14:25 AM
I don't really care if someone makes money by selling flashed PC cards. There's certainly a market for stuff like that, because many MacPro users are afraid to brick their cards, don't know how to flash them or simply don't know that it's even possible to use regular PC cards. But I think it's incredibly stupid to start selling the first (!!!) version that comes up, although it's not proven to be reliable nor finished. The least I'd expect is some feedback to this thread describing what has been tested, what's working and what doesn't work on which card (as all of you have done so far  :) )

Yeah, the level of douchbaggery from some in the flashing crowd boggles the mind. Some roms are here for all to use, and some aren't. The King of The Douchebags right now is a guy named Todd Piscu in North Carolina. On top of stealing things, he then rebrands them and claims that the original writer STOLE IT FROM HIM !!! All to make a few bucks from his "Fire Bird" company. That wonderful combination of misappropriation combined with lies trying to claim you stole from him. Very hard to understand how such a person lives with themselves, knowing that their "company" is founded on lies and theft. (I have some humorous emails of his, in addition to being a liar he is also quite paranoid and narcissistic )

I think the real challenge ahead is to apply these discoveries to the Eyefinity 6 versions of 5xxx and 7xxx cards. I was able to locate the PCIE 2.0 switch for most of them but our previous attempts at EFI were limited. You have potentially opened up some great cards.

Another challenge that I think might be worth it is matching subsystem id and vendor id on 7970 EFI to make it id as D700. There is some funky math, probably from EFI that blocks trying to change this through the obvious means in BIOS. Changing the BIOS to match the D700 doesn't get expected result. May or may not be worth it, but as they share Vendor and Device ID it sure would be fun if flashed 7970s came up as "FirePro D700" like they briefly did in 10.9.

Thanks again Florian for being a "giver" instead of a "taker", we've been short of them for awhile.


Title: Re: Radeon Port Mapping
Post by: DavNeil on May 13, 2015, 06:39:16 PM
I am also going to have some free time in next month or so. I can help too. I don't have any card but I can buy and test most within reasonable range. Point me which one to buy and I will buy and test.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 16, 2015, 02:48:20 PM
Hey guys,

I've been a bit lazy this week, the weather was too good...  ;D
I've attached updated versions of the 5870 EFI (uncompressed, 2 variants as before), would be awesome if someone could test them. I'd assume that one of both files will enable bootscreens on 3 out of 4 digital outputs (DP, HDMI and the same DVI as before).

@Rominator: Oh well, I think I can understand why you appear a little "grumpy" on some of your posts. ;D I think some people must be really desperate if they have to make money like that.

Do you have any of those Eyefinity Radeons? That looks indeed like a really interesting challenge, but I don't have any of these cards and they seem to be quite rare (not even one 5xxx card on ebay and only a few 7xxx).

What would be the benefit of flashing the 7970 to become a D700?

@DavNeil: Thanks for your offer! I think that Eyefinity stuff looks quite interesting, maybe you can get one of these? For the standard cards we already have some guys for testing, so you wouldn't need to buy one.


Title: Re: Radeon Port Mapping
Post by: YNWA on May 16, 2015, 04:43:13 PM
Hey guys,

I've been a bit lazy this week, the weather was too good...  ;D
I've attached updated versions of the 5870 EFI (uncompressed, 2 variants as before), would be awesome if someone could test them. I'd assume that one of both files will enable bootscreens on 3 out of 4 digital outputs (DP, HDMI and the same DVI as before).

@Rominator: Oh well, I think I can understand why you appear a little "grumpy" on some of your posts. ;D I think some people must be really desperate if they have to make money like that.

Do you have any of those Eyefinity Radeons? That looks indeed like a really interesting challenge, but I don't have any of these cards and they seem to be quite rare (not even one 5xxx card on ebay and only a few 7xxx).

What would be the benefit of flashing the 7970 to become a D700?

@DavNeil: Thanks for your offer! I think that Eyefinity stuff looks quite interesting, maybe you can get one of these? For the standard cards we already have some guys for testing, so you wouldn't need to buy one.

I could help testing those ROMs, too. I have a Reference 5870 and an Eyefinity 5770 (XFX with 5 Mini-DP). But I am struggling to re-compress your EFI. Maybe you could give a few hints how to progress.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 16, 2015, 10:47:28 PM
Sounds great, I'll build a compressed 5870 EFI tomorrow when I'm at home.

Could you provide a ROM dump of your Eyefinity Radeon? Would really like to play around with it! :)
Are you currently using it in OSX?


Title: Re: Radeon Port Mapping
Post by: YNWA on May 17, 2015, 09:35:45 AM
Sounds great, I'll build a compressed 5870 EFI tomorrow when I'm at home.

Could you provide a ROM dump of your Eyefinity Radeon? Would really like to play around with it! :)
Are you currently using it in OSX?

Sure, happy to help. Attached is the BIOS. I already tried to load the Zonalis framebuffer but the result was the same when using the standard Vervet.
I once used it to drive multiple ACDs (unflashed) with Mini-DP since the XFX 5770s (this one and the 2x DVI, 1x Mini-DP version – this one works using the Vervet EFI) where the only cards capable of doing so.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 17, 2015, 12:16:15 PM
Okay, I've attached compressed EFI files (including a note to my dear ebay friends  ;)). They can be used as described in the HD 5xxx/6xxx tutorial thread.

Thanks for the ROM, I'll have a look at it later!
You say that you are using this card with Vervet: How many ports are working this way? I'd expect that max. 2 ports work (in best case). What happens when using it unflashed (=> RadeonFramebuffer)? On recent OSX versions I'd expect that this works better than flashing with Vervet...


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on May 17, 2015, 12:53:29 PM
NO EBAY!!  ;D


Title: Re: Radeon Port Mapping
Post by: YNWA on May 17, 2015, 01:46:09 PM
Okay, I've attached compressed EFI files (including a note to my dear ebay friends  ;)). They can be used as described in the HD 5xxx/6xxx tutorial thread.

Thanks for the ROM, I'll have a look at it later!
You say that you are using this card with Vervet: How many ports are working this way? I'd expect that max. 2 ports work (in best case). What happens when using it unflashed (=> RadeonFramebuffer)? On recent OSX versions I'd expect that this works better than flashing with Vervet...

Regarding the Eyefinity card: I attached two displays back then. Have to get it out of the cupboard since I have not used it for a long time.

Regarding the new 5870 ROMs: No differences spotted (except your rom revision edit), DVI bootscreen on upper DVI port, HDMI and DP are inactive until desktop. When I try to flash the second ROM atiflash claims that "ROM is already programmed" so both of your new ROMs are identical.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 17, 2015, 01:54:56 PM
Thanks for testing! Are you sure that you didn't build both ROMs using the same .efi.rom file? They're not identical (different md5)...


Title: Re: Radeon Port Mapping
Post by: YNWA on May 17, 2015, 02:25:34 PM
Thanks for testing! Are you sure that you didn't build both ROMs using the same .efi.rom file? They're not identical (different md5)...

Sorry, my bad, I mixed things up.

Nevertheless the result stays the same: All 3 ROMs I tested so far only show the boot screen on the upper DVI port.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 17, 2015, 07:12:28 PM
That's strange, I'd have expected the 5870 to behave similar to the 5770. I'll double-check if I've done a mistake while modifying the EFI. Thanks for testing though!  :)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 17, 2015, 09:01:49 PM
Regarding the Eyefinity card: I've had a look at the port mapping in the vBIOS and it doesn't match Zonalis very well. Zonalis seems to be designed for the 5870 Eyefinity 6 card (Bios: http://www.techpowerup.com/vgabios/72498/gigabyte-hd5870-2048-100218.html (http://www.techpowerup.com/vgabios/72498/gigabyte-hd5870-2048-100218.html)): Transmitter, Encoder and SenseID all match perfectly here, only the port order doesn't, but I don't think that this matters.
For your 5770 Eyefinity it seems to be best to use it with RadeonFramebuffer (as long as this doesn't create any drawbacks regarding multi-display capabilities). I've asked already asked this question at the very beginning of this thread, but I'll do it again: How would you make a flashed card use RadeonFramebuffer? Is there any simple way to disable the injection of a specific framebuffer in the EFI? As for more recent OSX versions this would definitely make sense, because all my ATI cards (5770, 6870, R9 280) are running perfectly fine in my hackintosh without injection of any framebuffer.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 23, 2015, 04:31:44 PM
Short update: 5870's HDMI port is mapped to sense id 0x4, which doesn't exist in the Apple 5870 card, so I guess this port can't have a boot screen unless someone figures out where the sense id is mapped inside the EFI. It should be possible to enable display port however. I've received my own HD 5870 today, will do some testing in the next days.


Title: Re: Radeon Port Mapping
Post by: waimtrp on May 23, 2015, 06:51:16 PM
i tested your Roms with my Ref. AMD 5870 , boot screen at upper DVI port same as others tested, then i try DP with a DVI adapter , boot screen show, but after boot to desktop , it go blank , cheek under system profile , no display show , looks like signal gone .


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 23, 2015, 09:34:01 PM
Thanks for reporting back!

Which ROM gave you the DP->DVI bootscreen? Both?!
Were you using an active DVI adapter or a passive one?


Title: Re: Radeon Port Mapping
Post by: waimtrp on May 24, 2015, 04:16:59 AM
both Rom the same, i use passive DP to DVI adapter


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on May 24, 2015, 11:23:54 AM
The videocard switches to DVI-mode when using a passive adapter (is recognized as a DVI-device; perhaps a active adapter is necessary to "hide" the DVI-spec).

I don't know if this case is also affecting the port-mapping. I guess it is, Florian can answer this question.  ;)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 24, 2015, 02:29:42 PM
Played a bit around with my new 5870 today, but most I could get on Display Port was power cycling the display. Upper DVI works fine.
I'm really curious what else determines if a port is working or not: Port type, Encoder, Transmitter and Sense ID all match perfectly, but that's still not enough.  ???

@Bunga-Bunga: Yeah, a passive adapter doesn't count as real DP.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 27, 2015, 08:37:24 PM
Does anyone have one of the more recent but less popular Radeons (e.g. 7770, 7850 (Eyefinity), R7 250X, R9 270(X)) lying around? Would be quite cool to enable some more Radeons which have been neglected in the Mac Pro flashing world because of wrong framebuffers and/or no bootscreen.

HD 7850 Eyefinity (6x mDP) looks promising, because OSX has a perfectly matching framebuffer (Ikura) for it. And for a total of 6 ports odds are quite good that I can enable boot screens for at least one of them.  ;D

I've also read something about a flashed HD 7770 with just VGA boot screen, would be interesting, too.

Of course I could buy all these cards and play around with them, but as I've said before, I don't do this because I need a specific card for my Mac Pro (I don't even have a Mac Pro myself), but mainly for the challenge, so I'd need some people to help me testing.


Title: Re: Radeon Port Mapping
Post by: blacksheep on May 28, 2015, 04:34:45 AM
7770 is a perfect match and does not give the digital bootscreen. Only VGA.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 28, 2015, 07:25:55 AM
Oh well... That stuff is somehow cursed, haha  ;D

What about sense id (radeon_bios_decode), maybe they are mismatched? Which framebuffer are you using in OSX, same as for 7950/7970?


Title: Re: Radeon Port Mapping
Post by: waimtrp on May 28, 2015, 05:03:11 PM
have a XFX 7770 card at my PC , with DVI, HDMI & MDP , i can help to test  ;D

please check attached bios


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 28, 2015, 06:10:56 PM
Thanks for the BIOS! As I suspected, all sense IDs are mismatched.
Best odds are for the second mDP I think, DVI and HDMI might be made working too with a bit of luck.

Blacksheep, could you please provide your EFI as a starting point? I'd assume that you've already found a matching framebuffer and changed dev id.


Title: Re: Radeon Port Mapping
Post by: rthpjm on May 31, 2015, 04:42:52 PM
Hello Fl0r!an,

I'm willing to help test. I have an XFX 5770, with 2x DVI-I and 1x MDP.

You and I were on the same track, unfortunately real life happened and I stopped working on this. See
http://forum.netkas.org/index.php/topic,1400.msg8283.html#msg8283

You are much more advanced than I was, and your skill set is much higher. I am strictly a hobbyist.

Your work is great. I would very much like to help.

I'll try your efi part on my card and report back....



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 31, 2015, 05:06:14 PM
Sounds interesting, could you please attach your ROM? I can't find on techpowerup.

I had a short look at at your thread, just two notes: For your card, you'll need a personality with just three connectors, DVI-I is treated as single connector in OSX (unlike the ATI BIOS where it appears twice).
Were you using an active mDP adapter or a real DP device on your mDP port? That is required to drive more than 2 displays at a time...


Title: Re: Radeon Port Mapping
Post by: rthpjm on May 31, 2015, 07:54:52 PM
Thanks Fl0r!an,

My full ROM (with the Netkas EFI part) is here
http://forum.netkas.org/index.php/topic,692.msg5705.html#msg5705

I can post the original ROM if you want that too. Let me know...

I always thought that I would need a 5-connector personality, it never occurred to me that the DVI-I would be treated as a single connector!

For the MDP, I was using a passive MDP to DVI.....



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 31, 2015, 08:15:13 PM
Your ROM looks very promising, connector mapping matches 5770 reference design except that HDMI is missing. I've attached my modified 5770 EFI, I'd assume that this will give you boot screen on mDP and one of the DVI ports.
This also means that Vervet should work perfectly fine with your card since all 3 ports are mapped correctly (Vervet has 4 connectors for 1x HDMI, 1x DP and 2x DVI-I).

Eyefinity (= more than 2 displays) only works with max. 2 legacy (=DVI, HDMI or passive DP adapter) devices, so having only 2 displays work with 3 legacy displays is perfectly normal.


Title: Re: Radeon Port Mapping
Post by: rthpjm on May 31, 2015, 08:20:37 PM
Thanks Fl0r!an,

I'll build a new ROM image tomorrow, flash it into my card and report back....

Edit:

I forgot to mention that using a DVI-to-VGA adaptor did work. I've been using this technique for the occasional times I needed to see the boot screens. I assume that the EFI was defaulting to a connection mapping, sort of "if all else fails, revert to a VGA output".

Fingers crossed for tomorrow, hopefully boot screens over DVI  :)


Title: Re: Radeon Port Mapping
Post by: rthpjm on May 31, 2015, 11:34:14 PM
Hi Fl0r!an,

 I could not wait, so here are my results:

Flashed okay using Win ATIflash from Tech Powerup (in Boot Camp running Windows 8.1).

Boot screen success  ;D

The physical connectors on my card are (viewed from the rear of the MacPro) left to right

::::Mini DP::::DVI-I::::DVI-I::::|Motherboard connection

Combinations that I have tried so far (X = no connection, C = connection using a native cable):

MDP DVIDVIBoot ScreenNotes
X                  X C YES 8)
X                  C X NO           No boot screen, but shows desktop once OS is loaded
X                  C C YESBoot screen is shown on right hand connector monitor
C                  X X YESBoot screen on MDP, post boot = good DP
C                  X C YESBoot screen on MDP, post boot = good DP, good DVI
C                  C X YES**Boot screen on MDP, post boot = good DP, bad DVI - video is displayed but it is "snowy", a bit like old analog TV badly tuned.
C                  C C YES**Boot screen on MDP, post boot = good DP, bad centre DVI, good right-hand DVI
Apple VGA      X X YESBoot screen on MDP, post boot = good VGA, Max resolution 1920x1080 (1080p)
Apple VGA      X C YESBoot screen on MDP, post boot = good VGA, good DVI
Apple VGA      C X YES**Boot screen on MDP, post boot = good VGA, bad DVI - video is displayed but it is "snowy", a bit like old analog TV badly tuned.
Apple VGA      C C YES**Boot screen on MDP, post boot = good VGA, bad centre DVI, good right-hand DVI
*3rd party DVI X X Varies       Results vary depending on screen, adaptor, cable combo. Best result was Boot screen on MDP, post boot = no signal
*3rd party DVI X C Varies       Boot screen on MDP, post boot = no signal from MDP,  good DVI
*3rd party DVI C X Varies       Boot screen on MDP, post boot = no signal from MDP,  good DVI
*3rd party DVI C C Varies       Boot screen on MDP, post boot = no signal from MDP,  good centre DVI, good right-hand DVI

*   I have tested this 3rd party MDP-to-DVI adaptor is working on a Macbook Air
** The bad DVI picture can be corrected by using the System Preferences -> Displays panel, lower the resolution (Scaled), then raise it to native resolution
I have three screens running at once with DP, DVI, DVI connection (after adjusting the centre DVI resolution as above)


So it looks like your prediction of one DVI giving boot screen output was correct, in this case it is the right-hand DVI connector (closest to the motherboard).

I will work through other combinations and report back. I have an Apple MDP-to-VGA adaptor (model A1307 - I am unsure whether this is active or passive), I also have a 3rd party MDP-to-DVI adaptor (I'm pretty sure this is passive). I'll try to get hold of an MDP-to-DP cable to see if I can get all three ports active at the same time.

Let me know if you think it is worth pursuing any further refinements to your EFI part, I'll be happy to test ☺
If not, then I'll give my working full ROM file back to the community by posting here....

NO EBAY!!


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 01, 2015, 07:03:59 AM
Great, glad that it works for you!

The Apple mDP adapters are all passive ones I think, but I'd still like to know if mDP->VGA and mDP->DVI give you boot screens.
Is I've said before, for 3 dispalys you'd need an active one.

I think my compressed EFI more than enough, people should use this to build their own ROM. You're card doesn't have reference design, so it wouldn't work properly on most 5770s anyways.


Title: Re: Radeon Port Mapping
Post by: rthpjm on June 01, 2015, 09:25:29 AM
Hi Fl0r!an,

 I've updated the table above. I'll try and fill in some of the gaps. I have another DVI capable screen in my loft space somewhere!
 I'm not sure if the 3rd-party MDP-to-DVI adaptor is working, I'll try and test with another machine...
EDIT: The 3rd party MDP-to-DVI adaptor works on a Macbook Air.

I'm just being thorough, for my daily usage I have the two DVI-based screens which works a treat.


Title: Re: Radeon Port Mapping
Post by: rthpjm on June 01, 2015, 10:30:56 AM
Here is my ROM file for the XFX Radeon HD 5770 HD-577X-ZMF3 Version A.4 (http://www.techradar.com/reviews/pc-mac/pc-components/graphics-cards/xfx-hd-5770-717229/review), it is a single slot, dual DVI + MiniDP card. As Fl0r!an notes above, this isn't a reference design, so only use this rom if you have the exact make/model.

The DVI ports are working well, with boot screens from the right-hand DVI connector.

Other boot screen options:
DVI-to-VGA on the right-hand connector (always worked - even before Fl0r!an's excellent work)
MDP-to-VGA (I'm not sure if this worked before, but it definitely does now)





Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 01, 2015, 11:38:21 AM
Interesting results, many thanks for your tests!

Bootscreen and normal video output via passive mDP->DVI definitly work on Apple OEM 5770s, so there must be another difference... But maybe it's just your 3rd party adapter...


Title: Re: Radeon Port Mapping
Post by: rthpjm on June 01, 2015, 12:51:11 PM
Hi Fl0r!an

I the third monitor (from my loft space   :) ) is a lower native resolution. when I connect the problematic MDP-to-DVI adaptor to this monitor I get slightly different results.
I get boot screens on the MDP/DVI chain, but when the OS boots I lose signal. MacOS X (Yosemite) doesn't see it any longer (Sys Prefs -> Displays has no panel for it - no gather windows button).
It's weird, so maybe it is simply an incompatibility between that adaptor and the card and/or the displays. It's not a combination I'm concerned with so I'll leave it there.

The "snowy" picture suggests a clock clash with the MDP port (perhaps). It happens post-boot, so it could be the frame buffer personality mappings...
Here is the ioreg output for reference
Code:
$ ioreg -r -n "PXS1@0"
+-o PXS1@0  <class IOPCIDevice, id 0x1000001a9, registered, matched, active, busy 0 (2416 ms), retain 22>
  | {
  |   "reg" = <00000800000000000000000000000000000000001000084200000000000000000000000000000010180008020000000000000000000000000000020020000801000000000000000000000000000100003000080200000000000000000000000000000200>
  |   "device-id" = <b8680000>
  |   "vendor-id" = <02100000>
  |   "ATY,RefCLK" = <8c0a0000>
  |   "ATY,EFIVersionE" = <"113-C0160A-Y!!">
  |   "PP_DisableMCDownLoadFeature" = 1
  |   "PP_RefreshRate" = <3c000000>
  |   "IOOCDBundleName" = "AMDRadeonX3000GLDriver"
  |   "ATY,EFIDispConfig" = <4500000000000002>
  |   "PP_R600ActivityHysteresis" = 5
  |   "subsystem-vendor-id" = <82160000>
  |   "IOPCIExpressLinkCapabilities" = 67112193
  |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/NRP4@40000/PXS1@ffff"
  |   "ATY,MRT" = <>
  |   "PP_UserMaxClockForMultiDisplays" = 1
  |   "VRAM,totalMB" = 1024
  |   "model" = <"ATI Radeon HD 5770">
  |   "ATY,EFIDriverType" = <02>
  |   "ATY,EFIVersion" = <"NO EBAY!!">
  |   "pcidebug" = "8:0:0"
  |   "iofb_no_regptr" = Yes
  |   "CFG_NO_PP" = No
  |   "compatible" = <"pci1682,2994","pci1002,68b8","pciclass,030000","PXS1">
  |   "AsicOnLowPower" = <00000000>
  |   "IOPCIExpressCapabilities" = 18
  |   "ATY,EFICompileDate" = <"Jul  5 2010">
  |   "name" = <"ATY,VervetParent">
  |   "IOName" = "display"
  |   "pci-aspm-default" = 0
  |   "ATY,EFIVersionB" = <"113-HD577XZMF73_113-C013XX-XXX">
  |   "pci-function-number" = 0
  |   "AAPL01,blackscreen-preferences" = <00000008>
  |   "assigned-addresses" = <100008c200000000000000e0000000000000001018000882000000000000d0f00000000000000200200008810000000000100000000000000001000030000882000000000000d2f00000000000000200>
  |   "ATY,DeviceID" = <b868>
  |   "saved-config" = <001002ffff900091001002ffff900091565e000aa00a30002000a005c90503000500a005000a1003565e000aa00a30002000a005c90503000500a005000a10030000000001000000c8000000c800000001000000000000009001000000000000ff08080810000001000000000000000000000000000000001c2c0000142c0000182c0000242c0000202$
  |   "ATY,remap-size" = 18446744071562067968
  |   "IOPCIMSIMode" = Yes
  |   "ATY,Copyright" = <"Copyright AMD Inc. All Rights Reserved. 2005-2010">
  |   "ATY,EFIOrientation" = <0100>
  |   "ATY,PlatformInfo" = <0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000>
  |   "class-code" = <00000300>
  |   "ATY,PageFlipEnable" = <01000000>
  |   "IOPCIExpressLinkStatus" = 4353
  |   "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController")
  |   "subsystem-id" = <94290000>
  |   "PP_VBlankTime" = <cd010000>
  |   "IOPCIResourced" = Yes
  |   "ATY,RevID" = 268864385
  |   "ATY,bin_image" = <55aa78e92502000000000000000000000000000000000000d8010000000049424de10000000000000000000000000004203736313239353532300000000000001d02000000000000b20100000000000030372f30392f31302030363a3136000039000000e9b40300e9c303000000a80000000000285300801002000000040000042d00000000000000$
  |   "PP_R600RaisingMediumPercentage" = 25
  |   "IOChildIndex" = 1
  |   "ATY,MemVendorID" = <0600>
  |   "AAPL,backlight-control" = <00000000>
  |   "PP_ActivitySamplingInterval" = 1000
  |   "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerState"=2,"CapabilityFlags"=2,"ChildProxyPowerState"=2,"MaxPowerState"=3}
  |   "ATY,memsize" = 1073741824
  |   "MVAD" = <001002ffff900091001002ffff900091565e000aa00a30002000a005c90503000500a005000a1003565e000aa00a30002000a005c90503000500a005000a1003>
  |   "AAPL,slot-name" = <"Slot-1">
  |   "pci-device-number" = 0
  |   "ATY,MCLK" = 120000
  |   "IODeviceMemory" = (({"address"=3758096384,"length"=268435456}),({"address"=4040163328,"length"=131072}),"IOSubMemoryDescriptor is not serializable",({"address"=4040294400,"length"=131072}))
  |   "PP_R600LoweringHighPercentage" = 25
  |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
  |   "ATY,SCLK" = 84997
  |   "AAPL02,Coherency" = <02000000>
  |   "AAPL,aux-power-connected" = <01000000>
  |   "ATY,EFIEnabledMode" = <02>
  |   "ATY,TileInfo" = <030000000000000000000000000000000600000000000000>
  |   "ATY,Rom#" = <"113-C0160C-155">
  |   "AAPL00,blackscreen-preferences" = <00000008>
  |   "pci-bus-number" = 8
  |   "ATY,vram_base" = <00000000>
  |   "IOInterruptSpecifiers" = (<1000000007000000>,<0700000000000100>)
  |   "PP_R600RaisingLowPercentage" = 10
  |   "PP_R600LoweringMediumPercentage" = 10
  |   "ATY,EFIHWInitStatus" = <00000000>
  |   "revision-id" = <00000000>
  |   "ATY,VendorID" = <0210>
  |   "device_type" = <"ATY,VervetParent">
  |   "PP_HighSamplingInterval" = 200000
  |   "IOPCIPMCSState" = 0
  |   "AAPL02,blackscreen-preferences" = <00000008>
  |   "HDCPLIB_VERSION" = <"1.400">
  |   "ATY,MemRevisionID" = <0100>
  |   "IOHibernateState" = <00000000>
  |   "ATY,Card#" = <"109-C01601-00">
  |   "IOPMIsPowerManaged" = Yes
  |   "VRAM,totalsize" = <00000040>
  | }
  |
  +-o AMD5000Controller@1  <class AMD5000Controller, id 0x100000326, registered, matched, active, busy 0 (1 ms), retain 5>
  +-o ATY,Vervet@0  <class AtiFbStub, id 0x10000032b, registered, matched, active, busy 0 (22 ms), retain 8>
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x100000332, registered, matched, active, busy 0 (10 ms), retain 18>
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x100000342, registered, matched, active, busy 0 (0 ms), retain 6>
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x100000346, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, id 0x100000343, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x100000397, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x100000399, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o display0  <class IODisplayConnect, id 0x10000039a, registered, matched, active, busy 0 (0 ms), retain 6>
  |   | +-o AppleDisplay  <class AppleDisplay, id 0x10000039c, registered, matched, active, busy 0 (0 ms), retain 8>
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003b9, !registered, !matched, active, busy 0, retain 5>
  |   +-o IOFramebufferSharedUserClient  <class IOFramebufferSharedUserClient, id 0x10000049d, !registered, !matched, active, busy 0, retain 6>
  +-o ATY,Vervet@1  <class AtiFbStub, id 0x10000032c, registered, matched, active, busy 0 (5 ms), retain 8>
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x100000347, registered, matched, active, busy 0 (4 ms), retain 18>
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x10000034a, registered, matched, active, busy 0 (1 ms), retain 6>
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x10000034c, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, id 0x10000034b, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x10000039e, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x1000003a7, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o display0  <class IODisplayConnect, id 0x1000003a8, registered, matched, active, busy 0 (0 ms), retain 6>
  |   | +-o AppleDisplay  <class AppleDisplay, id 0x1000003aa, registered, matched, active, busy 0 (0 ms), retain 8>
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003ba, !registered, !matched, active, busy 0, retain 5>
  |   +-o IOFramebufferSharedUserClient  <class IOFramebufferSharedUserClient, id 0x10000049e, !registered, !matched, active, busy 0, retain 6>
  +-o ATY,Vervet@2  <class AtiFbStub, id 0x10000032d, registered, matched, active, busy 0 (4 ms), retain 8>
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x10000034d, registered, matched, active, busy 0 (3 ms), retain 15>
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x100000350, registered, matched, active, busy 0 (1 ms), retain 6>
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x100000352, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, id 0x100000351, registered, matched, active, busy 0 (0 ms), retain 5>
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x1000003ac, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x1000003ad, registered, matched, active, busy 0 (0 ms), retain 6>
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003bb, !registered, !matched, active, busy 0, retain 5>
  +-o AMDSupport  <class AMDSupport, id 0x100000327, registered, matched, active, busy 0 (1 ms), retain 5>
  +-o AMDJuniperGraphicsAccelerator  <class AMDJuniperGraphicsAccelerator, id 0x100000328, registered, matched, active, busy 0 (0 ms), retain 45>
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DContext, id 0x1000003bc, !registered, !matched, active, busy 0, retain 7>
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DContext, id 0x1000003bd, !registered, !matched, active, busy 0, retain 7>
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DContext, id 0x1000003be, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000003c3, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x1000003c4, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x1000003c5, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x100000445, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x10000046f, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x10000048e, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004a9, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004aa, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004ab, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004ac, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000004c0, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x1000004c1, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x1000004c2, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000004c4, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x1000004c5, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x1000004c6, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000004c8, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000004cc, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x1000004cd, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x1000004ce, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id 0x1000004d0, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x1000004d1, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x1000004d2, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004ec, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004ed, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000004f3, !registered, !matched, active, busy 0, retain 6>
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccelSharedUserClient, id 0x100000502, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x100000503, !registered, !matched, active, busy 0, retain 7>
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x100000504, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000505, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x10000051c, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x10000051d, !registered, !matched, active, busy 0, retain 6>
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000531, !registered, !matched, active, busy 0, retain 6>


If I ever buy or appropriate a newer/different adaptor, and if I remember, I will retest and update.


Title: Re: Radeon Port Mapping
Post by: Rominator on June 05, 2015, 02:35:35 AM


@Rominator: Oh well, I think I can understand why you appear a little "grumpy" on some of your posts. ;D I think some people must be really desperate if they have to make money like that.

Do you have any of those Eyefinity Radeons? That looks indeed like a really interesting challenge, but I don't have any of these cards and they seem to be quite rare (not even one 5xxx card on ebay and only a few 7xxx).

What would be the benefit of flashing the 7970 to become a D700?


I don't like liars. Being a lying thief (or is it a thieving liar?) irritates me.

I also get grumpy because a great many people ask questions that they could answer themselves if they tried.

I do have an Eyefinity 7870 with 6MDP ports. Played around with it and figured out PCIE 2.0 but never got further than that.

http://www.newegg.com/Product/Product.aspx?Item=N82E16814131474

https://www.techpowerup.com/vgabios/140848/powercolor-hd7870-2048-120412.html

As far as D700, part of challenge is that fact that OS X somehow won't accept the simple obvious change of these values, if you put them in BIOS normal way the card doesn't take them. I imagine that this may be so that Windows folks don't flash 7970/R9 280X to show up as "FirePro" cards and get driver support.





Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 05, 2015, 08:29:02 PM
Did you ever try to use your card with the Ikura personality? This seems to match perfectly for all 6 ports (transmitter, encoder and sense id; hot plug id shouldn't matter if the cable is plugged in at boot).
Interestingly the 2 mDP ports of the 7950 Mac Edition match port #3 and #4 on your Eyefinity 7870, too, so boot screens should work OOB...
I assume you already flashed your card with the 7950 EFI and tried this to no avail, correct?

I know that those people who can't use a search engine are quite annoying, but they exist on every board since the invention of the internet  ;D


Title: Re: Radeon Port Mapping
Post by: SMIKX on June 06, 2015, 11:22:26 AM
Your intuition is spot on . ..

From Macrumors, March, 2013

http://forums.macrumors.com/threads/mac-7950-on-the-ground-efi-works-in-1-1-mac-pro-but-drivers-dont.1559680/



Title: Re: Radeon Port Mapping
Post by: Rominator on June 06, 2015, 10:33:24 PM
So IkuraS allowed Port 1 to work after desktop reached

Using Ikura I can't seem to get any ports to work.

If I plug in displays into 5 & 6 then a boot screen will appear on 6, but goes dark after.

Going to double check and see if I buggered Ikura.


Title: Re: Radeon Port Mapping
Post by: SMIKX on June 07, 2015, 05:02:16 AM
Fl0r!an, many thanks, your posts have greatly widened my understanding of rom editing but I still have a long way to go.

Today I managed to get EFI boot screens on my recently purchased Sapphire Vapor-X HD 5870 1 Gb ( overclocked ) using an already created rom ( Sapuakari.rom ) using DVI-VGA.

Nothing comes close to seeing that black Apple . .apple appear after flashing.

Link : http://forum.netkas.org/index.php/topic,11134.msg30921.html#msg30921


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 07, 2015, 10:57:56 AM
@Rominator: That's curious because Ikura seems to match perfectly (see attached screenshot). The single connector included in IkuraS is present in Ikura, too, but IkuraS defines it as HDMI instead of DP.

@SMIKX: You should try to build your own ROM using the modified EFI found in this thread. This will enable digital boot screens, maybe even on DVI->HDMI adapter.


Title: Re: Radeon Port Mapping
Post by: SMIKX on June 07, 2015, 12:01:01 PM
@SMIKX: You should try to build your own ROM using the modified EFI found in this thread. This will enable digital boot screens, maybe even on DVI->HDMI adapter.
OK, I will as time allows. I have my own English school here in Japan .. 250 classes a month .. just myself teaching.
I also teach English in the evenings on Skype. . .  no time, not enough sleep .. but . . I WILL get round to it.
You have inspired me and YES . .DVI to HDMI would be the ultimate for me.
Many Thanks


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 17, 2015, 05:18:54 PM
Just realized that my framebuffer personality dump wasn't up to date, found quite a lot framebuffers I have never seen before (mostly Eyefinity stuff).
Regarding 7000 series, the framebuffers KaniS, MaguroS and Junsai (all 6x mDP) have been added. Didn't yet have a closer look at them, but one of them just has to match the Eyefinity 7870.
Anyone (Rominator? ;D) wants to try them?


Title: Re: Radeon Port Mapping
Post by: blacksheep on June 17, 2015, 06:26:53 PM
There is some more personalities which you've missed.

Code:
10.10.3
Personality: Ramen
ConnectorInfo count in decimal: 6
Disk offset in decimal 1715280

02 00 00 00 00 01 00 00 29 04 01 00 20 01 05 06
00 08 00 00 04 02 00 00 00 01 02 00 10 00 03 05
00 04 00 00 04 03 00 00 00 01 03 07 11 02 01 01
00 04 00 00 00 01 00 00 00 01 04 03 21 03 04 03
00 04 00 00 04 03 00 00 00 01 05 07 12 04 02 02
00 04 00 00 00 01 00 00 00 01 06 03 22 05 04 03

Personality: Namako
ConnectorInfo count in decimal: 4
Disk offset in decimal 1715488

02 00 00 00 00 01 00 00 00 01 01 03 22 05 02 02
02 00 00 00 00 01 00 00 00 01 02 03 12 04 01 01
00 04 00 00 04 03 00 00 00 01 03 07 11 02 03 03
00 04 00 00 04 03 00 00 00 01 04 07 21 03 04 04


10.11
Personality: Tako
ConnectorInfo count in decimal: 6
Disk offset in decimal 1880816

02 00 00 00 00 01 00 00 00 01 01 03 22 05 02 04
02 00 00 00 00 01 00 00 00 01 02 03 12 04 01 03
00 04 00 00 04 03 00 00 00 01 03 07 11 02 03 01
00 04 00 00 00 01 00 00 00 01 04 03 21 03 05 05
00 04 00 00 04 03 00 00 00 01 05 07 10 00 04 02
00 04 00 00 00 01 00 00 00 01 06 03 20 01 05 05

My guess is that all 6 mDP personalities are connected to something in trashcan Dxxx efi drivers, what Sapphire one lacks/has disabled.
I could be wrong ofc.

Regarding SenseID: have you found it somewhere?
Changing these 0x91, 0x92... etc does nothing.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 17, 2015, 09:53:41 PM
Yeah you're right, I just listed the 6xmDP framebuffers.

I didn't find anything new yet, but I've got some ideas where to look. These 0x91, 0x92 stuff looked quite suspicious, but I already guessed that this isn't what we were searching for.
Just realized that I wanted to work on your 7770 problem. Could you attach your edited EFI as starting point?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 20, 2015, 06:20:57 PM
I'm quite confident that I might have figured out the SenseID stuff today (at least for Display Port)  :)

Just had the idea to compare the OEM 5770 and 5870 EFIs since these cards only differ in their sense IDs (beside obvious stuff like framebuffer or name).
The 5870 has 0x21/0x3/0x2 and 0x11/0x2/0x1 (enc/txmit/senseid) as DP mappings while the 5770 has 0x21/0x3/0x1 and 0x11/0x2/0x2.
Bin-diff'ing both files gave me the result seen in the screenshot.

Changing the IDs 0x1 and 0x2 to 0x4 and 0x1 should (in theory  :D ) enable both HDMI and DP on the 5870. Didn't try it out yet but it sounds quite logical to me.
I'll upload modified EFIs with all possible combinations of enc/txmit and senseid (4 in total) when I find the time to do it.

If someone wants to play a bit around with Mrs. IDA, feel free to do so...  ;)

PS: Attentive readers might have noticed that I didn't mention DVI senseid, which isn't set in the attached screenshot. I think that this might be handled somewhere else in the code. Problem is that both 5870 and 5770 have the same DVI sense id (0x3), so I can't find it by diffing the files.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 21, 2015, 02:02:55 PM
Short update on a different topic: Some weeks ago I mentioned that the "connector-type" property (DP,DVI,HDMI) didn't seem to matter at all.

I did some experiments today on my Hackintosh (way easier to switch framebuffers there) and it seems to be true! Mapping HDMI or DVI ports is no problem as long as all all IDs (encoder, transmitter, hotplug and sense) match. E.g. IkuraS (Eyefinity framebuffer => 6xmDP) enables three out of four ports on my non-reference R9 280 (upper DVI, HDMI and DP work, lower DVI dead, hot plug not working on all ports).
I think this is great news for upcoming AMD cards! Even if Apple decides to only include those odd mDP-only framebuffers, there's a great chance that those will work thus allowing properly initialized cards.

Of course this would have to be investigated more deeply, I'd expect that those ports might be limited to single link and HDMI audio might break, but it's still worth a try.

Modified 5870 ROMs will follow later...


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 21, 2015, 06:03:14 PM
Whew, a rainy Sunday like this can be quite productive...  ;D Two updates:

HD 5870
I've attached a modified HD 5870 EFI. I'm quite sure that the other three possibilities don't make any sense, so hopefully this EFIs will give bootscreen on DVI, HDMI and DP. Just for the records (enc/txmit/sense):

0x12 / 0x4 / 0x1
0x22 / 0x5 / 0x4
0x11 / 0x2 / 0x3

One more thing:
I've figured out how to extract the hot plug ID from the PC BIOS: Everything needed was already present in radeon_bios_decode source code, so I just had to add a printf in the right place.
I've analyzed some PC ROMs and learned a few new things. The HD 7870 Eyefinity 6 is a perfect match regarding encoder, transmitter and senseid (as already stated before), but the hot plug IDs make things more complicated. In fact, only a single port has all 4 IDs matching in IkuraS and the other Eyefinity-Framebuffers. This should explain Rominators observation (only 1 out of 6 ports working after flash).
This is really bad luck since there is a total of 5 different 6-mDP-Framebuffers.  :(

On the other hand, the HD 5870 Eyefinity 6 perfectly matches Zonalis with all 6 ports! When my SenseID mod can be confirmed to be correct, I'm quite sure we could turn this oldie in a fully compatible card with boot screens on 2 ports! Again, mappings for the records:

HD 7870 Eyefinity 6:

enc  / tx  / HP  / SenseID
0x11 / 0x2 / 0x3 / 0x3
0x21 / 0x3 / 0x1 / 0x4
0x12 / 0x4 / 0x4 / 0x1
0x22 / 0x5 / 0x5 / 0x2
0x10 / 0x0 / 0x2 / 0x5
0x20 / 0x1 / 0x6 / 0x6

HD 5870 Eyefinity 6:

enc  / tx  / HP  / SenseID
0x12 / 0x4 / 0x3 / 0x1
0x22 / 0x5 / 0x4 / 0x2
0x11 / 0x2 / 0x1 / 0x3
0x21 / 0x3 / 0x2 / 0x4
0x10 / 0x0 / 0x5 / 0x5
0x20 / 0x1 / 0x6 / 0x6


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on June 21, 2015, 06:56:11 PM
Hello Flo,

same result as before with 5870. No bootscreen on DP, bootscreen with upper DVI or lower DVI with VGA-Adapter, HDMI i can't test.

The file is damaged, check the header. I corrected it for my test.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 21, 2015, 07:13:19 PM
Damn, thanks for the test though.  :(

You're right, overwrote last 20 bytes of the header. I'll double and tripple check everything, can't imagine that this isn't the right track as it's quite much the only difference between 5770 and 5870 EFIs...


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on June 21, 2015, 07:22:19 PM
I don't have experience in programming-stuff, but comparing the unpacked efifiles with the netkas-file didn't show much differences as expected.......perhaps something got wrong? Except your special tip for Mr. bitch.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 21, 2015, 08:04:34 PM
There should be a total of about 18-20 bytes difference (+ the "no ebay" stuff). Will check it later/tomorrow.


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on June 21, 2015, 10:45:05 PM
Ok, i tested my second hd5870 - same result as above.  ;)


Title: Re: Radeon Port Mapping
Post by: Asural on June 24, 2015, 02:43:06 PM
"5870_2.efi.rom" insert 0x140 ~ 0x15F ( 32 bytes ) same as old data.
0x160 0xA8 change to 0xA7.

HDMI prot : no bootscreen, but can display screen
upper DIV : can bootscreen
Lower DIV : no bootscreen ( i have not VGA adapter )
DisplayPort : i can't test this device



Title: Re: Radeon Port Mapping
Post by: BitingChaos on June 25, 2015, 07:06:47 AM
Great work on this!

Is the modified 5870 EFI that keeps getting posted generally for the AMD/ATI "Reference" board?
(looks like this: http://www.techpowerup.com/gpudb/253/radeon-hd-5870.html)

Mine looks like the reference board ("Built by AMD"), and has 1 HDMI, 1 DisplayPort, and 2 DVI ports.
I patched the latest stock/reference firmware that I could find with the old "5870_uakari_netkas" EFI data and flashed it to my card.

I get the boot screen on the bottom DVI port w/ a VGA adapter. I only get video on the top DVI port and HDMI port after OS X loads. I haven't tested the DisplayPort, yet (and all I have is a DP -> DVI adapter to use with it). I'm not too concerned about DisplayPort, but having the other ports working would be nice.

I was close to testing the EFI files posted in the past few days, but it sounds like they may have issues; 20 bytes off? Is something about eBay embedded in them?

I haven't messed with video card firmware since updating a mess of old cards and taping pins for my G4 system (and it is still using a Radeon 9700 Pro). The biggest issue I had then was making sure I had the right CPU and memory timings, which were sorta easy to fix through trial and error. I think the process then was just to get an Apple ROM, edit the timings with some firmware editor (NVidia or ATI), and then flashing the ROM to the card. Things seem a bit more complex now. Modifying existing ROMs, patching in EFI data, changing the MCuC offset, etc. And even after all that I end up with some ports sorta not working.

Anyway, I'm looking forward to more updated with this!


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on June 25, 2015, 08:55:49 AM
Yes, we're talking about reference 5870 (2x DVI, HDMI, DP).
EFI is still in testing stage because we have not completely figured out the EFI port mapping stuff yet. Using the ROMs here should get you a boot screen on one of the DVI ports without a VGA adapter. The port mapping after OS X loads should not be affected, all 4 ports should be fully working both with my modified EFI and netkas EFI.

I'll have a look at the files later when I come home, maybe I've mixed something up or forget to save some changes in IDA.


Title: Re: Radeon Port Mapping
Post by: Spacedust on July 03, 2015, 12:52:58 PM
I did some testing on HD5850 today which nobody mentioned here before.

Same results as on HD5870, DVI bootscreen is working on upper DVI.

HDMI and passive DisplayPort adapters -> DVI does not work at all (no bootscreen, black screen on desktop).


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 03, 2015, 08:11:14 PM
Thanks for the test. Did those two ports work before?


Title: Re: Radeon Port Mapping
Post by: Spacedust on July 03, 2015, 09:53:35 PM
Thanks for the test. Did those two ports work before?

No they've never worked but sadly I've sold my second display so I'm unable to test HDMI/DisplayPort at the moment.

I've also made a ROM for HD5850 ASUS DirectCU (really complicated default BIOS) and it boots fine, however no bootscreen via DVI.

This card has one DVI port, one DP and one HDMI.

It probably thinks that this is the lower DVI port which works only with DVI to VGA adapter. Maybe you can flip these ports.

It looks like this:

(http://www.motherboards.org/images/reviews/hardware/2082_p4_3.jpg)

Attaching default ROM for this card:


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 08, 2015, 01:54:33 PM
Did not yet have the time to take a look at it. Will be interesting to have another 5xxx series card with yet another connector mapping, hopefuly I'll find the time at the weekend.


Title: Re: Radeon Port Mapping
Post by: mew_bg on July 09, 2015, 04:05:43 PM
I have Asus 7970 DirectCU II:

(http://www.guru3d.com/miraserver/images/2012/7970-dcuii/IMG_5921.jpg)


I'm attaching the rom. Is there any hope to reflash it's rom with an EFI one, so I can get bootscreen and throw away the 7300 that I keep for this single purpose?

Currently it's running rather fine on my 2006(firmware of 2,1) with Yosemite and tyamo's EFI. I get output on the 2 DVI's + 4DP (however only with DP to VGA, my DP to DVI doesn't seem to work for whatever reason).

The card has a little specific thing: it has an extra switch, which selects whether one of the DVI ports is dual link(at the expense of one of the display ports not working) or it's single link and all DPs work (i'm using that config to get all outputs):

(http://www.techpowerup.com/forums/attachments/asus-hd7970-dc2t-3gd5-jpg.48115/)

Also the switch selects between U2 and U3 BIOS? Just a raw theory, does this mean that it's a dual bios card - that way I can flash EFI on one position, and keep the original rom on the second position.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 10, 2015, 07:55:03 AM
Hi,

really interesting card, thanks for providing the ROM!

Two out of 6 ports are matching the port mapping of a reference 7950 (DP4 and DVI1 if I recall correctly), so when flashing the card with the 7950 EFI it should show boot screen on those two ports! A thrid one could maybe be enabled.
You could easily try this yourself, just do as described in the 7xxx tutorial thread. (Yes, your card seems to have dual bios, so nothing bad can happen to you, just keep a copy of the original unmodified BIOS you are overwriting).

However, because of the mismatched framebuffer, you'll only see output on those two mentioned ports when flashing the standard 7950 EFI. OS X doesn't have a perfectly matching framebuffer for your card, but some of the Eyefinity framebuffers come close (Encode, Transmitter and SenseID match, hotplug ID only matches for 1 or 2 ports). We could try those, maybe everything will work.
But maybe the standard RadeonFramebuffer (this is the generic framebuffer the drivers defaults to on unflashed cards) would be even enough for your purpose:
- How many ports are working at a time?
- Are you using active DP adaptors?


Title: Re: Radeon Port Mapping
Post by: mew_bg on July 10, 2015, 09:13:38 AM
Hello Florian,

thank you for all the info, I'll test out the 7950 rom as per the other thread today and report back.

At the time, all ports are working - 2x DVI and 4xDP with DP to VGA Adapter.

I guess that my DP to DVI adapters are all passive, that's why they don't work with the card.

I've tried to 2 types, both HP, but could not find any real specifications....

1. HP P/N - 481409-002, has label BizLink 1313
2. HP P/N - 752660-001, no other visible labels



Update


Sadly it doesn't work.  :(

Here's the output of the rom mod and I'm attaching the rom itself. No output on any port, tried the DVIs with DVI-to-VGA adapter. All DPs were with DP to VGA
Code:

 ./makerom.sh --efifile=7950mac.efi --romfile=efiromheader.rom --originalrom=cardname.rom --devid=6798

running on 7950mac.efi, efiromheader.rom with devid 6798

Patching files 7950mac.efi, efiromheader.rom for device-id 0x6798

Successfully patched efi file

Successfully patched efi rom file

./makerom.sh: line 42: /Users/lmtzusr/Downloads/ati: No such file or directory

dd: 7950mac.efi.comp: No such file or directory

EFI part is ready at 6798.efipart.rom

orig size - 65536

65536+0 records in

65536+0 records out

65536 bytes transferred in 0.117185 secs (559253 bytes/sec)

rm: 7950mac.efi.comp: No such file or directory

Before:

OpRom (size=65536, indicator_offset=0x229, indicator=0x80, checksum=0xff)

OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x0)

RawData (size=17408)



After:

OpRom (size=65536, indicator_offset=0x229, indicator=0x0, checksum=0x7f)

OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x89)

RawData (size=17408)

the rom is ready at cardname.rom.efi.rom



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 10, 2015, 01:59:20 PM
The script had some problems with your files (all paths are definitely correct?). I'll try to run the script myself later when I come home, I'm currently on a Windows machine so it would be a little tricky.


Title: Re: Radeon Port Mapping
Post by: mew_bg on July 10, 2015, 05:41:28 PM
I've missed the dd error on the script  ::)

Reran the script this time with no errors (fixed a path isssue), and I can report a mediocre success :D

I'm attaching the semi working rom.

Mediocre because I get bootscreens, however only the 2 outputs (as suggested one DP and one DVI) get output. The rest are dead black. Also, the card is reported as Radeon 7950 in about this mac (as expected)



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 10, 2015, 06:32:28 PM
Okay, at least it behaves as expected  ;D
I've attached 2 EFI files for testing, you'll have to re-run the script again with both files to build a ROM file for flashing.

IkuraS.efi will use (well, at least I hope it will  :)) the IkuraS framebuffer instead of Hamachi. The DVI port which is showing a boot screen is a 100% match, the other 5 ports have mismatched Hotplug IDs. If you don't get any output on them after booting, sleep & wake your Mac and see if anything happens.

RFB.efi has just a purposely broken framebuffer name making the driver fall back to the default RadeonFramebuffer which you are using with your unflashed card. This will basically extend the unflashed behavior with boot screens.

Happy testing! :)


Title: Re: Radeon Port Mapping
Post by: mew_bg on July 10, 2015, 08:05:42 PM
Florian, to where shall the beer be sent?

The IkuraS one worked only with single monitor :D (it displayed correctly however that the card was 7970 in about this mac).
The second one worked precisely as predicted - now i have boot screen and also all the outputs in yosemite (and hopefully in linux/windows when I can now install them :D)

In other thought (just out of self-education) - coming across this page (http://"http://www.rampagedev.com/?page_id=82&page=5") it's stated that IkuraS is a single connector, while Ikura is with 6 outputs... might work out??


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 10, 2015, 08:44:23 PM
Hehe, glad it works! :) No need for beer here, I'm living right next to a brewery.  :P

Regarding IkuraS.efi: Did you try to sleep & wake your Mac with all your screens attached? When the hotplug ID is mismatched, the screens should normally become active when waking the machine.

Regarding Ikura: I'm quite sure that (as of 10.10.3+) IkuraS is the 6 port framebuffer while Ikura is the single port one. Nevertheless I've attached a EFI with Ikura, maybe it's worth a try.  :)


Title: Re: Radeon Port Mapping
Post by: Rominator on July 10, 2015, 10:28:54 PM
This is great news !

With Fury already in parts of driver, we may have hope for real EFI cards.

Want to take another crack at the the 6 mDP 7870? Sounds like you found a good answer.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 11, 2015, 10:01:28 AM
Want to take another crack at the the 6 mDP 7870? Sounds like you found a good answer.

Does it work unflashed, too? Enabling one or two ports for boot screens should be possible, but we'd have to use RadeonFramebuffer (which seems to work fine on the Eyefinity 7970).


Title: Re: Radeon Port Mapping
Post by: rp_77_mac on July 13, 2015, 02:14:51 PM
Hi,

New to the "repurposing" of PC cards for Mac game.

Long time Mac user and recently became interested in upgrading my Mac Pro 2008 2 x 2.8GHz machine. It currently has an 2 x Apple ATI HD2600 and 1 x Apple ATI HD 5770.

Wanted to upgrade to a later card and began looking at ATI HD 5870 as replacement. Have been aware for some time of re-flashing possibilities and done a lot of reading up etc. for a couple of years but not actually dived into actually doing anything yet.

I managed to pick up a pair of HD 5870's from eBay (I am in Australia) that the previous owner had used in Crossfire configuration.

I plan to reflash these (use 1 and give another to a photographer friend whose 2008 Mac Pro only has a HD 2600!!).

Came across this thread in my googling/research and thought what is described here is what would be great to achieve (reflash and boot screen) and would like to provide any assistance to add to the mix if I can.

The 2 cards I have appear to be reference based cards (from what I can tell - happy to be corrected if wrong -  :) ).

They are:-

1) Sapphire Radeon HD 5870
2) MSI R5870

Both cards appear to be same Part Numbers and revisions (let me know if the specifics help and I'll post them) and both have 1 x MDP, 1 x HDMI and 2 x DVI ports.

Have not been able to pop them into the Mac Pro yet (received them 2 days ago and waiting on the extra 6 pin PCI-E power cables I need and ordered to arrive) but I intend dropping them in as-is to see what works and doesn't etc. and then try the re-flashing process to see what I can achieve.

Would like to get the boot screen working if possible so the solutions posted here are of interest and willing to give those a go.

If there is anything that may be of use (copies of the rom from the cards etc.) please let me know and I will provide.

I will follow the thread and post more once I have the power cables and can start tinkering!



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 13, 2015, 09:13:58 PM
Hi!

Both of your 5870's should work fine, DVI boot screen on one port should be possible. Just take the modified EFI form this thread and combine it with your ROM.

Another update: I've just made some changes to blacksheep's HD 7770 EFI. It's not tested yet, but I hope that it will enable boot screen on 3 out of 4 ports. We'll see...


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 15, 2015, 08:01:07 AM
Okay, so here's another small success to report: blacksheep's HD 7770 is now showing beautiful digital boot screens!  :)
I guess this is the cheapest fully supported Metal-card right now.  ;)
He wants to keep to ROM private though, so don't ask me to upload it.

This gave me a few new insights though that I'd like to share, and I think most of the "black magic" in the EFIs isn't that magical anymore:

  • To make boot screens work, encoder, transmitter and sense id have to match
  • Encoder and Transmitter can be easily edited in the places mentioned at the beginning of this thread
  • Sense ID cannot be modified (yet), so one has to rearrange the ports in such a way, that the (fixed, hard-coded) senseid matches
  • The hotplug id doesn't matter at all
  • Neither the connector type (DVI, DP, etc) nor the connector order seem to matter

This gives us the tools to enable boot screens on every supported non-reference card, as long as the sense ids of at least some ports match the reference design.
Of course it would be really cool if this stuff could somehow be used on more recent cards (hello, Fury  :)). At the experts: Would be interesting to know how much you already tried regarding GCN 1.1/1.2 cards... :)

PS: The suff above should enable another port on the HD 5870 (I think it was DP). I'll implement the changes when I find the time, hopefuly later this week.


Title: Re: Radeon Port Mapping
Post by: SMIKX on July 17, 2015, 10:50:20 PM
I'm amazed at what you have been achieving !  Truly pioneering stuff indeed.

It inspires me to actually make some time to get stuck into making a new ROM for my VaporX 5870 using your EFis.

First I need to get something better than a 2,1 Mac Pro. . perhaps a 4 or a 5.  . if there's any left out there.

I imagine at the rate you're going . . soon .  .all will be known.

Please stay hale & hearty we need your boundless curiosity.



Title: Re: Radeon Port Mapping
Post by: Rominator on July 20, 2015, 11:16:47 PM
Want to take another crack at the the 6 mDP 7870? Sounds like you found a good answer.

Does it work unflashed, too? Enabling one or two ports for boot screens should be possible, but we'd have to use RadeonFramebuffer (which seems to work fine on the Eyefinity 7970).

Yes, currently it works better unflashed.

Would be great to add boot screens.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 21, 2015, 09:48:09 AM
@SMIKX: Shouldn't be a problem to flash your 5870 with the EFI from this thread, just do it!  :)

@Rominator: Okay, I'll have a look at the port mapping and do the changes later this week.


Title: Re: Radeon Port Mapping
Post by: holgib on July 21, 2015, 10:56:32 AM
Hi Guys,

I am trying to build a ROM for my Asus 5850. I have reflashed it before with the stock ATI 5870 bios and ran some burn in test (e.g. Furmark) successfully. According to some forum posts, the 5850 wont be recognized properly and thats why others also reflashed  their card with 5870 bios before.

So I used  the working 5870 stock ROM, Florian's 5870 EFI and these instructions here (http://forum.netkas.org/index.php/topic,692.0.html) to build my rom. I had to push one block with the second 'mcuc' down to make room - otherwise the EFI rom part would overwrite it. Jump address fixed of course.

After flashing all works well in my flashing PC, but once installed in my 2006 Mac Pro, I get a black screen on bottom HDMI and a weird half messed up Apple logo boot screen on the top one. Once its booted into 10.7.5, both screens show different kinds of trash and it goes into a reboot loop.

Followed the procedure twice and I am a rather technical person - so don't think I did some wrong building the rom. Are you guys using the same instructions I mentioned or have any clues?

Also an already patched ATI 5870 (reference design) would be great. Maybe I DID something wrong :-).


Title: Re: Radeon Port Mapping
Post by: holgib on July 23, 2015, 11:05:20 AM
I flashed the original 5850 back but applied the patch from the thread reference in my last post. My ASUS 5850 is recognized as 5870 and works in my Mac Pro now. But I don't have any bootscreen on one of the two DVI ports.

Next step is to try the ATI patch from Fl0r!an for 5870 with my original 5850 bios together. The 5850 and 5870 are almost identical and the 5870 bios work on the PC just great.


Title: Re: Radeon Port Mapping
Post by: holgib on July 25, 2015, 08:46:43 AM
Today I flashed the last posted EFI rom from here, together with the original ASUS 5850 rom.

Finally I got a bootscreen on the upper DVI output. The other DVI remains black. Haven't tested the HDMI port yet. But I am more than happy about the outcome. Thats all I need for a hassle free Mavericks or Yosemite installation on my MacPro 1.1.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 26, 2015, 07:28:13 PM
Hi holgib,

sorry that I didn't have the time to respond earlier, but it seems everything is working fine for you now!
I never reflashed a 5850 to 5870, but I assume that the BIOS you were using wasn't completely compatible causing these display issues. But since everything works now that doesn't matter any more! :)

@Rominator: I've attached a modified EFI for 7870 Eyefinity 6. Injection code is broken and ports are edited so that, with a bit of luck, DP2, DP3, Dp4 and DP6 will show a bootscreen (the last one rather unlikely). I did not change the device id yet, but I assume you'll use netkas script anyways, so this will do the job for you.
I hope that it'll work, would be a great card.  :)


Title: Re: Radeon Port Mapping
Post by: brockbackups on July 26, 2015, 09:25:53 PM
Attached is a rom from my Sapphire Vapor Tri-X 8Gb 290X, was wondering if someone could maybe get a Apple EFI working on it


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 26, 2015, 09:33:50 PM
Hawaii sadly isn't flashable yet. I think netkas and Rominator have given up, I'll do some own experiments in the next time with a cheapo 7790 (GCN 1.1 architecture, same as yours).


Title: Re: Radeon Port Mapping
Post by: Djeross on July 27, 2015, 02:22:55 AM
Hi Florian !

First of all, a big respect to you for this hard work.

I am following this thread for quite some time now, hoping to use your informations to solve my problem, but you completely lost me here ;D

You asked for some ROMs on a previous post, and I humbly ask if you could help with mine.
My card is a Sapphire Radeon HD 7870 GHz Edition
The complete Refs I have on the box are :
- PN : 299-1E217-000SA
- SKU : 11199-00-20G

The problem I face is that after flashing it using the 7950.efi provided by netkas, only the DVI port is working, and maybe the HDMI (I can't test it, no screen with this port at hand).
It is a big step forward, as it allows me to have the bootscreen, but I will need the mDP ports to connect more screens (through adapters).
This card has 1 DVI, 1 HDMI, and 2 mDP.
You can see it here : http://images10.newegg.com/NeweggImage/productimage/14-102-981-05.jpg or attached to this post.
Regarding the mDP, I could only test them using an original Apple VGA adapter, as I don't have any mDP monitor either.

I attach my romfile here, and pray that you can help me on this, as it would allow me to use my others screens.

Thank you for your help, and for your work.
Cheers.


Title: Re: Radeon Port Mapping
Post by: brockbackups on July 27, 2015, 02:58:45 AM
Hawaii sadly isn't flashable yet. I think netkas and Rominator have given up, I'll do some own experiments in the next time with a cheapo 7790 (GCN 1.1 architecture, same as yours).
Think it would be possible to take the EFI portion from a M290X rom thats in iMac15,1 and add it to the 290X?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 27, 2015, 07:31:55 AM
@Djeross: I'll have a look at the port mapping later. Shouldn't be a problem.  :)

@brockbackups: netkas already tried that, didn't work, new EFI isn't compatible with old cMP.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 27, 2015, 07:12:51 PM
I've attached an EFI for your HD 7870, both as compressed EFI and completely built ROM file.

Your card matches the Futomaki framebuffer perfectly, all ports should work in OSX when flashing the ROM file.
Boot screen should (hopefully) works on both DP and DVI, HDMI isn't possible from my current knowledge (senseid doesn't match any port in genuine 7950 Mac Edition).

Oh, and I've left a small note for my friends from eBay since this would be a perfect candidate for selling if all the mods are working. ::)


Title: Re: Radeon Port Mapping
Post by: Djeross on July 28, 2015, 01:35:53 AM
Man, I'm so happy right now, you have no idea...

It works flawlessly, I tried with 3 monitors attached simultaneously, using various adapters, and everything works !!!
I don't know how I could return the favor, you made my day !

Thank you so much !!
Unfortunately, it also means the mysterious eBay seller now has a great candidate to sell  :-\

Cheers mate !


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 28, 2015, 06:20:00 AM
Great, glad I could help! :)

What about boot screens? Do they appear on all the mentioned ports?


Title: Re: Radeon Port Mapping
Post by: Rominator on July 28, 2015, 08:08:50 AM
tried the new EFI for EYE6

it booted. once

and it still sees Hamacho (note wrong spelling) as being for audio portion of card

hasn't booted again, Mac unhappy

There was one place where I may have done id wrong but I think Audio loading Hamacho is an issue



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 28, 2015, 08:17:27 AM
Damn, looks like we need a more sophisticated way to stop the framebuffer injection.  ;D

The exact same mod worked fine for the guy with HD 7970 Eyefinity 6, but he wasn't using any connections with audio support I think.
Good to know that audio is an additionall issue though, thanks for your test!  :)

Btw, what about boot screens? Would be interesting to know how many ports showed them.


Title: Re: Radeon Port Mapping
Post by: Djeross on July 28, 2015, 12:49:29 PM
Hi Florian,

I didn't have enough time to do a full testing, I will in the next few days.
For now, I tested with 3 screens, all connected before booting up.
The one which showed the logo was the same as usual, on the DVI port (with a VGA adpater).
I will do a one by one testing, and report on bootscreen asap.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 28, 2015, 02:10:53 PM
Okay, thanks in advacne for testing! :)
Would also be interesting to know if the card is reported correctly in system profiler, to make sure that I didn't break the injection code but it's actually the Futomaki framebuffer doing the work.


Title: Re: Radeon Port Mapping
Post by: brockbackups on July 29, 2015, 12:52:37 AM
Quote
@brockbackups: netkas already tried that, didn't work, new EFI isn't compatible with old cMP.
So right now there is no method for 290X correct?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 29, 2015, 09:52:31 AM
At the moment there's no method. I didn't do any experiments on this (or similar) cards myself, so other people people are better qualified to elaborate about the chances to ever see a bootscreen on any new AMD card.


Title: Re: Radeon Port Mapping
Post by: Rominator on July 29, 2015, 09:57:42 PM
We have made working EFI for it and I found PCIE 2.0 switch

but with Apple breaking the driver in every other update there is very little point fiddling with them

currently DP at boot crashes the card, have to connect after

Funny that someone revived the 6970 thread, it suffered from same issue, couldn't get too excited about card when driver kept breaking it


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 30, 2015, 07:38:24 AM
Cool, didn't know that! Is it Hawaii-only or will it also work on Tonga?

I know drivers are still buggy, but sooner or later Apple will use some GCN 1.1 or GCN 1.2 cards in their Macs, then they'll have to fix the bugs.
Will you share the EFI? Would be nice for the people who already have on of these cards, and I might play a bit around with the boot screens.  :)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on July 30, 2015, 07:58:33 PM
Thanks for the test. Did those two ports work before?

No they've never worked but sadly I've sold my second display so I'm unable to test HDMI/DisplayPort at the moment.

I've also made a ROM for HD5850 ASUS DirectCU (really complicated default BIOS) and it boots fine, however no bootscreen via DVI.

This card has one DVI port, one DP and one HDMI.

It probably thinks that this is the lower DVI port which works only with DVI to VGA adapter. Maybe you can flip these ports.

It looks like this:

(http://www.motherboards.org/images/reviews/hardware/2082_p4_3.jpg)

Attaching default ROM for this card:

Better late than never: From my current knowledge, bootscreen can only be enabled on DisplayPort. The best matching framebuffer supports only DVI (non of the 2 other ports) though, so this card just isn't a good candidate for flashing.


Title: Additional Info on 5770/5870 flashing
Post by: Rominator on July 30, 2015, 08:36:25 PM
Thanks again to Florian for shaking up 5870 flashing.

We could have used you back in the day.

I saw you answering the guy on MR about 1,1 cards and realized that there is some missing info.

One of the reasons I left the 5770/5870 flashing fold long ago is a fundamental problem with the DP port.

The issue manifests itself as the DP port being unable to drive Apple mDP displays. I have a Dell U2410 that has DP so I would test cards with both that and Apple 24" and 27" displays. IN early days of 5870 for Mac flashing there was much excitement. I drove to Sherman Oaks to get one of early PC 5870s. And then I ended up driving to Orange County to get an early DP to MDP adapter.

The gist is, the reference 5870s could never drive the Apple displays. If you dig deep in reviews of early dp to MDP adapters you may find tiny hints of this, it is where I first figured it out. There was some part of DP in early days that wasn't done to spec. So the adapters couldn't run all of the wires to MDP.

The only 5870s I ever found that could drive Apple Displays were XFX brand, after they switched from reference design to the cheaper one with a center fan. And even among these, early models were no good. Needed to be either Ver. 1.3 or 1.5 (I don't recall exactly now). I kept this info very confidential, as I was only one to be able to offer 5870s that could run Apple displays. And, IIRC, even this changed with an OS update. For awhile all DP port function was broken. So I got out of the 5xxx game and never looked back. The 5870 I have today is an unsellable one, has some ripped traces so only runs at 4 lanes or something, but fine for testing display outputs.

To sum up, DP ports on most flashed 5770s and 5870s have issues with some versions of OS X. The vast majority were incapable of running an Apple MDP display, grossly limiting their usefulness. I will do some additional testing with the reference 5870 I have here, but best would be for everyone out in the wild to do some thoughtful testing as well. Know this, not seeing a boot screen or getting output on DP port may or may not be a rom issue. It is possible that the rom is fine and you are actually experiencing the issue I am mentioning. Would be great if everyone playing with a 5770 or 5870 who has any sort of DP or MDP display would report their results. We could have a database of best cards to flash.

Very useful piece of info is that later 5870s (and 5770s too, IIRC) from XFX are more likely to work with Apple displays. Certainly anything with ver 1.6 or later is good, I'm fairly sure.

Here is a chance for the folks selling these cards and benefiting from FLorian's work would help out. Just post what cards work with what displayports and what displays. Please & Thank You.

Also, there is a way to get these cards to PCIE 2.0 on 3,1 and later cMPs. You have to add a 10 Kohm resistor to a specific place on back of card near CF connector. I'll see if I can find # on the 5870 I have here.

SEPARATE INFO ON 7870:

Florian, the EFI 7870 that says "Hamacho" (I'm guessing you changed name to make it not match, fact that it still did tells us something)

The boot screen behavior is same as before. Only way it work is with two same resolution DP displays in ports 1 & 2 (maybe it was 2 & 3), then the boot screen appears on 1st one.

This was something we battled in PPC days with F-Code roms. Card looking for EDID on different port then where it send s signal for that EDID. Possible that there are other 2 port combos with this function, I may test for that sometime if you don't have any other ideas.


Title: Re: Additional Info on 5770/5870 flashing
Post by: Spacedust on July 30, 2015, 11:50:47 PM
Also, there is a way to get these cards to PCIE 2.0 on 3,1 and later cMPs. You have to add a 10 Kohm resistor to a specific place on back of card near CF connector. I'll see if I can find # on the 5870 I have here.

On some HD5770's the same resistor has to be placed on the front board near DisplayPort after removing the cooling - name is the same, but it's much harder to find the right one ;)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 08, 2015, 07:18:42 PM
Small update on 5870 stuff: Today I took the time to double- and tripple-check everything. I'm now 100% sure that I've done everything exactly like I did with the HD 5770 (which has boot screen on DVI1, HDMI and DP). Due to different port mapping on 5870, boot screen should be possible on upper DVI (is working) and DisplayPort. The latter doesn't work, no matter what I do.
I guess this might be due to the "non-standard DP" stuff.

Quite funny: The 5870 card I have for testing is exactly the mentioned XFX with center fan (don't know which revision though).
I guess the DisplayPort might differ slightly from Apples implementation, so the EFI isn't able to drive it properly. I've run out of ideas, so I'll stop with 5870 for now. I guess boot screen on DVI is enough. :)


Title: Re: Additional Info on 5770/5870 flashing
Post by: Bunga-Bunga on August 09, 2015, 01:56:23 PM
Also, there is a way to get these cards to PCIE 2.0 on 3,1 and later cMPs. You have to add a 10 Kohm resistor to a specific place on back of card near CF connector. I'll see if I can find # on the 5870 I have here.
Found this: http://forums.macrumors.com/threads/how-to-make-link-speed-2-5gt-s-to-5-0gt-s-on-ati-card-and-nvidia-card.1547340/


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 09, 2015, 03:33:01 PM
Is the resistor mod for HD5870 the same as HD6870?

Btw, I've noticed yesterday that fixrom.py will crash if one of the checksums equals 0x0. It's easy to fix, however nobody seems to have bothered to do it so far...

You just have to replace this line:
Code:
self.data[-1] = chr(0x100 - sum)
with this:
Code:
self.data[-1] = chr((0x100 - sum)%0x100)


Title: Re: Radeon Port Mapping
Post by: Rominator on August 11, 2015, 12:32:55 AM
Small update on 5870 stuff: Today I took the time to double- and tripple-check everything. I'm now 100% sure that I've done everything exactly like I did with the HD 5770 (which has boot screen on DVI1, HDMI and DP). Due to different port mapping on 5870, boot screen should be possible on upper DVI (is working) and DisplayPort. The latter doesn't work, no matter what I do.
I guess this might be due to the "non-standard DP" stuff.

Quite funny: The 5870 card I have for testing is exactly the mentioned XFX with center fan (don't know which revision though).
I guess the DisplayPort might differ slightly from Apples implementation, so the EFI isn't able to drive it properly. I've run out of ideas, so I'll stop with 5870 for now. I guess boot screen on DVI is enough. :)

DVI is great accomplishment anyway, we would have killed for it back in the day.

Congrats on that.

The version number was on part number tag on back, would have XFX 5870 and then on same line something like V1.3 or Ver 1.6, something like that

And that only affected Apple Displays or maybe just MDP displays. (and I just realized that I have way to figure out, Dell 5K has both DP and MDP inputs)

I also have some Nvidia GTX260 Pre-Pro cards for Apple. Some had MDP, some DP, and only SOME of them could run Apple Display, wasn't rom issue, some hardware thing. But the ones that couldn't run Apple display could run Dell U2410 via DP.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 12, 2015, 09:51:42 AM
Just had another try on using RadeonFramebuffer on a flashed card to make all ports work on non-referencecards w/o matching framebuffer.
I've tried to change the framebuffer in the ROM explicitly to "RadeonFramebuffer" (was much PITA btw to make enough room for this string), but it didn't improve anything. Card will have bootscreen but show up as "HD 7xxx" with some partially-initialized HDMI-audio device (just like my "Hamacho" attempt).


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 17, 2015, 08:04:20 AM
So here's another small progress: Fixing the port mapping on HD 6870 EFI enables boot screen through passive DP adaptors(tested both DVI and HDMI).
Native DisplayPort and HDMI stay black though, like HD 5870. I'd assume the same applies for my 5870 ROM: Bootscreen will be shown with passive DisplaPort adaptors. I don't have a full-size DP->DVI/HDMI though, so I can't test myself. Can someone of you test it?  :) ROM file is the same as last time (3-4 pages back I guess).

Currently my best explaination for this is that the HotPlug-ID matters for HDMI and native DP, but not for DVI, VGA or passive DP. This explains all observations on 5770 (HP ID matches, so all ports work), 5870 (no match, so only DVI) and 6870 (no match, so only DVI). On 7xxx this doesn't apply though, HD 7770 works completely fine although all HP IDs are mismatched. Maybe things are handled somehow dynamically in their, maybe I'm completely wrong, dunno.

Oh, another thing: I've tried sewing together a EBC 6870 ROM with bootscreens, but had no success so far. Blacksheeps EBC ROM based on HD 7950 is a perfect match, but doesn't show any bootscreens. I've also tried HD 5770 and 5870 EFIs, but I couldn't enable any ports with them either (additionally the HD 5870 behaved very strange, attaching something on DisplayPort would either lead to a EFI boot loop (chime, restart, chime, restart,...) or some garbled output.
I guess those EFIs might just no be able to drive the 6870 properly, even if they can init the card for OSX. Might some small issue, but could also be something big. Isn't worththe trouble though.


Title: Re: Radeon Port Mapping
Post by: lumpen on August 17, 2015, 04:03:07 PM
First of all I want to say thank you to Mr. Fl0r!an for his work!

I'm new to a Mac, and faced with great difficulties when trying to install XFX 5830 to mac1.1. Of course, I tried to establish a reliable Yose OSX with the new AMD video drivers included. At least one of the ports but nothing happened nor Yose neither with the Mavericks nor with Lion.

Mr. Fl0r!an because now I see the apple when booting mac on DVI1. (Hdmi and dvi2 not work, DP-I don't know - i have nothing to check)
But the quality of the graphics that I got was not worth any effort on your part. It's a slideshow! I read a lot of information in a foreign language to me, and could not find solution to the problems with the video.
If anyone encountered such a problem I ask for help in the decision.

Mr. Fl0r!an, thanks again for work and creativity.
I do not lose the hope of a bright future.

P.S. I flashed on the 5870 Efi and mac1.1 to 2.1. Maybe this is problem, but other Efi firmware I have not found.
I put the dump its BIOS XFX 5830 for the development of ideas.
[/pre]


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 17, 2015, 05:31:54 PM
The device ID of your HD 5830 is missing in the drivers, so the system will fall back to basic EFI video support after flashing it.
I'm a little surprised that flashing the 5870 EFI works despite device ID mismatch, but that's not your problem.  :)

I guess adding your device ID to AMD5000Controller.kext and AMDRadeonX3000.kext might already do the trick. Not very elegant though, because the changes are likely to be overwritten with every OS X update and you'll violate the kext signing.
I'm not sure if you could spoof your device ID to match a HD 5850 or HD 5870 (both supported) with a BIOS mod or if that's somehow locked, never tried that.


Title: Re: Radeon Port Mapping
Post by: Bunga-Bunga on August 17, 2015, 06:33:53 PM
I guess i tested the latest 6870-efi with mDP->DVI-Adapter (genuine Apple) and it worked. Did you change anything in 6870-efi, i can compare the latest and the stored on videocard.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 17, 2015, 06:36:02 PM
Nope it's the version I sent to you some weeks ago. Just realized that those passive adapter stuff won't work with unmodified EFI, that's the only change.  ;D
Would like to see the same test for HD 5780 though.


Title: Re: Radeon Port Mapping
Post by: lumpen on August 18, 2015, 04:02:59 AM
The device ID of your HD 5830 is missing in the drivers, so the system will fall back to basic EFI video support after flashing it.
I'm a little surprised that flashing the 5870 EFI works despite device ID mismatch, but that's not your problem.  :)

I guess adding your device ID to AMD5000Controller.kext and AMDRadeonX3000.kext might already do the trick. Not very elegant though, because the changes are likely to be overwritten with every OS X update and you'll violate the kext signing.
I'm not sure if you could spoof your device ID to match a HD 5850 or HD 5870 (both supported) with a BIOS mod or if that's somehow locked, never tried that.

Thanks for answer.
How can i find this kexts?
Kext wizard show me nothing.
Or I must taking it from installer of OSx?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 18, 2015, 07:30:39 AM
You'll find them in /System/Library/Extensions.

After doing the modification repair file permissions and rebuild the kext cache (both can be googled), this should do the trick.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 19, 2015, 06:22:35 PM
Did some testing with HD 7870 myself now:

Works perfectly fine in OS X with Futomaki framebuffer. Suffers performance bug on 3,1, but can be fixed by deleting those two PowerManagement kexts.

Bootscreen can be enabled on DVI and passive DP. Active DP won't work due to hotplug ID mismatch (I guess). Actually great value for money card. Got a Gigabyte Windforce 3 for less than 90€. Stays very silent even under full load.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 19, 2015, 10:09:35 PM
Btw, just realized that there are actually people selling this card (Pitcairn-Version, as mine) with Hamachi. This will:
  • Disable HDMI completely
  • Disable active/native DisplayPort (only passive single-link adapters will work)
  • Disable hot plugging on DVI, so the cable has to be in at boot time
And they actually want money for this shit  ::)


Title: Re: Radeon Port Mapping
Post by: Djeross on August 20, 2015, 02:46:42 AM
Hi Florian!

I'm sorry I didn't report back on my 7870 like I was supposed to, but right now I can't do any test, a happy newborn happened, and is consuming all my time right now  ;D.
I promise I'll do some testing asap though, not fair to ask for help and not return back.


Title: Re: Radeon Port Mapping
Post by: blacksheep on August 20, 2015, 08:31:00 PM
Btw, just realized that there are actually people selling this card (Pitcairn-Version, as mine) with Hamachi. This will:
  • Disable HDMI completely
  • Disable active/native DisplayPort (only passive single-link adapters will work)
  • Disable hot plugging on DVI, so the cable has to be in at boot time
And they actually want money for this shit  ::)

That's because I removed my Futomaki ROMs from this forum and ebay kiddos don't have a clue how to change the personality in EFI :D


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 21, 2015, 09:11:22 PM
I've managed to get a reference R9 270 2 GB - when unflashed it does not boot to OS X at all.

When flashed it shows boot screen via lower DVI, but only Apple Software Render is available.

What's wrong ? I've been testing on El Capitan public beta 3 with both Futomaki and Hamachi framebuffers.

Here's the unmodified ROM ;)

Card is awesome - very silent and needs just single power connector. Would be great to run two of these in a pair.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 21, 2015, 09:20:14 PM
I didn't look into it, but I'm 99,9% sure OS X just doesn't have the device id in the drivers.

Edit: No good framebuffer match either, max. 2 fully working ports in OS X. If you feel adventurous, try flashing a similar R9 270X ROM combined with Futomaki EFI.


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 21, 2015, 10:15:52 PM
I didn't look into it, but I'm 99,9% sure OS X just doesn't have the device id in the drivers.

Edit: No good framebuffer match either, max. 2 fully working ports in OS X. If you feel adventurous, try flashing a similar R9 270X ROM combined with Futomaki EFI.

OK - so I will try to find reference R9 270X rom ;)


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 22, 2015, 01:12:25 PM
Just tried - the same effect - boot screen but only Software Renderer.

Card is properly detected as R9 270 and ATY,Futomaki is loaded.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 22, 2015, 03:54:01 PM
Which device ID does it show in the system profiler?

I guess the device ID is somehow set in hardware and can't be directly modified with ROM (maybe some straps?). Didn't verify this, maybe some bios tweaking tool already offers an option to change devid.
Guess it would be easier to go for a R9 270X though (2xmDP version should work fine) and mod it to run on 1 power connector (would need slightly lowered clocks I guess).


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 22, 2015, 07:48:16 PM
Which device ID does it show in the system profiler?

I guess the device ID is somehow set in hardware and can't be directly modified with ROM (maybe some straps?). Didn't verify this, maybe some bios tweaking tool already offers an option to change devid.
Guess it would be easier to go for a R9 270X though (2xmDP version should work fine) and mod it to run on 1 power connector (would need slightly lowered clocks I guess).

Device ID is 6811


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 22, 2015, 08:49:14 PM
Okay. So unless someone knows a method to change the device ID you'd have to add this dev id to the kexts in OS X. Thats obviously no good solution, especially with kext signing and rootless in mind. Hackintoshs have a big advantage here...


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 22, 2015, 08:57:09 PM
Okay. So unless someone knows a method to change the device ID you'd have to add this dev id to the kexts in OS X. Thats obviously no good solution, especially with kext signing and rootless in mind. Hackintoshs have a big advantage here...

270X - ID is 6810


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on August 22, 2015, 08:58:51 PM
Yep I know, this one should be in.


Title: Re: Radeon Port Mapping
Post by: Spacedust on August 22, 2015, 09:01:32 PM
Yep I know, this one should be in.

It was possible in the past with RBE, but it doesn't work for the latest roms:

(http://tpucdn.com/rbe/RBE_Info.png)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 05, 2015, 07:53:32 PM
Small update in the Radeon section: Yesterday I received a HD 5870 Eyefinity 6 to play around with. I knew that the Zonalis framebuffer is a perfect fit, but I also knew that back in the days there were problems because of the "no power cable connected" warning. Nevertheless I decided to try it out:

I made a EFI giving beautiful bootscreens on (at least) 2 of the 6 connectors (only through passive adapters, though). I modified the EFI to use the Zonalis framebuffer, and additionally I increased the number of connectors form 3 to 6. On normal HD 5000 this doesn't matter, since they can't drive more than 3 screens, but here I wanted to activate as many as possible.

The only problem: The AMD driver always crashes at the login screen as soon as I'm using injection. In safe mode everything is fine, all ports work. The same happens when using netkas' stock 5870 EFI, so it's not the fault of my modifications. I've also tried crossflashing various other 5870 Eye6 ROMs, all with the same result.
It turns out that this behavior seems to be the 10.10+ version of the "no power connected" warning. I installed 10.7 on another partition (which rendered my FreeDOS partition non-functional and can't be reverted - thanks for that, Apple!), and suddenly I started to receive that famous warning without any crashes. So, in Lion the Zonalis framebuffer works perfectly fine, but without any acceleration due to the stupid power warning.
I don't know in which place the responsible ioreg entry ('AAPL,aux-power-connected') is set, but it doesn't happen in the GPU EFI. Seems to be an incompatibility with that card...

The best I could get was a combination of boot screens and unflashed behavior. The RadeonFramebuffer is quite buggy on this card, I'm able to use 3 displays at a time, but it always tries to synchronize all displays, which will lead to incompatible display settings for some of them. All in all, not very recommended due to driver bugs  :-\


Title: Re: Radeon Port Mapping
Post by: netkas on September 16, 2015, 11:29:29 AM
Can post the rom you used with 5870?

Next week I'll be back from vietnam vacation and try on 5870yf i still has.

The fix to osx problem could be disabling injection at all. Can do that as well.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 16, 2015, 02:29:46 PM
Yep that's currently the best solution, although RadeonFramebuffer was a little buggy for me. I can send you the EFI later.

I didn't figure out yet why the 'AAPL,aux-power-connected' key is incorrectly set. I guess the Mac's EFI gets this information either from the vBIOS or some hardware value on the card.


Title: Re: Radeon Port Mapping
Post by: DrNWM on September 16, 2015, 09:49:14 PM
Okay, I've attached compressed EFI files (including a note to my dear ebay friends  ;)). They can be used as described in the HD 5xxx/6xxx tutorial thread.

Thanks for the ROM, I'll have a look at it later!
You say that you are using this card with Vervet: How many ports are working this way? I'd expect that max. 2 ports work (in best case). What happens when using it unflashed (=> RadeonFramebuffer)? On recent OSX versions I'd expect that this works better than flashing with Vervet...

Super Fl0r!an!  :)
Thanks for your basic researches and realisations.

With these attached EFI Parts of the 5870 card I managed it to let the apple logo appear.
(I my case 5870mod.efi.rom worked)
So a hugh thank you for sharing your knowledge!

And if you are searching for advanced infos about Radeon cards
perhaps this site can explain you some further details ...
http://www.rampagedev.com/?page_id=82&page=10 (http://www.rampagedev.com/?page_id=82&page=10)



Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 01:31:29 AM
Hello all,

first a big thumbs up for Florian - this is great work all the way!

I finally got my XFX 5870 Black Edition showing a boot screen on DVI (thanks to this thread), however it does this only if my DP monitor is not connected. I have 3 monitors (2xDVI / 1xDP) - and as soon as I connect the DP monitor I can't see the bootscreen anymore.

I guess my MAC PRO 5,1 (flashed 4,1) detects the DP monitor & wants to show the boot screen there, but it doesn't work for some reason. I also have a MAC PRO 3,1 and 2,1 - couldn't find the time to test it there...

So my question is: Can somebody help me? Any help is very much appreciated! The attachment is my original BIOS.

Maybe some words to my setting: As I mentioned it's flashed 4,1. I'm using Windows 10 on one Harddrive and El Capitan Public Beta on a separate hard drive (Windows 10 bay one and El Capitan bay two). When I connect my DP monitors ALL monitors have no signal (I think the signal indicator of the monitor who should display the boot screen is flickering for some milliseconds - which would indicate a signal..but it stay blank)
I tried all 5 ROMs from Florian (in post page one and four I believe - also the mod_2.efi.rom) - same results with all of them...

@Florian: Greetings from Hessen ;-)

BTW: I noticed that my PCI fan is working as you would expect (with Mac Pro 4,1 and 5,1 some (many) video cards trigger the PCI fan of the MAC PRO to run at full blast for 1 or 2 minutes) - this 'faulty' behaviour of the fan is gone - maybe we're up to something here. Could also be a big help for all the guys having problems with their PCI fans going crazy...

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 08:39:02 AM
Hey guys,

some (at least for me) confusing news:

Tested the card on my old MAC PRO 3,1 and everything works as expected!!! All monitors show signal and I get boot screen on one DVI. This machine is running OS X 10.10.5 only (no bootcamp whatsoever).

Removing the Windows 10 hard drive from my 4,1 doesn't do the trick - already tested it. So, could somebody explain this? Seems strange to me...

Just for info: A flashed GTX 680 and a original Apple 5870 showed a boot screen on my 4,1 machine (on the DP Monitor)...so this is no general problem of my 4,1...

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 20, 2015, 11:15:02 AM
Hi!

Thanks for your feedback!

Just to get this straight: On your 4,1, you don't get a DVI bootscreen when DP is connected. OS X is unaffected?
On your 3,1 this works?


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 11:38:20 AM
Hi Florian,

yes - exactly.

Situation is:
On 4,1 with only 2 DVI (Full HD) monitors -> one has boot screen and the other one is white (gets signal) -> so everything is ok. Booting into OS X also no problem (of course).

On 4,1 with two (or one) DVI AND(!) DP Monitor (1440p) -> all screens are black until OS X login screen. After login screen everything works.

On 3,1 EVEN WITH 2 DVI AND(!) the DP Monitor -> Bootscreen on one DVI, other DVI white (gets signal) and even the DP monitor white (gets signal). Of course booting into OS X also no problem.

Hope this helps...

BTW: All are Dell monitors, 2xP2314H 1xDell U2715H

I could also try a 5870 with the reference design (not the XFX design I'm using right now), if that would be of any help...

Monitors are connected:
The FullHd's: DVI single link
The 1440p: Display port (5870) to mini DP Port (monitor)

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 20, 2015, 12:00:08 PM
Okay... That's actually quite confusing...

Your explanation why it doesn't work in your 4,1 makes sense: The DP port has a higher priority in the order of ports in the EFI, so it'll try to display the bootscreen there if possible.
I don't have a clue why it works in your 3,1 though  ???

I'll make a modified EFI later/tomorrow with totally mismatched DisplayPort mapping, so the card (hopefully) won't try to display a bootscreen there.

Something totally different: Do you have a passive DisplayPort adapter at hand? Would like to know if you can see a bootscreen with passive DP connections...


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 02:29:00 PM
Hi Florian,

what I have was an DP to DVI adapter (Single Link). When I use it (setup: 5870->DP Adapter, DP Adapter->DVI, DVI -> Mini DP in monitor) I see nothing (black screen at boot, black screen in OSX). I thought it would be because of the single link vs. my monitor is 1440p. But I used also for one of my full-hd monitor (setup: 5870->DP Adapter, DP Adapter->DVI, DVI -> DVI in monitor) - but there is no signal at all. Seems to me, that with my adapter nothing is really working. Adapter is ok though - tested it on a Windows machine.

Its this adapter:
http://www.ebay.de/itm/7x-Original-Lenovo-p-n-43N9160-Displayport-auf-DVI-Adapter-DP-DVI-Neu-OVP-/321843808195?hash=item4aef62c7c3

Its strange, that even DP->Adapter->DVI on a full HD monitor doesn't work (not signal at all...also no signal in OSX)


BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 03:09:10 PM
I forgot: Thanks Florian for your offer! It's greatly appreciated...I will test it as soon as you are finished (but i'm out of town Monday to Thursday), so maybe just after that.

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 20, 2015, 09:11:28 PM
Ok, some news (no good news but at least some news :-)

I did some further testing this morning - with more or less no results - I gave up at noon & switched off my 4,1 (removed the power cord). Came back a few hours later and switched it on. Voila: Boot screen one DVI and all other screens worked as well. Now, I rebooted immediately - no luck. All screens black until OS X login screen. Switched it off again (multiple times), removed power cord for 5 minutes and so on..no luck at all. Since then I didn't got it to work again.

Then I connected my 3,1 & one thing I was noticing was that the 3,1 takes WAY LONGER to display the apple logo on the boot screen. I would say my 4,1 is almost at OS X login screen where my 3,1 is still not showing the apple logo. So, maybe we have a timing problem here? Seems like the 3,1 is initializing much slower - giving the DP monitor or the 5870 time to initialize itself?!? Would that make sense?

Also, I remembered some difficulties connecting my 3 monitors to the original Apple 5870 (not all combinations of connections are valid) - here is a link to the page:
https://support.apple.com/en-en/HT203389

My old setup (with the original Apple 5870) was:
5870'S mDP_1 -> mDP Dell 1440p
5870's mDP_2 -> single link DVI Dell 1080p
5870's DVI -> single link DVI Dell 1080p

Worked perfect throughout several months

Also a thing I encountered: Connecting the DP on the 5870 to the DP on my Dell 1440p does not work with the 3,1, ONLY 5870's DP to mDP on Dell 1440p work. Strange, though.

Hope this helps.

BTW: Does somebody know how to slow down the initialization process on a MAC 'before the Apple logo shows up'?. I do not necessarily want to pop in a low end CPU to make it slower  ;D

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 23, 2015, 08:51:48 PM
Oh that's really strange...  ???

I didn't have time so far to do the changes I have in mind, hope I'll manage to do this in the next days.


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 26, 2015, 10:46:22 AM
Thanks Florian!

New day - new tests - new news - and things starting to make sense :-)

On the 3,1 still same situation: Everything works as it should.

Now I have more detail of the behaviour of the 4,1. The 4,1 will disable boot screen if MAC was booted ONE time with DP 1440p Monitor connected.

Logic is following:

First start (boot with 2 DVI only) -> 4,1 will show boot screen on one DVI - other DVI will show up once OSX login screen is visible.
Second start (boot with 2 DVI AND DP) -> 4,1 will show boot screen one one DVI - other DVI and DP will show up once login screen is visible.
NOW HERE IT COMES:
Third start (still 2 DVI AND DP) -> NO BOOT SCREEN - ALL monitors black until OSX login screen (all other following boots with DP connected will not show a boot screen!!)
Fourth start (boot with 2 DVI only) -> Boot screen on one DVI - other will come up at OSX login (same as first start)
Fifth start (boot with 2 DVI AND DP) -> Boot screen AGAIN on one DVI - other DVI AND DP will come up on OSX login screen.


This means: If the 4,1 was booted ONE TIME with DP connected ALL following boots (cold/warm) will NOT show any boot screen UNLESS it was booted at least one time WITHOUT DP connected.
So you could say: Booting with DP disconnected will 'clean' something - after that boot screen is visible again (but just for one boot).

It seems to me, that OSX detects the DP as a valid boot screen output when it entered OSX & tries to use it on next boot (which doesn't work for some reason).

The MAC 3,1 however does not try to do this. But this maybe could also be due to different OSX versions (10.10.5 on 3,1 and 10.11.1 on 4,1).

Does this help?

If thats really the case disabling the DP as a valid boot screen output could really help in my case - looking forward to your modifications Florian! Thanks!

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 26, 2015, 01:04:02 PM
Did you ever try if a PRAM reset and/or changing the primary screen in OS X affects anything?


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 26, 2015, 01:30:53 PM
Hi Florian,

yes - PRAM and SMC I did - no success.

Everything I tried now:
- PRAM reset (hold P+R+ALT+Win (I have PC keyboard) until chime comes up 2nd time on boot up)
- SMC reset (disconnect power cable for 1 minute, plug power back in and wait 10 seconds until power on)
- Booting with DP monitor cable connected - but DP monitor power off (2 times in a row)
- Changing default monitor in OSX to one of the DVIs (moving the upper task bar to one of the DVIs)

so far nothing works - only boot up MAC with DP monitor cable physically disconnected for one time -> after that boot screen comes on one DVI for one startup.

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 26, 2015, 03:02:44 PM
ok, I think I'm pretty sure now.

This should be the situation: The 4,1 (think 5,1 is the same) MAC EFI remembers which monitor and output is available for displaying the boot screen once it booted. In my case (and I guess in any other case) I will select the monitor with the highest resolution available as default. The problem is: This monitor in my case can't display the boot screen - so I do not see the boot screen on the 2nd boot (or beyond).

The MAC 3,1 EFI however doesn't have this functionality - so that it will always show the boot screen on a fixed(!) output (regardless on the resolution of the monitors attached).

This corresponds also to the situation if I use my flashed GTX 680 with my 3 screen setup - boot screen will automatically appear on my 1440p monitor - regardless what I do in MAC OSX or wherever.

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 26, 2015, 04:29:34 PM
Really strange stuff  ???

I was under the impression that the priority of output ports was hardcoded in the GPUs EFI; but that wouldn't explain the difference between 3,1 and 4,1  ??? So maybe you're right... I've PM'ed you a new file for testing (don't want to but more half-functional stuff into this thread). Good luck!  :)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 27, 2015, 07:13:13 PM
Hehe, I've just discovered completely opposing behavior on my HD 7870 in my MP3,1: This card should behave like the 5870, showing bootscreens on DVI and DP with passive adapters.

So I put it in my MacPro connecting a display with DVI and another one with active DP. On the first cold boot no boot screen appeared, and all following boots showed it on the DVI port  ???


Title: Re: Radeon Port Mapping
Post by: mgaa80 on September 27, 2015, 07:51:25 PM
OK guys - news from the 'testmaster'  ;D

@Florian: As I already wrote to you: Your new EFI will behave on MAC 4,1 like before (only boot screen on DVI if no DP was connected before) BUT it will disable DP completely on MAC PRO 3,1 (monitor not detected from MAC/OSX at all). PRAM reset does not change the situation whatsoever.

I have bought a Sapphire Vapor-X now to make better testing - what I recognised was that -despite the fact that the port layout on the back of my 2 5870 cards were completely identical - the Vapour-X shows boot screen on my right DVI monitor and the XFX shows boot screen on my left DVI monitor (this may be due to the fact that the XFX has the 'old' EFI from Florian and the Sapphire has the 'new' EFI from Florian) - but I thought I mention it...

So far I do not really have an idea how to proceed. Maybe we need to find out how the logic is reg. which monitor or VGA port will be used to display boot screen. Maybe it depends on the VGA cards internal priority one port - or its the screen resolution - or whatever.

I have ordered a DP to DVI cable now - and will do some more tests with it.

Anybody some other ideas so far?

BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on September 28, 2015, 08:17:11 AM
Yep I saw your PM...  :-\

I guess the problem is, that the sense id (which I can't change as of today) is correct, so the GPU is somehow seeing the connected display which disables DVI output.
From my current knowledge I can't change this behavior...


Title: Re: Radeon Port Mapping
Post by: Rominator on September 29, 2015, 06:03:03 AM
With XFX 5870, best results will come from later cards.

Center fan with version number of 1.3 or 1.5 or 1.6


Title: Re: Radeon Port Mapping
Post by: mgaa80 on October 07, 2015, 08:55:57 PM
Hi Guys,

just some news from me.

@Rominator - i have a XFX Version 1.4...guess it had a center fan - the time I bought it it had an aftermarket cooler on. But I'm pretty sure its the one with center fan.

I did some test with Florian's OLD ROMs (not the new one he sent me).
I did some test on a MAC PRO 2,1 (flashed 1,1) and thinks work perfectly fine there (same as 3,1) - still no luck on my 4,1 (flashed to 5,1).

I bought a DP to Dual-Link DVI cable. Tested following setup on my 4,1: 2xFullHD monitors on the DVI ports (DVI->DVI) and one FullHD monitor on DP port (DP->DVI via dual link adapter). The monitor connected via DP stays completely dead.


So far I draw the following conclusion:


MAC PRO 1,1/2,1/3,1:
Perfect support of 3 monitors in parallel (but tested only 2xDVI and DP connection - how HDMI would behave currently unknown to me) - boot screen on one DVI

MAC PRO 4,1(and I guess 5,1 also):
Perfect support of 2 monitors connected via 2xDVI -> boot screen on one DVI

No boot screen support if one monitor is connected via DP. (But: Disconnecting DP monitor on boot and reconnecting it in next boot will bring up boot screen one time)

@Florian: Do you have any idea left? So far I would say support of MAC PRO 4,1/5,1 is limited to 2 screens (maybe 3 if you use 2xDVI and 1x HDMI).

Does anybody have the ability to verify my tests? Maybe on a 4,1 or a 5,1 that isn't flashed? Maybe the flashing from 4,1 to 5,1 has an effect on the behavior...


BR,
Matthias


Title: Re: Radeon Port Mapping
Post by: Rominator on October 08, 2015, 02:45:04 AM
Testing on DP via a DVI adapter tells nothing about DP. They are 2 completely separate signal present in same cable.

The DP to Dual Link adapter with USB, is that what you have?



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 08, 2015, 10:12:57 AM
Active DP -> DVI should behave similar to native DP devices, especially DualLink-DVI since the TMDS signal inside DisplayPort is limited to SingleLink.

I'm pretty sure using a passive DP adapter in combination with my old ROM (first page of this thread) should give a boot screen. Never verified that because I don't have any full size passive DP adapters.


Title: Re: Radeon Port Mapping
Post by: j-man on October 23, 2015, 06:57:31 PM
Hi Florian, Rominator and all you guys. First let me thank you for your awesome work, you did wonders for the Mac community.

I wouldn't be able to program a line even to save my life: I'm just an old and experienced Mac user (since 1987), but I'm still willing to learn...

Following Jeanlain's guide (thanks to him as well) I've been able to flash an ATI 5770 (2 DVI ports) that I bought to replace my dying GeForce8800 GT, but of course I couldn't get the boot screen. Then I read this post, and after some hard time trying to understand the basics (I don't want to be spoon-fed, as Rominator wrote somewhere else...) I've been able to flash my card with the Florian modded EFI. Now it's quite perfect, with boot screen on the first DVI port, and I'm really happy... Thanks a lot!

After the good news, there come the bad ones... I tried to do the same with another card, an Asus 5770 (1 DVI, 1 VGA and 1 HDMI) that I was planning to give to a friend for his Mac Pro 1,1 (same as mine), but I couldn't go past the first step: after pasting in Terminal's bash window the 5770 script, I get this line: "dd: bs must be between 1 and 9223372036854775807". Searching through the forum I found some answers... but I already checked that I put the files in my home directory, the ROM has 2 MCUC instances, and there are no permission issues (as far as I know, of course).

Attached here are the ATI card ROMs, original and modded, and the Asus ROM. Thank you so much once again.


Title: Re: Radeon Port Mapping
Post by: j-man on October 23, 2015, 07:10:18 PM
I forgot to mention... Mac Pro 1,1 with 12 Gb RAM, Yosemite 10.10.5


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 23, 2015, 09:03:01 PM
The calculated size is negative, try
Code:
size=$((-$blocknum * 512))

Had a short look at your ROM, I think HDMI won't work after flashing. Bootscreen & OS X should work on DVI, maybe also on VGA.


Title: Re: Radeon Port Mapping
Post by: j-man on October 23, 2015, 10:53:00 PM
Done. Now the script works, but the resulting ROM file has only one MCUC...  :(
I'll try to make room for it, as explained in the guide.
Thanks a lot, Florian.


Title: Re: Radeon Port Mapping
Post by: j-man on October 23, 2015, 11:45:50 PM
Hmm. It seems to work, but there's something weird happening.

I flashed the Asus card with the newly obtained ROM (attached here) and I connected a DVI and a VGA monitor. The VGA showed just the boot screen,  then became inactive: the DVI was dark on booting and started to display the desktop after a brief blink of the loading bar.

Then I disconnected the VGA monitor and restarted with the DVI only: same behavior, no boot screen.

I can try to connect my 22" Samsung TV to the HDMI, but I don't have a spare cable at hand. As soon as I find it, I'll try.

EDIT: I found the cable and connected the HDMI TV. As you expected, nothing happened, even after a PRAM reset. For a further check, I switched  the video cards and tested my ATI/Sapphire 5770 with both DVI monitors and the HDMI TV: everything worked. I don't have a MDP device or adapter, I couldn't check that port.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 24, 2015, 10:54:04 AM
Right, I'm sorry, forgot that the reference 5770 only shows boot screen on one of the DVIs.
Your Asus card has only the non-functional one, so boot screen only through VGA, sorry.


Title: Re: Radeon Port Mapping
Post by: j-man on October 24, 2015, 11:37:36 AM
Ok, the boot screen on VGA would be just fine, as long as the monitor keeps on working once OS is loaded. But now after the boot the VGA switches off ("no signal" on the display), at the same time the DVI starts displaying the desktop. From then on, only DVI works: no VGA, no HDMI.

Sorry to bother you, Florian. I read somewhere that Asus cards could be a pain in the a**  >:( But I thought that with your invaluable help we could sort it out.

EDIT: I just connected the VGA monitor to the DVI port, using the Apple adapter: everything worked, including the boot screen.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 26, 2015, 09:30:11 PM
Right, I read over the VGA issue. Does it work if the card is unflashed? I guess the problem is that OS X tries to initialize that port as DVI-I port (combined digital & analog), fails doing so and then disables it. I'll have a look if there's a different, better matching framebuffer.

Short update on other things: I had the chance to take a look at a FirePro W7000 (dev id is in the drivers, so it works fine unflashed). With its 4DPs it would be a nice card for people who just want to drive lots of 4K displays. Sadly the port mapping is very different from 7950 EFI: From my current knowledge I won't be able to do better than enable boot screens on passive connections, so I didn't bother investigating it further.


Title: Re: Radeon Port Mapping
Post by: j-man on October 27, 2015, 01:17:42 AM
Quote
Right, I read over the VGA issue. Does it work if the card is unflashed?
I just flashed the old PC ROM back and rebooted with three monitors connected. Please note that, while loading DOS, VGA was on... after the boot it switched off and DVI kicked in. With the PC firmware there's no boot screen of course, but HDMI and DVI are working, while VGA is off.
Quote
I guess the problem is that OS X tries to initialize that port as DVI-I port (combined digital & analog), fails doing so and then disables it. I'll have a look if there's a different, better matching framebuffer.
Thanks a lot Florian, but don't waste much time: I better get rid of that Asus card. There's no point in getting a 3-port card if only two are working, in the best possible scenario. As you wrote, there are little chances to get HDMI working under OS X: the previous owner told me he was able to use all ports on his PC, so it's better to give it away. Unless you can do your magic, of course...
By the way, there's nothing wrong selling the card through eBay if there's no Mac firmware on it, correct?  ;)
I'll need to find other video cards for some fellow Mac Pro 1,1 users. After a full success flashing the Sapphire 5770 and a failure with the Asus EAH-5770 CuCore, I'll look for a 5870: I read it's a good match for old Mac Pros. Anybody could report other boards are working as well on 1,1?
Thanks in advance, guys: your work is priceless.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 27, 2015, 10:34:40 AM
If the 1,1 has been upgraded to a more recent OS (10.8.3+), flashable HD 7xxx/R9 will also work.
There are no 32bit drivers for these cards though, thus the requirement of Mountain Lion or above.


Title: Re: Radeon Port Mapping
Post by: j-man on October 27, 2015, 12:54:43 PM
Yes, my 1,1 runs Yosemite (EFI replacement method). It's a pity those boards are quite expensive, I'd be willing to try.



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on October 27, 2015, 01:10:05 PM
A HD 7870 with reference port layout should be available for less than $100. Gives bootscreen on DVI as well as passive DisplayPort adapters, OS X on all ports...  :)


Title: Re: Radeon Port Mapping
Post by: j-man on October 27, 2015, 01:42:32 PM
Thanks for the hint, Florian. I've been looking for it but didn't find a good deal yet... Here in Italy they are definitely high priced, over 100 euros.
5770s are the best deals I found so far: I'll keep searching anyway, I need 4 or 5 cards to flash.


Title: Re: Radeon Port Mapping
Post by: j-man on November 01, 2015, 04:33:43 PM
Hello guys. I just got an ATI 6870: it works on my MP1,1 Yosemite under the "ATI Radeon HD NI40" disguised identity  ;) No boot screen of course, but both DVI displays are working.
I extracted the ROM file (BTW, it was the first time I saw DOS appear on both screens...) and tried to paste Florian's EFI, but I got the dreaded line "dd: bs must be between 1 and 9223372036854775807".
I made a second try with 6870.efi.rom attached to Jeanlain's original post, with the same results.

Then I read on Jeanlain's post: "Notice: the 6870/6850 ROMs are designed for 64-bit EFI Mac Pros (e.g. 2008+). Work in progress (by Netkas), so be warned".
That means I can't flash the 6870 with my EFI32 Mac Pro 1,1? Or I'm just confusing things up?
Attached here is the 6870 ROM file.


Title: Re: Radeon Port Mapping
Post by: j-man on November 01, 2015, 09:06:38 PM
UPDATE: I applied the trick Florian suggested in reply #193
The calculated size is negative, try
Code:
size=$((-$blocknum * 512))
The modified script worked, as well as the oprom check. I flashed the board, but while rebooting in Yosemite I didn't see the Apple logo: the board was then identified as "AMD Radeon HD 6xxx".
I restarted with SL, again without boot screen. The board was identified as "ATI Radeon HD NI40", as it was before flashing.
Another weird thing: when I connect my HDMI Samsung tv, the second DVI display goes black. It comes back when I disconnect HDMI...
Attached here is the modded (maybe not so much...) ROM file.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 01, 2015, 10:32:38 PM
Exactly, 6870 is 64bit-only, so no bootscreens on MP1,1.
There is a EBC EFI which would work on the 1,1 too, but this doesn't give any bootscreens on any ports, so...


Title: Re: Radeon Port Mapping
Post by: j-man on November 02, 2015, 12:25:56 AM
Just to confirm if I understood well: the card has been flashed correctly, but the boot screen will only appear when used on a MP 4,1 or later. Right?

That wouldn't be a problem, since I chose to keep my 5770 anyway. This 6870 will fit much better in another, more recent MP.

Thanks once more.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 02, 2015, 09:10:21 AM
MP3,1 is 64bit, too. I guess it was properly flashed, but I'd confirm that in a 64bit MP.


Title: Re: Radeon Port Mapping
Post by: j-man on November 04, 2015, 09:56:32 PM
A friend of mine wants my 6870 to replace the GeForce GT120 inside his MP 4,1. Soon we'll find if the card was flashed properly...


Title: Re: Radeon Port Mapping
Post by: j-man on November 10, 2015, 10:02:09 PM
Hi, I got some news. I've found a good deal for a Mac Pro 5,1 and I couldn't resist...

I took off the Nvidia GT120 and put the flashed 6870 in, but something quite unexpected happened: I got the boot screen on one DVI display, but the other one was off during and after the boot... I swapped the displays and noticed that one of the DVI outputs wasn't working, although in my old 1,1 both did.

Then I flashed back the original PC ROM and both displays switched on. Still, when I connect the HDMI TV the second DVI goes off.

EDIT I carefully re-read the topic's first page. Sorry, Florian, I didn't get that your 6870 got same issues as mine (in fact they share the same port configuration). I thought you managed to fix it somehow, since you attached an EFI file... then I read it was just for testing.

So far I got better results with PC firmware: at least both DVI ports worked on both Mac Pros. Guess I chose another wrong card... or did I miss something - again ?


Title: Re: Radeon Port Mapping
Post by: j-man on November 10, 2015, 10:18:51 PM
For the record, I tested the flashed Sapphire 5770 on the new Mac Pro 5,1: it works as good as it did on the old MP 1,1. Both DVI ports are working, and HDMI works too, although it's just duplicating the first DVI path.

At least I got a good one...


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 12, 2015, 03:26:41 PM
@6870: The non-reference 6870 has no matching framebuffer, so you can't do much about it. It would be possible to disable ioreg injection in the EFI, thus making a "hybrid" ROM which gives boot screens & runs as PC card in OS X. Never bothered to make one though.

@5770: Did you use all 3 legacy ports (2x DVI, HDMI) at the same time? In this case it's normal behavior, most AMD cards need DisplayPort devices (or active DP adapters) for 3 or more independent screen (=> AMD Eyefinity).


Title: Re: Radeon Port Mapping
Post by: j-man on November 12, 2015, 03:42:22 PM
@6870: guess I'll get rid of it. It's a pity, but there's no reason to waste precious time with it.

@5770: in my home studio there are two DVI Philips displays connected to the card. I just wanted to check the HDMI port with my TV, for testing purpose. But I believe your hint will be useful for a friend of mine that actually needs to work with three displays in his studio.


Title: Re: Radeon Port Mapping : XFX non-ref HD 5770 huge success !
Post by: SMIKX on November 15, 2015, 02:28:00 PM
EDIT : I removed my prior post as when I was testing the card I didn't have time to test both DVI ports.

@SMIKX: Shouldn't be a problem to flash your 5870 with the EFI from this thread, just do it!  :)

Thank Fl0r!an, I took the plunge and flashed a non-ref  XFX Radeon HD 5770 using your EFI and the pic below shows how much of a success it was. Wish I'd found the time earlier to do this. I can put away my DVI-VGA adaptor now. I'd just about given up on being able to see boot screens in HDMI. Wonderful !

Next up my MSI non-ref 5770 1Gb and an overclocked  reference Vapor-X 5870 1 Gb.

Many thanks for your pioneering work, patience with fools and enthusiam you have extended the life of and rejuvenated so many of our aging MP's  :D


Title: Vapor-X 5870 Success ! DVI - HDMI EFI boot screen working. Thanks to Fl0r!an
Post by: SMIKX on November 21, 2015, 07:36:16 PM
Tonight after 6 long hours, one bricked and then recovered card I finally saw EFI boot screens on my Vapor-X (factory O/C) Sapphire HD 5870 1Gb

My monitor is a Samsung SMS23A350H which only has 1 X HDMI and 1 X VGA port .. odd that is has VGA yet no DVI.

HDMI EFI boot screen = I use a DVI to HDMI cable. from the TOP DVI socket on the HD 5870. Perfect resolution Apple icons at boot up time.

DVI EFI boot screen = I have a very old Hyundai Image Quest monitor with DVI & VGA. From 5870 top port again, perfect res Apple boot icons.

I now have 2 cards that boot EFI screens as above  . . .

( 1 ) XFX HD 5770 2 X DVI + 1 X mini display port ( no cable for the mini DP )

( 2 ) The above Vapor-X Sapphire HD 5870 ( great card with external heat venting ).

My heartfelt thanks to Fl0r!an he has enabled my 2,1 Mac Pro to have a few more years of productive and enjoyable life.

For those who are still scared to flash. . it is not that hard . .all the instructions are HERE http://forum.netkas.org/index.php/topic,692.0.html

You will just need to get "fixrom.py" for the last step.

I used this Fl0r!an EFI part :


Title: Re: Radeon Port Mapping
Post by: brockbackups on November 22, 2015, 07:14:44 PM
Any updates to making the Sapphire Vapor X 8Gb 290X work in 10.11 with multi monitor?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 23, 2015, 09:07:56 AM
@SMIKX: Glad it worked for you! :)

@brockbackups: From what I'm reading on hackintosh boards, the drivers are still crappy, but I don't have any Hawaii cards, so I can't answer that for sure.


Title: Re: Radeon Port Mapping
Post by: SMIKX on November 23, 2015, 10:18:47 AM
@SMIKX: Glad it worked for you! :)

 . .you're glad for me   but I'm "over the moon " Happy ! Really, Thank You so much for your hard work on our behalf.

===========================

PS : The "5870_2.efi.rom " on page 6 'may' have been the one that bricked my Vapro-X 5870 ( got it back OK )  .. did you get round to fixing the "20 bytes" mentioned by Bunga Bunga in the next post ?

If not, may I suggest either removing it from that post or replacing it with another proven efi file ?

============================

I was able to unbrick the 5870 by booting into Win 7 with a 5770 in PCI slot 1 and the 5870 in top slot 4 and then re-force-flashing it. I powered the 5770 from a Molex = 6 pin cable which runs from my MP's DVD drive bay to the PCI area of the MP motherboard. Other users who don't have a spare PC might have problems powering two cards with only 2 X 6 in cables.

I have a 2.4 mm Molex pin removing tool . .makes making cables much easier..



Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 23, 2015, 11:19:42 AM
Yeah that could have been the cause. I'll clean up this thread and remove some junk when I find some time to do so... :)


Title: Re: Radeon Port Mapping
Post by: brockbackups on November 23, 2015, 07:12:36 PM
@brockbackups: From what I'm reading on hackintosh boards, the drivers are still crappy, but I don't have any Hawaii cards, so I can't answer that for sure.
Anything I can do to help with the process?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on November 23, 2015, 07:48:07 PM
As long as Apple doesn't sell any Macs with Hawaii graphics (which is rather unlikely considering the TDP) they don't have any reason to provide stable drivers, so sadly nobody can do anything...


Title: HIS HD 5870 1gb DDR5
Post by: SMIKX on December 03, 2015, 06:49:03 AM
EDIT : Flashed it tonight with Fl0r!an's 5870mod2.efi.rom. Another success ! Thank You Fl0r!an !

Have EFI bootscreen using DVI - HDMI cable from top DVI port - don't have time tonight to test the lower port.  
( my Samsung monitor does not have a DVI or Display Port  - only has VGA + HDMI)

I am presuming that I will get EFI bootscreen using DVI  to VGA adaptor to VGA on the monitor as I did with the Vapor-X HD 5870.

I will be buying a new monitor this month with DVI + Display Port + HDMI for more indepth testing.

===================================================================

Today I picked up a HIS HD5870 1 Gb ( iCoolerV ) ( H587FN1GD ) here in Japan for ¥5,000,  in absolutely mint condition.  Still has the protective film on the cooler casing.

Looks to be an ATI/AMD reference card. Also seems to be EyeInfinity.

2 X DVI   1 X HDMI  1 X Display Port.

Power 2 X 6 pin.

Japanese people seem to upgrade every year. This card was ¥7.000 last week.

Anything I should know about this card prior to flashing ?

Thanks in advance.


Title: Re: Radeon Port Mapping
Post by: bmac on December 11, 2015, 12:02:41 AM
Hello, I have a XFX Radeon 7850 that I was given by a friend, and I am using it for both OS X and Windows 10 on a 2008 Mac Pro.  I have patched the 7950 EFI portion to the ROM, and things are actually working just fine.  Only thing is though is that while Windows works on all ports, OS X and boot graphics only work on one of the DVI ports.  So clearly the ROM mapping isn't right.  I tried reading through here, but I'm not sure I completely understand, so hopefully someone can help me with this.  Here's a zip containing the original ROM, and the ROM with the EFI stuff added.  I'll be glad to assist in any way possible.  I just wanted to put this card to good use.

http://www.mediafire.com/download/7p6tq5p9m0eywv8/7850_Stuff.zip


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 11, 2015, 06:11:56 PM
Use the 7870 EFI from this thread (a few pages back I guess). It'll enable both mDP, HDMI and 1 DVI in OS X (2nd DVI will remain dead). Bootscreen should come up on 1 DVI.


Title: Re: Radeon Port Mapping
Post by: bmac on December 11, 2015, 10:48:41 PM
I took the 7870 ROM file and tried to make a ROM to use, but while Windows still works, now boot graphics come up on nothing, and neither does OS X on anything.  Hmm.

Brandons-Mac-Pro:~ brandon$ ./makerom.sh --efifile=7870MOD.efi --romfile=efiromheader.rom --originalrom=Pitcairn.rom --devid=6819

Did I do this wrong?

EDIT:  Tried just putting the compressed EFI data where it is supposed to be then ran fixrom.  It still has no video on the 7850 card of mine.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 12, 2015, 04:00:40 PM
I think you just tried to run the script on an already compressed EFI file instead of a uncompressed one (don't remember which one I uploaded here). EFI can't be used without modification because of dev id mismatch.
I'll look into it tomorrow if you can't fix it yourself.


Title: Re: Radeon Port Mapping
Post by: bmac on December 13, 2015, 10:06:55 PM
Yea I haven't been able to get it to work.  I couldn't figure out how to decompress the EFI so I could use the script on it as that is what I was used to, I searched through multiple pages of the thread for examples on how people were even putting it together.

Any help would be much appreciated.  I only use one monitor, 27" Apple LED Cinema Display, so mini display port booting would be fantastic.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 14, 2015, 09:02:50 PM
From my current knowledge a boot screen on mDP is a no-go on your card. I can help you with a DVI bootscreen though.


Title: Re: Radeon Port Mapping
Post by: bmac on December 14, 2015, 09:08:11 PM
That stinks. I only really have a monitor on my desk with miniDP. I'll take the help though, better than nothing after boot. I was gonna go tri monitor soon so it won't matter for long anyway.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 15, 2015, 09:55:43 PM
Okay, I've attached the 7870 EFI with 7850 device ID to your original ROM.

Good luck! :)


Title: Re: Radeon Port Mapping
Post by: bmac on December 15, 2015, 10:51:37 PM
Thank's, I'll try it right now.  I got all the time now to test this out since just loosing my job, lol so I got time, beer, and a 7850 I look forward to using in OS X.  :)


Title: Re: Radeon Port Mapping
Post by: bmac on December 15, 2015, 11:20:24 PM
Seems to work, but I really wonder why the 7850 won't work for bootscreens on miniDP.    I am trying a DVI to miniDP adapter, and that seems to get me a boot screen on the cinema display and OS X works fine, but oddly Windows 10 won't work with it (just like the adapter didn't work with the 4870 either on DVI to miniDP).  Linux on this adapter works fine on the same card, and the same DVI port.  So I blame ATI drivers honestly.,


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 16, 2015, 09:26:25 AM
Cool :)

The technical description is somewhere on the last 16 pages... ;)
In short: The port mapping (= physical connection of the DP/DVI/HDMI ports to the GPU chip) differs between HD 7770/7850/7870/7950/7970. The only available EFI matches the reference 7950, others only match partly (e.g. your 7850).
In OS X things are handled differently, so you have all ports working but boot screen only on DVI.

Btw, can you verify if passive DP adapters give boot screen?


Title: Re: Radeon Port Mapping
Post by: bmac on December 16, 2015, 02:23:32 PM
I used an Atlona AT-DP400 dvi to minidisplay port adapter and that does give me bootscreen on a cinema display. I don't know if its passive though, doesnt seem like it since it requires power. But it won't work on windows 10, not even an official 4870, but does on Linux and OS X. So either way I still have to do a cable swap. I did hook up a second monitor with the adapter plugged in and found windows 10 maxes out at 1080p, so that's why I think windows 10 has issues with dual link dvi or something.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 16, 2015, 06:55:48 PM
No, I meant the other way around: mDP-Port on your card -> passive adapter -> DVI or HDMI port on display. Those should work, too, but are limited to 1080p resolution.


Title: Re: Radeon Port Mapping
Post by: bmac on December 16, 2015, 07:23:00 PM
Oh that I wouldn't know. Sadly I dont have an adapter that way around.


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 17, 2015, 12:39:31 PM
On HD7850 with 2x DVI + HDMI + DP you have to use Futomaki framebuffer to get a boot screen via lower DVI and DP, HDMI and upper DVI does not work.

On HD7850 with DVI, HDMI + 2x mDP you have to use Hamachi framebuffer to get a boot screen via DVI and both mDP. HDMI does not work.

If using 2x HD7850 at the same time, you've got 32 OpenCL cores with a LuxMark 2,1 score of 2553 points.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 17, 2015, 01:03:14 PM
That's wrong, the framebuffer doesn't matter at all for boot screen.

mDP will most likely only give boot screen on legacy TMDS connections, not through true DisplayPort. Better double check what you're selling at ebay  ;)
Oh, and while you're at it, better check OS X behavior (hint: hot plugging ability on all ports and true DP support) of your Hamachi-flashed Pitcairn cards.


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 17, 2015, 05:15:38 PM
That's wrong, the framebuffer doesn't matter at all for boot screen.

mDP will most likely only give boot screen on legacy TMDS connections, not through true DisplayPort. Better double check what you're selling at ebay  ;)
Oh, and while you're at it, better check OS X behavior (hint: hot plugging ability on all ports and true DP support) of your Hamachi-flashed Pitcairn cards.

Hotplugging works both on Futumaki (DP) and Hamachi (mDP) - tested via Apple mDP to DVI and DP to DVI. I will test true DP support soon.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 18, 2015, 11:36:24 AM
Yep, legacy TMDS connections via passive adapters don't need a correct HP ID to work. Native DP does though.


Title: Re: Radeon Port Mapping
Post by: Canizes on December 18, 2015, 12:39:52 PM
Wanna bet when the first 5870 with boot screen appears on ebay?  ;D

Two days! ;D http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815 (http://www.ebay.de/itm/ATI-RADEON-HD-5870-1GB-all-Apple-Mac-Pro-Graphics-Card-Upgrade-DVI-Bootscreen-/231549175829?pt=LH_DefaultDomain_77&hash=item35e9680815)

Why waste time on testing and further improving the ROM (or at least giving some feedback in this thread) if you could also sell some totally overpriced beta-stuff in the mean time? His nick says everything I guess  ;D Macbitch, du bist ein jämmerliches Stück Scheiße!

Back to topic: I've bought a cheap PC 5770 on ebay to do some testing myself, modifications should be quite much the same. I'll see if I can do something about the other digital ports.

@ iHack13: MacPro is required since this is all about EFI here...

Yeah . I noticed this guy selling 5770s with no bootscreen for 100 to 150 euros. I wonder who he is.



Mac-Bitch is a user here in the forum.
its the same person???


Title: Re: Radeon Port Mapping
Post by: Canizes on December 18, 2015, 11:08:51 PM
Ok o have flashed my Radeon HD 5870 vapor-x

The PCI conection Speed is 2.5gt's On my Mac Pro 3.1

What i have to do ?
Regards


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 20, 2015, 07:43:57 PM
Ok o have flashed my Radeon HD 5870 vapor-x

The PCI conection Speed is 2.5gt's On my Mac Pro 3.1

What i have to do ?
Regards

It needs hardware modding to get 5.0 GT/s link.


Title: Re: Radeon Port Mapping
Post by: bmac on December 20, 2015, 08:07:20 PM
On my XFX Radeon 7850 I was trying to see if this mod can be done too, but I can't imagine the silkscreen being the same as older cards, so I haven't found anything else yet on it for my card at least.


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 21, 2015, 11:34:29 AM
On my XFX Radeon 7850 I was trying to see if this mod can be done too, but I can't imagine the silkscreen being the same as older cards, so I haven't found anything else yet on it for my card at least.

It's something different, but nobody knows which one is the proper one (nothing to compare with).


Title: Re: Radeon Port Mapping
Post by: Rominator on December 22, 2015, 11:02:29 AM
I have found it on every Pitcairn 7870 I looked on.

The Tahiti LE one was only one I had trouble with.

Pretty sure I saw someone on Ebay selling them with this mod. I only shared it with 2 people I actually trust so likely that someone else found it too.

Have to be careful that the slimeballs at Create Pro (Phil Goldsmith et al) don't get ahold of it.

I can find it for people, but you have to send me the card, and it won't be easy or quick. (not free)


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 22, 2015, 12:31:58 PM
Have to be careful that the slimeballs at Create Pro (Phil Goldsmith et al) don't get ahold of it.

I know, these guys are really horrible. I've sent you a PM. We would like to be your EU partner.


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 22, 2015, 12:32:35 PM
I have found it on every Pitcairn 7870 I looked on.

How about HD7850 or R9 270X ?


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 22, 2015, 05:28:03 PM
Spacedust, did you test DP behavior of your 7850/7870 in the meantime?


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 22, 2015, 07:22:16 PM
Spacedust, did you test DP behavior of your 7850/7870 in the meantime?

I'm waiting for a new 4K display: http://aoc-europe.com/pl/products/u2477pwq with all ports


Title: Re: Radeon Port Mapping
Post by: bmac on December 22, 2015, 09:59:21 PM
I'm not sending my video card to anyone to find some resistors.  I can get high quality pictures of the traces, I can scope out parts of the board with my oscilloscope if you want me to, but I am not paying someone to take my card and work on it.  I'd rather work on it myself then, and share the knowledge for free on what to look for, how to find it, and things like that.


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 22, 2015, 11:26:51 PM
I'm not sending my video card to anyone to find some resistors.  I can get high quality pictures of the traces, I can scope out parts of the board with my oscilloscope if you want me to, but I am not paying someone to take my card and work on it.  I'd rather work on it myself then, and share the knowledge for free on what to look for, how to find it, and things like that.

At least we need to know if there must be some resistor added or removed or moved like on HD4870 ;)


Title: Re: Radeon Port Mapping
Post by: Rominator on December 22, 2015, 11:56:02 PM
I'm not sending my video card to anyone to find some resistors.  I can get high quality pictures of the traces, I can scope out parts of the board with my oscilloscope if you want me to, but I am not paying someone to take my card and work on it.  I'd rather work on it myself then, and share the knowledge for free on what to look for, how to find it, and things like that.

Knock yourself out.

Isn't it funny how often the people who demand that the beer should be shared, are the very same people who showed up at the party without any?


Title: Re: Radeon Port Mapping
Post by: bmac on December 23, 2015, 09:09:02 AM
I'm not sending my video card to anyone to find some resistors.  I can get high quality pictures of the traces, I can scope out parts of the board with my oscilloscope if you want me to, but I am not paying someone to take my card and work on it.  I'd rather work on it myself then, and share the knowledge for free on what to look for, how to find it, and things like that.

Knock yourself out.

Isn't it funny how often the people who demand that the beer should be shared, are the very same people who showed up at the party without any?
That's not how this works.  Anyone can come and share, or learn something and share later when they can.  Basically, everyone should share, for the best of any modding community.

PS, I'm a hardware person, not a software person.  Doing enough electronics engineering can give me that edge.  Your insults won't distract me from sharing any gained knowledge, but it will tick me off that any member of the modding community would keep something for personal financial gain.  Instead what you know you could share, on how to find these things, rather than just say "send me the card, it won't be for free though".  Isn't there an old saying, or song, oh yes, knowledge is power!

Have a great day.  :)


Title: Re: Radeon Port Mapping
Post by: Rominator on December 24, 2015, 05:45:07 AM
I have more than done my part for the Mac world. What I give away and what I sell is up to me.

AT this point there are THOUSANDS of EFI flashed Mac cards that N & I wrote the roms for. Most of those we didn't get paid a nickel for.

When someone has handed out as much as I have then they can call me a cheapskate, or whatever. Until then I'm not interested in criticism.

I doubt very much that someone else will figure out 5.0 resistor on other cards. I have found it on R9 290X as well as 7770 and 7870. Different on every card so I can't just say "Grab R17 and yank it"

The sad thing is, the community as a whole got lazy. A guy named "Fouel" used to post at MR and started a thread where he handed out all the 5.0 secrets. But he never went to the bother of figuring it out the hard way, he would just order an MVC card, compare it or it's rom to the stock one and see what had changed. Easy enough to find a single resistor moved or byte changed when you do it that way. But then you never learn anything, nor gain the problem solving skills to find it on next card. Instead it's "wait til MVC sells one, buy it and see how he did it".

Problem is I have never bothered selling R9 290X or 7770 or 7870. I've kind of been waiting to see if anyone else can figure it out.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on December 24, 2015, 11:55:57 AM
I think it would be a quite obvious approach to give away what you don't use yourself and keep what you're making money with.
Personally I think it's a little sad to figure something out (with a lot of effort!) without using it afterwards (either free or commercial).

But in the end it's obviously everyones personal decision.  :)


Title: Re: Radeon Port Mapping
Post by: Rominator on December 27, 2015, 06:48:33 AM
I think it would be a quite obvious approach to give away what you don't use yourself and keep what you're making money with.
Personally I think it's a little sad to figure something out (with a lot of effort!) without using it afterwards (either free or commercial).

But in the end it's obviously everyones personal decision.  :)

OK, I've gotten really sick of seeing stuff I found associated with a name not mine.

Would anyone else like to claim finding this resistor on  R9 290X (Hawaii)?

I will dig up a screenshot or two and post here of them running at 5.0

IN a week or so I'll post up a shot or two of the resistors, at least on the card I have. Trust me, different on every different design.

Will probably put them up on MVC.com


Title: Re: Radeon Port Mapping
Post by: Spacedust on December 27, 2015, 06:15:51 PM
Would anyone else like to claim finding this resistor on  R9 290X (Hawaii)?

The TDP is 290W, so external power supply is the only option ;)

R9 390 isn't better in this field - TDP 275W.

AMD seems to have it's own "Fermi" case now ;)

(http://media.bestofmicro.com/O/6/243222/original/egg_cooking.jpg)


Title: Re: Radeon Port Mapping
Post by: SMIKX on December 29, 2015, 10:12:57 PM
On a lighter note . . . .
I am an Aussie living in Japan. Yesterday I bought an early 2009 MB535J/A Mac Pro Dual Quad core 2.93GHz with 12 Gig of ECC ram & 2 X 640 Gb hard drives. It will be delivered tomorrow morning and will replace my aging 2007 Dual Quad 3Ghz MP.

Thanks to Fl0r!an I'll be able to replace the installed ATI Radeon HD 4870 ( 512mb ) with my flashed Sapphire HD 5870 1 Gb card.

A late Xmas present.

Happy New Year to all here. :D


Title: Re: Radeon Port Mapping
Post by: SMIKX on December 30, 2015, 10:18:11 AM
I side with Rominator in that it took me ages to muster up the courage to go through sewing efi & Fl0r!an's roms together.

Doing it yourself, engaging in the 'learning process' can't be a negative thing.

Fl0r!an insisted that it was not hard, encouraged me to try and in fact it wasn't and by doing it by myself instead of waiting for a rom to appear here I have enriched my Mac hacking abilities and understanding of 'How Mac things work '.

I now have EFI roms for my HD  5770's and HD 5870's ( 2 each ). Now that I know how easy the sewing process actually is I will not post them here as the EFI parts are already here in these pages.

Happy, safe and prosperous New Year too all.

Kyoto, JAPAN.


Title: Re: Radeon Port Mapping
Post by: mrhali on January 04, 2016, 06:24:04 PM
Hi guys,

I'm fairly a noob at all this, so sorry in advance.  I had added EFI on my HD 5770 card ages ago and was living without apple boot on DVI (although it does appear on my TV when HDMI is the only thing plugged in).   So, as you can imagine, this thread has given me (and I'm sure tons of others) renewed hope in getting boot logos back.

I tried searching all my drives for a backup of my original rom but I cannot find it.  Probably wiped it from the temp DOS partition when I flashed it way back when.  

So a couple questions:

a) Is it possible to implement the port mapping on the EFI that is already on my card?  So I dump it out, and then hexedit, then reflash somehow?

b) If not, is there any chance to get the port mappings cooked up for my bios?  I *think* the ROM is this, based on the BIOS version and the SSID id (is there a way to know for sure?):  http://www.techpowerup.com/vgabios/74519/sapphire-hd5770-1024-100407-1.html (bitte bitte!)  

c) Would this affect my DVI and HDMI ports in anyway?  Hopefully they would still work.

d) Also, will the apple boot restore the ability to access Startup Manager?  Currently I can't.

Any help or points in the right direction is GREATLY appreciated.  Thanks for all the hard work Flor!an!


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on January 04, 2016, 10:19:32 PM
a) Yes, no problem. You can just overwrite the old EFI.

c) OS X behavior won't change, all ports will remain functional.

d) Yes, "boot screen" is just the commonly used term for "pre-OS graphics display". This includes the boot selector, EFI shell, single user mode, etc...


Title: Re: Radeon Port Mapping
Post by: baby-rabbit on January 14, 2016, 09:58:29 AM
Hi Fl0r!an,

I've got a sapphire R9 270x.

I took the Pitcairn.rom.efi.rom (from http://forum.netkas.org/index.php/topic,10827.msg32515.html#msg32515), extracted and uncompressed the efi portion, and used that and my rom with the scripts as per the "7xxx rom creating test" thread - success, many thanks! 
(Previously with the 7950mac.efi, the DP wouldn't work unless I plugged in HDMI too)

So now I have the "HD 7950" showing in system info, and pci info showing etc.


So am I right in thinking I don't get a bootsceen because I use DP?  (I use because of a 4K screen)

My main question - what are you using to disassemble the efi? I tried my go-to of choice Hopper, but it just shows data.. and the demo version of Ida said it didn't support the 'ebc' processor type and quits.




Title: Re: Radeon Port Mapping
Post by: Fl0r!an on January 14, 2016, 10:10:31 AM
Yeah EBC support seems to be quite rare. The full version of Ida Pro supports it.
That "HD 7950" thingy is a simple search & replace.

Bootscreens on DP won't work due to mismatched sense IDs (or was it hotplug IDs?). I've documented this a few pages back...
If anyone figures out how to change them, it might work. However I wouldn't bet that it'll work on DP 1.2.


Title: Re: Radeon Port Mapping
Post by: Spacedust on January 14, 2016, 03:56:29 PM
Yeah EBC support seems to be quite rare. The full version of Ida Pro supports it.
That "HD 7950" thingy is a simple search & replace.

Bootscreens on DP won't work due to mismatched sense IDs (or was it hotplug IDs?). I've documented this a few pages back...
If anyone figures out how to change them, it might work. However I wouldn't bet that it'll work on DP 1.2.

I can only confirm that bootscreen via DP to DVI and native DVI works well on R9 270X.

It doesn't work via HDMI, however pure HDMI works in OS X via DVI to HDMI adapter.

Will do more testing when Philips 241P6VPJKEB become available here.


Title: Re: Radeon Port Mapping
Post by: baby-rabbit on January 15, 2016, 06:21:34 AM
fyi  - there's a very rudimentary/toy EBC disassembler (near worthless as doesn't show external data/strings, or know about EFI funcs) at:

http://wien.tomnetworks.com/gitweb/?p=dis-ebc.git (http://wien.tomnetworks.com/gitweb/?p=dis-ebc.git)



Title: Re: Radeon Port Mapping
Post by: mrhali on January 16, 2016, 04:07:36 PM
a) Yes, no problem. You can just overwrite the old EFI.

c) OS X behavior won't change, all ports will remain functional.

d) Yes, "boot screen" is just the commonly used term for "pre-OS graphics display". This includes the boot selector, EFI shell, single user mode, etc...

Amazing.  Is there any chance you could explain exactly how I would patch my EFI?  I'm happy to try but I just need to understand what I'm doing. 


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on January 16, 2016, 06:58:36 PM
Just overwrite the EFI in your ROM with my EFI from this thread (page 2 or 3). Can be done in a simple Hex editor, but you can also follow the "make your own HD 5770 ROM" tutorial. Both EFIs have equal size, so you'll just overwrite the old one.


Title: Re: Radeon Port Mapping
Post by: mrhali on January 19, 2016, 11:05:29 AM
Thanks!  Ok, I tried that.  But I couldn't find any efi's on page 2/3 that you posted for an HD 5770.  The only one I found was on Page 5 that you posted for rthpjm.  So, I tried that one, spliced it up using a hexeditor and flashed it. 

Now I still get nothing on either DVI ports BUT I'm getting the boot on the HDMI port now, while I also have something plugged into either DVI ports.  So it's working a bit better than before!  Before, I could only get the logo if I had nothing on the DVIs and only the HDMI plugged in.

Is there another EFI for the 5770 that I can try?  Sorry to bug you!

Vielen dank!!



Title: Re: Radeon Port Mapping
Post by: mrhali on January 19, 2016, 12:49:19 PM
Actually, I didn't fully test it.  So, it seems when I remove the HDMI connection and only boot up with DVI1, I get the boot logo there!  But, if I boot with both HDMI and DVI1, then the boot logo appears on the HDMI.  Nothing ever appears on DVI2 which is what you have said all along.  This is definitely a great improvement!  Thanks so much!!


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on January 19, 2016, 01:38:13 PM
Yep that's usual behavior even on OEM Apple cards, the boot screen will only appear on one port if multiple displays are connected. The order is specified in the EFI.
Glad it works for you! :)


Title: Re: Radeon Port Mapping
Post by: Techchallenged on January 29, 2016, 10:52:07 PM
SMIKX I am sort of glad you would not post or send me your efi roms at the time but I did think that was just not right! We're Australian after all!  :)
BUT, once I found the time (very hard with 3 kids and Christmas holidays) and get the courage to spend the 30 minutes to stitch the rom and flash the bios it was indeed easy. Thanks to the fantastic information here I now have a good efi rom and the original tucked away for my 5870.

I will now have to try to see how to port map as I only have boot screen on DVI/VGA adaptor.

TC


I side with Rominator in that it took me ages to muster up the courage to go through sewing efi & Fl0r!an's roms together.

Doing it yourself, engaging in the 'learning process' can't be a negative thing.

Fl0r!an insisted that it was not hard, encouraged me to try and in fact it wasn't and by doing it by myself instead of waiting for a rom to appear here I have enriched my Mac hacking abilities and understanding of 'How Mac things work '.

I now have EFI roms for my HD  5770's and HD 5870's ( 2 each ). Now that I know how easy the sewing process actually is I will not post them here as the EFI parts are already here in these pages.

Happy, safe and prosperous New Year too all.

Kyoto, JAPAN.

(http://)


Title: Re: Radeon Port Mapping
Post by: Spacedust on January 30, 2016, 12:00:42 AM
Florian - can you check this BIOS from ASUS non-reference R9 280X ?

When used with Hamachi only upper DVI works with bootscreen, when used with Futomaki upper DVI and HDMI works.

It's the fastest R9 280X I've ever seen.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on January 30, 2016, 05:42:28 PM
Your Asus card:

Code:
enc  / tx  / HP  / SenseID
0x21 / 0x3 / 0x6 / 0x4   (DP)
0x11 / 0x2 / 0x1 / 0x3   (HDMI)
0x12 / 0x4 / 0x4 / 0x2   (DVII)
0x10 / 0x0 / 0x3 / 0x6   (DVID)

Hamachi:
Code:
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104
=> DP dead, HDMI sense ID mismatch (=> dead), DVI-I sense ID & HP ID mismatch (=> dead), DVI-D match

Futomaki:
Code:
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103
=> DP dead, HDMI match, DVI-I sense ID mismatch (=> dead), DVI-D HP ID mismatch (hotplugging might be broken, should work beside that)


Title: Re: Radeon Port Mapping
Post by: Spacedust on January 31, 2016, 12:33:53 PM
Your Asus card:

Code:
enc  / tx  / HP  / SenseID
0x21 / 0x3 / 0x6 / 0x4   (DP)
0x11 / 0x2 / 0x1 / 0x3   (HDMI)
0x12 / 0x4 / 0x4 / 0x2   (DVII)
0x10 / 0x0 / 0x3 / 0x6   (DVID)

Hamachi:
Code:
00040000040300000001010112040501
00040000040300000001020122050402
04000000140200000001030000000306
00080000040200000001040011020104
=> DP dead, HDMI sense ID mismatch (=> dead), DVI-I sense ID & HP ID mismatch (=> dead), DVI-D match

Futomaki:
Code:
00040000040300000001010112040401
00040000040300000001020122050502
04000000140200000001030000000606
00080000040200000001040011020103
=> DP dead, HDMI match, DVI-I sense ID mismatch (=> dead), DVI-D HP ID mismatch (hotplugging might be broken, should work beside that)

Yeah - that's what I've thought ;)


Title: Re: Radeon Port Mapping
Post by: SMIKX on February 07, 2016, 04:12:42 AM


Yes, it initially feels frightening but ends up being highly educational .. no pain, no gain.

Nothing quite matches seeing the Apple pop up on the monitor.

 . .. . .  AND  > > > I finally got hold of a MAc Pro 4,1 ! Yeah!

Well worth the effort. Thanks to Fl0r!an.

I'm off to OZ ( Australia ) in April ( Brisbane ) . . gonna amble down to the Brekky Creek Hotel for some yummy Barramundi Mate !

SMIKX I am sort of glad you would not post or send me your efi roms at the time but I did think that was just not right! We're Australian after all!  :)
BUT, once I found the time (very hard with 3 kids and Christmas holidays) and get the courage to spend the 30 minutes to stitch the rom and flash the bios it was indeed easy. Thanks to the fantastic information here I now have a good efi rom and the original tucked away for my 5870.

I will now have to try to see how to port map as I only have boot screen on DVI/VGA adaptor.

TC


I side with Rominator in that it took me ages to muster up the courage to go through sewing efi & Fl0r!an's roms together.

Doing it yourself, engaging in the 'learning process' can't be a negative thing.

Fl0r!an insisted that it was not hard, encouraged me to try and in fact it wasn't and by doing it by myself instead of waiting for a rom to appear here I have enriched my Mac hacking abilities and understanding of 'How Mac things work '.

I now have EFI roms for my HD  5770's and HD 5870's ( 2 each ). Now that I know how easy the sewing process actually is I will not post them here as the EFI parts are already here in these pages.

Happy, safe and prosperous New Year too all.

Kyoto, JAPAN.

(http://)

This is a Barramundi.


Title: Re: Radeon Port Mapping
Post by: Techchallenged on February 07, 2016, 11:15:25 PM
SMIKX That is a meal worth coming home for. Great to see you got the 4,1 and are happy with it.

One quick question. Can I use the 5870mod.efi I downloaded from your post for port mapping on page 15 and just stitch it with the original bios of the 5870 then flash the card for all ports showing boot or will I have to edit further? I have the exact same card as you.

Thanks

TC



Yes, it initially feels frightening but ends up being highly educational .. no pain, no gain.

Nothing quite matches seeing the Apple pop up on the monitor.

 . .. . .  AND  > > > I finally got hold of a MAc Pro 4,1 ! Yeah!

Well worth the effort. Thanks to Fl0r!an.

I'm off to OZ ( Australia ) in April ( Brisbane ) . . gonna amble down to the Brekky Creek Hotel for some yummy Barramundi Mate !

SMIKX I am sort of glad you would not post or send me your efi roms at the time but I did think that was just not right! We're Australian after all!  :)
BUT, once I found the time (very hard with 3 kids and Christmas holidays) and get the courage to spend the 30 minutes to stitch the rom and flash the bios it was indeed easy. Thanks to the fantastic information here I now have a good efi rom and the original tucked away for my 5870.

I will now have to try to see how to port map as I only have boot screen on DVI/VGA adaptor.

TC


I side with Rominator in that it took me ages to muster up the courage to go through sewing efi & Fl0r!an's roms together.

Doing it yourself, engaging in the 'learning process' can't be a negative thing.

Fl0r!an insisted that it was not hard, encouraged me to try and in fact it wasn't and by doing it by myself instead of waiting for a rom to appear here I have enriched my Mac hacking abilities and understanding of 'How Mac things work '.

I now have EFI roms for my HD  5770's and HD 5870's ( 2 each ). Now that I know how easy the sewing process actually is I will not post them here as the EFI parts are already here in these pages.

Happy, safe and prosperous New Year too all.

Kyoto, JAPAN.

(http://)

This is a Barramundi.




Title: Re: Radeon Port Mapping
Post by: Spacedust on February 12, 2016, 04:53:52 PM
We've got another no-EFI card ;(

Sapphire Dual-X HD7850 2 GB GDDR5 - boot screen works but when entering OS X instant restart.

(http://i.computer-bild.de/imgs/5/3/7/2/8/1/8/Sapphire-Radeon-HD-7850-1024MB-GDDR5-11200-16-xxG-360x202-bedb23187daba4dd.jpg)

The 2x mDP version works well.


Title: Re: Radeon Port Mapping
Post by: SMIKX on February 13, 2016, 01:54:45 PM
Techchallenged, I have TWO 5870's

Vapor-X O/C 5870  &  HIS 5870

I used the Fl0r!an efi you mentioned in your above post for both. I'm using a DVI-HDMI cable.

Both work and yield boot screens.

Also, DVI - VGA adaptor to VGA works too but above HDMI setup is nicer.


Title: Re: Radeon Port Mapping
Post by: Techchallenged on February 14, 2016, 02:41:26 AM
Thanks SMIKX I have the Vapor-X. After stitching I get a file 174kb in size. Before I flash is does that look right to you? I will be using DVI to HDMI cable also.

Cheers

TC

Techchallenged, I have TWO 5870's

Vapor-X O/C 5870  &  HIS 5870

I used the Fl0r!an efi you mentioned in your above post for both. I'm using a DVI-HDMI cable.

Both work and yield boot screens.

Also, DVI - VGA adaptor to VGA works too but above HDMI setup is nicer.


Title: Re: Radeon Port Mapping
Post by: SMIKX on February 14, 2016, 06:32:13 PM
No, my Vapor-X rom is 131 kb after sewing.

Did you run fixrom.py  as Netkas's guide states?


Title: Re: Radeon Port Mapping
Post by: Techchallenged on February 16, 2016, 09:03:13 AM
No, my Vapor-X rom is 131 kb after sewing.

Did you run fixrom.py  as Netkas's guide states?


Hi Smikx I used the 42kb efi version and got finished rom of 131kb. Can you take a look at this rom for me before I flash.
Thanks Smikx
TC


Title: Re: Radeon Port Mapping
Post by: SMIKX on February 16, 2016, 04:05:45 PM
Looks OK but of course  . . .  you  backed up the original rom . .. .

( if you haven't backed up the original rom . . stop now and do it. )

If you do have a backup . .go ahead and flash it.

After the flash you might have to try both DVI ports on the card .. I'm using a 5770 at the moment so the 5870 is different ( I think ).


Title: Re: Radeon Port Mapping
Post by: Techchallenged on February 17, 2016, 04:54:44 AM
Looks OK but of course  . . .  you  backed up the original rom . .. .

( if you haven't backed up the original rom . . stop now and do it. )

If you do have a backup . .go ahead and flash it.

After the flash you might have to try both DVI ports on the card .. I'm using a 5770 at the moment so the 5870 is different ( I think ).

Thanks for having a look SMIKX I have the original file backed up for safe keeping. If I have time tonight I will give it a go.
Thanks again.


Title: Re: Radeon Port Mapping
Post by: Techchallenged on February 22, 2016, 01:25:42 AM
Looks OK but of course  . . .  you  backed up the original rom . .. .

( if you haven't backed up the original rom . . stop now and do it. )

If you do have a backup . .go ahead and flash it.

After the flash you might have to try both DVI ports on the card .. I'm using a 5770 at the moment so the 5870 is different ( I think ).

Thanks for having a look SMIKX I have the original file backed up for safe keeping. If I have time tonight I will give it a go.
Thanks again.

Hi SMIKX, I have had success with DVI-HDMI cable for boot screens. DVI-VGA adaptor works as before also.  :)

Straight HDMI to HDMI caused the system to hang on boot with apple logo and grey box behind it. I PRAM reset and it still hung. I switched back to DVI-HDMI cable then rebooted and held alt to boot into alternate lion disk. Once in Lion I then restarted back into my El-Captain disk which now boots fine with boot screens as mentioned above.

I have not tested DP yet. But I am happy with the result at having boot screen on DVI ports without having to switch to VGA on monitor. It really is cool to have the boot screens back so I can switch between boot disks.

Now to update 10.11.1 to 10.11.3.
Thanks for your help.

TC


Title: Re: Radeon Port Mapping
Post by: SMIKX on February 22, 2016, 01:13:50 PM
Thanks but . . you ultimately took the plunge. Congratualtions.


Title: Re: Radeon Port Mapping
Post by: macnoto on February 27, 2016, 11:50:58 AM
Anyone can help me out with this Sapphire 6850 1GB 2 DVI + DisplayPort + HDMI to get the proper ports working with bootscreen?

Regards,


Title: Re: Radeon Port Mapping
Post by: Spacedust on February 29, 2016, 12:35:41 PM
Anyone can help me out with this Sapphire 6850 1GB 2 DVI + DisplayPort + HDMI to get the proper ports working with bootscreen?

Regards,

Here's your ROM


Title: Re: Radeon Port Mapping
Post by: macnoto on March 01, 2016, 11:01:28 PM
Anyone can help me out with this Sapphire 6850 1GB 2 DVI + DisplayPort + HDMI to get the proper ports working with bootscreen?

Regards,

Here's your ROM

Thanks Spacedust,

I got "VBIOS image not found" when using ATIWinflash 2.71


Title: XFX 5770 Single SLot
Post by: Rominator on March 02, 2016, 02:37:22 AM
Florian's Fix for the 5770 works GREAT on the XFX single slot card.

Wish we had it a few years back, MDP works for Apple DIsplays !


Title: Re: Radeon Port Mapping
Post by: Spacedust on March 05, 2016, 03:08:52 PM
Florian - can you check this BIOS ?

It's the first time I see checksum error in a genuine rom ;)


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on March 06, 2016, 10:42:49 PM
I've uploaded a fixed version of fixrom.py somewhere here (not sure if in this thread). This should be able to handle that "checksum = 0x0" case.


Title: Re: Radeon Port Mapping
Post by: Spacedust on March 06, 2016, 11:22:19 PM
I mean checksum error in VBE in original PC BIOS.

Please see - the ROM produced by this script produces a brick on this card:

Quote
./makerom.sh --efifile=r9_280.efi --romfile=efiromheader.rom --originalrom=cardname.rom --devid=679a
running on r9_280.efi, efiromheader.rom with devid 679a
Patching files r9_280.efi, efiromheader.rom for device-id 0x679a
Successfully patched efi file
Successfully patched efi rom file

Orig Size = 125440
Comp Size = 47590
47590+0 records in
47590+0 records out
47590 bytes transferred in 0.071175 secs (668633 bytes/sec)
EFI part is ready at 679a.efipart.rom
orig size - 65536
65536+0 records in
65536+0 records out
65536 bytes transferred in 0.098478 secs (665488 bytes/sec)
Before:
OpRom (size=65536, indicator_offset=0x239, indicator=0x80, checksum=0xb3)
OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0x0)
RawData (size=17408)

After:
OpRom (size=65536, indicator_offset=0x239, indicator=0x0, checksum=0x33)
OpRom (size=48128, indicator_offset=0x31, indicator=0x80, checksum=0xa2)
RawData (size=17408)
the rom is ready at cardname.rom.efi.rom


Title: Re: Radeon Port Mapping
Post by: Spacedust on March 06, 2016, 11:47:06 PM
Finally made it after mixing Club 3D R9 280 BIOS for a bit different memory chips with EFI. That one actually didn't have that checksum error in PC BIOS.


Title: Re: Radeon Port Mapping
Post by: space1999 on March 15, 2016, 02:07:50 AM
Hello Florian,

for information, using your HD5870 Rom Mod2, on Ref design HD 5870 ( 2 DVI, 1 HDMI, 1DP and same fan as apple card ) :

If you plug a VGA monitor on DVI-2, you have Bootscreen enable on Displayport, including 4k monitors ( my LG 34 3440 x 1440 )

Thank you for your works


Title: Re: Radeon Port Mapping
Post by: Rominator on March 15, 2016, 07:24:25 AM
I have also told him that the 7870 DIsplayPort only works if 2 are plugged in at once. FOr most testers this would seem like "no worky".

It is this sort of testing that moves things forward.

For 7870 it seems that "displaypresent" detect is flipped, and on 5870 it may be that the "display present" is flopped with VGA.

Thanks for your input.


Title: Re: Radeon Port Mapping
Post by: Techchallenged on April 17, 2016, 02:29:39 AM
Looks OK but of course  . . .  you  backed up the original rom . .. .

( if you haven't backed up the original rom . . stop now and do it. )

If you do have a backup . .go ahead and flash it.

After the flash you might have to try both DVI ports on the card .. I'm using a 5770 at the moment so the 5870 is different ( I think ).




Thanks for having a look SMIKX I have the original file backed up for safe keeping. If I have time tonight I will give it a go.
Thanks again.

Hi SMIKX, I have had success with DVI-HDMI cable for boot screens. DVI-VGA adaptor works as before also.  :)

Straight HDMI to HDMI caused the system to hang on boot with apple logo and grey box behind it. I PRAM reset and it still hung. I switched back to DVI-HDMI cable then rebooted and held alt to boot into alternate lion disk. Once in Lion I then restarted back into my El-Captain disk which now boots fine with boot screens as mentioned above.

I have not tested DP yet. But I am happy with the result at having boot screen on DVI ports without having to switch to VGA on monitor. It really is cool to have the boot screens back so I can switch between boot disks.

Now to update 10.11.1 to 10.11.3.
Thanks for your help.

TC

Well I can report in that all is still going great and stable with my 5870 vapour x /macpro 1,1(converted to 2,1)/25" AOC I2579VM with update to OSX 10.11.4. Considering that I bought the 5870 for AUD50.00 I couldn't be more happy. My old work horse is going strong and I can switch between my old lion disk and the El Cap ssd easily as I have a boot screen.  ;D

Thanks again to all of the great team here for your hard work and effort and Rominator I too believe that you should be able to profit from your hard work. Not everyone will have the courage to flash and if they can buy a card with a guarantee that it will just plug in and work, more power to you.  :)

Techchallenged


Title: Re: Radeon Port Mapping
Post by: dobiwan on April 21, 2016, 10:46:04 PM
Hello i just bought a used Sapphire Radeon HD 5870, it seems to be the same than the reference design, and is cosmetically identical to this one (21161-00-50R): http://archive.benchmarkreviews.com/index.php?option=com_content&task=view&id=373&Itemid=72&limitstart=2 (http://archive.benchmarkreviews.com/index.php?option=com_content&task=view&id=373&Itemid=72&limitstart=2)

I've tried it in my macpro 1,1 on el capitan and it works "as expected" without being flashed:
-system info show 5000 series
-no bootscreen

I read the posts of this thread but i need further explanations:
-i need the EBC rom to make this card work on my system, are the roms moddeds by florian are EBC ones?
-what rom can you advise me to obtain the best of this card ? (bootscreen on most outputs and acceleration on OSX)
-do i need to dump my 5870 bios and post it here ?

many thanks


Title: Re: Radeon Port Mapping
Post by: Techchallenged on April 28, 2016, 11:20:16 AM
Hello i just bought a used Sapphire Radeon HD 5870, it seems to be the same than the reference design, and is cosmetically identical to this one (21161-00-50R): http://archive.benchmarkreviews.com/index.php?option=com_content&task=view&id=373&Itemid=72&limitstart=2 (http://archive.benchmarkreviews.com/index.php?option=com_content&task=view&id=373&Itemid=72&limitstart=2)

I've tried it in my macpro 1,1 on el capitan and it works "as expected" without being flashed:
-system info show 5000 series
-no bootscreen

I read the posts of this thread but i need further explanations:
-i need the EBC rom to make this card work on my system, are the roms moddeds by florian are EBC ones?
-what rom can you advise me to obtain the best of this card ? (bootscreen on most outputs and acceleration on OSX)
-do i need to dump my 5870 bios and post it here ?
many thanks

You could try Florians efi parts and make your own roms from the first page of this thread.    
Re: Radeon Port Mapping
« Reply #11 on: April 29, 2015, 09:57:47 AM »
Reply with quoteQuote
 
Or grab mine to look at but keep in mind that it is for a vapour x. You would be best served stitching your own though and as is said here BACK UP YOUR ORIGINAL ROM to flash back to if something goes wrong.


Title: Re: Radeon Port Mapping
Post by: Spacedust on May 05, 2016, 12:58:00 PM
Quote
Why waste time on testing and further improving the ROM (or at least giving some feedback in this thread) if you could also sell some totally overpriced beta-stuff in the mean time? His nick says everything I guess  ;D Macbitch, du bist ein jämmerliches Stück Scheiße!

And now even selling GTX980 with modified MVC rom :(


Title: Re: Radeon Port Mapping
Post by: YNWA on May 05, 2016, 01:23:41 PM
And now even selling GTX980 with modified MVC rom :(

Now it gets funny: An eBay seller (http://forums.macrumors.com/threads/flashing-hd7950-powercolor-pcs-does-not-work.1767008/#post-19516533) from Poland (http://www.ebay.de/usr/mac-pro-shop?_trksid=p2047675.l2559) accusing one from Germany?

No wonder you need so much info for all the different cards ;).


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 05, 2016, 09:37:46 PM
And now even selling GTX980 with modified MVC rom :(

I don't think he's able to modify anything. In fact he's selling only the 980, and no other Maxwell card, so I'm pretty sure he can't do more than dump & flash the full thing. Those German eBay kiddies wouldn't even be able to launch FreeDOS without a written step-by-step tutorial.

Btw, did you finally check the "native DP" behavior of your Pitcairn cards? I don't think the R9 270X you're selling is a good choice.


Title: Re: Radeon Port Mapping
Post by: Spacedust on May 06, 2016, 10:14:37 AM
And now even selling GTX980 with modified MVC rom :(

I don't think he's able to modify anything. In fact he's selling only the 980, and no other Maxwell card, so I'm pretty sure he can't do more than dump & flash the full thing. Those German eBay kiddies wouldn't even be able to launch FreeDOS without a written step-by-step tutorial.

Btw, did you finally check the "native DP" behavior of your Pitcairn cards? I don't think the R9 270X you're selling is a good choice.


He isn't, but if you look at other sellers like a2hardware or mac-factory they got more models. They will steal everything possible.

I almost got my hands on Philips 241P6VPJKEB and someone got the last one few hours before me. So I'm still looking to get one with Polish warranty in a reasonable price. You have to wait a week or two for more info.


Title: Re: Radeon Port Mapping
Post by: Spacedust on May 06, 2016, 08:43:47 PM
How is that possible they've even got GTX950 which isn't offered by MVC ?


Title: Re: Radeon Port Mapping
Post by: dobiwan on May 06, 2016, 09:03:51 PM
You could try Florians efi parts and make your own roms from the first page of this thread.    
Re: Radeon Port Mapping
« Reply #11 on: April 29, 2015, 09:57:47 AM »
Reply with quoteQuote
 
Or grab mine to look at but keep in mind that it is for a vapour x. You would be best served stitching your own though and as is said here BACK UP YOUR ORIGINAL ROM to flash back to if something goes wrong.


thanks i'll try


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 07, 2016, 03:03:37 PM
How is that possible they've even got GTX950 which isn't offered by MVC ?

It's the same family. If you've got one of them, you've got them all.


Title: Re: Radeon Port Mapping
Post by: dobiwan on May 09, 2016, 05:37:06 PM
Here is the dump of my rom from the Sapphire 5870 "Ref design card", sadly there's only one "mcuc" after applying the 5870mod.efi from florian...

any help would be greatly appreciated, i struggled against my 0xec during 1hour: no result...

I'll try again tomorrow


Title: Re: Radeon Port Mapping
Post by: Rominator on May 11, 2016, 10:00:34 AM
Please stop posting EBay links to their sales. They are crooks, they don't need free advertising


Title: Re: Radeon Port Mapping
Post by: Spacedust on May 11, 2016, 10:25:55 AM
Please stop posting EBay links to their sales. They are crooks, they don't need free advertising

I've removed the link. I hope they won't be able to steal Pascal roms if they will be made.


Title: Re: Radeon Port Mapping
Post by: Spacedust on May 24, 2016, 12:08:57 AM
Florian - I got my new display today  ;D It's simply a stunning display - 23,8" and 4K !

Some report using ASUS R9 270X DirectCU II:

- VGA works with a resolution up to 1920x1080@60 Hz and a bootscreen
- DVI works with a resolution up to 3840x2160@30 Hz and a bootscreen
- HDMI works with a resolution up to 2048x1080@60 Hz and a bootscreen (some crazy resolutions - no 1920x1080)
- DP works with a resolution up to 3840x2160@60 Hz but no boot screen


Title: Re: Radeon Port Mapping
Post by: troy2062 on May 29, 2016, 04:52:04 PM
I successfully flashed a reference 5870 last night but despite having tried almost every EFI component that Flor!an has graciously posted, I have been unable to get the DisplayPort output working or bootscreens on anything other than VGA.

The current state of this card:

- Both DVI outputs working (no bootscreens)
- VGA working (with bootscreens)
- HDMI working (no bootscreens)
- DP not working (no bootscreens but OS X does know when a display is connected)
- ATY,Uakari framebuffer personality

I suspect that changing the framebuffer personality may yield a solution but have been unable to find clear guidance in doing so.  Most information appears to be geared towards hackintosh users, which is of limited application to a Mac Pro user such as myself.

Both my original and sewn EFI ROM are attached below, if anybody would like to have a look.


Title: Re: Radeon Port Mapping
Post by: Fl0r!an on May 30, 2016, 08:30:00 AM
The EFI in the first page should do the trick. Should enable boot screen on one DVI port, all others will stay black.


Title: Re: Radeon Port Mapping
Post by: Rominator on May 30, 2016, 11:03:58 PM
5770 and 5870 and DP rarely work well, and almost never with Apple MDP displays.

One rare exception is the XFX single slot MDP 5770.

Even works well in X-Serve with Apple 24" LED. Some later XFX cards had better luck with DP but I have been out of 5xxx game for awhile and don't recall all info, and OS upgrades change behavior too


Title: Re: Radeon Port Mapping
Post by: troy2062 on May 31, 2016, 12:50:43 AM
The EFI in the first page should do the trick. Should enable boot screen on one DVI port, all others will stay black.
Which of the two (5870mod2.efi.rom and 5870mod.efi.rom) should I be using?  I did try 5870mod.efi.rom yesterday but it simply resulted in garbled output for some reason.

EDIT: I have succeeded in getting the DisplayPort output to work.  This (http://forum.netkas.org/index.php/topic,1069.0.html) post was the solution.


Title: Re: Radeon Port Mapping
Post by: Spacedust on June 05, 2016, 07:07:08 PM
I have also told him that the 7870 DIsplayPort only works if 2 are plugged in at once. FOr most testers this would seem like "no worky".

It is this sort of testing that moves things forward.

For 7870 it seems that "displaypresent" detect is flipped, and on 5870 it may be that the "display present" is flopped with VGA.

Thanks for your input.

HD7870 does work properly even with a single display. No bootscreen on 4K display, but it works with full 3840x2160@60 Hz resolution on both mDP ports.


Title: Re: Radeon Port Mapping
Post by: VladTheInhaler on June 14, 2016, 06:09:27 PM

Greetings Gentlemen

I have been a regular visitor to this forum since February, but was unable to register until recently.  I think the work you are doing here is exemplary, since many of the machines that Mac built, with the concept of planned obsolescence embodied, still have many years of useful life left in them.  So Netkas, Rominator and Florian (and many others) have my utmost respect.

Having said that, I was hoping that someone more knowledgable than me could help, or at least point me in the right direction.  I have been trying to build an EFI ROM for my Radeon R9 270 (device ID 6811) for months without success.  I have tried stitching Florian’s EFIs to my own ROM using both the script in the ‘Build your own 5***/6*** rom’ and also that in the 7*** testing forum and neither seem to work for me.  I have used Terminal as specified in both ‘sudo’ mode and normal.  Nothing but error codes.  Also I wouldn’t mind knowing how to compile the EFI part myself, but have little to no experience at programming.  I have looked at many EFI parts in Hexedit but cannot see where the part is to load the frame buffer.

I know the R9 270 (rebranded from HD 7850) is not supported in kext files, as is the R9 270x.  However, it is a good card and the only one suitable I could get here in Thailand.  I do have it working in OSX due to editing the 7000 kext file and adding the device ID, but it works with the Radeon Frame Buffer with a few small glitches, and of course no boot screen.  As expected it works really well in Bootcamp/Windows.

Since my Mac Pro will never connect to the internet - it is a standalone - It should be possible to make an EFI ROM file and edit the closest frame buffer personality to exactly mirror the ROM’s TX, ENC, sense IDs, etc.  This would be identical as for an R9 270x also I think.

The card is MSI ‘twin frozer’ R9 270 with one DP, one HDMI, one DVI-I and one DVI-D.  From Redsock and Radeon Bios Decode, the connector info is:


      transmit   :   encode   :   connector No.   :   sense ID

D P          12           04                  01           01

HDMI               22           05            02           03

DVI-I          10           00            03           06

DVI-D       00             10            04           06


Cannot find where the ‘hot plug ID’ is written.  The closest frame buffers I can see are Uakari and Vervet (almost exact matches) and Futomaki, which will require some kext editing.  I know editing kexts is not the most elegant solution, but if the machine will never be upgraded from what it currently is, is is worth the time.

So I was wondering if anyone here could help with the problem.  I also attach the original ROM file.  Thanks in anticipation.


Title: Re: Radeon Port Mapping
Post by: VladTheInhaler on June 14, 2016, 08:00:27 PM
Gents

What can I say?  That I am completely stupid and failed to see something very small and have spent weeks wasting my time. 

I'm the kind of person that can't let something go, and as it's now 2am here in  Thailand I decided to go back one more time to the forum on test/make 7*** EFI Roms.  And in RED text it says quite clearly that you need Java in order to run the script.  I have just reloaded Mavericks back onto this machine - did not get on with El Cap - so obviously I no longer had Java loaded.  So I reloaded Java and tried the Netkas script again and stitched the HD 7950 EFI onto my Pitcairn.ROM from the R9 270 card.  Then went over to the mac pro, booted into windows and flashed my card in ATI Winflash.

I then rebooted and held down the ALT key, heart hammering away at this point in case I shagged the card.  I got the familiar screen with the choice of boot options.  Chose to boot into Mavericks.  And lo and behold, it did.  On DVI screen 1, screen 2 was dead.  I fully expected this so don't mind.  The EFI loads the Hamachi frame buffer which does not support 2 DVI connectors.

Booting again straight into OSX I get a white screen on DVI 1 but no familiar apple.  It then goes to a verbose screen and I get a lot of scrolling text.  Then boots into OSX no problem.  On checking the 'About This Mac' window I can see the OS recognises the card as Radeon HD 7950.  Not sure how to find out what frame buffer is loaded, but I am assuming Hamachi, as the EFI file when viewed in Hexedit clearly says 'Hamachi' in the right hand text pane.

So I am really very happy.  Have not checked the DP or HDMI.  Only way I can do this is to use passive adapters and I know from what you have said that they are not the same as the real thing.  I use 2 DVI monitors.  Hence why I got a card with 2 of DVI connectors.

Now if the card is using the Hamachi FB.  I will edit the 7000 kext file so that all the necessary pairs of numbers match those the seen in the BIOS.  Then hopefully I will have 4 possibilities of working monitors in OSX and maybe even a boot screen if I set one DVI port as the first to connect in the FB.  Though the fact that I can now do a selective boot at start up is good enough right now.

When I have seen this through, I will post the completed ROM here and also the edited kext file, so that anyone having the same card does not have to go through the same shit I have.  However, the learning experience has bee interesting.

Just like to say again, thank you all for what you do.  You are definitely my heroes this morning.  ;D


Title: Re: Radeon Port Mapping
Post by: VladTheInhaler on June 15, 2016, 02:02:19 AM
Okay.  Have edited the AMD7000Controller.kext file with an altered 'Hamachi' frame buffer, but to no avail.  I checked and saw that the frame buffer was indeed altered with my mods, but the card behaves the same as before.  So my guess is that the EFI part of the ROM contains settings that over-ride the frame buffer personality.  It is definitely loaded - by the IOReg command I can see.

Anyway, it's still a lot better than before.  I can still use 2 monitors, with one using a DVI - DP passive connector.  A boot screen appears on the monitor connected to the DP port and one DVI port still dead.

So the lesson here is to get a card that matches a known frame buffer and build an EFI that supports the exact card ROM.  But I'm still happy, as I have 2 monitors working and proper graphics acceleration in OSX with a boot screen on one monitor.

So thanks for all your work.  Attached is my EFI ROM, if anyone has an R9 270 they want to flash.  It will give you 1 DP, 1 DVI-I and one HDML, you only need to edit the plist file in the kext bundle to include your device ID number.  The ROM is the original R9 270 Pitcairn with the Netkas 7950 EFI stitched.

Thanks again.


Title: Re: Radeon Port Mapping
Post by: shredplayer on June 28, 2016, 05:41:44 AM
Hi Florian.

I was able to flash my Gigabyte HD 5770 1GB (2x DVI 1x DP 1x HDMI) using Netkas vervet but it only shows boot screen on lower DVI using DVI > VGA adaptor, HDMI do not work, DP (not tested), so i tried using your Efi 5770MOD2.efi.rom with my orig Rom then boot screen shows on DVI with VGA adaptor and tried booting using HDMI it shows the boot screen but once OSX kicks in it turns black and when i use 2 monitors one in DVI > VGA and 1 HDMI it shows boot screen and display on HDMI, i cannot boot on hdmi without another display connected on DVI, strangely i tried to SMC/PRAM reset on my Mac Pro 1,1 then after reboot HDMI is working fine with boot logo and display even without a secondary monitor connected to the DVI > VGA.. so far hdmi is working great and the only upper DVI port not working, though when using Lion installer or my modified El Cap installer the screen will go blank once OS X installer kicks in.

can i send you the Original ROM for you to take a look?

ioreg

Code:
$ ioreg -r -n "PXS1@0"
+-o PXS1@0  <class IOPCIDevice, id 0x1000001a9, registered, matched, active, bu$
  | {
  |   "reg" = <0000080000000000000000000000000000000000100008420000000000000000$
  |   "device-id" = <b8680000>
  |   "vendor-id" = <02100000>
  |   "ATY,RefCLK" = <8c0a0000>
  |   "ATY,EFIVersionE" = <"113-C0160A-Y!!">
  |   "PP_DisableMCDownLoadFeature" = 1
  |   "PP_RefreshRate" = <3c000000>
  |   "ATY,EFIDispConfig" = <4d00000000000000>
  |   "PP_R600ActivityHysteresis" = 5
  |   "subsystem-vendor-id" = <02100000>
  |   "IOPCIExpressLinkCapabilities" = 67112193
  |   "AAPL00,Coherency" = <02000000>
  |   "acpi-path" = "IOACPIPlane:/_SB/PCI0@0/NRP4@40000/PXS1@ffff"
  |   "ATY,MRT" = <>
  |   "PP_UserMaxClockForMultiDisplays" = 1
  |   "VRAM,totalMB" = 1024
  |   "model" = <"ATI Radeon HD 5770">
  |   "ATY,EFIDriverType" = <02>
  |   "ATY,EFIVersion" = <"NO EBAY!!">
  |   "pcidebug" = "8:0:0"
  |   "iofb_no_regptr" = Yes
  |   "CFG_NO_PP" = No
  |   "compatible" = <"pci1002,2543","pci1002,68b8","pciclass,030000","PXS1">
  |   "AsicOnLowPower" = <00000000>
  |   "IOPCIExpressCapabilities" = 18
  |   "ATY,EFICompileDate" = <"Jul  5 2010">
  |   "name" = <"ATY,VervetParent">
  |   "IOName" = "display"
  |   "pci-aspm-default" = 0
  |   "ATY,EFIVersionB" = <"113-C01002-101">
  |   "pci-function-number" = 0
  |   "AAPL01,blackscreen-preferences" = <00000008>
  |   "assigned-addresses" = <100008c200000000000000e00000000000000010180008820$
  |   "ATY,DeviceID" = <b868>
  |   "saved-config" = <001002ffff900098001002ffff900098023a8007980858002c00380$
  |   "ATY,remap-size" = 18446744071562067968
  |   "IOPCIMSIMode" = Yes
  |   "ATY,Copyright" = <"Copyright AMD Inc. All Rights Reserved. 2005-2010">
  |   "ATY,EFIOrientation" = <8010>
  |   "ATY,PlatformInfo" = <010000000000000000000000000000000000000000000000000$
  |   "class-code" = <00000300>
  |   "ATY,PageFlipEnable" = <01000000>
  |   "IOPCIExpressLinkStatus" = 4353
  |   "IOInterruptControllers" = ("io-apic-0","IOPCIMessagedInterruptController$
  |   "subsystem-id" = <43250000>
  |   "PP_VBlankTime" = <9a020000>
  |   "IOPCIResourced" = Yes
  |   "ATY,RevID" = 268864385
  |   "ATY,bin_image" = <55aa7be92502000000000000000000000000000000000000d80100$
  |   "PP_R600RaisingMediumPercentage" = 25
  |   "IOChildIndex" = 1
  |   "ATY,MemVendorID" = <0600>
  |   "AAPL,backlight-control" = <00000000>
  |   "PP_ActivitySamplingInterval" = 1000
  |   "IOPowerManagement" = {"ChildrenPowerState"=2,"CurrentPowerState"=2,"Capa$
  |   "PP_BootupDisplayState" = <01000000>
  |   "ATY,memsize" = 1073741824
  |   "MVAD" = <001002ffff900098001002ffff900098023a8007980858002c0038046504040$
  |   "AAPL,slot-name" = <"Slot-1">
  |   "pci-device-number" = 0
  |   "ATY,MCLK" = 120000
  |   "IODeviceMemory" = (({"address"=3758096384,"length"=268435456}),({"addres$
  |   "PP_R600LoweringHighPercentage" = 25
  |   "acpi-device" = "IOACPIPlatformDevice is not serializable"
  |   "ATY,SCLK" = 84997
  |   "AAPL,aux-power-connected" = <01000000>
  |   "ATY,EFIEnabledMode" = <02>
  |   "ATY,TileInfo" = <030000000000000000000000000000000600000000000000>
  |   "ATY,Rom#" = <"113-C0160C-155">
  |   "AAPL00,blackscreen-preferences" = <00000008>
  |   "pci-bus-number" = 8
  |   "ATY,vram_base" = <00000000>
  |   "IOInterruptSpecifiers" = (<1000000007000000>,<0700000000000100>)
  |   "PP_R600RaisingLowPercentage" = 10
  |   "PP_R600LoweringMediumPercentage" = 10
  |   "ATY,EFIHWInitStatus" = <00000000>
  |   "revision-id" = <00000000>
  |   "ATY,VendorID" = <0210>
  |   "device_type" = <"ATY,VervetParent">
  |   "PP_HighSamplingInterval" = 200000
  |   "IOPCIPMCSState" = 0
  |   "AAPL02,blackscreen-preferences" = <00000008>
  |   "HDCPLIB_VERSION" = <"1.500">
  |   "ATY,MemRevisionID" = <0100>
  |   "IOHibernateState" = <00000000>
  |   "ATY,Card#" = <"109-C01601-00">
  |   "IOPMIsPowerManaged" = Yes
  |   "VRAM,totalsize" = <00000040>
  | }
  |
  +-o AMD5000Controller@1  <class AMD5000Controller, id 0x1000002d6, registered$
  +-o ATY,Vervet@0  <class AtiFbStub, id 0x1000002da, registered, matched, acti$
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x1000002e4, registered, matched,$
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x1000002f7$
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x1$
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, $
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x100000330, registered, ma$
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x100$
  |   +-o display0  <class IODisplayConnect, id 0x100000333, registered, matche$
  |   | +-o AppleDisplay  <class AppleDisplay, id 0x100000335, registered, matc$
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003$
  |   +-o IOFramebufferSharedUserClient  <class IOFramebufferSharedUserClient, $
  +-o ATY,Vervet@1  <class AtiFbStub, id 0x1000002db, registered, matched, acti$
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x1000002ff, registered, matched,$
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x100000302$
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x1$
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, $
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x100000337, registered, ma$
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x100$
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003$
  +-o ATY,Vervet@2  <class AtiFbStub, id 0x1000002dc, registered, matched, acti$
  | +-o ATY_Vervet  <class AMDFramebuffer, id 0x100000305, registered, matched,$
  |   +-o AppleMCCSControlModule  <class AppleMCCSControlModule, id 0x100000308$
  |   | +-o AppleMCCSParameterHandler  <class AppleMCCSParameterHandler, id 0x1$
  |   +-o AppleUpstreamUserClientDriver  <class AppleUpstreamUserClientDriver, $
  |   +-o AMDNDRVService  <class AtiAppServices, id 0x100000339, registered, ma$
  |   +-o IOFramebufferI2CInterface  <class IOFramebufferI2CInterface, id 0x100$
  |   +-o IOFramebufferUserClient  <class IOFramebufferUserClient, id 0x1000003$
  +-o AMDSupport  <class AMDSupport, id 0x1000002d7, registered, matched, activ$
  +-o AMDJuniperGraphicsAccelerator  <class AMDJuniperGraphicsAccelerator, id 0$
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DConte$
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DConte$
    +-o AMDRadeonX3000_AMDAccel2DContext  <class AMDRadeonX3000_AMDAccel2DConte$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000345, !registered, !ma$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000346, !registered, !ma$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000347, !registered, !ma$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccel$
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x10000034e, !registered,$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000353, !registered, !ma$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x100000354, !registered, !ma$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDR8xxSurface  <class AMDR8xxSurface, id 0x1000003c8, !registered, !ma$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccel$
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x10000044f, !registered,$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$
    +-o AMDRadeonX3000_AMDAccelSharedUserClient  <class AMDRadeonX3000_AMDAccel$
    +-o AMDR8xxGLContext  <class AMDR8xxGLContext, id 0x100000515, !registered,$
    +-o AMDRadeonX3000_AMDAccelDevice  <class AMDRadeonX3000_AMDAccelDevice, id$



UPDATE:

I got a hold of DVI > HDMI adapter since my monitor don't have DVI and only have DSUB & HDMI, i think my ROM is near perfect the only issue is when i use any installer the screen will go blank once OSX installer kicks in when using HDMI port.


1. Lower DVI (DVI>VGA = Bootscreen,Desktop, DVI>HDMI = Bootscreen,Desktop)
2. Upper DVI (DVI>VGA = Bootscreen but Low Resolution,Desktop, DVI>HDMI = NO Bootscreen,Desktop)
3. HDMI (Bootscreen, Desktop) - turns black when using any installer when OS X installer kicks in.
4. DisplayPort(DP>HDMI = Bootscreen) - turns black when OS X kicks in.

Mac Pro 1,1
16GB RAM
Gigabyte HD 5770 1GB
El Capitan/ Piker Boot.fi


Title: Re: Radeon Port Mapping
Post by: R2K on July 18, 2016, 05:18:21 PM
For anyone still interested in flashing a radeon 5770: I have successfully flashed a Sapphire Radeon 5770 Vapor-X (P/N 288-1E147-101SA) following the instructions in the first post of this thread: http://forum.netkas.org/index.php/topic,692.0.html , with the 5770MOD2.efi.rom provided in this post: http://forum.netkas.org/index.php/topic,10827.msg30870.html#msg30870

Had to use 0xed to make some room for the EFI, because it did't fit (steps 3a and 3b). One note: 0xed does not seem to work well on El Capitan, some gui problems making it impossible to select data. It did work on a 10.8 mac though.

I have both DVI-ports working, boot screen only on the lower port (but still, better than nothing!). HDMI not working, and displayport not tested.
Tested on a 2006 Mac Pro (MacPro1,1).

So, thanks all people responsible for all this hard work! You made my old Mac Pro happy  :) :)
 


Title: Re: Radeon Port Mapping
Post by: SMIKX on September 18, 2016, 08:51:56 AM
I bumped this thread to check if Fl0r!an is OK, healthy etc.

This thread is too important to get lost in the past.



Title: Re: Radeon Port Mapping
Post by: Rominator on September 18, 2016, 08:53:16 PM
I bumped this thread to check if Fl0r!an is OK, healthy etc.

This thread is too important to get lost in the past.



Florian has been eating well, lots of veggies, nice long walks in park, etc.

I:ll let hi chime in with BP and triglycerides.

All silliness aside, thread is important. He:s been posting in the iMac 6970M thread a lot.


Title: Re: Radeon Port Mapping
Post by: Canizes on September 18, 2016, 09:12:58 PM
Hello!
My mac pro 5870 flashed is dead
i have now a XFX Radeon HD 6870 with

2DVI ports
1 HDMI
2 Mini display ports

Any one have this Rom for this card?
regards
Nuno from portugal


Title: Re: Radeon Port Mapping
Post by: Canizes on October 10, 2016, 09:55:59 PM
hello i end buy it other 5870 from asus

but only getting 1 mcuc

can some one help me to fix that
here my rom
regards
Nuno


Title: Re: Radeon Port Mapping
Post by: Canizes on October 10, 2016, 10:01:15 PM
this is funny

i have the lower DVI working with boot screen on the XFX6870
Original PC rom Attached
Anyone have a modify efi for this card the have more ports working like the 5870?
regards


Title: Re: Radeon Port Mapping
Post by: mortar on October 23, 2016, 11:26:39 AM
Just wanted to share a success story and extend my thanks to those involved in hacking the EFI related things together.

Objective was to get a HIS HD 5770 Fan 1GB (128bit) GDDR5 PCIe card working in macpro1,1 under OS X 10.6.8.

  • got atiflash_417.zip from techpowerup, unzipped to a FreeDOS USB stick image
  • booted said usb stick (using grub) in a PC (FreeDOS boot without drivers)
  • saved original full ROM using ATIFLASH -s 0 his5770o.rom
  • saved partial ROM as suggested by the make your own guide using ATIFLASH -s 0 his5770r.rom 20000
  • got the 5770 EFI image by Fl0r!an from this thread
  • back in the mac, used the dd magic from the guide
  • instead of following the guide, grepped for the MCuC sections: grep -b -c MCuC his5770r.rom
  • encouraged by the outcome of the grepping being "2", used fixrom.py, and flashed the modified firmware using ATIFLASH -p 0 his5770r.rom

Very straightforward process. EFI boot screens work through DVI and DP. DP is what I wanted. HDMI I cannot test.

Two things I haven't got to work: The first is that when I switch the display input to another machine, the DP output of the hacked radeon dies after some time and only reboot will reinstate it. First I thought it was about screen sleeping, but I disabled that and it didn't help. When using the mac normally, the DP output keeps working as expected. Under Linux console, the output keeps working, regardless of switching display inputs.

The second problem is that I haven't got X11 under Linux to work. The kernel drm manager finds radeon and inits it, uploads firmware blobs, but X11 is unable identify any devices. This could still be a configuration problem caused by some remnants of the nVidia binary driver that was there before.

I wonder if the fact that the original ROM was 256 KiB has anything to do with the problems I'm seeing.



Title: Re: Radeon Port Mapping
Post by: cernorama on October 27, 2016, 05:09:32 AM
Hello, I have a XFX Radeon 7850 that I was given by a friend, and I am using it for both OS X and Windows 10 on a 2008 Mac Pro.  I have patched the 7950 EFI portion to the ROM, and things are actually working just fine.  Only thing is though is that while Windows works on all ports, OS X and boot graphics only work on one of the DVI ports.  So clearly the ROM mapping isn't right.  I tried reading through here, but I'm not sure I completely understand, so hopefully someone can help me with this.  Here's a zip containing the original ROM, and the ROM with the EFI stuff added.  I'll be glad to assist in any way possible.  I just wanted to put this card to good use.

http://www.mediafire.com/download/7p6tq5p9m0eywv8/7850_Stuff.zip

i just used this flash in my 3,1 Mac Pro on a PowerColor R9270 2GB DP/HDMI/DVI, works perfectly other then it only gives me 1GB instead of the orginal 2GB but i can live with that til i find a 2GB version


Title: Re: Radeon Port Mapping
Post by: cernorama on November 06, 2016, 06:15:40 PM
does anyone know of a 2GB of this rom? thanks


Title: Re: Radeon Port Mapping
Post by: mastri81 on December 20, 2016, 01:00:47 AM
I have a question: i have a sapphire dual-x r9 270x 2gb ram and i want flash it for my mac pro 3,1.
Wich firmware for flash it?


Title: Re: Radeon Port Mapping
Post by: windosmac on June 09, 2017, 08:17:18 PM
Okay, at least it behaves as expected  ;D
I've attached 2 EFI files for testing, you'll have to re-run the script again with both files to build a ROM file for flashing.

IkuraS.efi will use (well, at least I hope it will  :)) the IkuraS framebuffer instead of Hamachi. The DVI port which is showing a boot screen is a 100% match, the other 5 ports have mismatched Hotplug IDs. If you don't get any output on them after booting, sleep & wake your Mac and see if anything happens.

RFB.efi has just a purposely broken framebuffer name making the driver fall back to the default RadeonFramebuffer which you are using with your unflashed card. This will basically extend the unflashed behavior with boot screens.

Happy testing! :)

Thanks for this Fl0r!an, I used the RFB part to flash my "ASUS ROG MATRIX 7970" BIO's that has identical outputs (2x DVI, 4x DP). All ports are working except my rightmost DP, which is curious as mew_'s card seemed to successfully remap all ports? I've attached my rom if you/anyone cares to take a look. -It's working for 5/6 ports for any other users that want to try it.





Title: Re: Radeon Port Mapping
Post by: windosmac on July 02, 2017, 10:23:07 PM
I have a question: i have a sapphire dual-x r9 270x 2gb ram and i want flash it for my mac pro 3,1.
Wich firmware for flash it?

post your original rom.


Title: Re: Radeon Port Mapping
Post by: vinnie1978 on July 03, 2017, 05:08:51 PM
this is funny

i have the lower DVI working with boot screen on the XFX6870
Original PC rom Attached
Anyone have a modify efi for this card the have more ports working like the 5870?
regards

Netkas has made a modified rom for the xfx 6870.
It's a efi64 rom, and therefor only gives bootscreen on a Macpro 3.1/5.1


Title: Re: Radeon Port Mapping
Post by: zondas on July 03, 2017, 08:09:59 PM


I have a HD5770 mit DVI HDMI DP.I build a ROM with FLOR!an Rom , but there is no Bootscreen on DVI HDMI or DP.Can you help me.I add my original Rom.FLOR!an can you pls send me a EFI-Rom for this to get a Bootscreen.And how can you do it.Can you make a Video , how do you mod. the EFI to get Bootscreen.


Title: Re: Radeon Port Mapping
Post by: windosmac on July 06, 2017, 06:08:21 AM


I have a HD5770 mit DVI HDMI DP.I build a ROM with FLOR!an Rom , but there is no Bootscreen on DVI HDMI or DP.Can you help me.I add my original Rom.FLOR!an can you pls send me a EFI-Rom for this to get a Bootscreen.And how can you do it.Can you make a Video , how do you mod. the EFI to get Bootscreen.

Post your cards BIOs, somebody nice might modify it for you. Please read how to dump it, it's written everywhere here and not here.


Title: Re: Radeon Port Mapping
Post by: zondas on July 07, 2017, 12:51:26 PM
This is my Card-Bios.


I have a HD5770 mit DVI HDMI DP.I build a ROM with FLOR!an Rom , but there is no Bootscreen on DVI HDMI or DP.Can you help me.I add my original Rom.FLOR!an can you pls send me a EFI-Rom for this to get a Bootscreen.And how can you do it.Can you make a Video , how do you mod. the EFI to get Bootscreen.

Post your cards BIOs, somebody nice might modify it for you. Please read how to dump it, it's written everywhere here and not here.


Title: Re: Radeon Port Mapping
Post by: vinnie1978 on July 07, 2017, 10:29:38 PM
Zondas, i added the efi part manually.
Here it is:


Title: Re: Radeon Port Mapping
Post by: macnoto on July 29, 2017, 10:17:20 AM
I have Asus R9 Direct CU II 280x 3GB, but when I tried to flash only upper DVI works. other ports are not working.
Can somebody help to properly map the ports?

Highly appreciated


Title: Re: Radeon Port Mapping
Post by: vinnie1978 on July 29, 2017, 05:06:53 PM
Macnoto ,  test the file i added below

On page 19 #post 272, spacedust mentions 2 efi versions with the ports that it supports.
The Futomaki seems to have the best result.


Title: Re: Radeon Port Mapping
Post by: macnoto on August 01, 2017, 10:44:45 AM
Macnoto ,  test the file i added below

On page 19 #post 272, spacedust mentions 2 efi versions with the ports that it supports.
The Futomaki seems to have the best result.


same thing, only upper port works with this rom


Title: Re: Radeon Port Mapping
Post by: vinnie1978 on August 01, 2017, 03:45:45 PM
As far as i understand, the second dvi port isn't found on a mac version.
Therefore it can't be made into a workable port on a flashed videocard.


Title: Re: Radeon Port Mapping
Post by: Sweetmate on September 27, 2017, 10:30:56 AM
So I have a 4,1 with a 5,1 BIOS, and the High Sierra installer wants to update that bios for APFS compatibility but I think I can't do it without an EFI video card. The stock 8800GT that came in this Mac Pro doesn't boot into Sierra anymore, and other than that I have two PC non-efi cards, an XFX 5870 1GB and a Gigabyte 770 GTX 4GB.

I have attached the 5870 Rom, would anyone be able to make it EFI?
 


Title: Re: Radeon Port Mapping
Post by: h9826790 on September 28, 2017, 03:08:31 AM
So I have a 4,1 with a 5,1 BIOS, and the High Sierra installer wants to update that bios for APFS compatibility but I think I can't do it without an EFI video card. The stock 8800GT that came in this Mac Pro doesn't boot into Sierra anymore, and other than that I have two PC non-efi cards, an XFX 5870 1GB and a Gigabyte 770 GTX 4GB.

I have attached the 5870 Rom, would anyone be able to make it EFI?
 

You don't need any new card.

1) run the HS installer with your current card. It will prompt you to shut down for firmware update.
2) Shut down
3) swap your Mac EFI card back in (8800GT is fine)
4) press and hold power button to finish the firmware update
5) once reboot, hold option key, don't let it boot into a non supported OS
6) shutdown
7) swap your supported GPU back in

In fact, the OS can run with a non supported GPU, and the OS upgrade can be done, but just no acceleration.


Title: Re: Radeon Port Mapping
Post by: vinnie1978 on February 04, 2018, 03:27:20 PM
So I have a 4,1 with a 5,1 BIOS, and the High Sierra installer wants to update that bios for APFS compatibility but I think I can't do it without an EFI video card. The stock 8800GT that came in this Mac Pro doesn't boot into Sierra anymore, and other than that I have two PC non-efi cards, an XFX 5870 1GB and a Gigabyte 770 GTX 4GB.

I have attached the 5870 Rom, would anyone be able to make it EFI?
 

Here you go