Contribute
Register

DELL M3800 - Strange UI glitches with multipul screens

Status
Not open for further replies.
The HDMI port is the only thing in my way to a perfect setup.

Below are the kext i load with clover
VoodooPS2Controller.kext
NullEthernet.kext
FakeSMC.kext
FakePCIID_Intel_HDMI_Audio.kext
FakePCIID_HD4600_HD4400.kext
FakePCIID_BCM94352Z_as_BCM94360CS2.kext
FakePCIID.kext
BrcmPatchRAM.kext
ACPIBatteryManager.kext
ACPIBacklight.kext


And the patches.
Code:
                       <dict>
                                <key>Comment</key>
                                <string>Enable eDP port 0x00, HDMI port 0x05 for Azul framebuffer 0x0a260006</string>
                                <key>Find</key>
                                <data>
                                AAAIAAIAAAAwAAAAAQUJAAAEAACHAAAA
                                </data>
                                <key>Name</key>
                                <string>AppleIntelFramebufferAzul</string>
                                <key>Replace</key>
                                <data>
                                AAAIAAQAAAAwAAAAAQUJAAAIAACHAAAA
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Bootloader Graphics - Second Stage Patch 2</string>
                                <key>Find</key>
                                <data>
                                QYjE6xE=
                                </data>
                                <key>Name</key>
                                <string>IOGraphicsFamily</string>
                                <key>Replace</key>
                                <data>
                                QYjE6zE=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable Realtek ALC668 #2</string>
                                <key>Find</key>
                                <data>
                                hQjsEA==
                                </data>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Replace</key>
                                <data>
                                AAAAAA==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable Realtek ALC668 #1</string>
                                <key>Find</key>
                                <data>
                                hAjsEA==
                                </data>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Replace</key>
                                <data>
                                AAAAAA==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable TRIM support for non-Apple SSD</string>
                                <key>Find</key>
                                <data>
                                QVBQTEUgU1NEAA==
                                </data>
                                <key>Name</key>
                                <string>IOAHCIBlockStorage</string>
                                <key>Replace</key>
                                <data>
                                AAAAAAAAAAAAAA==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable Realtek ALC668 #3</string>
                                <key>Find</key>
                                <data>
                                hBnUEQ==
                                </data>
                                <key>Name</key>
                                <string>AppleHDA</string>
                                <key>Replace</key>
                                <data>
                                aAbsEA==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable 96MB BIOS, 34MB Framebuffer, 34MB Cursor for Azul framebuffer 0x0a260006</string>
                                <key>Find</key>
                                <data>
                                BgAmCgEDAwMAAAACAAAwAQAAYAA=
                                </data>
                                <key>Name</key>
                                <string>AppleIntelFramebufferAzul</string>
                                <key>Replace</key>
                                <data>
                                BgAmCgEDAwMAAAAGAAAgAgAAIAI=
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>IOBluetoothFamily - Continuity &amp; Hand-off</string>
                                <key>Find</key>
                                <data>
                                SIXAdFwPt0gQg8kEg/kGdVBIiw==
                                </data>
                                <key>Name</key>
                                <string>IOBluetoothFamily</string>
                                <key>Replace</key>
                                <data>
                                PsaDvAIAAAJBvg8AAADpTgAAAA==
                                </data>
                        </dict>
                        <dict>
                                <key>Comment</key>
                                <string>Enable USB3 after wake for Intel 8 series chipset</string>
                                <key>Find</key>
                                <data>
                                xoDIAAAAAQ==
                                </data>
                                <key>Name</key>
                                <string>AppleUSBXHCI</string>
                                <key>Replace</key>
                                <data>
                                xoDIAAAAAA==
                                </data>
                        </dict>
 
Hi xpir,

This is how I got it working for me. Login with ig-platform-id 0x0a2e0008, once in rebuild the cache with the Kext Utility. Once completed update the ig-platform-id back to 0x0a260006.

Bun

