Jump to content

Clover test and patches for Polaris GPU


fantomas
 Share

279 posts in this topic

Recommended Posts

I currently have an MSI RX 460 4GB OC. If i boot with Inject ATI -> Disabled everything works no problem. The GPU is labeled wrong in "About My Mac"..but that's only superficial. If I choose Inject ATI -> Enabled I encounter a small bug. If I repeatedly do quick preview on a photo...after the 9th time or so it will cause my system to freeze for a few seconds and my GPU will reset. 

Link to comment
Share on other sites

Mork vom Ork

I want to see your ioreg to find memory regions for this card.

 

Sorry for the delayed reply, but i think, this is what you are looking for: see attachment.

Thats the ioReg Output of a restart with just the RX460 4GB card in slot#1, CSR disabled, iGPU disabled.

 

Hope, this will help ya... ragards.

Could this might be true:

    | |   |   | |   "VRAM,totalMB" = 0x1000  // <--- this is ok, it's 4.096 in  dec

    | |   |   | |   "ATY,vram_base" = <00000000>

    | |   |   | +-o ATY,Acre@0  <class AtiFbStub, id 0x100000416, registered, matched, active, busy 0 (3 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "AAPL,boot-display" = <01000000>
    | |   |   | | |   "compatible" = <4154592c41637265>
    | |   |   | | |   "IOFBDependentIndex" = 0x0
    | |   |   | | |   "AAPL,gray-value" = <00000000>
    | |   |   | | |   "VRAM,memsize" = <0000f0ffffffffff>  // <--- look here!
    | |   |   | | |   "AAPL,gray-page" = <01000000>
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "device_type" = "display"
    | |   |   | | |   "name" = "ATY,Acre"
    | |   |   | | | }

    | |   |   | +-o ATY,Acre@1  <class AtiFbStub, id 0x100000417, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>  //  <--- look here!
    | |   |   | | |   "IOFBDependentIndex" = 0x1
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Acre"
    | |   |   | | |   "compatible" = <4154592c41637265>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

    | |   |   | +-o ATY,Acre@2  <class AtiFbStub, id 0x100000418, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>  //  <--- look here!
    | |   |   | | |   "IOFBDependentIndex" = 0x2
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Acre"
    | |   |   | | |   "compatible" = <4154592c41637265>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

EDIT: just attached same information for RX480. Same settings in BIOS when booting:

    | |   |   | |   "VRAM,totalMB" = 0x2000

    | |   |   | |   "ATY,vram_base" = <00000000>

    | |   |   | +-o ATY,Dayman@0  <class AtiFbStub, id 0x10000040e, registered, matched, active, busy 0 (2 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "AAPL,boot-display" = <01000000>
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "IOFBDependentIndex" = 0x0
    | |   |   | | |   "AAPL,gray-value" = <00000000>
    | |   |   | | |   "VRAM,memsize" = <0000f0ffffffffff>
    | |   |   | | |   "AAPL,gray-page" = <01000000>
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "device_type" = "display"
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | | }

    | |   |   | +-o ATY,Dayman@1  <class AtiFbStub, id 0x10000040f, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>
    | |   |   | | |   "IOFBDependentIndex" = 0x1
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

    | |   |   | +-o ATY,Dayman@2  <class AtiFbStub, id 0x100000410, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>
    | |   |   | | |   "IOFBDependentIndex" = 0x2
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

    | |   |   | +-o ATY,Dayman@3  <class AtiFbStub, id 0x100000411, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>
    | |   |   | | |   "IOFBDependentIndex" = 0x3
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

    | |   |   | +-o ATY,Dayman@4  <class AtiFbStub, id 0x100000412, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>
    | |   |   | | |   "IOFBDependentIndex" = 0x4
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

    | |   |   | +-o ATY,Dayman@5  <class AtiFbStub, id 0x100000413, registered, matched, active, busy 0 (0 ms), retain 8>
    | |   |   | | | {
    | |   |   | | |   "VRAM,memsize" = <000000000000f0ff>
    | |   |   | | |   "IOFBDependentIndex" = 0x5
    | |   |   | | |   "IOFBDependentID" = 0x1000001ed
    | |   |   | | |   "name" = "ATY,Dayman"
    | |   |   | | |   "compatible" = <4154592c4461796d616e>
    | |   |   | | |   "device_type" = "display"
    | |   |   | | | }

ioReg_output_mork_vom_ork.rtf

complete_system_information_ssh.rtf

ioReg_output_RX480_8GB.rtf

Link to comment
Share on other sites

