Contribute
Register

[solved] Upgrade screen to FHD results to garbled screen

Status
Not open for further replies.
Joined
Aug 8, 2017
Messages
67
Motherboard
Dell Inspiron 5558-Clover
CPU
i5-5200U
Graphics
HD 5500, GTX 920MX, 1920x1080
Mobile Phone
  1. Android
  2. iOS
As expected. You could create a theme that is stretched appropriately such that the graphics would display with correct aspect ratio.

It is limited by the resolutions your BIOS (VESA) provides.
The mismatch is quite typical.

Not likely EDID related.

Im on the process of doing ACPI Debug, already added SSDT-Debug.aml and acpidebug.kext now just injecting a DSDT patch to find replace IGPU to add the RMDT call. is there any better way to put calls aside from find replace in clover? :D
 
Last edited:

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,220
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
IGPU registers would require that you write custom ACPI code to dump them (using ACPIDebug).
You will need to have a hardware programming background, ability to read the IGPU data sheet, and knowledge of ACPI.
That would be something I might be interested in doing sometime, since CSM affects my boot time too. Can you please point me where I should start? I know enough ACPI and how to use ACPIDebug, but not what you mean by IGPU registers or where they're located in ACPI.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
That would be something I might be interested in doing sometime, since CSM affects my boot time too. Can you please point me where I should start? I know enough ACPI and how to use ACPIDebug, but not what you mean by IGPU registers and where they're located in ACPI.

You should start by reading about the IGPU and how to program it.
When I worked on the brightness solution(s), my reference was the Linux PRMs.
 
Joined
Aug 8, 2017
Messages
67
Motherboard
Dell Inspiron 5558-Clover
CPU
i5-5200U
Graphics
HD 5500, GTX 920MX, 1920x1080
Mobile Phone
  1. Android
  2. iOS
Not likely EDID related.

I have Edited my EDID and now my issue is fixed plus with a bonus of boot glitch not showing anymore. I am running tests to make sure that there is no effect on other functionalities. Will post result of testing and how do I fixed it when I'm finished with testing

That would be something I might be interested in doing sometime, since CSM affects my boot time too. Can you please point me where I should start? I know enough ACPI and how to use ACPIDebug, but not what you mean by IGPU registers or where they're located in ACPI.

Do you have the same issue as mine? what is your issue when legacy/CSM is disabled? why do you need it enabled?
 

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,220
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have Edited my EDID and now my issue is fixed plus with a bonus of boot glitch not showing anymore. I am running tests to make sure that there is no effect on other functionalities. Will post result of testing and how do I fixed it when I'm finished with testing



Do you have the same issue as mine? what is your issue when legacy/CSM is disabled? why do you need it enabled?
I get a garbled screen with random horizontal lines when I boot without CSM enabled.

I'll try to see if I can debug IGPU registers like RehabMan suggested soon, but I'd like to see how you edited your EDID.
 
Last edited:

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,101
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Aug 8, 2017
Messages
67
Motherboard
Dell Inspiron 5558-Clover
CPU
i5-5200U
Graphics
HD 5500, GTX 920MX, 1920x1080
Mobile Phone
  1. Android
  2. iOS
I get a garbled screen with random horizontal lines when I boot without CSM enabled.

I'll try to see if I can debug IGPU registers like RehabMan suggested soon, but I'd like to see how you edited your EDID.

Hello. I have followed this guide >>https://www.tonymacx86.com/threads/black-screen-after-wakeup-and-strange-audio-issue.235325/page-2#post-1628292">Black screen after wakeup, and strange audio issue a little bit but some of the process is different:

