Jump to content

AMD R9 270 issues


FFForever
 Share

3 posts in this topic

Recommended Posts

Hey yo,

 

Firstly, thanks for taking the time to even stop by this thread :). I decided to take the plunge and try 10.13 to see how it's coming along. Unfortunately it's not going so well at the moment.

 

Information about my setup:

- Build: 10.13 Beta (17A291m)

- CPU: i5-4440

- Internal GPU: Intel HD Graphics 4600

- Graphics card: R9 270 (non x) with a fake pci id of 0x86001002

- Monitor a: connected via HDMI on the intel card

- Monitor b: connected via DVI to the R9

- Monitor c: connected via DVI to Display Port active converter

- Clover revision: 4097

 

In Sierra the only thing required to get my r9 working was setting my fake pci id to 0x68001002, and enabling inject AMD. I'm using the intel graphics as a helper card to get sleep/wake working in Sierra. 

 

I'm not really sure what I should try doing to fix this in High Sierra. I've included my clover configuration in case you guys can spot any issues.

 

 

Things I've tried:

 

- Adding my device id directly into AMDRadeonX4000.kext & AMD7000Controller.kext, disabling the fake pci id.

 

- Patching a 4 and 5 connector frame buffer (Ebi and Futomaki) with my relevant configuration. See this previous thread I created including the patched connectors (http://www.insanelymac.com/forum/topic/313473-asus-r9-270-directcu-ii-frame-buffer-patching/). I did add the 0 padding around my custom connector pin layout.

 

Patched connector strings:

4 connectors

000400000403000000010000 000000001204010100000000

000800000002000000010000 000000002205020200000000

000200000402000000010000 000000001000030600000000

000200000402000000010000 000000001102050500000000

 

5 connectors

000400000403000000010000000000001204010100000000

000800000002000000010000000000002205020200000000

000200000402000000010000000000001000030600000000

000200000402000000010000000000000010040600000000

040000001402000000010000000000001102050500000000

 

 

Link to comment
Share on other sites

Hi there

 

It looks like your connectors are malformed.

 

just ran PAVOs frame buffer script to check my suspicion:

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

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

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

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

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

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

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

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

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

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

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

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

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

Ikura (1) @ 0xe9e60
HDMI
000800000402000000010100000000001204030100000000

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

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

Kani (1) @ 0xe9fa0
HDMI
000800000402000000010100000000001204030100000000

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

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

Maguro (1) @ 0xea0b0
HDMI
000800000402000000010100000000001204030100000000

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

As an example here my connector info and my patched 10.13.DP2 AMD8000 frame buffer Baladi

DP	12040101
DP	10000205
DP	20010306
HDMI	22050403
DDVI	11020504

000400000403000000010101000000001204010100000000
000400000403000000010201000000001000020500000000
000400000403000000010301000000002001030600000000
000800000402000000010401000000002205040300000000
040000001402000000010501000000001102050400000000
000400000403000000010600000000002001060200000000

as you can from my version and the original unpatched above

 

HDMI entries start like this

000800000402000000

Notice the 402 in contrast to your 002

 

 

DVI dial link, you seem to have a LVDS connector specified there

04000000140200000

I suggest you repeat the bios decode and patching

 

if you have a single error or not enough/too many connectors, the frame buffer will NOT load and the generic Radeon one will be used.

 

Also you have to force the frame buffer by specifying it either in your config.plist for clover or easier as a nvram variable in Ozmosis. Don't know if you can use nvram values in clover as well to override the config.

Link to comment
Share on other sites

  • 2 weeks later...

Hi there

 

It looks like your connectors are malformed.

 

just ran PAVOs frame buffer script to check my suspicion:

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

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

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

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

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

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

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

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

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

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

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

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

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

Ikura (1) @ 0xe9e60
HDMI
000800000402000000010100000000001204030100000000

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

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

Kani (1) @ 0xe9fa0
HDMI
000800000402000000010100000000001204030100000000

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

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

Maguro (1) @ 0xea0b0
HDMI
000800000402000000010100000000001204030100000000

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

As an example here my connector info and my patched 10.13.DP2 AMD8000 frame buffer Baladi

DP	12040101
DP	10000205
DP	20010306
HDMI	22050403
DDVI	11020504

000400000403000000010101000000001204010100000000
000400000403000000010201000000001000020500000000
000400000403000000010301000000002001030600000000
000800000402000000010401000000002205040300000000
040000001402000000010501000000001102050400000000
000400000403000000010600000000002001060200000000

as you can from my version and the original unpatched above

 

HDMI entries start like this

000800000402000000

Notice the 402 in contrast to your 002

 

 

DVI dial link, you seem to have a LVDS connector specified there

04000000140200000

I suggest you repeat the bios decode and patching

 

if you have a single error or not enough/too many connectors, the frame buffer will NOT load and the generic Radeon one will be used.

 

Also you have to force the frame buffer by specifying it either in your config.plist for clover or easier as a nvram variable in Ozmosis. Don't know if you can use nvram values in clover as well to override the config.

 

Thanks for the information. I haven't had a chance to get back to high sierra before now.

 

Is this still the suggested tutorial? I know it's missing the padding around the code construction string. http://www.insanelymac.com/forum/topic/303186-how-to-modification-of-amd-fb-clover-injection/

 

My system loads Futomaki (4 connectors) by default on my system without any issues with full acceleration.

 

Decoded connectors:

DP     12 04 01 01

HDMI 22 04 02 02

DVII   10 00 03 06

DVII   00 10 04 06

DVID 11 02 05 05

 

 

 

 

Should I drop the DVID?

 

Full bios decoded

PCI ID: 1002:6811
01 [DP]
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 at index 0
Type [@offset 43574]: DisplayPort (10)
Encoder [@offset 43578]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43684]: 0x90, OSX senseid: 0x1
12 04 01 01
 
 
02 [HDMI-A]
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 at index 1
Type [@offset 43584]: HDMI-A (11)
Encoder [@offset 43588]: INTERNAL_UNIPHY2 (0x21)
i2cid [@offset 43711]: 0x91, OSX senseid: 0x2
22 04 02 02
 
03 [DVI-I]
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 at index 2
Type [@offset 43594]: DVI-I (2)
Encoder [@offset 43598]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 43748]: 0x95, OSX senseid: 0x6
10 00 03 06
 
04 [DVI-I]
Connector Object Id [2] which is [DVI_I]
encoder obj id [0x15] which is [INTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false
Connector at index 3
Type [@offset 43604]: DVI-I (2)
Encoder [@offset 43608]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 43748]: 0x95, OSX senseid: 0x6
00 10 04 06
 
05 [DVI-D]
Connector Object Id [4] which is [DVI_D]
encoder obj id [0x20] which is [INTERNAL_UNIPHY1 (osx txmit 0x11 [duallink 0x1] enc 0x2)] linkb: false
Connector at index 4
Type [@offset 43614]: DVI-D (3)
Encoder [@offset 43618]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 43775]: 0x94, OSX senseid: 0x5
11 02 05 05
Edited by FFForever
Link to comment
Share on other sites

 Share

×
×
  • Create New...