Thanks. This is the information I asked

    | |   |   | |   "IODeviceMemory" = (({"address"=0x7f80000000,"length"=0x10000000}),({"address"=0x7f90000000,"length"=0x200000}),"IOSubMemoryDescriptor is not serializable",({"address"=0xec500000,"length"=0x40000}),({"address"=0xec540000,"length"=0x20000}))

Second region should be MMIO region.

Link to comment
Share on other sites

1.
 

I understand
0x150a * 4 = 0x5428
This is the same register but different addressing, as byte or as dword.

And Clover sources already contains
#define REG32(base, reg)             ((volatile UINT32 *)(UINTN)(base))[(reg) >> 2]
so the register must be 0x5428 as it was.

 

2. I see in your ioreg the line

    | |   |   | |   "AAPL00,override-no-connect" = <020319f14c9005040302071601141f12132309070783010000023a801871382d40582c25001e4f3100001e584d00b8a1381440942cb5001e4f3100001e9d6770a0d0a0225050205a041e4f3100001a7a3eb85060a02950282068001e4f3100001a565e00a0a0a02950302035001e4f3100001a00000000000000000000000062>

It should means EDID but correct EDID must begin with 00FFFFFFFFFFFF00. So there is something wrong.

Your real EDID is in Clover boot.log. Make it CustomEDID and set InjectEDID=YES.

 

Test, please this version and show me boot.log (not preboot.log, but full from dmesg in system, or debug.log if the system will not start).

And again ioreg.txt obtained by

$ ioreg -lw0 >ioreg.txt

I want to see if Region1 is really MMIO region instead of Region2 used in Clover so far.

I will make the same test but only at evening. I expected you show me results quicker.

CLOVERX64.efi.zip

 

PS. Better if you make full DarwinDumper report without BIOS and HTML.

Link to comment
Share on other sites

I made two reboots with one significant difference: I set Intel or Radeon card as primary in BIOS. No other changes.

1. Intel primery

103:731  0:001  === [ RestSetup macOS ] ===================================
103:790  0:058  Framebuffer @0xE0000000  MMIO @0xF7C20000 I/O Port @0x0000E000 ROM Addr @0xF7C00000
103:791  0:001  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0x00000000
103:794  0:003  ATI card POSTed, 
103:798  0:003  Set VRAM for Turks =4294967295Mb
103:799  0:001  ATI: get_vram_size returned 0xFFF00000
103:801  0:001  ATI Radeon EVERGREEN family

2. Radeon primary

50:481  0:000  === [ RestSetup macOS ] ===================================
50:481  0:000  EdidDiscovered size=128
50:481  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  4C  2D
50:481  0:000  010  |  86  06  32  32  4C  43  25  14  01  03
50:481  0:000  020  |  80  30  1B  78  2A  78  F1  A6  55  48
50:481  0:000  030  |  9B  26  12  50  54  BF  EF  80  71  4F
50:481  0:000  040  |  81  00  81  40  81  80  95  00  B3  00
50:481  0:000  050  |  A9  40  95  0F  02  3A  80  18  71  38
50:481  0:000  060  |  2D  40  58  2C  45  00  DD  0C  11  00
50:481  0:000  070  |  00  1E  00  00  00  FD  00  38  4B  1E
50:481  0:000  080  |  51  11  00  0A  20  20  20  20  20  20
50:481  0:000  090  |  00  00  00  FC  00  53  4D  45  58  32
50:481  0:000  100  |  32  32  30  0A  20  20  20  20  00  00
50:481  0:000  110  |  00  FF  00  48  39  58  5A  39  30  35
50:481  0:000  120  |  30  36  35  0A  20  20  01  67
50:481  0:000  Framebuffer @0xE0000000  MMIO @0xF7C20000 I/O Port @0x0000E000 ROM Addr @0xF7C00000
50:481  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0x00000000
50:481  0:000  ATI card POSTed, 
50:481  0:000  Set VRAM for Turks =2048Mb
50:481  0:000  ATI: get_vram_size returned 0x80000000
50:481  0:000  ATI Radeon EVERGREEN family

See?

Link to comment
Share on other sites

@Slice:

 

ok, got the information you just wanna have: see attachment.

Also here just booted with CSM and IGPU disabled and only RX480 in PCIe-slot#1



 

See?
 
YEAH: VRAM got totaly wrong summary when igpu is enabled and primary
 
See mine with just RX480 enabled and primary and latest CLOVER rev.:

