Contribute
Register

Lenovo Legion Y520 15-IKBN Internal screen black with backlight after WG load.

Joined
Apr 27, 2020
Messages
11
Motherboard
Lenovo Y520 15-IKBN
CPU
i5-7300HQ
Graphics
Intel HD 630, 1920x1080
Hi, im fighting for about a month to my internal screen get to work, but no result.
On HDMI it works good, with acceleration, but eDP screen is always black after boot, it's even detected as color lcd (i injected EDID with hackintool).
I can change backlight and i see how its darker and brighter, but it stays black all time.
My specs: i5-7300hq, Intel HD630, Full HD eDP screen.

My ports presenting:

[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - ConnectorLVDS
[2] busId: 0x04, pipe: 10, type: 0x00000800, flags: 0x00000187 - ConnectorHDMI
[3] busId: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 - ConnectorDP

Alldata:

00000800 02000000 98000000
02040A00 00080000 87010000
03060A00 00040000 87010000

I tried many ready EFI folders for same model from github etc, but none of them fix the screen, how should i patch these buffer to be display0 under Framebuffer@1 instead of 0.
Framebuffer ports are listed
@0: 0x00
@1: 0x05
@2: 0x06

When i use patches the screen still black, it only work with igfxvesa=1 so i guess it's problem with ports after whatevergreen load:

AAPL,ig-platform-id 00001B59
framebuffer-fbmem 00009000
framebuffer-patch-enable 01000000
framebuffer-stolenmem 00003001
framebuffer-con0-enable 01000000
framebuffer-con0-alldata 00000800 02000000 98000000
framebuffer-con1-enable 01000000
framebuffer-con1-alldata 02040A00 00080000 87010000
framebuffer-con2-enable 01000000
framebuffer-con2-alldata 03060A00 00040000 87010000

Tried also con0 as 0105, 0204 and 0306 busid but no result.
EFI ofc in attach.
 

Attachments

  • EFI.zip
    25.7 MB · Views: 4
Hi, im fighting for about a month to my internal screen get to work, but no result.
On HDMI it works good, with acceleration, but eDP screen is always black after boot, it's even detected as color lcd (i injected EDID with hackintool).
I can change backlight and i see how its darker and brighter, but it stays black all time.
My specs: i5-7300hq, Intel HD630, Full HD eDP screen.

My ports presenting:

[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - ConnectorLVDS
[2] busId: 0x04, pipe: 10, type: 0x00000800, flags: 0x00000187 - ConnectorHDMI
[3] busId: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 - ConnectorDP

Alldata:

00000800 02000000 98000000
02040A00 00080000 87010000
03060A00 00040000 87010000

I tried many ready EFI folders for same model from github etc, but none of them fix the screen, how should i patch these buffer to be display0 under Framebuffer@1 instead of 0.
Framebuffer ports are listed
@0: 0x00
@1: 0x05
@2: 0x06

When i use patches the screen still black, it only work with igfxvesa=1 so i guess it's problem with ports after whatevergreen load:

AAPL,ig-platform-id 00001B59
framebuffer-fbmem 00009000
framebuffer-patch-enable 01000000
framebuffer-stolenmem 00003001
framebuffer-con0-enable 01000000
framebuffer-con0-alldata 00000800 02000000 98000000
framebuffer-con1-enable 01000000
framebuffer-con1-alldata 02040A00 00080000 87010000
framebuffer-con2-enable 01000000
framebuffer-con2-alldata 03060A00 00040000 87010000

Tried also con0 as 0105, 0204 and 0306 busid but no result.
EFI ofc in attach.
please read the faq for proper hardware profile setup:


 
I have read FAQ but there is no my problem listed. I actually installed macos, booted fine, all works ok, the only thing is not working is internal screen. Screenshots from hackintool ports and displays and i add ioreg from my laptop.
 

Attachments

  • Zrzut ekranu 2024-03-26 o 13.37.12.png
    Zrzut ekranu 2024-03-26 o 13.37.12.png
    31.9 KB · Views: 6
  • Zrzut ekranu 2024-03-26 o 13.41.45.png
    Zrzut ekranu 2024-03-26 o 13.41.45.png
    49.1 KB · Views: 5
  • y520 ioreg.ioreg
    40.7 MB · Views: 3
I have read FAQ but there is no my problem listed. I actually installed macos, booted fine, all works ok, the only thing is not working is internal screen. Screenshots from hackintool ports and displays and i add ioreg from my laptop.
your hardware profile is still not filled out correctly
 
Ok sorry, you meant forum profile, updated
 
Ok sorry, you meant forum profile, updated
and post 2 of the laptop guide has the properties required for your hardware

you are missing your device-id and your smbios is incorrect
 
and post 2 of the laptop guide has the properties required for your hardware

you are missing your device-id and your smbios is incorrect
How my SMbios is incorrect? Everyone for KabyLake is using MacBookPro14,3. 14,1 is U (lowpower) processors, 14,3 is i7-7700hq, so same family.
I used device-id 1659 And 1B59 but it's all time the same on both.
 

Attachments

  • Zrzut ekranu 2024-03-26 o 14.02.06.png
    Zrzut ekranu 2024-03-26 o 14.02.06.png
    110.9 KB · Views: 4
Last edited:
How my SMbios is incorrect? Everyone for KabyLake is using MacBookPro14,3. 14,1 is U (lowpower) processors, 14,3 is i7-7700hq, so same family.
I used device-id 1659 And 1B59 but it's all time the same on both.
upload new files if you have made changes
 
My newest EFI folder:
I tried swaps 0306 0204 and 0105 bus IDS for con0,1,2 but this dont want to work. Idk whats wrong, and even when i patch pipe for con0, hackintool still see this as pipe 8, instead of 10 for example.
 

Attachments

  • EFI.zip
    25.7 MB · Views: 6
My newest EFI folder:
try without:
Display-30e4-533.kext

remove or disable:
AAPL00,override-no-connect
disable-external-gpu (you already using a ssdt to disable your nvidia if you have setup SSDT-dGPU-Off correctly)


boot arguments:

no need for -wegnoegpu

what does -novht do?

agdpmod=vit9696 is not required with your hardware

you should fill out: prev-lang:kbd

should be using MacBookPro14,1

make sure to reset nvram when you make any changes to your EFI
 
Back
Top