Jump to content
Vlada.

[HOW TO] Modification of AMD FB + Clover injection

390 posts in this topic

Recommended Posts

I’ve been trying to use Sierra 10.12.6 under unRAID qemu passing through a rx560 and i’m having skme troubles like you. The screen freezes just before the login screen but the system keeps working. Can ping, ssh etc but no screen sharing or monitor.

 

But I came to an accidental realization. I was plugging in and plugging out some cables aaaand... got video :)

 

I now start the VM with my displayport cable unplugged. Once the system comes up—I can ping and use screensharing—I plugin the monitor. And get video output.

 

Once I get the video, I can sleep and wake the VM with video. I have Whatevergreen and Lilu In clover efi..

 

Try giving this technique a shot maybe?

 

I’d like to find a solution to this as mucking around with cables is not a good solution in the long run.

 

I'm having trouble with Framebuffer and Graphics acceleration. I'm able to boot with RadeonDeInit, but I have to remove the AMDRadeonX4xxx.kext's that control OpenGL/Metal, and GFX acceleration.

 

With accretion the system is really slow, to the point you'll think it's frozen, but it's not, just takes 5 mins. before anything happens. Maybe a DMA issue with IOMMU on my mainboard. I have about the same issue when I pass a GTX1050, GUI is really slow. It may have something to do with the AMD Ryzen cpu I'm using, too. Other people don't seem to have any trouble with GPU Passthough, but they are using Intel CPU's.

Share this post


Link to post
Share on other sites
Advertisement

Ive attached my ROM n DSDT, can u plz patch it for me!

 

 

ATOM BIOS Rom:

    SubsystemVendorID: 0x104d SubsystemID: 0x908a

    IOBaseAddress: 0x0000

    Filename: BR41199.024

    BIOS Bootup Message:

Sony/Wistron Z50CR ThamesPro DDR3                                           

 

PCI ID: 1002:6841

Connector at index 0

    Type [@offset 16006]: LVDS (7)

    Encoder [@offset 16010]: INTERNAL_UNIPHY (0x1e)

    i2cid [@offset 16080]: 0x96, OSX senseid: 0x7

Connector at index 1

    Type [@offset 16016]: HDMI-A (11)

    Encoder [@offset 16020]: INTERNAL_UNIPHY1 (0x20)

    i2cid [@offset 16103]: 0x90, OSX senseid: 0x1

Connector at index 2

    Type [@offset 16026]: VGA (1)

    Encoder [@offset 16030]: INTERNAL_KLDSCP_DAC1 (0x15)

    i2cid [@offset 16130]: 0x97, OSX senseid: 0x8

 

 

BR41199.024 :

 

Sony/Wistron Z50CR ThamesPro DDR3                                           

 

Subsystem Vendor ID: 104d

       Subsystem ID: 908a

Object Header Structure Size: 199

Connector Object Table Offset: 34

Router Object Table Offset: 0

Encoder Object Table Offset: 99

Display Path Table Offset: 12

Connector Object Id [14] which is [LVDS]

    encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false

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 [5] which is [VGA]

    encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

 

 

LVDS    :  10 00 01 07

HDMI    :  11 02 02 01

VGA     :  00 10 03 08

 

LVDS   / 02000000 40000000 08010000 / + (add your code construction)

VGA    / 10000000 10000000 00010000 / + (add your code construction)

DP     / 00040000 04030000 00010000 / + (add your code construction)

DVI-SL / 00020000 04020000 00010000 / + (add your code construction)

DVI-DL / 04000000 14020000 00010000 / + (add your code construction)

HDMI   / 00080000 04020000 00010000 / + (add your code construction)

 

From AMD6000Controller.kext:

Ipomoea (3)

DP, HDMI, VGA

orig:

00040000040300000001000012040105

00080000040200000001000011020403

10000000100000000001000000000002

 

fix:

02000000400000000801000010000107

00080000040200000001000011020201

10000000100000000001000000100308

 

 

 

 

 

DSDT.aml.zip

Share this post


Link to post
Share on other sites

Hello, I have a Sapphire Radeon HD6870 with five ports: DVI-I / DVI-D / HDMI / 2x Mini-DP (last four on one slot)

My actual monitor setup:

20" TFT on Displayport using passive DP-> HDMI adapter and HDMI-> DVI cable
27" 3D TV on HDMI
Wacom Cintiq Companion Hybrid on DVI-D

I've tried the unmodified driver with Duckweed and another one with Gibba framebuffer. Actually there's an Connector Patch entry in Clover, but there's still no success. I'm using Mavericks 10.9.5, graphics card ID is 0x6738.

While booting, only the 20" TFT is on, the other displays are black. When the system is booted, both monitors is active, but the Cintiq is black, showing 'No input signal'. However, it is fully detected, opening the Wacom Center and the Android File exchange tool. The Wacom Cintiq Companion Hybrid is a 13,3" Cintiq HD with additional Android 4.2.1 tablet function. If I remove the displayport adapter from the graphics card, the screen changes to the Cintiq. But if I plug it in again, the 20" monitor doesn't tun on again.

Has anyone an idea? Is it just a driver problem, or do I have to get an active DisplayPort adapter? It would be great to have an own screen for the Cintiq and optional be able to mirror it with the 3D TV if neccesary. The problem of using a 4:3 and 16:9 monitor simultaneously probably doesn't happen so often anymore. Actually I'm using my 27" TV and the 13" Cintiq simultaneously using an active HDMI splitter. This works fine, but using them independently as three monitors would be nice.

 

However, I'm still not sure if my Radeon HD6870 is working correctly yet. It works fine, but in games like Plasma Pong I'll just get 59 fps. In Snow Leopard I have nearly 180 ! The whole 10.6 system is much faster. Any version above 10.9 is too slow to use. If I'm using Universe Sandbox 2 and have some higher graphics activity like a supernova, the temperature of the Radeon HD6870 can go up to 80°C ! The typical temperature is 59° C.

 

Greets, naquaada.

Share this post


Link to post
Share on other sites

ATOM BIOS Rom:

    SubsystemVendorID: 0x104d SubsystemID: 0x908a

    IOBaseAddress: 0x0000

    Filename: BR41199.024

    BIOS Bootup Message:

Sony/Wistron Z50CR ThamesPro DDR3                                           

 

PCI ID: 1002:6841

Connector at index 0

    Type [@offset 16006]: LVDS (7)

    Encoder [@offset 16010]: INTERNAL_UNIPHY (0x1e)

    i2cid [@offset 16080]: 0x96, OSX senseid: 0x7

Connector at index 1

    Type [@offset 16016]: HDMI-A (11)

    Encoder [@offset 16020]: INTERNAL_UNIPHY1 (0x20)

    i2cid [@offset 16103]: 0x90, OSX senseid: 0x1

Connector at index 2

    Type [@offset 16026]: VGA (1)

    Encoder [@offset 16030]: INTERNAL_KLDSCP_DAC1 (0x15)

    i2cid [@offset 16130]: 0x97, OSX senseid: 0x8

 

 

BR41199.024 :

 

Sony/Wistron Z50CR ThamesPro DDR3                                           

 

Subsystem Vendor ID: 104d

       Subsystem ID: 908a

Object Header Structure Size: 199

Connector Object Table Offset: 34

Router Object Table Offset: 0

Encoder Object Table Offset: 99

Display Path Table Offset: 12

Connector Object Id [14] which is [LVDS]

    encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false

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 [5] which is [VGA]

    encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false

 

 

LVDS    :  10 00 01 07

HDMI    :  11 02 02 01

VGA     :  00 10 03 08

 

LVDS   / 02000000 40000000 08010000 / + (add your code construction)

