Jump to content

Radeon HD 5650 - 10.12.3 - LVDS won't work


dudul88
 Share

12 posts in this topic

Recommended Posts

Hello !
 
I can't get my Radeon HD 5650 working with LVDS. All was fine in ML but not in Sierra. This card have 3 connectors : 1 VGA 1 HDMI + 1 LVDS
VGA and HDMI works fine with Hoolock FB and all my patches I've tried, but not LVDS.
I use Clover r4035, with Ati injection, EDID injection and I patch AMD5000Controller manually with iHex. I've tried both Duallink 0/1 and patch vbios true/false.

The default Hoolock FB :

00040000 04060000 00010000 00000000 21030501 00000000
00040000 04060000 00010000 00000000 11020402 00000000
04000000 14020000 00010000 00000000 02040103 00000000



All patches I've tried :

02000000 [00010000;4000000;0005000] [1903;0901;1901] 0000 00000000 10 00 [00;01;02;03] 07 00000000
00080000 00020000 0071 0000 00000000 11 02 [01;02;03] 02 00000000
10000000 10000000 0001 0000 00000000 00 10 [02;01;03] 01 00000000



Most of the combinaisons have been tested. ControlFlag 4000 give a black screen with no backlight. 0005 and 0001 give black screen with backlight.
Sometime permutes of hotplugs flags break HDMI and VGA.

Here redsock_bios_decoder result :

BR035223.009:

Acer JV50-CP Madison SG DDR3 64Mx16 550E/750M

Subsystem Vendor ID: 1025
Subsystem ID: 33f
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



Here radeon_bios_decode :

ATOM BIOS Rom:
SubsystemVendorID: 0x1025 SubsystemID: 0x033f
IOBaseAddress: 0x2000
Filename: BR035223.009
BIOS Bootup Message:
Acer JV50-CP Madison SG DDR3 64Mx16 550E/750M

PCI ID: 1002:68c1
Connector at index 0
Type [@offset 45036]: LVDS (7)
Encoder [@offset 45040]: INTERNAL_UNIPHY (0x1e)
i2cid [@offset 45110]: 0x96, OSX senseid: 0x7
Connector at index 1
Type [@offset 45046]: HDMI-A (11)
Encoder [@offset 45050]: INTERNAL_UNIPHY1 (0x20)
i2cid [@offset 45133]: 0x91, OSX senseid: 0x2
HotPlugID: 1
Connector at index 2
Type [@offset 45056]: VGA (1)
Encoder [@offset 45060]: INTERNAL_KLDSCP_DAC1 (0x15)
i2cid [@offset 45160]: 0x90, OSX senseid: 0x1



And my config.plist :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
    <dict>
    <key>DSDT</key>
        <dict>
        <key>Debug</key>
        <false/>
        <key>DropOEM_DSM</key>
        <false/>
        <key>Fixes</key>
            <dict>
            <key>AddDTGP_0001</key>
            <true/>
            <key>AddHDMI_8000000</key>
            <true/>
            <key>AddPNLF_1000000</key>
            <true/>
            <key>DeleteUnused_400000</key>
            <true/>
            <key>FIX_ACST_4000000</key>
            <true/>
            <key>FIX_ADP1_800000</key>
            <true/>
            <key>FIX_RTC_20000</key>
            <true/>
            <key>FIX_S3D_2000000</key>
            <true/>
            <key>FIX_TMR_40000</key>
            <true/>
            <key>FIX_WAK_200000</key>
            <true/>
            <key>FixAirport_4000</key>
            <true/>
            <key>FixDarwin_0002</key>
            <true/>
            <key>FixDisplay_0100</key>
            <true/>
            <key>FixFirewire_0800</key>
            <true/>
            <key>FixHDA_8000</key>
            <true/>
            <key>FixHPET_0010</key>
            <true/>
            <key>FixIPIC_0040</key>
            <true/>
            <key>FixLAN_2000</key>
            <true/>
            <key>FixRegions_10000000</key>
            <true/>
            <key>FixSBUS_0080</key>
            <true/>
            <key>FixShutdown_0004</key>
            <true/>
            <key>FixUSB_1000</key>
            <true/>
            </dict>
        <key>Name</key>
        <string>DSDT.aml</string>
        <key>Patches</key>
            <array>
                <dict>
                <key>Comment</key>
                <string>change EHC1 to EH01</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                RUhDMQ==
                </data>
                <key>Replace</key>
                <data>
                RUgwMQ==
                </data>
                </dict>
                <dict>
                <key>Comment</key>
                <string>change EHC2 to EH02</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                RUhDMg==
                </data>
                <key>Replace</key>
                <data>
                RUgwMg==
                </data>
                </dict>
            </array>
        <key>ReuseFFFF</key>
        <false/>
        </dict>
    <key>DropTables</key>
        <array>
            <dict>
            <key>Signature</key>
            <string>SSDT</string>
            <key>TableId</key>
            <string>CpuPm</string>
            </dict>
            <dict>
            <key>Signature</key>
            <string>DMAR</string>
            </dict>
            <dict>
            <key>Signature</key>
            <string>SSDT</string>
            <key>TableId</key>
            <string>Cpu0Ist</string>
            </dict>
        </array>
    <key>HaltEnabler</key>
    <true/>
    <key>SSDT</key>
        <dict>
        <key>DropOem</key>
        <false/>
        <key>Generate</key>
        <true/>
        </dict>
    </dict>