8:341  0:000  === [ RestSetup macOS ] ===================================
8:341  0:000  EdidDiscovered size=128
8:341  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
8:341  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
8:341  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
8:341  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
8:341  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
8:341  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
8:341  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
8:341  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
8:341  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
8:341  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
8:341  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
8:341  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
8:341  0:000  120  |  20  20  20  20  20  20  01  75
8:341  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEC540000
8:341  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC500000
8:341  0:000  ATI card non-POSTed,
8:341  0:000  Set VRAM for Ellesmere =0Mb
8:341  0:000  ATI: get_vram_size returned 0x0
8:341  0:000  ATI Radeon EVERGREEN family
8:341  0:000  Framebuffer set to device's default: Dayman
8:341  0:000   N ports defaults to 6
8:341  0:000  (AtiPorts) Nr of ports set to: 6
8:341  0:000  ATI Ellesmere AMD Radeon RX480 0MB (Dayman) [1002:67DF] (subsys [174B:E347]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
8:341  0:000   RCBA disabled; cannot use it
8:341  0:000  stringlength = 4252
8:341  0:000  CurrentMode: Width=3440 Height=1440
8:341  0:000  Beginning FSInjection
8:341  0:000  Blocking kext caches

 

 

on what i see here, my MMIO should be region5  as PCI_BASE_ADDRESS. <--- or i didn't understand anything.

 

Same check with RX460 and latest CLOVER rev:

 

 

[spoiler]6:110  0:000  === [ RestSetup macOS ] ===================================
6:110  0:000  EdidDiscovered size=128
6:110  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
6:110  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
6:110  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
6:110  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
6:110  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
6:110  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
6:110  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
6:110  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
6:110  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
6:110  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
6:110  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
6:110  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
6:111  0:000  120  |  20  20  20  20  20  20  01  75
6:111  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEC440000
6:111  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
6:111  0:000  ATI card non-POSTed,
6:111  0:000  Set VRAM for Baffin =0Mb
6:111  0:000  ATI: get_vram_size returned 0x0
6:111  0:000  ATI Radeon EVERGREEN family
6:111  0:000  Framebuffer set to device's default: Acre
6:111  0:000   N ports defaults to 3
6:111  0:000  (AtiPorts) Nr of ports set to: 3
6:111  0:000  ATI Baffin AMD Radeon RX460 0MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
6:111  0:000   RCBA disabled; cannot use it
6:111  0:000  stringlength = 3182
6:111  0:000  CurrentMode: Width=3440 Height=1440[/spoiler]

 

 

Same check with CSR enabled, iGPU enabled and primary and RX460 in slot#1, still lates CLOVER Rev.:

 

 

[spoiler]2:929  0:000  === [ RestSetup macOS ] ===================================
2:929  0:000  EdidDiscovered size=128
2:929  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  26  CD
2:929  0:000  010  |  02  71  01  01  01  01  00  18  01  03
2:929  0:000  020  |  80  3E  22  78  2A  08  A5  A2  57  4F
2:929  0:000  030  |  A2  28  0F  50  54  BF  EF  80  E1  C0
2:929  0:000  040  |  D1  C0  A9  C0  D1  00  A9  40  B3  00
2:929  0:000  050  |  81  80  81  C0  E6  73  00  30  F2  70
2:929  0:000  060  |  5A  80  B0  58  8A  00  6D  55  21  00
2:929  0:000  070  |  00  1E  00  00  00  FF  00  30  0A  20
2:929  0:000  080  |  20  20  20  20  20  20  20  20  20  20
2:929  0:000  090  |  00  00  00  FD  00  17  4C  1E  5C  1E
2:929  0:000  100  |  00  0A  20  20  20  20  20  20  00  00
2:929  0:000  110  |  00  FC  00  50  4C  32  38  38  38  55
2:929  0:000  120  |  48  0A  20  20  20  20  01  C7
2:929  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xED440000
2:929  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xED400000
2:929  0:000  ATI card POSTed,
2:929  0:000  Set VRAM for Baffin =4294967295Mb
2:929  0:000  ATI: get_vram_size returned 0xFFF00000
2:929  0:000  ATI Radeon EVERGREEN family
2:929  0:000  Framebuffer set to device's default: Acre
2:929  0:000   N ports defaults to 3
2:929  0:000  (AtiPorts) Nr of ports set to: 3
2:929  0:000  ATI Baffin AMD Radeon RX460 -1MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)[/spoiler]

 

 

same effect - watch reported VRAM size. Any other values still the same

 

EDIT:

now see this (RX460 as primary, CSR and iGPU disabled):

just changes this part of code:

card->mmio = (UINT8 *)(UINTN)(pci_config_read32(pci_dev, PCI_BASE_ADDRESS_2) & ~0x0f);