VGA    / 10000000 10000000 00010000 / + (add your code construction)

DP     / 00040000 04030000 00010000 / + (add your code construction)

DVI-SL / 00020000 04020000 00010000 / + (add your code construction)

DVI-DL / 04000000 14020000 00010000 / + (add your code construction)

HDMI   / 00080000 04020000 00010000 / + (add your code construction)

 

From AMD6000Controller.kext:

Ipomoea (3)

DP, HDMI, VGA

orig:

00040000040300000001000012040105

00080000040200000001000011020403

10000000100000000001000000000002

 

fix:

02000000400000000801000010000107

00080000040200000001000011020201

10000000100000000001000000100308

 

 

 

 

 

Sir tried but no luck ;(

[EDIT-13/12/2017]

 

sir it worked, the ROM was not getting inject so I have to inject via DSDT, ATY_Bin-Image method

 

sir m confused and DP n LVDS, 

 

N sir how can I unlock 30-bit color(I got it in 10.11.6)

 

Also sir can u give me all detain of my ROM so that I can inject it via DSDT.

Share this post


Link to post
Share on other sites

 

High Sierra Beta 7 Framebuffers

------------------------AMD10000Controller.kext-------------------------

Exmoor (6) @ 0x10c6e0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Kamarang (4) @ 0x10cb10
DP, DP, DP, HDMI
000400000403000000010101000000002205020200000000
000400000403000000010201000000001204010100000000
000400000403000000010300000000001000050500000000
000800000402000000010400000000002001060600000000

Japura (6) @ 0x10e1b0
LVDS, LVDS, DP, DP, DP, DP
020000000001000008010151020000002205020200000000
020000000001000008010261020000001204010100000000
000400000403000000010313000000002001050600000000
000400000403000000010423000000001000060500000000
000400000403000000010543000000001102030300000000
000400000403000000010633000000002103040400000000

Iriri (4) @ 0x1159b0
DP, DP, DP, HDMI
000400000403000000010101000000002205020200000000
000400000403000000010201000000001204010100000000
000400000403000000010300000000001000050500000000
000800000402000000010400000000002001060600000000

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

-------------------------AMD2400Controller.kext-------------------------

Iago (2) @ 0x109df0
LVDS, ????
020000004000000019000000000000000001001200000000
0010000016000000c4000000000000001000011100000000

-------------------------AMD2600Controller.kext-------------------------

Hypoprion (2) @ 0x109dc0
LVDS, ????
020000004000000019000000000000000001001200000000
0010000016000000c4000000000000001000011100000000

Lamna (2) @ 0x109df0
SDVI, DDVI
000200001400000080000000000000000001021100000000
040000001600000080000000000000000010011200000000

-------------------------AMD3800Controller.kext-------------------------

Megalodon (3) @ 0x10ada0
SDVI, DDVI, SVIDEO
000200001400000000000000000000000001021100000000
040000001600000000000000000000000010011200000000
800000000200000004000000000000000010000000000000

Triakis (2) @ 0x10adf0
SDVI, DDVI
000200001400000000000000000000000001021100000000
040000001600000000000000000000000010011200000000

-------------------------AMD4600Controller.kext-------------------------

Flicker (3) @ 0x107d20
DP, DP, SDVI
000400000004000000010000000000000201030500000000
000400000004000000010000000000000100020200000000
000200001402000000010000000000000010010400000000

Gliff (3) @ 0x107d70
LVDS, LVDS, DP
020000004000000019010000000000000201000300000000
020000000001000019010000000000002001020200000000
000400000406000000010000000000001000010100000000

Shrike (3) @ 0x107dc0
LVDS, LVDS, DP
020000004000000019010000000000000201000300000000
020000000001000019010000000000002001020200000000
000400000403000000010000000000001000010100000000

-------------------------AMD4800Controller.kext-------------------------

Cardinal (2) @ 0x106d50
SDVI, DDVI
000200001402000000010000000000000101010400000000
040000001402000000010000000000000010020300000000

MotMot (2) @ 0x106d80
DP, DDVI
000400000401000000010000000000001000020300000000
040000001402000000010000000000000111010400000000

Quail (3) @ 0x106db0
LVDS, LVDS, DP
020000004000000019010000000000002201000700000000
020000000001000019010000000000002001030400000000
000400000403000000010000000000001000020300000000

-------------------------AMD5000Controller.kext-------------------------

Douc (2) @ 0xc8680
LVDS, DP
020000000005000019030000000000002103020200000000
000400000402000000030000000000001102010100000000

Langur (3) @ 0xc86b0
DP, DP, DDVI
000400000406000000010000000000002103040200000000
000400000406000000010000000000001102010100000000
040000001402000000010000000000000204050300000000

Uakari (4) @ 0xc8700
DP, DDVI, SDVI, HDMI
000400000004000000710000000000001204040100000000
040000001400000000710000000000000112010300000000
000200001400000000710000000000000000060500000000
000800000002000000710000000000002205050400000000

Zonalis (6) @ 0xc8760
DP, DP, DP, DP, DP, DP
000400000406000000710000000000002001060600000000
000400000406000000710000000000001000050500000000
000400000406000000710000000000002103020400000000
000400000406000000710000000000001102010300000000
000400000406000000710000000000002205040200000000
000400000406000000710000000000001204030100000000

Alouatta (4) @ 0xc87f0
LVDS, DP, DP, DP
020000000001000019010000000000001204030300000000
000400000406000000710000000000001102010100000000
000400000406000000710000000000002103020200000000
000400000406000000710000000000002205040400000000

Hoolock (3) @ 0xc8850
DP, DP, DDVI
000400000406000000010000000000002103050100000000
000400000406000000010000000000001102040200000000
040000001402000000010000000000000204010300000000

Vervet (4) @ 0xc88a0
DP, DDVI, SDVI, HDMI
000400000004000000710000000000001204040200000000
040000001400000000710000000000000112010400000000
000200001400000000710000000000000000060300000000
000800000002000000710000000000002205050100000000

Baboon (3) @ 0xc8900
DDVI, HDMI, VGA
040000001400000000010000000000000102010300000000
000800000002000000710000000000002205020100000000
100000001000000000010000000000000010000200000000

Eulemur (3) @ 0xc8950
DDVI, HDMI, VGA
040000001400000000010000000000000102010400000000
000800000002000000710000000000001204040200000000
100000001000000000000000000000000010000100000000

Galago (2) @ 0xc89b0
LVDS, DP
020000000001000019030000000000002103020200000000
000400000406000000730000000000001102010100000000

Colobus (2) @ 0xc89f0
LVDS, DP
020000000001000019030000000000002103020200000000
000400000406000000730000000000001102010100000000

Mangabey (2) @ 0xc8a30
LVDS, DP
020000004000000019010000000000000000000300000000
000400000406000000730000000000001102010100000000

Nomascus (4) @ 0xc8a70
LVDS, LVDS, DP, DP
020000004000000019010000000000000000000500000000
020000000001000019030000000000001204030300000000
000400000406000000730000000000001102010100000000
000400000407000000730000000000002103020200000000

Orangutan (2) @ 0xc8ae0
LVDS, DP
020000004000000019010000000000000000000500000000
000400000406000000730000000000001102010100000000

-------------------------AMD6000Controller.kext-------------------------

Pithecia (2) @ 0xe76a0
DP, DDVI
000400000403000000010000000000002103020400000000
040000001402000000010000000000000000040300000000

Bulrushes (6) @ 0xe76d0
DP, DP, DP, DP, DP, DP
000400000403000000010000000000001102010100000000
000400000403000000010000000000002103020200000000
000400000403000000010000000000001204030300000000
000400000403000000010000000000002205040400000000
000400000403000000010000000000001000050500000000
000400000403000000010000000000002001060600000000

Cattail (4) @ 0xe7760
LVDS, DP, DP, DP
020000004000000039050000000000000000000500000000
000400000403000000010000000000001102010100000000
000400000001000000091000000000002103020200000000
000400000001000000091000000000001204030300000000

Hydrilla (5) @ 0xe77c0
LVDS, DP, DP, DP, DP
020000000001000019010000000000001204030300000000
000400000403000000010000000000001102010100000000
000400000001000000091000000000002103020200000000
000400000001000000091000000000002205050400000000
000400000403000000010000000000001000040500000000

Duckweed (4) @ 0xe7840
DP, DP, HDMI, SDVI
000400000403000000010000000000001204040100000000
000400000403000000010000000000002205050200000000
000800000402000000010000000000001102030400000000
000200001402000000010000000000000000060500000000

Fanwort (4) @ 0xe78a0
LVDS, DP, DP, DP
020000004000000039050000000000000000000400000000
000400000403000000010000000000001102010100000000
000400000001000000091000000000002103020200000000
000400000001000000091000000000001204030300000000

Elodea (5) @ 0xe7900
LVDS, DP, DP, DP, DP
020000000001000019010000000000001204030300000000
000400000403000000010000000000001000050500000000
000400000403000000010000000000001102010100000000
000400000001000000091000000000002103020200000000
000400000001000000091000000000002205040400000000

Kudzu (2) @ 0xe7980
DP, HDMI
000400000403000000010000000000001204030300000000
000800000402000000010000000000001102010100000000

Gibba (5) @ 0xe79b0
DP, DP, HDMI, SDVI, DDVI
000400000403000000010000000000001204050100000000
000400000403000000010000000000002205040200000000
000800000402000000010000000000001102060400000000
000200001402000000010000000000000000030500000000
040000000402000000010000000000001102010300000000

Lotus (3) @ 0xe7a30
DP, HDMI, DP
000400000403000000010000000000001102010100000000
000800000402000000010000000000002205040400000000
000400000001000000010000000000002103020200000000

Ipomoea (3) @ 0xe7a80
DP, HDMI, VGA
000400000403000000010000000000001204010500000000
000800000402000000010000000000001102040300000000
100000001000000000010000000000000000000200000000

Muskgrass (4) @ 0xe7ad0
DP, DP, DP, HDMI
000400000403000000010100000000001102010100000000
000400000001000000091200000000002103020200000000
000400000001000000091300000000002205040400000000
000800000402000000010400000000001204030300000000

Juncus (4) @ 0xe7b30
DP, DP, DP, DP
000400000403000000010000000000001204030300000000
000400000403000000010000000000001000040500000000
000400000403000000010000000000001102010100000000
000400000403000000010000000000002103020200000000

Osmunda (4) @ 0xe7b90
LVDS, DP, DP, HDMI
020000000001000039050100000000001000050500000000
000400000403000000090200000000001102010100000000
000400000403000000090300000000002103020200000000
000800000402000000010400000000001204030300000000

Pondweed (3) @ 0xe7bf0
LVDS, DP, DP
020000000001000019010100000000001000050500000000
000400000403000000010200000000001102010100000000
000400000403000000010300000000002103020200000000

Spikerush (4) @ 0xe7c40
LVDS, DP, DP, DP
020000004000000039050100000000000000000500000000
000400000403000000010200000000001102010100000000
000400000001000000090200000000002103020200000000
000400000001000000090300000000001204030300000000

Typha (5) @ 0xe7ca0
DP, DP, DP, DP, DDVI
000400000403000000010100000000001102040100000000
000400000403000000010200000000002103050200000000
000400000001000000090300000000001000020500000000
000400000001000000090400000000002001030600000000
040000001402000000010500000000000204010300000000

-------------------------AMD7000Controller.kext-------------------------

Ramen (6) @ 0xea7c0
LVDS, HDMI, DP, DP, DP, DP
020000000001000039050108000000002001050600000000
000800000402000000010200000000001000030500000000
000400000403000000010343000000001102010100000000
000400000001000000010431000000002103040300000000
000400000403000000010563000000001204020200000000
000400000001000000010651000000002205040300000000

Tako (6) @ 0xea8c0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Namako (4) @ 0xea950
LVDS, LVDS, DP, DP
020000000001000000010151000000002205020200000000
020000000001000000010261010000001204010100000000
000400000403000000010343000000001102030300000000
000400000403000000010433000000002103040400000000

Aji (4) @ 0xeaa30
DP, DP, DDVI, HDMI
000400000403000000010101000000001204050100000000
000400000403000000010201000000002205040200000000
040000001402000000010300000000000000030600000000
000800000402000000010400000000001102010400000000

Buri (4) @ 0xeaa90
LVDS, DP, DP, HDMI
020000000001000039050100000000001000050500000000
000400000403000000090200000000001102010100000000
000400000403000000090300000000002103020200000000
000800000402000000010400000000001204030300000000

Chutoro (5) @ 0xeaaf0
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090300000000002103020200000000
000400000001000000090400000000002205040400000000
000400000403000000010500000000001000050500000000

Dashimaki (4) @ 0xeab70
DP, DP, DDVI, HDMI
000400000403000000010101000000001204020200000000
000400000403000000010200000000002205030500000000
040000001402000000010301000000000000040400000000
000800000402000000010400000000001102010100000000

Ebi (5) @ 0xeabe0
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090301000000002103020200000000
000400000001000000090401000000002205040400000000
000400000403000000010501000000001000050500000000

Gari (5) @ 0xeac60
LVDS, DP, DP, DP, DP
020000000001000019010100000000001204030300000000
000400000403000000010201000000001102010100000000
000400000001000000090300000000002103020200000000
000400000001000000090400000000002205040400000000
000400000403000000010500000000001000050500000000

Futomaki (4) @ 0xeace0
DP, DP, DDVI, HDMI
000400000403000000010101000000001204040100000000
000400000403000000010201000000002205050200000000
040000001402000000010300000000000000060600000000
000800000402000000010400000000001102010300000000

Hamachi (4) @ 0xead40
DP, DP, DDVI, HDMI
000400000403000000010101000000001204050100000000
000400000403000000010201000000002205040200000000
040000001402000000010300000000000000030600000000
000800000402000000010400000000001102010400000000

OPM (6) @ 0xeade0
DP, DP, DP, DP, DP, DP
000400000403000000010001000000001102010100000000
000400000403000000010001000000002103020200000000
000400000403000000010001000000001204030300000000
000400000403000000010001000000002205040400000000
000400000403000000010001000000001000050500000000
000400001403000000010001000000002001060600000000

Ikura (1) @ 0xeae70
HDMI
000800000402000000010100000000001204030100000000

IkuraS (6) @ 0xeae90
DP, DP, DP, DP, DP, DP
000400000403000000010143000000001102010300000000
000400000403000000010233000000002103020400000000
000400000403000000010363000000001204030100000000
000400000403000000010453000000002205040200000000
000400000403000000010523000000001000050500000000
000400000403000000010613000000002001060600000000

Junsai (6) @ 0xeaf20
DP, DP, DP, DP, DP, DP
000400000403000000010001000000001204030100000000
000400000403000000010001000000002205040200000000
000400000403000000010001000000001102010300000000
000400000403000000010001000000002103020400000000
000400000403000000010001000000001000050500000000
000400000403000000010001000000002001060600000000

Kani (1) @ 0xeafb0
HDMI
000800000402000000010100000000001204030100000000

KaniS (6) @ 0xeafd0
DP, DP, DP, DP, DP, DP
000400000403000000010143000000001102010300000000
000400000403000000010233000000002103020400000000
000400000403000000010363000000001204030100000000
000400000403000000010453000000002205040200000000
000400000403000000010523000000001000050500000000
000400000403000000010613000000002001060600000000

DashimakiS (4) @ 0xeb060
DP, DP, DDVI, HDMI
000400000403000000010101000000001204020200000000
000400000403000000010201000000002205030500000000
040000001402000000010300000000000000040400000000
000800000402000000010400000000001102010100000000

Maguro (1) @ 0xeb0c0
HDMI
000800000402000000010100000000001204030100000000

MaguroS (6) @ 0xeb0e0
DP, DP, DP, DP, DP, DP
000400000403000000010143000000001102010300000000
000400000403000000010233000000002103020400000000
000400000403000000010363000000001204030100000000
000400000403000000010453000000002205040200000000
000400000403000000010523000000001000050500000000
000400000403000000010613000000002001060600000000

-------------------------AMD8000Controller.kext-------------------------

Exmoor (6) @ 0xf1220
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

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

-------------------------AMD9000Controller.kext-------------------------

Exmoor (6) @ 0x139dc0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

OPM (6) @ 0x139e50
DP, DP, DP, DP, DP, DP
000400000403000000000001000000001000010100000000
000400000403000000000001000000002001020200000000
000400000403000000000001000000001102030300000000
000400000403000000000001000000002103040400000000
000400000403000000000001000000001204050500000000
000400000403000000000001000000002205060600000000

MalteseS (1) @ 0x139f00
HDMI
000800000402000000010100000000001204030100000000

Lagotto (4) @ 0x139f20
DP, HDMI, DDVI, DDVI
000400000403000000010100000000001102040100000000
000800000402000000010200000000002103050300000000
040000000402000000010300000000000000010500000000
040000000402000000010400000000000204060600000000

GreyhoundS (1) @ 0x139f80
HDMI
000800000402000000010100000000001204030100000000

Maltese (6) @ 0x13a010
DP, DP, DP, DP, DP, DP
000400000403000000010123000000001000010300000000
000400000403000000010213000000002001020400000000
000400000403000000010343000000001102030100000000
000400000403000000010433000000002103040200000000
000400000403000000010563000000001204050500000000
000400000403000000010653000000002205060600000000

Labrador (6) @ 0x13a0d0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010131000000002103020400000000
020000000001000000010241010000001102010300000000
000400000403000000010323000000001000030100000000
000400000001000000010411000000002001050500000000
000400000403000000010563000000001204040200000000
000400000001000000010651000000002205050500000000

Basset (4) @ 0x13a160
LVDS, LVDS, DP, DP
020000000001000000010131000000002103020200000000
020000000001000000010241010000001102010100000000
000400000403000000010323000000001000030300000000
000400000403000000010413000000002001040400000000

Greyhound (6) @ 0x13a220
DP, DP, DP, DP, DP, DP
000400000403000000010123000000001000010300000000
000400000403000000010213000000002001020400000000
000400000403000000010343000000001102030100000000
000400000403000000010433000000002103040200000000
000400000403000000010563000000001204050500000000
000400000403000000010653000000002205060600000000

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

-------------------------AMD9300Controller.kext-------------------------

Exmoor (6) @ 0x1522f0
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

OPM (6) @ 0x152380
DP, DP, DP, DP, DP, DP
000400000403000000000001000000001000010100000000
000400000403000000000001000000002001020200000000
000400000403000000000001000000001102030300000000
000400000403000000000001000000002103040400000000
000400000403000000000001000000001204050500000000
000400000403000000000001000000002205060600000000

MalteseS (1) @ 0x152410
HDMI
000800000402000000010100000000001204030100000000

FleuveSWIP (4) @ 0x152430
DP, DP, DP, HDMI
000400000403000000010141000000001102050100000000
000400000403000000010231000000002103040200000000
000400000403000000010311000000002001030300000000
000800000402000000010400000000001204020600000000

Lagotto (4) @ 0x152490
DP, HDMI, DDVI, DDVI
000400000403000000010100000000001102040100000000
000800000402000000010200000000002103050300000000
040000000402000000010300000000000000010500000000
040000000402000000010400000000000204060600000000

GreyhoundS (1) @ 0x152500
HDMI
000800000402000000010100000000001204030100000000

Maltese (6) @ 0x1525f0
DP, DP, DP, DP, DP, DP
000400000403000000010123000000001000010300000000
000400000403000000010213000000002001020400000000
000400000403000000010343000000001102030100000000
000400000403000000010433000000002103040200000000
000400000403000000010563000000001204050500000000
000400000403000000010653000000002205060600000000

Labrador (6) @ 0x152680
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010131000000002103020400000000
020000000001000000010241010000001102010300000000
000400000403000000010323000000001000030100000000
000400000001000000010411000000002001050500000000
000400000403000000010563000000001204040200000000
000400000001000000010651000000002205050500000000

Basset (4) @ 0x152710
LVDS, LVDS, DP, DP
020000000001000000010131000000002103020200000000
020000000001000000010241010000001102010100000000
000400000403000000010323000000001000030300000000
000400000403000000010413000000002001040400000000

Greyhound (6) @ 0x1527d0
DP, DP, DP, DP, DP, DP
000400000403000000010123000000001000010300000000
000400000403000000010213000000002001020400000000
000400000403000000010343000000001102030100000000
000400000403000000010433000000002103040200000000
000400000403000000010563000000001204050500000000
000400000403000000010653000000002205060600000000

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

-------------------------AMD9500Controller.kext-------------------------

Orinoco (5) @ 0x121d90
DP, DP, HDMI, HDMI, DDVI
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000800000402000000010300000000001102010200000000
000800000402000000010400000000002103050400000000
040000000400000000010500000000000000030600000000

Exmoor (6) @ 0x121e10
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

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

Huallaga (3) @ 0x121fd0
DP, DP, HDMI
000400000403000000010101000000001204040300000000
000400000403000000010201000000001102010200000000
000800000402000000010300000000002103050400000000

Palena (5) @ 0x122090
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243000000001000020200000000
000400000403000000010313000000002103030300000000
000400000403000000010453000000001102040400000000
000400000403000000010533000000001204050500000000

Guariba (6) @ 0x122110
DP, DP, DP, HDMI, DDVI, DP
000400000403000000010101000000001204060100000000
000400000403000000010201000000002205040300000000
000400000403000000010301000000001102010200000000
000800000402000000010400000000002103050400000000
040000000402000000010500000000000000030600000000
000400000001000000010601000000002001020500000000

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

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

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

-------------------------AMD9510Controller.kext-------------------------

Exmoor (6) @ 0x104920
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Berbice (5) @ 0x1049b0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243000000001000020200000000
000400000403000000010313000000002103030300000000
000400000403000000010453000000001102040400000000
000400000403000000010533000000001204050500000000

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

-------------------------AMD9515Controller.kext-------------------------

Exmoor (6) @ 0x104930
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Mazaruni (5) @ 0x1049c0
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243000000001000020200000000
000400000403000000010313000000002103030300000000
000400000403000000010453000000001102040400000000
000400000403000000010533000000001204050500000000

Longavi (5) @ 0x104b30
LVDS, DP, DP, DP, DP
020000000001000039050108000000002001010100000000
000400000001000000010243000000001000020200000000
000400000403000000010313000000002103030300000000
000400000403000000010453000000001102040400000000
000400000403000000010533000000001204050500000000

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

-------------------------AMD9520Controller.kext-------------------------

Exmoor (6) @ 0x105910
LVDS, LVDS, DP, DP, DP, DP
020000000001000000010151000000002205020400000000
020000000001000000010261010000001204010300000000
000400000403000000010343000000001102030100000000
000400000001000000010431000000002103050500000000
000400000403000000010523000000001000040200000000
000400000001000000010611000000002001050500000000

Elqui (5) @ 0x1059a0
LVDS, LVDS, DP, DP, DP
020000000001000000010141000000001102020400000000
020000000001000000010231010000002103010300000000
000400000403000000010313000000002001030100000000
000400000403000000010413000000001204040200000000
000400000403000000010501000000001000050500000000

Caroni (5) @ 0x105b10
LVDS, LVDS, DP, DP, DP
020000000001000000010141000000001102020400000000
020000000001000000010231010000002103010300000000
000400000403000000010313000000002001030100000000
000400000403000000010413000000001204040200000000
000400000403000000010501000000001000050500000000

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

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

hi,my rx580 has 4 ports,:one hdmi and three dp...i use high sierra..so which fb shoule i use?  i use   fb of dayman or oricnoc to boot into system sucessfully.

Share this post


Link to post
Share on other sites

If anyone with sapphire r9 290x 4gb wants to test multiscreen with Baladi framebuffer patch in High Sierra, DVI's + HDMI should work, I guess with display port and bigger resolutions we're out of luck or we just need to experiment a lot to get it right... 

clover settings:

  • injectAti = yes
  • RadeonDeinit = yes
  • FB name = Baladi
  • Video ports = 4
  • kexts to patch = AMD8000Controller

 

find:

 

00040000 04030000 00010300 00000000 12040303 00000000 
00040000 04030000 00010100 00000000 11020101 00000000
00040000 04030000 00010200 00000000 21030202 00000000 
00040000 04030000 00010400 00000000 22050404 00000000
00040000 04030000 00010500 00000000 10000505 00000000 
00040000 04030000 00010600 00000000 20010606 00000000

replace:

04000000 14020000 00010100 00000000 10000606 00000000 
04000000 14020000 00010200 00000000 11020104 00000000
00080000 00020000 00010300 00000000 22050303 00000000 
00040000 04030000 00010400 00000000 12040201 00000000
00040000 04030000 00010500 00000000 10000507 00000000 
00040000 04030000 00010600 00000000 20010608 00000000

Share this post


Link to post
Share on other sites

 

hi,my rx580 has 4 ports,:one hdmi and three dp...i use high sierra..so which fb shoule i use?  i use   fb of dayman or oricnoc to boot into system sucessfully.

 

 

you should use orinoco

Share this post


Link to post
Share on other sites

Hello,
 
I still struggle by using my Gigabyte R9 390 with High Sierra.
In Sierra this post works great for me:
http://www.insanelymac.com/forum/topic/315027-amd-r9-390-framebuffer-issue-on-1012-sierra/?p=2292376
Only difference I have

  • disabled AtiInjection
  • don't force FrameBuffer

​On High Sierra I get only black screens but my Displays are turned on and recognised.
So I thought that I have to do another Modification of AMD FB for my GPU.
 
I found this post by another owner of the same GPU.[/background]

 

Graphics Card Model: Radeon R9 390 G1
Graphics Card Manufactor: Gigabyte
 
Patched Framebuffer: Baladi
 
00040000 04030000 00010000 12040101
00040000 04030000 00010000 10000205
00040000 04030000 00010000 20010306
00080000 00020000 00010001 22050403
04000000 14020000 00010000 11020504
 
000400000403000000010000120401010004000004030000000100001000020500040000040300000001000020010306000800000002000000010001220504030400000014020000000100001102050400040000040300000001020021030202

 

The first version is what I also got by following the guide by Vlada.

My GPU has 3xDP,1xDVI,1xHDMI so 5 lines make sense.

 

The second version (the bold text) is the first one in one line to copy and paste but also with a 6. connector added.

That is something I don't understand

00040000 04030000 00010000 12040101 
00040000 04030000 00010000 10000205
00040000 04030000 00010000 20010306
00080000 00020000 00010001 22050403 
04000000 14020000 00010000 11020504
00040000 04030000 00010200 21030202 <- the added 6. connector.

I edited it for using with High Sierra so I got:

00040000 04030000 00010000 00000000 12040101 00000000 
00040000 04030000 00010000 00000000 10000205 00000000 
00040000 04030000 00010000 00000000 20010306 00000000 
00080000 00020000 00010001 00000000 22050403 00000000 
04000000 14020000 00010000 00000000 11020504 00000000
00040000 04030000 00010200 00000000 21030202 00000000 

and overwrote this: 

00040000 04030000 00010300 00000000 12040303 00000000 00040000 04030000 00010100 00000000 11020101 00000000 00040000 04030000 00010200 00000000 21030202 00000000 00040000 04030000 00010400 00000000 22050404 00000000 00040000 04030000 00010500 00000000 10000505 00000000 00040000 04030000 00010600 00000000 20010606 00000000 

It doesn't work neither with ATI-Injection off and force frame buffer off nor with enabled both options.

 

I also tried another approach like another user:             #217            

but this worked neither.

 

Can somebody help me please?

Is it right to use the Baladi FB although my card has 5 connectors not 6?

 

 

P.S.

I use the latest version of WhatEverGreen and Lilu

Share this post


Link to post
Share on other sites

Quick general question on patching with the Clover configurator:

Shall I still use the specific patch fields called "ATI Connectors" or shall I use the generic kext patch GUI with the "Find" and "Replace" entries? I see some hints with both methods. In old Yosemite days always used the ATI Connectors.

 

I got a 90% successful update to Sierra with my R9 290X but still get the "black on boot" problem. All available hints (RadeonDeInit, iGFX enabled etc.) where not successful so far so I am afraid I am back in the "patching business"  :blush:

Share this post


Link to post
Share on other sites

Thanks very much to @Vlada. for writing such a great guide.  And others who have contributed like Pavo.

I have spent many hours trying to get a patch to help me, but so far have not succeeded - I get a better result with no patch/no Clover config at all.

Here's my setup:

GPU:  Asus Matrix 7970 3GB - 2 x DVI + 4 x DP = 6 total connectors

Monitors I would like to use: Five (2 x DVI + 3 x DP or 1 x DVI + 4 x DP)

System: X58/LGA1366, Xeon 5670, Gigabyte GA-X58A-UD3R 2.0 motherboard

Software: macOS 10.13.3; Clover 4411 legacy

And this is what I find:

  • Boot with no Clover graphics config / no WEG / no FB patch =  all connected displays have signal, and are detected in Displays.  Only two get a picture, others are black.
    • Attempting to sleep = screens don't wake, have to reboot
    • About This Mac -> GPU = "AMD Radeon 7XXX 3GB"
  • Boot with no Clover graphics config,  WEG added = I can wake from sleep, and this causes all displays to show a picture.  I can use all monitors, tested with five active displays.   (Probably six would work too.)
    • This seems to be a usable config (I am using it now), just annoying to always have to sleep/wake after boot.
    • About This Mac -> GPU = "AMD Radeon HD 7970 3 GB"
  • Boot with InjectATI=Yes and a FB patch = Usually I get two detected displays with picture, others not detected (not in Displays, monitor in standby)
    • I've tried adding  RadeonDeInit=Yes with no change.  Adding WEG does not change anything. Sleep does not change anything.
    • If I try an FB patch without InjectATI=Yes, the patch is not used - I guess this flag is required before FBName is used by Clover?
    • About This Mac -> GPU = "AMD Radeon HD 7970X/8970/R9 280X 3GB"  (which seems a bit wrong, but I don't know if this matters?)

So my situation is not too bad with no patching. Just adding WEG means I can use all monitors.  Only issue is I have to sleep & wake from Login screen before all monitors show a picture.  It would be nice to fix this.

I have tried for many hours patching AMD7000Controller FBs, but I cannot get an improved situation.  I have read and re-read the guide, and can't see what, if anything, I might be doing wrong.  I have tried many variants, eg connectors in different order, without success.

This is a Gist link to my radeon_bios_decode and redsock_bios_decoder outputs.

And this is a link to my Clover config.plist, as another Gist.

From the decod/redsock output, I created the following list of data for the last 4 dual-byte sections in the FB:

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

The one marked with a # is an extra DVI, marked as INTERNAL_KLDSCP_DAC1, which I think I leave out (VladA did in his) because otherwise it would be 7 total connectors.

I have tried patching OPM (6xDP), IkuraS (6xDP) and Tako (2xLVDS, 4xDP).  (Also Junsai now, as mentioned at end.)

Here is Tako original:

Tako (6) @ 0xebb70
LVDS, LVDS, DP, DP, DP, DP
02000000 00010000 00010151 00000000 22050204 00000000  # LVDS
02000000 00010000 00010261 01000000 12040103 00000000  # LVDS
00040000 04030000 00010343 00000000 11020301 00000000  # DP
00040000 00010000 00010431 00000000 21030505 00000000  # DP
00040000 04030000 00010523 00000000 10000402 00000000  # DP
00040000 00010000 00010611 00000000 20010505 00000000  # DP

And here is my latest patch. In this one I changed the 'unknown bytes' to 00. I earlier tried without changing those.  I am putting the DVI connectors first here,I have also tried with DP first then DVI:

00020000 04020000 00010100 00000000 22050502 00000000  # DVI-SL
04000000 14020000 00010200 00000000 10000705 00000000  # DVI-DL
00040000 04030000 00010300 00000000 11020103 00000000  # DP 
00040000 04030000 00010400 00000000 21030204 00000000  # DP
00040000 04030000 00010500 00000000 12040301 00000000  # DP
00040000 04030000 00010600 00000000 20010406 00000000  # DP

I get various different results depending on which FB I try to patch, and which order I put connectors.  But when patching I have never had more than three screens with signal/shown in Displays, and usually just two. Worse than not patching at all.

I am patching manually, because I failed to get Clover to patch successfully (System Report -> Extensions showed AMD7000Controller was still Signed and from Apple, so the patch seemed not to apply.)  I patch from CLI with the following:

$ cp kext-original/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller .
$ perl -pi -e 's|\x......|\x....|g' AMD7000Controller
$ sudo cp AMD7000Controller /System/Library/Extensions/AMD7000Controller.kext/Contents/MacOS/AMD7000Controller
# After this I run /Applications/Kext Utility.app, although I don't think I need to?

Quite possibly I am making a mistake or have misunderstood something.  Any help would be greatly appreciated.

In the meantime, next I am going to try patching Junsai, because I noticed that nearly all of its last-four data are identical to mine.   So I will just change two connectors to DVI, leaving them in the same order they are in now.  I still don't really  understand the correct ordering.

 EDIT:  I can't seem to get a patch to apply for Junsai.  Every patch I try gives identical results to booting with an unpatched Junsai.  I even tried patching in garbage data (lots of 9s spread throughout the data) and it still worked identically to unpatched Junsai.  Patches to other FBs definitely made some difference (though never good), but for some reason I can't seem to patch this particular FB at all.  The patch definitely changes data - I checked before and after with cmp.  I wonder if the issue is that setting FBName=Junsai is not actually causing this FB to be used. 

Share this post


Link to post
Share on other sites
Posted (edited)

I'm still struggling to find a way to get my 6-connector Asus Matrix 7970 (Ghz Edition / R9 280X) working from boot.   I'm now on 10.13.4 beta, and that changed three things for me: doubled my OpenCL and Metal benchmark scores, enabled me to wake from sleep without WEG, and also initially gave me OOB working HDMI/DP Audio (later stopped working, I think maybe  only worked in Beta 3 and stopped in Beta 5.)

I still have to sleep&wake after every boot in order to get a picture from all GPU ports.  From boot I have signal on all monitors, but a picture on only two.  After sleep/wake I get picture on all.

I'm starting to think that patching might not be possible for me, based on what @Vlada. said here:

On 08/12/2014 at 12:41 AM, Vlada. said:

 First one is a situation where you will get a black screen, but the monitor will stays on. This also means that assigned FB works, but the connectors code inside dedicated AMD Controller kext is mismatched.

I can get this situation only with RadeonFramebuffer.  If I choose any FB from AMD7000, the best I can get is four monitors with signal, and the other one or two no-signal.  I cannot improve that with any patches I've tried, which matches what VladA said about needing to find the right FB.

Is there any way to patch RadeonFramebuffer?  Because with that one I do get a signal on all monitors - tested with all six ports.

I've tested all the 6-connector 7000 FBs available - IkuraS, Junsai, KaniS, MaguroS, OPM, Ramen and Tako.  The latter three don't reach Login.  The others - IkuraS, Junsai, KaniS and MaguroS - give me 4 connectors with signal, the others no-signal.   I've set Clover's VideoPorts to 6, and I see 6 ports in IORegExplorer, but I can never get signal on more than four. (If I don't set VideoPorts, I only see 5 connectors in IOReg - this might be because Clover defaults to 5 ports if VideoPorts isn't set.)

So based on what VladA said, it seems I'm stuck - there's no patchable FB which gives me a signal on all ports, only RadeonFramebuffer does that, but as it's not part of AMD7000Controller I can't patch it?

I've tested with and without WEG and with and without RadeonDeInit.  DeInit doesn't seem to change anything.  WEG renames the GPU to GFX0 in IoReg but doesn't change anything else in 10.13.4.  InjectATI also doesn't seem to do anything other than enabling use of other FBs, which isn't helping me.  Booting with InjectATI=Yes + FBName=Radeon seems identical to InjectATI=No.

I still haven't tried an SSDT, because I'm no longer sure if that's even a solution to this problem - I re-read Mieze's thread and she says specifically her SSDT patches are only for fixing wake-up issues, not a replacement for FB patching.  I did have wakeup issues in 10.13.3 which I fixed with WEG, but in 10.13.4 they seem to be gone.  I have read of a couple of people talking about SSDTs for connector patching as well, but I think not conclusively.  Unless I've missed something there - quite possible!

If anyone has any further ideas, I'd be very grateful.  Worst case I can just live with the situation I have now, because it's not so terrible having to sleep&wake each boot.  But it bothers me I can't get everything working 100% :)

PS. One final piece of info - if I boot with an extra NVidia GPU installed and primary in BIOS, all my AMD ports get signal and picture from boot.  I think this is known and expected, but adding it just in case it's useful info.  I can't use an extra GPU normally as I'm short on PCIe slots.)

Edited by TheBloke

Share this post


Link to post
Share on other sites

Could you please explain the meaning of the following, in Clover 4411 (Options->GraphicsInjector):

DeInit, FakeID, Ports, Connectors, RefCLK

I cannot yet boot into Mavericks so I cannot use Clover Configurator, so, after I'm done editing FB's, I need to know what goes where and in what format.

Must "DeInit" be ticked in order for all of its "sub-fields", (i.e. FakeID, FBConfig, Ports, Connectors, RefCLK) to be activated?

 

Share this post


Link to post
Share on other sites

I have an Asus strix R9 380X, and I get boot to black screen in high sierra with both DVI ports, tried patching the framebuffer but still getting black screen even with the installer. can anyone help me ?

Share this post


Link to post
Share on other sites

Running Mavericks 10.9.5 (13F34). Trying to boot with Caicos AMD HD6450, ports: VGA, HDMI, DVI-D.

 

(a) When I open [/S/L/E/AMD6000Controller.kext/Contents/Info.plist] with TextEdit I see only three framebuffers mentioned: Gibba (5 ports), Lotus (3 ports) and Muskgrass (4 ports). Does this mean then when system boots it only checks for those three framebuffers / port combinations?

 

(b) Does the script [ATI_FrameBuffers_10.10_to_10.11.php] report the framebuffers in the Mavericks AMD6000Controller.kext correctly, or do I need an older version of the script, suitable for 10.9.5?

 

(c) If I choose to patch a framebuffer not mentioned in the Info.plist file, e.g. Ipomoea (because its ports configuration is a closer match to the graphics card I have), will it be considered at system startup or must I choose one of the three framebuffers mentioned in the Info.plist file to patch, most likely Lotus?

Share this post


Link to post
Share on other sites
Posted (edited)

Hi,

 
I am trying to make the below config work.
 
DELL 7010
i5-3570 (non K) (HD2500 which is not working)
14Gb DDR3
250Gb HDD
AMD 7470 ---> this is the problematic part
High Sierra 10.13.6
Clover v4630
 
I patched the DSDT and created a CPU SSDT using pikeralpha's script and CPU PM is working fine.
I am not interested making the intel audio work, as I use bluetooth headset which works fine. (and the front panel audio has a lot of noise anyway)
 
I tried to patch the AMD6000 and the AMD7000 kext as well but had no success.
I tried adding the device ID into the kexts but still no success. I followed this guide to create the hex patch, but this also did not work.
Any help to get the 7470 card to work would be appreciated.
 
Initially I went for the 6000 series FB (below) as it had the same connectors as the 7470 card
 
Pithecia (2) @ 0xe76a0
DP, DDVI
000400000403000000010000000000002103020400000000
040000001402000000010000000000000000040300000000
 
I calculated the below replacement:
 

00040000 04030000 00010000 00000000 21030104 00000000

04000000 14020000 00010000 00000000 10000203 00000000

 

This turned the monitor off, so I went for an other FB:

 

Namako (4) @ 0x59bf0

LVDS, LVDS, DP, DP

020000000001000000010151200000002205020200000000

020000000001000000010261110000001204010100000000

000400000403000000010343400000001102030300000000

000400000403000000010433300000002103040400000000

 

and the calculated replacement:

 

00040000 04030000 00010000 00000000 21030104 00000000
04000000 14020000 00010000 00000000 10000203 00000000

10000000 10000000 00010000 00000000 11020303 00000000
10000000 10000000 00010000 00000000 21030404 00000000

 

this did not work either.

 

I attached my extract from the VROM. 

I also tried modifying the kexts by adding the Device ID into it, but still no go.

 

Any help would be appreciated.

 

FB calculation.rtf

AMD FrameBuffer extract.rtf

Edited by Vampnight

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By bobso
      hi I have this build:
       
      - AMD Athlon X4 631
      - ASRock A75M-HVS (link)
      - AMD HD 6670
      - 8GB DDR3
      - 250GB HDD
       
      Which version of MacOS can I install?
      Which kernel?
    • By macinsane
      Mojave (and maybe High Sierra 10.13.6) on Asrock H370M-ITX/ac and getting RX560 or RX580 to work with Intel graphics for full hardware acceleration
       
      Components used:
       
      Core i7 8700, UHD 630
      Gigabyte Radeon RX560
      Wifi/BT BCM943602BAED (DW1830) M.2
      Sapphire Nitro RX 580
      Samsung PM961 NVMe SSD
       
      *This guide requires you to know the basics, meaning how to create a macOS install drive, installing and using Clover. There are great beginners guides out there! As always you need at least FakeSMC to boot, every other kext I’ve used is mentioned in the guide. For Mojave beta you need to be enlisted with your Apple-ID in Apple’s beta programme. What is described here may work for High Sierra 10.13.6, but I doubt it to be reliable. Even in early beta status (PB3) Mojave runs much more stable and smoother than High Sierra ever did for me.* 
       
      *UPDATE*
      I've updated to BIOS Revision 3.00 which seems to work fine in contrast to 1.50. Already compiled a new DSDT and uploaded it alongside a new config.plist. You can use both if you like. If you don't use a RX 580 you need to edit the PEG0-PEGP section in the DSDT to adjust it to your graphics hardware. With this DSDT and config in place you'll only need FakeSMC, IntelMausiEthernet, USBinjectall plus XHCI-300-Injector, Lilu plus AppleALC for Sound. You can add Shiki for iTunes DRM playback if you like, I've uploaded the latest version as well. Avoid Whatevergreen at this time.
       
      UEFI-BIOS settings:
       
      The board comes with BIOS version 1.20, there is an update 1.50 on the Asrock website. Usually it is good to stay updated but in this case I’ll recommend to stay on 1.20, because the 1.50 version seems to be unstable and I had restarts upon wake and things like that I couldn’t get fixed even with dsdt patches. So I just downgraded to 1.20 which runs fine.
      Settings needed: Just the usual. Disable fast boot and security boot (everything Windows-related), disable vt-d and enable XHCI hand-off. Activate multi monitor support and set VRAM to 64MB to activate the Intel IGPU. From what I’ve read most people recommend 128MB but I find the 64MB setting to be more reliable, getting artifacts with settings below or above 64MB. 128MB may be needed for 4k support, though. As for nVidia users: You may have to disable the Intel graphics. I’m using an AMD card and that is the brand to go these days since Apple decided to work with AMD
       
      Clover and power management:
       
      I recommend upgrading to 4586. It seems that Aptiomemoryfix is now working with H370 chipsets. I stayed on OsxAptiomemoryfix2 together with Emuvariable and it works. Feel free to experiment.  
      For power management with your CoffeeLake cpu you can just tick plugin type within Clover or compile a ssdt with Pikeralphas script. Mojave reports my cpu correctly as Core i7 since PB3, before that it is just “Unknown” but that is just cosmetic. 
       
      Graphics:
       
      *UPDATE*
      I updated to PB4/DP5 and switched to a Sapphire Nitro RX 580. You don't need to spoof Kabylake anymore, SMBIOS 18,x now works and can use my attached DSDT_RX580 for your convenience! You'll need it for displayport to work as primary display or else you get black screen on boot and can use only HDMI. Problems are the same as written below in the graphics section. If you need iTunes you absolutely need to keep a copy of the latest Shiki that is available, because it is discontinued. The newest WhatEverGreen-Fix (1.2.0/1.2.1) does not work! If you want to use Final Cut and don't need iTunes just stay away from Shiki or Whatevergreen.
       
       
      This is the worst part. Getting the Radeon to run correctly alongside the Intel graphics took me weeks to figure out. 
       
      While RX570 and 580 run out of the box in most cases, the RX560 models often do not or at least not correctly. Apple even banned them from eGPU use. For my approach you cannot use “Whatevergreen.kext”, it simply didn’t work for me the way I needed it. Instead I added some fixes to my DSDT to set the correct number of ports used (DP, HDMI, DVI) and tell macOS to use the correct frambuffer. For those who are not into dsdt editing I added my DSDT, look at the “PEGP” section how it is done. This works for the RX560 using the “Acre” framebuffer, you can replace it with “Radeon”, that works too. Other cards need a different framebuffer and a different number of ports. You can do it!   BTW: Do not buy this Gigabytecard!!! It has some weird VBIOS on it, which caused me nightmares before I got the card to work! Buy a Sapphire card instead, they are used by Apple too.   
       
      To get full hardware acceleration for encoding videos you have to have the Intel graphics enabled alongside your AMD card. Problem is, you cannot have it running simply as a second graphics card but you’ll need to “hide” it, means telling macOS that it doesn’t have any display connectors. Otherwise you’ll have screen artifacts or in the worst case just constant crashes. This can be done by adding a certain ig-platform-id in Clover. If you use 59120003 the Intel graphics will not show up in system profiler but it is there. You can check it with iStats or HWMonitor or look if the Kaby Lake graphics kexts are loaded.  This ID makes the CoffeeLake UHD 630 to be recognized as a Kaby Lake gpu that has no display ports, is just used as a helper card.
       
      You’ll need it as a helper card for video encoding. That is what Intel graphics are used for in Macs, to support video encoding on the hardware side. You can check if hardware encoding is supposedly enabled by using MacX Video Converter Pro and VDADecoderChecker. If both say “yes” and “fully supported” this is a good start. But despite the widespread belief this doesn’t mean everything is set correctly! You now have to find out, how to get both cards working together. This is the moment where you have to choose between work and fun: Are you using FinalCut Pro for video editing or are you planning to use iTunes for entertainment? Up until this day (Mojave PB3 PB4/DP5, High Sierra 10.13.6) you cannot have both working correctly! I’ll show you how it is done both ways. 
       
      The best settings for Final Cut:
       
      Use the DSDT I’ve added with the respective AMD settings for the RX560 or modify them for your graphics card.
       
      Use SMBIOS for iMac17,1 (14,2 does work but picture over DP port is ugly, iMac 18,1/2/3 do not work *Since Mojave PB4 they do work at least for RX580*) in Clover.
       
      Have AppleIntelKBLGraphicsFramebufferInjector_3e9x.kextin your Clover/kexts/Other folder.
       
      Until Mojave PB2 (may work on High Sierra 10.13.6):
       
      Fake-ID 3E928086 plus ig-platform-id 59120003
       
      These are the correct setting when installing Mojave (usually you will start with PB1 as the full installer).
       
      For Mojave PB3 and higher:
       
      Fake-ID 59128086 plus ig-platform-id 59120003
       
      After upgrading to PB3 you will get a black screen with 3E92 fake id because PB3 introduces Coffee Lake kexts and macOS will use these kexts instead but that doesn’t work with our ig-platform-id. So you can download the update to PB3 but before installing it you’ll need to change the fake-id to a usual Kaby Lake id. While this didn’t work in High Sierra and the first two Mojave betas (meaning you didn’t get full hardware encoding) it is now magically working with PB3. It is safe to remove AppleIntelKBLGraphicsFramebufferInjector_3e9x.kext after upgrading to PB3.
       
      For Mojave PB4 and higher:
      Only add ig-platform-id 3E920003 in Clover, no need for spoofing a fake id anymore.
       
      The best setting for iTunes and why it is the worstfor Final Cut:
      Just do the same thing as for FinalCut, put Shiki.kext into your Clover/kexts/other folder and add -shikigva boot argument. You can use -shikigva=1 or 2 or 12 it will work either way. Now you can watch movies with iTunes, yay! But it has some sideeffects. You cannot use this setting when seriously editing with Final Cut.
       
      While this works by tricking macOS to use the IntelGraphics to play protected video content, it doesn’t seem to be the way real Macs are doing this. As soon as you open FinalCut you will notice (check this with iStats or HWMonitor) that the Intel graphics is not or only barely utilized, instead cpu usage skyrockets, indicating that slow software rendering is used instead of hardware encoding through Intel graphics. To make it worse the Radeon still “thinks” there is an Intel graphics helping so it does not run at highest potential. You may never notice it when using HD material with 24 or 25p because it still fast enough for that. But 50p or 4k material will most likely cause stuttering. I was astonished when I had stutters while previewing my 50p material, impossible to watch it. Thinking: What is wrong? I have a freaking i7 8700 plus RX560! Even my old hackbook with HD4000 is doing better!     
       
      Wifi and Bluetooth
       
      *UPDATE*
      With Mojave PB4/DP5 Bluetooth stopped working with Rehabman's kext, my MagicMouse simply isn't connecting anymore. I decided to finally remove the card because handoff isn't working anyway these days with M.2 or NGFF bluetooth on High Sierra or Mojave (tried several ones "the internet" claims they would work oob but they do not ;)). That is what I wanted Bluetooth for. If you need Wifi I recommend you go with a cheap Wifi-only card, you don't need to pay 30 or 40 $ for dual cards that won't work the way they were intended to work. If you are on a micro ATX board and can have a graphics card plus PCIe Wifi/BT-card that actually connects to a physical USB port on you're board then you may be lucky enough to have handoff working as expected. I'm having a wifi repeater laying around with an ethernet port in case I may need wifi someday on my hack. 
       
      I swapped the Intel Wifi card that was coming with the mainboard plugged into the onboard M.2 port with a compatible Dell card. The DW1830 or BCM943602BAED. The wifi part runs half way out of the box, but if you want the card to appear as Apple AirportExtreme and set the country code according to your country you need to put FakePCIID_Broadcom_WiFi.kext into Clover/kexts/other and add some Clover kext-to-patches by PMHeart. 
       
      Name: com.apple.driver.AirPort.BrcmNIC
      Find: 75166644 3BA3581A 0000750C 4183FE04 7406
      Replace: 66906644 3BA3581A 00006690 4183FE04 6690
      Comment: AirPortBrcmNIC - PCIe in 10.13.x
       
      Name: com.apple.driver.AirPort.BrcmNIC
      Find: 4183FCFF 7435488D 55D0
      Replace: 66C70644 45EB348D 55D0    (*this is for DE country code, change for your need)
      Comment: BCM4352-Country Code 
       
      Bluetooth will work thanks to Rehabman’s kexts. You’ll need BrcmPatchRAM2.kext and BrcmFirmwareData.kext OR BrcmFirmwareRepo.kext. The Data.kext can be injected through Clover, just throw it into the kexts/other folder, the Repo.kext has to be installed in /Library/Extensions on your mac drive, it won’t work with Clover. I had issues with the Data.kext, Bluetooth was gone on every second or third reboot. The Repo.kext is more reliable, haven’t had any issues yet. I really don’t like the kexts to be installed in my system but I guess I have to live with it for the time being.
       
      Oh, handoff and continuity don’t work, doesn’t matter that system profiler shows them as enabled. At least it works in one way: the mac can handoff Safari pages to my iPhone, but not the other way around. Documents opened on my phone show up in the dock, but they are not loaded. 
      This issue is around since at least High Sierra and from what I’ve read Rehabman is not going to fix this, because he founds this features not worth it. I have to disagree, these are very convenient and valuable features if you work with desktop, laptop and tablet in different situations, I miss this capability very much!    
       
      Audio
       
      Audio works with Lilu.kext plus AppleALC.kext and you need to inject Layout ID=1 in Clover. For Mojave use the boot setting -lilubetaall to force the kexts to load. If you like to have DP or HDMI audio add a HDAU device to your dsdt (see mine for reference).
       
      Credits:
      Credits go to this great community! I hope I mentioned everyone in this guide whose insights made this hack possible. If I have forgotten someone please let me know!
      DSDT.aml.zip
      DSDT_RX580.aml.zip
      config_DSDT_BIOSV3.00.zip
      Shiki.kext.zip
    • By shinho73
      I know that it is almost impossible to install any os x on AMD APU netbooks, but i am hoping that  someone could help me here. Any help would be greatly appreciated.
      Thank you
×