<key>Boot</key>
    <dict>
    <key>Arguments</key>
    <string>-v</string>
    <key>Debug</key>
    <false/>
    <key>DefaultLoader</key>
    <string>macOSx</string>
    <key>DefaultVolume</key>
    <string>MacOSX</string>
    <key>Legacy</key>
    <string>PBR</string>
    <key>NeverDoRecovery</key>
    <true/>
    <key>Secure</key>
    <false/>
    <key>Timeout</key>
    <integer>5</integer>
    <key>XMPDetection</key>
    <false/>
    </dict>
<key>BootGraphics</key>
    <dict>
    <key>EFILoginHiDPI</key>
    <integer>1</integer>
    <key>UIScale</key>
    <integer>1</integer>
    </dict>
<key>CPU</key>
    <dict>
    <key>UseARTFrequency</key>
    <false/>
    </dict>
<key>Devices</key>
    <dict>
    <key>Audio</key>
        <dict>
        <key>Inject</key>
        <string>Detect</string>
        <key>ResetHDA</key>
        <true/>
        </dict>
    <key>USB</key>
        <dict>
        <key>AddClockID</key>
        <true/>
        <key>FixOwnership</key>
        <true/>
        <key>Inject</key>
        <true/>
        </dict>
    </dict>
<key>GUI</key>
    <dict>
    <key>Custom</key>
        <dict>
        <key>Entries</key>
            <array>
                <dict>
                <key>Arguments</key>
                <string>initrd=/boot/initrd.img-3.16.0-4-amd64 root=/dev/mapper/root quiet</string>
                <key>Disabled</key>
                <false/>
                <key>Ignore</key>
                <false/>
                <key>Path</key>
                <string>\boot\vmlinuz-3.16.0-4-amd64</string>
                <key>Title</key>
                <string>Debian</string>
                <key>Type</key>
                <string>Linux</string>
                <key>Volume</key>
                <string>MacOSX</string>
                </dict>
            </array>
        </dict>
    <key>Hide</key>
        <array>
        <string>BOOTX64.EFI</string>
        <string>Windows</string>
        </array>
    <key>Language</key>
    <string>fr:0</string>
    <key>Mouse</key>
        <dict>
        <key>DoubleClick</key>
        <integer>500</integer>
        <key>Enabled</key>
        <false/>
        <key>Mirror</key>
        <false/>
        <key>Speed</key>
        <integer>2</integer>
        </dict>
    <key>Scan</key>
        <dict>
        <key>Entries</key>
        <true/>
        <key>Kernel</key>
        <string>All</string>
        <key>Legacy</key>
        <string>Last</string>
        <key>Linux</key>
        <true/>
        <key>Tool</key>
        <true/>
        </dict>
    <key>ScreenResolution</key>
    <string>1024x768</string>
    <key>Theme</key>
    <string>metal</string>
    </dict>