into this:

card->mmio = (UINT8 *)(UINTN)(pci_config_read32(pci_dev, PCI_BASE_ADDRESS_5) & ~0x0f);

and right gave me this in bootlog:

 

 

4:286  0:000  === [ RestSetup macOS ] ===================================
4:286  0:000  EdidDiscovered size=128
4:286  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
4:286  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
4:286  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
4:286  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
4:286  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
4:286  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
4:286  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
4:286  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
4:286  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
4:286  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
4:286  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
4:286  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
4:286  0:000  120  |  20  20  20  20  20  20  01  75
4:286  0:000  Framebuffer @0xD0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
4:286  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
4:287  0:000  ATI card POSTed,
4:287  0:000  Set VRAM for Baffin =4096Mb
4:287  0:000  ATI: get_vram_size returned 0x0
4:287  0:000  ATI Radeon EVERGREEN family
4:287  0:000  Framebuffer set to device's default: Acre
4:287  0:000   N ports defaults to 3
4:287  0:000  (AtiPorts) Nr of ports set to: 3
4:287  0:000  ATI Baffin AMD Radeon RX460 4096MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

see the correct "VRAM for BAFFIN" part and also the correct Value for VRAM in the last line.

And the same for RX480 now:

 

 

4:184  0:000  === [ RestSetup macOS ] ===================================
4:184  0:000  EdidDiscovered size=128
4:184  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
4:184  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
4:184  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
4:184  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
4:184  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
4:184  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
4:184  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
4:184  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
4:184  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
4:184  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
4:184  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
4:184  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
4:184  0:000  120  |  20  20  20  20  20  20  01  75
4:185  0:000  Framebuffer @0xD0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
4:185  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
4:185  0:000  ATI card POSTed,
4:185  0:000  Set VRAM for Ellesmere =8192Mb
4:185  0:000  ATI: get_vram_size returned 0x0
4:185  0:000  ATI Radeon EVERGREEN family
4:185  0:000  Framebuffer set to device's default: Dayman
4:185  0:000   N ports defaults to 6
4:185  0:000  (AtiPorts) Nr of ports set to: 6
4:185  0:000  ATI Ellesmere AMD Radeon RX480 8192MB (Dayman) [1002:67DF] (subsys [174B:E347]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

but there is still a big BUT: still blackscreen and a small but: we are one step ahead to a final solution.

 

Info for Slice: the "ioreg_new.txt" is the ioReg output when i booted with "PCI_BASE_ADDRESS_5". Do you know what i miss within these tow files: the detection of any of my connected monitors!?!

Slap me, if i just oversaw them.

 

Maybe time for me to sleep now, cause got to ba @ work again in just a few hours. see ya all tomorrow

ioreg.txt

ioreg_new.txt

Link to comment
Share on other sites

@Slice:

 

ok, got the information you just wanna have: see attachment.

Also here just booted with CSM and IGPU disabled and only RX480 in PCIe-slot#1

 

 

 
YEAH: VRAM got totaly wrong summary when igpu is enabled and primary
 
See mine with just RX480 enabled and primary and latest CLOVER rev.:

8:341  0:000  === [ RestSetup macOS ] ===================================
8:341  0:000  EdidDiscovered size=128
8:341  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
8:341  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
8:341  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
8:341  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
8:341  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
8:341  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
8:341  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
8:341  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
8:341  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
8:341  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
8:341  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
8:341  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
8:341  0:000  120  |  20  20  20  20  20  20  01  75
8:341  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEC540000
8:341  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC500000
8:341  0:000  ATI card non-POSTed,
8:341  0:000  Set VRAM for Ellesmere =0Mb
8:341  0:000  ATI: get_vram_size returned 0x0
8:341  0:000  ATI Radeon EVERGREEN family
8:341  0:000  Framebuffer set to device's default: Dayman
8:341  0:000   N ports defaults to 6
8:341  0:000  (AtiPorts) Nr of ports set to: 6
8:341  0:000  ATI Ellesmere AMD Radeon RX480 0MB (Dayman) [1002:67DF] (subsys [174B:E347]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
8:341  0:000   RCBA disabled; cannot use it
8:341  0:000  stringlength = 4252
8:341  0:000  CurrentMode: Width=3440 Height=1440
8:341  0:000  Beginning FSInjection
8:341  0:000  Blocking kext caches

 

 

on what i see here, my MMIO should be region5  as PCI_BASE_ADDRESS. <--- or i didn't understand anything.

 

Same check with RX460 and latest CLOVER rev:

 

 

[spoiler]6:110  0:000  === [ RestSetup macOS ] ===================================
6:110  0:000  EdidDiscovered size=128
6:110  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
6:110  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
6:110  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
6:110  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
6:110  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
6:110  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
6:110  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
6:110  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
6:110  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
6:110  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
6:110  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
6:110  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
6:111  0:000  120  |  20  20  20  20  20  20  01  75
6:111  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEC440000
6:111  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
6:111  0:000  ATI card non-POSTed,
6:111  0:000  Set VRAM for Baffin =0Mb
6:111  0:000  ATI: get_vram_size returned 0x0
6:111  0:000  ATI Radeon EVERGREEN family
6:111  0:000  Framebuffer set to device's default: Acre
6:111  0:000   N ports defaults to 3
6:111  0:000  (AtiPorts) Nr of ports set to: 3
6:111  0:000  ATI Baffin AMD Radeon RX460 0MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)
6:111  0:000   RCBA disabled; cannot use it
6:111  0:000  stringlength = 3182
6:111  0:000  CurrentMode: Width=3440 Height=1440[/spoiler]

 

 

Same check with CSR enabled, iGPU enabled and primary and RX460 in slot#1, still lates CLOVER Rev.:

 

 

[spoiler]2:929  0:000  === [ RestSetup macOS ] ===================================
2:929  0:000  EdidDiscovered size=128
2:929  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  26  CD
2:929  0:000  010  |  02  71  01  01  01  01  00  18  01  03
2:929  0:000  020  |  80  3E  22  78  2A  08  A5  A2  57  4F
2:929  0:000  030  |  A2  28  0F  50  54  BF  EF  80  E1  C0
2:929  0:000  040  |  D1  C0  A9  C0  D1  00  A9  40  B3  00
2:929  0:000  050  |  81  80  81  C0  E6  73  00  30  F2  70
2:929  0:000  060  |  5A  80  B0  58  8A  00  6D  55  21  00
2:929  0:000  070  |  00  1E  00  00  00  FF  00  30  0A  20
2:929  0:000  080  |  20  20  20  20  20  20  20  20  20  20
2:929  0:000  090  |  00  00  00  FD  00  17  4C  1E  5C  1E
2:929  0:000  100  |  00  0A  20  20  20  20  20  20  00  00
2:929  0:000  110  |  00  FC  00  50  4C  32  38  38  38  55
2:929  0:000  120  |  48  0A  20  20  20  20  01  C7
2:929  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xED440000
2:929  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xED400000
2:929  0:000  ATI card POSTed,
2:929  0:000  Set VRAM for Baffin =4294967295Mb
2:929  0:000  ATI: get_vram_size returned 0xFFF00000
2:929  0:000  ATI Radeon EVERGREEN family
2:929  0:000  Framebuffer set to device's default: Acre
2:929  0:000   N ports defaults to 3
2:929  0:000  (AtiPorts) Nr of ports set to: 3
2:929  0:000  ATI Baffin AMD Radeon RX460 -1MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)[/spoiler]

 

 