1. Extract vanilla EDID (I used EDID Manager from windows, I don't know if there are any mac alternative)
2. Patch the vanilla EDID using FixEDID
-Open extracted vanilla EDID
-Select only Inject EDID Unpatched
-Checked Add/Fix Monitor Ranges
-Click Make
Screen Shot 2018-01-02 at 12.36.35 PM.png


3. Open the file DisplayProductID-XXXX file with plist editor. The file was generated by FixEDID that was placed in Desktop with folder name DisplayVendorID-XXX

4. Take note of the 21st bit of IODisplayEDID and replace it with any of these except the previous value B5, 95, A5(these values are the ones I get when patching using iMac, MacbookAir, MacbookPro)
-- example, for me the patched vanilla is:
Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 A5221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

I have replaced it with 95 and as a result, no more graphics glitch on startup, also no more boot glitch effect:

Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 95221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

5. Put the new EDID in config.plist>Graphics>EDID>Custom, and also Inject as YES:

Screen Shot 2018-01-02 at 12.48.16 PM.png


6. Try booting, if glitches are gone, check your bdmesg on terminal if there are any automatic patches that was done by clover on your EDID and correct your EDID. normally on my experience, the last bit was patched by clover so I updated my Injected EDID to match the clover patched EDID.

Screen Shot 2018-01-02 at 2.13.58 AM.png


7. Video of booting with EDID patched & EDID Unpatched(i'll pm if you want):
 
Last edited:

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,220
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello. I have followed this guide >>https://www.tonymacx86.com/threads/black-screen-after-wakeup-and-strange-audio-issue.235325/page-2#post-1628292">Black screen after wakeup, and strange audio issue a little bit but some of the process is different:

1. Extract vanilla EDID (I used EDID Manager from windows, I don't know if there are any mac alternative)
2. Patch the vanilla EDID using FixEDID
-Open extracted vanilla EDID
-Select only Inject EDID Unpatched
-Checked Add/Fix Monitor Ranges
-Click Make
View attachment 303058

3. Open the file DisplayProductID-XXXX file with plist editor. The file was generated by FixEDID that was placed in Desktop with folder name DisplayVendorID-XXX

4. Take note of the 21st bit of IODisplayEDID and replace it with any of these except the previous value B5, 95, A5(these values are the ones I get when patching using iMac, MacbookAir, MacbookPro)
-- example, for me the patched vanilla is:
Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 A5221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

I have replaced it with 95 and as a result, no more graphics glitch on startup, also no more boot glitch effect:

Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 95221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

5. Put the new EDID in config.plist>Graphics>EDID>Custom, and also Inject as YES:

View attachment 303060

6. Try booting, if glitches are gone, check your bdmesg on terminal if there are any automatic patches that was done by clover on your EDID and correct your EDID. normally on my experience, the last bit was patched by clover so I updated my Injected EDID to match the clover patched EDID.

View attachment 303063

7. Video of booting with EDID patched & EDID Unpatched(i'll pm if you want):

The thing is that the 21st bit of my native (unpatched) EDID is already 95:

<00 ff ff ff ff ff ff 00 09 e5 10 06 00 00 00 00 01 18 01 04 95 22 13 78 02 b0 90 97 58 54 92 26 1d 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 3c 37 80 de 70 38 14 40 30 20 36 00 58 c1 10 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe 00 42 4f 45 20 48 46 0a 20 20 20 20 20 20 00 00 00 fe 00 48 42 31 35 36 46 48 31 2d 33 30 31 0a 00 04>

I'm also not sure what FixEDID is patching for. Can you provide more details?
 
Last edited:
Joined
Aug 1, 2015
Messages
33
Motherboard
Surface Pro 4 Intel Skylake-U Premium PCH
CPU
Intel Core i5 6300U 2.4Ghz
Graphics
Intel HD 520 2736x1824
Mobile Phone
  1. iOS
  2. Other
Hello. I have followed this guide >>https://www.tonymacx86.com/threads/black-screen-after-wakeup-and-strange-audio-issue.235325/page-2#post-1628292">Black screen after wakeup, and strange audio issue a little bit but some of the process is different:

1. Extract vanilla EDID (I used EDID Manager from windows, I don't know if there are any mac alternative)
2. Patch the vanilla EDID using FixEDID
-Open extracted vanilla EDID
-Select only Inject EDID Unpatched
-Checked Add/Fix Monitor Ranges
-Click Make
View attachment 303058

3. Open the file DisplayProductID-XXXX file with plist editor. The file was generated by FixEDID that was placed in Desktop with folder name DisplayVendorID-XXX

4. Take note of the 21st bit of IODisplayEDID and replace it with any of these except the previous value B5, 95, A5(these values are the ones I get when patching using iMac, MacbookAir, MacbookPro)
-- example, for me the patched vanilla is:
Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 A5221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

I have replaced it with 95 and as a result, no more graphics glitch on startup, also no more boot glitch effect:

Code:
00FFFFFF FFFFFF00 4C834455 00000000 00190104 95221378 0AE72599 59568E28 1E505400 00000101 01010101 01010101 01010101 0101D237 80A27038 40403020 250058C2 10000019 372580A2 70384040 30202500 58C21000 00190000 00FD0038 4C1E5311 000A2020 20202020 00000002 000C3FFF 0C3C7D1E 18327D00 0000001C

5. Put the new EDID in config.plist>Graphics>EDID>Custom, and also Inject as YES:

View attachment 303060

6. Try booting, if glitches are gone, check your bdmesg on terminal if there are any automatic patches that was done by clover on your EDID and correct your EDID. normally on my experience, the last bit was patched by clover so I updated my Injected EDID to match the clover patched EDID.

View attachment 303063

7. Video of booting with EDID patched & EDID Unpatched(i'll pm if you want):

Although you replaced with 95 but your screen shot displays B5 as 21st bit??
 
Joined
Aug 1, 2015
Messages
33
Motherboard
Surface Pro 4 Intel Skylake-U Premium PCH
CPU
Intel Core i5 6300U 2.4Ghz
Graphics
Intel HD 520 2736x1824
Mobile Phone
  1. iOS
  2. Other
The thing is that the 21st bit of my native (unpatched) EDID is already 95:

<00 ff ff ff ff ff ff 00 09 e5 10 06 00 00 00 00 01 18 01 04 95 22 13 78 02 b0 90 97 58 54 92 26 1d 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 3c 37 80 de 70 38 14 40 30 20 36 00 58 c1 10 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe 00 42 4f 45 20 48 46 0a 20 20 20 20 20 20 00 00 00 fe 00 48 42 31 35 36 46 48 31 2d 33 30 31 0a 00 04>

I'm also not sure what FixEDID is patching for. Can you provide more details?

FixEDID is for modification of EDID string read Wikipedia. Its for identification of display by graphics kext.
You may try B5 or A5 as 21st bit also calculate checksum ie the last 2 bit as referenced in black screen problem thread.
 
Status
Not open for further replies.
Top