Contribute
Register

[help]black screen when uhd630 run with internal screen

Status
Not open for further replies.
I think ,there will be some problems on 8750h & 144hz ips internal screen

I change my book to MSI GS65, the same problem, other ok

I don't see a question.
 
I think ,there will be some problems on 8750h & 144hz ips internal screen

It's not the 144hz screen as I'm getting the same issue with the 4k 60hz model (AUO B156ZAN03.1).

Here are my current efforts on the Gigabyte Aero 15X 4k model:

- To solve the following boot errors:
Code:
No Arguments are initialized for method [_BST]
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.ECDV.BAT1.BST]
No Local Variables are initialized for method [_BST]

No Arguments are initialized for method [_BIF]
ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.ECDV.BAT1.BIF]
No Local Variables are initialized for method [_BIF]
1. Applied battery_Gigabyte-Aero15V8.txt patch on DSDT.aml
- Viewing "DVMT Pre-Allocated" in the latest BIOS (P65V810.B06) it's set to 64M so I don't think a DVMT patch is required?
- Tried MacBook 14,3 (discrete gfx) but eventually settled on MacBook 14,1 (integrated gfx) as suggested by Rehabman in this thread
- Disabled Nvidia graphics:
1. Opened the SSDT-9.dsl with MaciASL
2. Added the _INI line method before _OFF line method
Code (Text):
Code:
Method(_INI) { _OFF() } // easy patch: add _INI to call _OFF
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
- Tried various ig-platform-id / IntelGFX combinations but settled on ig-platform-id = 0x591b0000
- Installed AppleBacklightInjector.kext but it is not loading (followed instructions / added SSDT-PNLF.aml / kext patch / rebuilt cache)
- Added EDID injection (placed patched EDID using edidparser.rb into Clover's "Custom EDID" and selected "Inject EDID"). EDID injection is successful but makes no difference. Just using Inject EDID along with Product ID 0x9c7c.
- Successfully applied all USB patches (removed unused ports etc.).

Unfortunately nothing I have tried will give me anything but a black screen as has already reported here. I have to use VNC to access the machine. Graphics is reported as "Intel UHD Graphics 630 1536 MB". Maybe the eDP (Embedded DisplayPort) for its screen is the cause of the problem? I can get display output at 4k when I set ig-platform-id = 0x12345678 but obviously it's glitchy and not accelerated.
 
Last edited:
So I was pretty confident I was onto something regarding the eDP interface for the screen. So I did a bit of research and found out we can set these values as follows:

The Graphics Card Injection ID is 0x591B0000 (AppleIntelKBLGraphicsFramebuffer)

Code:
Interface Data                Instructions
00001B59 00000000 B0D10800    Injection ID
00000000 01030303 00006002    Port Number Definition
00005001 00000060 6C050000    Memory
6C050000 00000000 00000000
00000800 02000000 98000000    0000 Interface (LVDS)
02040A00 00080000 87010000    0204 Interface (HDMI)
03060A00 00040000 87010000    0306 Interface (DP)
FF000000 01000000 20000000    Reserved

Code:
Connector         Data
DVI-I             00 02 00 00
DP / DVI-DL       00 04 00 00
HDMI              00 08 00 00
Thunderbolt?      00 0C 00 00
LVDS / eDP        02 00 00 00
S-V               08 00 00 00
VGA               10 00 00 00; 00 10 00 00; 00 01 00 00; 01 00 00 00

Memory Capacity Modification
Code:
Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 01030303 00006002 00005001 00000060
Replace: 01030303 00006002 00005001 00000080
Comment: 1536MB -> 2048MB for HD630 Mobile

Port Modification
Code:
Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 00000800 02000000 98000000 02040A00 00080000 87010000 03060A00 00040000 87010000 FF000000 01000000 20000000
Replace: 00000800 00040000 98000000 02040A00 00080000 87010000 03060A00 00040000 87010000 FF000000 01000000 20000000
Comment: Modify 0x591B0000 video ports to match 15X (port 0 to eDP, port 1 to HDMI, port 2 to DP, port 3 nonexistent)

And while the patch clearly worked... again; black screen!
 

Attachments

  • iMac-Aero.png
    iMac-Aero.png
    1 MB · Views: 281
Last edited:
I wonder if we need to patch IOGraphicsFamily so the AppleBacklightDisplay interface is using eDP?

EDIT: I don't think IODisplayConnectFlags has anything to do with the connector-type.
 

Attachments

  • iMac-Aero2.png
    iMac-Aero2.png
    975.6 KB · Views: 219
Last edited:
So I was pretty confident I was onto something regarding the eDP interface for the screen. So I did a bit of research and found out we can set these values as follows:

Code:
Connector Type    Data
HDMI              00 08 00 00
DVI               00 02 00 00
eDP               00 04 00 00
DP                00 04 00 00
LVDS              02 00 00 00
VGA               01 00 00 00

So I found a patch and modified it so the first framebuffer would use eDP.

Code:
Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 00000800 02000000 98000000 02040A00 00080000 87010000 03060A00 00040000 87010000 FF000000 01000000 20000000
Replace: 00000800 00040000 98000000 01050900 00080000 87010000 02040A00 00040000 87010000 FF000000 01000000 20000000
Comment: Modify 0x591B0000 video ports to match 15X (port 0 to eDP, port 1 to HDMI, port 2 to DP, port 3 nonexistent)

And while the patch clearly worked... again; black screen!

eDP is known to be problematic.
 
eDP is known to be problematic.

Yeah, I'm pretty sure it's the issue with this machine. I did have a glimmer of hope today as I noticed that in another post I had the eDP port wrong (it's 04 00 00 00 not 00 04 00 00) so I updated the patch and rebuilt the cache but still black screen.

Looks like 00 04 00 00 IS correct for eDP.

Looks like 02 00 00 00 is for LVDS/eDP.
 
Last edited:
So I'm seeing contradictions on what value the eDP port actually is so I looked at the AppleIntelBDWGraphicsFramebuffer.kext port 0x162b0000 (Intel Iris Graphics 6100) which I know supports eDP.

Code:
00002B16 00030303 00000001
0000F000 00000040 99140000
99140000 00000000 00000000
00000000 00000800 02000000
30020000 01050900 04000000
04000000 02040900 00080000
82000000 FF000000 01000000
40000000

The 6100 has LVDS, eDP and HDMI ports. So according to this 04 00 00 00 is the value for eDP. Either way I've tried all these (including 40 00 00 00, 00 40 00 00, 00 04 00 00 and 04 00 00 00) values to no effect.
 
Last edited:
Status
Not open for further replies.
Back
Top