same effect - watch reported VRAM size. Any other values still the same

 

EDIT:

now see this (RX460 as primary, CSR and iGPU disabled):

just changes this part of code:

card->mmio = (UINT8 *)(UINTN)(pci_config_read32(pci_dev, PCI_BASE_ADDRESS_2) & ~0x0f);

into this:

card->mmio = (UINT8 *)(UINTN)(pci_config_read32(pci_dev, PCI_BASE_ADDRESS_5) & ~0x0f);

and right gave me this in bootlog:

 

 

4:286  0:000  === [ RestSetup macOS ] ===================================
4:286  0:000  EdidDiscovered size=128
4:286  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
4:286  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
4:286  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
4:286  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
4:286  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
4:286  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
4:286  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
4:286  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
4:286  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
4:286  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
4:286  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
4:286  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
4:286  0:000  120  |  20  20  20  20  20  20  01  75
4:286  0:000  Framebuffer @0xD0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
4:286  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
4:287  0:000  ATI card POSTed,
4:287  0:000  Set VRAM for Baffin =4096Mb
4:287  0:000  ATI: get_vram_size returned 0x0
4:287  0:000  ATI Radeon EVERGREEN family
4:287  0:000  Framebuffer set to device's default: Acre
4:287  0:000   N ports defaults to 3
4:287  0:000  (AtiPorts) Nr of ports set to: 3
4:287  0:000  ATI Baffin AMD Radeon RX460 4096MB (Acre) [1002:67EF] (subsys [174B:E344]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

see the correct "VRAM for BAFFIN" part and also the correct Value for VRAM in the last line.

And the same for RX480 now:

 

 

4:184  0:000  === [ RestSetup macOS ] ===================================
4:184  0:000  EdidDiscovered size=128
4:184  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
4:184  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
4:184  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
4:184  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
4:184  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
4:184  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
4:184  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
4:184  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
4:184  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
4:184  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
4:184  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
4:184  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
4:184  0:000  120  |  20  20  20  20  20  20  01  75
4:185  0:000  Framebuffer @0xD0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
4:185  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
4:185  0:000  ATI card POSTed,
4:185  0:000  Set VRAM for Ellesmere =8192Mb
4:185  0:000  ATI: get_vram_size returned 0x0
4:185  0:000  ATI Radeon EVERGREEN family
4:185  0:000  Framebuffer set to device's default: Dayman
4:185  0:000   N ports defaults to 6
4:185  0:000  (AtiPorts) Nr of ports set to: 6
4:185  0:000  ATI Ellesmere AMD Radeon RX480 8192MB (Dayman) [1002:67DF] (subsys [174B:E347]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

but there is still a big BUT: still blackscreen and a small but: we are one step ahead to a final solution.

 

Info for Slice: the "ioreg_new.txt" is the ioReg output when i booted with "PCI_BASE_ADDRESS_5". Do you know what i miss within these tow files: the detection of any of my connected monitors!?!

Slap me, if i just oversaw them.

 

Maybe time for me to sleep now, cause got to ba @ work again in just a few hours. see ya all tomorrow

So the info from Linux driver is correct.

 

Here's some info about the doorbell BAR  https://lwn.net/Articles/605153/ .

 

http://lxr.free-electrons.com/source/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c#L350

 

adev->doorbell.base = pci_resource_start(adev->pdev, 2);

 

These registers need to be used correctly so that OS driver can set up

acceleration.  Maybe we can leave them alone and figure out how EDID

works from Linux driver.

 

http://lxr.free-electrons.com/source/drivers/gpu/drm/radeon/radeon_atombios.c#L517

 

I unfortunately don't have much time to understand this.

My RAID enclosure just died.  Need to figure out how to get data back.

  • Like 1
Link to comment
Share on other sites

Looks like Doorbell implemented in Sea Island and so this Region5 will be used for Hawaii, Bonair as well?

Can anybody with R9-260/360/290/390, HD7790 show me debug.log if Inject->ATI=yes?

Link to comment
Share on other sites

Looks like Doorbell implemented in Sea Island and so this Region5 will be used for Hawaii, Bonair as well?

Can anybody with R9-260/360/290/390, HD7790 show me debug.log if Inject->ATI=yes?

I have 2X 290x and one 280x. Give me short instruction how to do that. 

Link to comment
Share on other sites

Hi Mork vom Ork

What do you do with FakeSMC? I think you should do clean test.

    | |   |   | +-o AMDRadeonX4100_AMDBaffinGraphicsAccelerator  <class AMDRadeonX4100_AMDBaffinGraphicsAccelerator, id 0x1000003db, registered, matched, active, busy 0 (0 ms), retain 5>
    | |   |   |     {
    | |   |   |       "IOClass" = "AMDRadeonX4100_AMDBaffinGraphicsAccelerator"
    | |   |   |       "dpm" = 1
    | |   |   |       "IOKitDebug" = 0
    | |   |   |       "AccelNativeDMARowByteAlignment" = 256
    | |   |   |       "IOVARendererID" = 16908290
    | |   |   |       "IODVDBundleName" = "AMDRadeonVADriver"
    | |   |   |       "IOPersonalityPublisher" = "org.netkas.driver.FakeSMC"
    | |   |   |       "AccelCaps" = 15


I have 2X 290x and one 280x. Give me short instruction how to do that. 

Clover config.plist

Boot->Debug=YES

Graphics->Inject->ATI=YES

You probably will get black screen but you'll obtain debug.log in /EFI/CLOVER/misc folder. Upload it for me!


Use these files

TestRadeon.zip

Link to comment
Share on other sites

I don't have black screen because on first slot is 280x 

Big thanks!

Now I see that Tahiti (R9 280x) is old family. MMIO at Region2 as usual

14:840  0:106  Framebuffer @0xD0000000  MMIO @0xFBE00000 I/O Port @0x0000E000 ROM Addr @0xFBE40000
14:843  0:002  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0x00000000
 while Hawaii (R9 290X) is new requiring Region5
14:902  0:005  Framebuffer @0xB0000000  MMIO @0xC0000000 I/O Port @0x0000D000 ROM Addr @0xFBD40000
14:905  0:002  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xFBD00000
 
Also I see that Card posted has wrong logic
1st card really posted
14:845  0:002  BIOS_0_SCRATCH=0x00000050, 1=0xC0C821A5, 2=0x00000000, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x0
14:868  0:022   card posted because CONFIG_MEMSIZE=0xC00
2nd card not posted
14:908  0:002  BIOS_0_SCRATCH=0xFFFFFFFF, 1=0xFFFFFFFF, 2=0xFFFFFFFF, 3=0xFFFFFFFF, 4=0xFFFFFFFF, 5=0xFFFFFFFF, 6=0xFFFFFFFF
14:930  0:021   card posted because CRTC_EN, GEN_CNTL=FFFFFFFF
14:936  0:005  ATI card POSTed, 
Will correct somehow.
  • Like 3
Link to comment
Share on other sites

I can help as well, whatever you ask bruh, now i'm removing ozmosis and installing which version? and what files do you require?.

Standard Clover installation and files from post 88. Will be updated soon.

 

I also remaked the kext for monitoring Radeon temperature. Will be glad for a testing.

This is full set  where you can choose at least FakeSMC, HWInfo, IntelCPUMonitor and RadeonMonitor

Release 10.6.zip

  • Like 1
Link to comment
Share on other sites

This will be my output with latest CLOVER rev. and only RX480 in slot#1, csr and igpu disabled:

 

 

5:823  0:000  === [ RestSetup macOS ] ===================================
5:823  0:000  EdidDiscovered size=128
5:823  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
5:823  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
5:823  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
5:823  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
5:823  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
5:823  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
5:823  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
5:823  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
5:823  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
5:823  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
5:823  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
5:823  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
5:823  0:000  120  |  20  20  20  20  20  20  01  75
5:824  0:000  Framebuffer @0xD0000000  MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEC440000
5:824  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEC400000
5:824  0:000  Use region5 as MMIO space
5:824  0:000  BIOS_0_SCRATCH=0x00000000, 1=0x00000000, 2=0x00000003, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x0
5:825  0:001  RADEON_CRTC2_GEN_CNTL == 0x00000000
5:825  0:000   card posted because CONFIG_MEMSIZE = 0x2000
5:825  0:000  ATI card POSTed,
5:825  0:000  Set VRAM for Ellesmere = 8192Mb
5:825  0:000  ATI: get_vram_size returned 0x0
5:825  0:000  ATI Radeon EVERGREEN+ family
5:825  0:000  Framebuffer set to device's default: Dayman
5:825  0:000   N ports defaults to 6
5:825  0:000  (AtiPorts) Nr of ports set to: 6
5:825  0:000  ATI Ellesmere AMD Radeon RX480 8192MB (Dayman) [1002:67DF] (subsys [174B:E347]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

see "ATI: get_vram_size returned 0x0"  <--- maybe it is because hexvalue, but shouldn't it be 0x2000 ?


Hi Mork vom Ork

What do you do with FakeSMC?

I just add this from AMDRadeon4100.kext:

baffin_graphic.jpg

 into the plist of FakeSMC.kext here:

Bildschirmfoto_2016_11_22_um_20_41_58.pn

so i could add the device-id for RX480 without touching the original AMDRadeon4100.kext.

Link to comment
Share on other sites

Yes, i did. See here part of my config.plist:

Bildschirmfoto_2016_11_22_um_21_24_19.pn

also i changed AMDRadeonX4100 directly now and switched my FakeSMC.kext now with yours from post#94

And btw: injected cusomEDID is EDID of my DELL 34" 21:9 monitor, which is connected via DisplayPort on the RX480.

 

If you want me to do, i could make post of outpu with my TAHITI R9 280x as primary only GFX

You don't have to say it out loud, cause here you got it:

 

19:933  0:000  === [ RestSetup macOS ] ===================================
19:933  0:000  EdidDiscovered size=128
19:933  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
19:933  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
19:933  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
19:933  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
19:933  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
19:933  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
19:933  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
19:933  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
19:933  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
19:933  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
19:933  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
19:933  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
19:933  0:000  120  |  20  20  20  20  20  20  01  75
19:934  0:000  Framebuffer @0xC0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
19:934  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0x00000000
19:934  0:000  BIOS_0_SCRATCH=0x0000002C, 1=0x4058B880, 2=0x00000000, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x0
19:934  0:000  RADEON_CRTC2_GEN_CNTL == 0x00000000
19:934  0:000   card posted because CONFIG_MEMSIZE = 0xC00
19:934  0:000  ATI card POSTed,
19:934  0:000  Set VRAM for Tahiti = 3072Mb
19:934  0:000  ATI: get_vram_size returned 0xC0000000
19:934  0:000  ATI Radeon EVERGREEN+ family
19:934  0:000  Users config name Junsai
19:934  0:000  (AtiPorts) Nr of ports set to: 5
19:934  0:000  ATI Tahiti AMD Radeon HD 7970X/8970/R9 280X 3072MB (Junsai) [1002:6798] (subsys [174B:3000]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

DELL monitor gets detected, but with absolute failed resolutions - so the screen stays black, but logging in with ARD from Macbook possible.

There i noticed, monitor control panel just give me two different resolutions for that monitor: both suggested resolution monitor isn't able to show: 1720 x 1440 and 1280 x 1024 (both at 50/60 Hz.) and no matter if i set inject=yes or not.

Link to comment
Share on other sites

Yes, i did. See here part of my config.plist:

 

also i changed AMDRadeonX4100 directly now and switched my FakeSMC.kext now with yours from post#94

And btw: injected cusomEDID is EDID of my DELL 34" 21:9 monitor, which is connected via DisplayPort on the RX480.

 

If you want me to do, i could make post of outpu with my TAHITI R9 280x as primary only GFX

You don't have to say it out loud, cause here you got it:

 

19:933  0:000  === [ RestSetup macOS ] ===================================
19:933  0:000  EdidDiscovered size=128
19:933  0:000  000  |  00  FF  FF  FF  FF  FF  FF  00  10  AC
19:933  0:000  010  |  A6  A0  4C  34  45  30  25  19  01  04
19:933  0:000  020  |  A5  50  21  78  3A  FD  25  A2  58  4F
19:933  0:000  030  |  9F  26  0D  50  54  A5  4B  00  71  4F
19:933  0:000  040  |  81  00  81  80  A9  40  D1  C0  01  01
19:933  0:000  050  |  01  01  01  01  E7  7C  70  A0  D0  A0
19:933  0:000  060  |  29  50  50  20  CA  04  1E  4F  31  00
19:933  0:000  070  |  00  1A  00  00  00  FF  00  36  38  4D
19:933  0:000  080  |  43  46  35  39  36  30  45  34  4C  0A
19:933  0:000  090  |  00  00  00  FC  00  44  45  4C  4C  20
19:933  0:000  100  |  55  33  34  31  35  57  0A  20  00  00
19:933  0:000  110  |  00  FD  00  30  55  1E  59  20  00  0A
19:933  0:000  120  |  20  20  20  20  20  20  01  75
19:934  0:000  Framebuffer @0xC0000000  MMIO @0xEC400000 I/O Port @0x0000E000 ROM Addr @0xEC440000
19:934  0:000  PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0x00000000
19:934  0:000  BIOS_0_SCRATCH=0x0000002C, 1=0x4058B880, 2=0x00000000, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x0
19:934  0:000  RADEON_CRTC2_GEN_CNTL == 0x00000000
19:934  0:000   card posted because CONFIG_MEMSIZE = 0xC00
19:934  0:000  ATI card POSTed,
19:934  0:000  Set VRAM for Tahiti = 3072Mb
19:934  0:000  ATI: get_vram_size returned 0xC0000000
19:934  0:000  ATI Radeon EVERGREEN+ family
19:934  0:000  Users config name Junsai
19:934  0:000  (AtiPorts) Nr of ports set to: 5
19:934  0:000  ATI Tahiti AMD Radeon HD 7970X/8970/R9 280X 3072MB (Junsai) [1002:6798] (subsys [174B:3000]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

 

 

DELL monitor gets detected, but with absolute failed resolutions - so the screen stays black, but logging in with ARD from Macbook possible.

There i noticed, monitor control panel just give me two different resolutions for that monitor: both suggested resolution monitor isn't able to show: 1720 x 1440 and 1280 x 1024 (both at 50/60 Hz.) and no matter if i set inject=yes or not.

See this

BIOS_0_SCRATCH=0x0000002C

I found in linux sources that this register means Connectors.

How the card is attached to monitor? DVI, VGA, DP?

AFAIK

          02 00 00 00  LVDS
          04 00 00 00  DVI_DL(Dual Link)
          00 02 00 00  DVI_SL(Single Link)
          10 00 00 00  VGA
          80 00 00 00  S-Video
          00 04 00 00  DP
          00 08 00 00  HDMI

But digits 2C looks different.

Link to comment
Share on other sites

 Share

×
×
  • Create New...