<key>Graphics</key>
    <dict>
    <key>DualLink</key>
    <integer>0</integer>
    <key>EDID</key>
        <dict>
        <key>Custom</key>
        <data>
        </data>
        <key>Inject</key>
        <true/>
        </dict>
    <key>FBName</key>
    <string>Baboon</string>
    <key>Inject</key>
        <dict>
        <key>ATI</key>
        <true/>
        <key>Intel</key>
        <false/>
        <key>NVidia</key>
        <false/>
        </dict>
    <key>LoadVBios</key>
    <true/>
    <key>NvidiaSingle</key>
    <false/>
    <key>PatchVBios</key>
    <true/>
    <key>VRAM</key>
    <integer>1024</integer>
    <key>VideoPorts</key>
    <integer>3</integer>
    </dict>
<key>KernelAndKextPatches</key>
    <dict>
    <key>AppleRTC</key>
    <true/>
    <key>AsusAICPUPM</key>
    <false/>
    <key>Debug</key>
    <false/>
    <key>DellSMBIOSPatch</key>
    <false/>
    <key>KernelCpu</key>
    <false/>
    <key>KernelHaswellE</key>
    <false/>
    <key>KernelLapic</key>
    <false/>
    <key>KernelPm</key>
    <false/>
    <key>KextsToPatch</key>
        <array>
            <dict>
            <key>Disabled</key>
            <true/>
            <key>Find</key>
            <data>
            BAAAABQAAAAAAQAAAAAAAAECAQMAAAAAAACAAAAAIAAA
            BxAAAAAAAAIgUCAQAAAAABAAAAAQAAAAAAEAAAAAAAAA
            EAACAAAAAAA=
            </data>
            <key>Name</key>
            <string>AMD5000Controller</string>
            <key>Replace</key>
            <data>
            AgAAAEAAAAAJAQAAAAAAABAAAQcAAAAAAACAAAAAIAAA
            BxAAAAAAAAEQICAgAAAAABAAAAAQAAAAAAEAAAAAAAAA
            EAMBAAAAAA==
            </data>
            </dict>
            <dict>
            <key>Comment</key>
            <string>TRIM function for non-Apple SSDs</string>
            <key>Disabled</key>
            <false/>
            <key>Find</key>
            <data>
            QVBQTEUgU1NEAA==
            </data>
            <key>Name</key>
            <string>IOAHCIBlockStorage</string>
            <key>Replace</key>
            <data>
            AAAAAAAAAAAAAA==
            </data>
            </dict>
            <dict>
            <key>Comment</key>
            <string>Boot graphics glitch, 10.10.x/10.11.x (credit lisai9093, cecekpawon)</string>
            <key>Disabled</key>
            <true/>
            <key>Find</key>
            <data>
            AQAAdRc=
            </data>
            <key>Name</key>
            <string>com.apple.iokit.IOGraphicsFamily</string>
            <key>Replace</key>
            <data>
            AQAA6xc=
            </data>
            </dict>
        </array>
    </dict>
<key>RtVariables</key>
    <dict>
    <key>BooterConfig</key>
    <string>0x28</string>
    <key>CsrActiveConfig</key>
    <string>0x67</string>
    <key>MLB</key>
    <string>C02032109R5DC771H</string>
    <key>ROM</key>
    <string>UseMacAddr0</string>
    </dict>
