PGBSean / Surface-Pro-5-OpenCore

An working EFI for the Surface Pro 5 lineup
17 stars 2 forks source link

Fix the issue of connecting external displays #4

Closed Golevka2001 closed 8 months ago

Golevka2001 commented 8 months ago

(I know this EFI is suitable for devices with i5 and HD620)

I don't know if it works well on HD620 devices when connecting external displays, but I failed.

After adding the following values to DeviceProperties-Add-PciRoot(0x0)/Pci(0x2,0x0), the external display is available.

Key Type Value
framebuffer-con1-enable Data 01000000
framebuffer-con1-alldata Data 01050A00 00080000 87010000
framebuffer-con2-enable Data 01000000
framebuffer-con2-alldata Data 03060A00 00040000 87010000

Reference: OpenCore-Install-Guide

1703836157079

olekor commented 8 months ago

03060A00 00040000 87010000

Surface Pro 5 Kaby Lake HD620 (i5) Ventura 13.6.1 was functioning perfectly until I connected an external monitor to it for the first time. When I try to turn on the tablet, the screen remains black until I plug in the mini-DP cable to connect the external monitor. I have tried changing the data with all the options in the DeviceProperties section PciRoot(0x0)/Pci(0x,0x0), but it hasn't helped. The screen doesn't switch on without a connection to an external monitor and switches off if I disconnect the external monitor. I suppose that is some problem with backlight-related functions, generally I in stuck, as tried plenty of combinations with parameters DeviceProperties and boots-arg NVRAM, but didn't find the right variant. What do you use AAPL,ig-platform-id=? PlatformID=? framebuffer-stolenmem=? boot-arg =? NVRAM Maybe need some additional to add, besides the mentioned framebuffers for the external monitor.

Golevka2001 commented 8 months ago

Sorry for causing it... 😭

This is my configuration for PciRoot(0x0)/Pci(0x2,0x0):

image

The boot-args is the same as that in this repository.

I also need to add that my device uses m3-7y34 processor and HD615 graphics card.

Finally this is my kext list:

image
olekor commented 8 months ago

Sorry for causing it... 😭

This is my configuration for PciRoot(0x0)/Pci(0x2,0x0):

image

The boot-args is the same as that in this repository.

I also need to add that my device uses m3-7y34 processor and HD615 graphics card.

Finally this is my kext list:

image

Thank you for your response, as I see AAPL,ig-platform-id= 0000IB59 , that is for hd 630/MacBookPro14,3 as from these source: https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md0 ID:591B000https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md0, STOLEN: 38 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000130B TOTAL STOLEN: 39 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 136 MB, MAX OVERALL: 137 MB (144191488 bytes) Model name: Intel HD Graphics KBL CRB Camellia: CamelliaDisabled (0), Freq: 1388 Hz, FreqMax: 1388 Hz Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3 [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 00000800 02000000 98000000 02040A00 00080000 87010000 03060A00 00040000 87010000

But your variant Grafik HD 615: ID: 591E0001, STOLEN: 38 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x002B0702 TOTAL STOLEN: 39 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 115 MB, MAX OVERALL: 116 MB (122171392 bytes) Model name: Intel HD Graphics 615 Camellia: CamelliaV2 (2), Freq: 1388 Hz, FreqMax: 1388 Hz Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3 [0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - ConnectorLVDS [1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000181 - ConnectorDP [2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000181 - ConnectorDP 00000800 02000000 98000000 01050900 00040000 81010000 02040A00 00040000 81010000

so, based on these recommendations, all these parameters are like a roulette, maybe you will guess, but maybe it won’t work, this probably happened in my case. I'll probably try to reinstall the OS. This is all very strange for me, since six months ago I installed a Hackintosh on a Surface Book 2 with a similar hardware composition using the same config. playlist without any problems. Good luck and Happy New Year!

Golevka2001 commented 8 months ago

Thank you very much for resolving my doubts.

After setting the AAPL,ig-platform-id value to 00001E59 (the correct device ID), the patches I mentioned at the beginning are no longer needed, the external display is back to normal now.

I was indeed trying params blindly, I didn't know why it worked properly or why it didn't work. 😿

Thank you for your reply, which has shown me how to find detailed information about my graphics card.

Wishing you a happy new year!

olekor commented 8 months ago

I am glad that at least you succeeded, but unfortunately, I have no progress, although I found similar problems that were three years ago and there were no results to solve