Or you could have booted without caches...
 
/cheers !! that did the trick..
I am now able to load the system with platform-id 0x0a260006 and the GUI on the laptop screen and the micro display port screen is perfect. even chrome seems to work with hardware acceleration on.

Now the only problem is that the OS freezes and reboot when i connect a screen to the HDMI port (it's not happening with platform-id 0x0a2e0008)

Any ideas ?

You need to implement HDMI audio.

HDMI-audio on Haswell has several requirements:
- the device at address 0x00030000, usually called B0D3, must be renamed to HDAU
- the resulting HDAU device must be recognized by AppleHDAController (config.plist patches required if not natively recognized... or you can use FakePCIID_Intel_HDMI_Audio.kext)
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF/HDAU objects. This is usually done with DSDT/SSDT edits (_DSM methods)
 
You need to implement HDMI audio.

HDMI-audio on Haswell has several requirements:
- the device at address 0x00030000, usually called B0D3, must be renamed to HDAU
- the resulting HDAU device must be recognized by AppleHDAController (config.plist patches required if not natively recognized... or you can use FakePCIID_Intel_HDMI_Audio.kext)
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF/HDAU objects. This is usually done with DSDT/SSDT edits (_DSM methods)


How is it related to the audio ? the HDMI port worked good when i used platform id 0x0a2e0008 without any special audio patch.



 
How is it related to the audio ? the HDMI port worked good when i used platform id 0x0a2e0008 without any special audio patch.




We have seen that in many cases, a crash on HDMI hot-plug is because of improperly implemented HDMI audio.
 
My experience is that 0x0a260006 requires a proper HDMI audio patch, while 0x0a2e0008 did not.

However 0x0a2e0008 does not work properly on wake-up in Yosemite 10.10.2, hence I updated my XPS 9530 to use 0x0a260006 (with HDMI audio fixed).
 
My experience is that 0x0a260006 requires a proper HDMI audio patch, while 0x0a2e0008 did not.

However 0x0a2e0008 does not work properly on wake-up in Yosemite 10.10.2, hence I updated my XPS 9530 to use 0x0a260006 (with HDMI audio fixed).

I have all the patches that you'v put in your git repository. are there any other patches that are not there ?
 
I found out that it's not directly related to the HDMI.
It's related to more than two screens attached.

The system works perfect with the laptop screen and one screen attached (no matter if it's the HDMI port or the mini display port). once i plug additional screen i get kernel panic (see attachment)

I am working with the clover folder that darkvoid provided at https://github.com/the-darkvoid/XPS9530-OSX including full dsdt patches and hda patch

Any ideas what's wrong ?
 

Attachments

  • IMG_2194.jpg
    IMG_2194.jpg
    810.8 KB · Views: 97
You need to implement HDMI audio.

HDMI-audio on Haswell has several requirements:
- the device at address 0x00030000, usually called B0D3, must be renamed to HDAU
- the resulting HDAU device must be recognized by AppleHDAController (config.plist patches required if not natively recognized... or you can use FakePCIID_Intel_HDMI_Audio.kext)
- your framebuffer must be patched for HDMI-audio (there are patches in my default config.plist (disabled) files: https://github.com/RehabMan/OS-X-Clover-Laptop-Config). It is trial/error to determine which port your HDMI is connected (actually, they are positional and you can tell by looking at ioreg).
- patched AppleHDA is required (sometimes VoodooHDA works, but my experience has been not good)
- you have to inject "hda-gfx"="onboard-1" for IGPU/HDEF/HDAU objects. This is usually done with DSDT/SSDT edits (_DSM methods)


Just top make it clear, all these are patches are applied to darkvoid's repo and still it has the described behaviour.
 
Attached is my IOReq (Connected to the HDMI port)

@Rehabman - could you please help me and look if you see anything wrong ?
 

Attachments

  • Avi’s MacBook Pro.zip
    1.4 MB · Views: 78
Status
Not open for further replies.
Back
Top