<key>SMBIOS</key>
    <dict>
        <dict>
        <key>Channels</key>
        <integer>2</integer>
        <key>Modules</key>
            <array>
                <dict>
                <key>Frequency</key>
                <integer>1333</integer>
                <key>Part</key>
                <string>C0001403</string>
                <key>Serial</key>
                <string>00001001</string>
                <key>Size</key>
                <integer>4096</integer>
                <key>Slot</key>
                <integer>0</integer>
                <key>Type</key>
                <string>DDR3</string>
                <key>Vendor</key>
                <string>Kingston</string>
                </dict>
                <dict>
                <key>Frequency</key>
                <integer>1333</integer>
                <key>Part</key>
                <string>C0001404</string>
                <key>Serial</key>
                <string>00001002</string>
                <key>Size</key>
                <integer>4096</integer>
                <key>Slot</key>
                <integer>2</integer>
                <key>Type</key>
                <string>DDR3</string>
                <key>Vendor</key>
                <string>Kingston</string>
                </dict>
            </array>
        <key>SlotCount</key>
        <integer>4</integer>
        </dict>
    <key>Manufacturer</key>
    <string>Apple Inc.</string>
    <key>Trust</key>
    <false/>
    </dict>
<key>SystemParameters</key>
    <dict>
    <key>InjectKexts</key>
    <string>Detect</string>
    <key>InjectSystemID</key>
    <true/>
    <key>NoCaches</key>
    <false/>
    </dict>
</dict>
</plist>


Thanks ;-)

Link to comment
Share on other sites

hello

 

also try to fake id 68e0 : 1002

 

 

  • Inject EDID box selected
  • Inject ATI box selected
  • AMD5000Framebuffer set to hoolok or langur
  • Load VBIOS box selected

make ur config.plist easy ..

 

my 5470 is working good in 10.12.4 last beta 6

 

good hack

Link to comment
Share on other sites

Problem solved with a custom EDID, the original won't work. Custom personalities and Hoolock work well !

Hi dudu88,

 

I was wondering if you could give me a few hints on how install Sierra on my old 5740G.

Back in 2011/12 I managed to install ML and get most of the sistem working. It's been a long time and since then many things have changed (bootloaders, AMD io ATI kexts etc).

I'm trying to install but cannot get past the installation process and I'm stuck at "waiting for root...".

Would appreciate if you could give me some pointers I could follow. My laptop has a i5 520M io your i7 640M. I have a Toshiba 120G SSD.

Our machines are 'old timers' but still run quite nicely :)

 

Regards.

Link to comment
Share on other sites

  • 6 months later...

Hi dudul88,

 

I have the same problem, I've been using patch to eulemur personality which has been working perfectly in sierra, but now do not in high sierra, i also have an injected edid. Your patch and edid works in high sierra?. I would appreciate if you post your edid and patch of holock personality to test if they work on my system. Thank you, my patch to eulemur personality is this:

 

Eulemur default FB

 

04000000 14000000 00010000 00000000 01020104 00000000

00080000 00020000 00710000 00000000 12040402 00000000

10000000 10000000 00000000 00000000 00100001 00000000

 

My patch in clover

 

0000000 02000000 40000000 09010100 10000100 00000000

0000010 00080000 00020000 00710200 11020204 00000000

0000020 10000000 10000000 00000003 00000301 00000000

 

It's been working well until now in sierra but now in high sierra only works vga and hdmi with full acceleration but black screen with backlight in lvds

 

my edid: 

 

00FFFFFF FFFFFF00 367F2500 00000000 04130103 80221378 F2CE50A3 574C9926 0F505400 00000101 01010101 01010101 01010101 01011A36 809A7038 22401933 5B0054BE 10000000 1A3680C4 71385840 4B96ED00 54BE1000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000000A 

 

Thank you

Link to comment
Share on other sites

Guest ricoc90

@danlecper lots of 5xxx and 6xxx series don't work on the High Sierra kexts anymore, but they do on the kexts from Sierra.

 

Rollback to 
AMDRadeonX3000.kext

AMDRadeonX3000GLDriver.bundle

IOAccelerator2D.plugin

 

IOAcceleratorFamily2.kext

 

from Sierra

Link to comment
Share on other sites

Thanks ricoc90,

 

Finally i get my system running well, it works with the same patch in clover. My problem seems to have been changes in clover's last version. Specifically on the new EDID/Custom and EDID/inject labels.

 

Now my system works as before high sierra, but still lacks brightness control.

Link to comment
Share on other sites

  • 11 months later...
 Share

×
×
  • Create New...