Jump to content
87 posts in this topic

Recommended Posts

@dindu5678 I just tried it now but I got what I think was a kernel panic (I wasn't recording it) but well, basically opencore failed to boot into macOS, and right after the verbose text stopped, the screen went black and then the machine went straight into windows.

I also lost my opencore boot option and the usb device is no longer listed in the BIOS after that. I have macOS installed on a external SSD and my Lenovo YOGA S740 14inch laptop has a m.2 ssd with windows 10 installed.

 

I guess at this point I might just wait until @willyboyshy or @Ab2774 post their EFI folder.

PS: If you are on the fence about posting it because of the device serial number, just clean out the SMBios tab in your config.plist and tell us which SMBios you used please!!!

Link to comment
Share on other sites

Hi, I'm sorry for the latency, you can use my EFI that is attached below, I tried to get everything working but sleep just can't work, @Austere.J great job you've done!! but there are still some minor issues like boot glitches, in my other laptop with Intel HD 620, the graphics can't get the full acceleration without spoofing as Skylake (ig-platform-id as 00001619 and device-id as 16190000 with lilucpu=8 boot-arg, more information here), otherwise, the graphics will be blurry and weird like these photos, the same goes here, is there's a way to get full acceleration and avoid glitches other than spoofing?

Thanks

 

 

EFI.zip

Link to comment
Share on other sites

Well, I tried a couple device/platform ids, boot args and config.plist device setups for the igpu but no matter what I try I always end up with a "unsupported cd clock decimal" error...

I'm using the latest debug versions of Lilu, Opencore and whatevergreen 1.4.2 compiled from users in this thread.

 

Link to comment
Share on other sites

Hi, unfortunately, there's no full acceleration without spoofing.

 

in my Kaby Lake laptop, I didn't get rid of boot glitches and annoying blurry backgrounds until I spoofed it as Skylake, it's even mentioned in WhateverGreen's FAQ ("In macOS 10.14 оn some laptops with KBL graphics one may face visual artifacts on the gradients. For a temporary solution try to fake IGPU to use SKL drivers") but spoofing doesn't work here. I tried to only spoof device-id to Coffee-Lake as 923E0000 but it didn't work, waiting for @Austere.J to find us a solution.

 

Cheers 

Link to comment
Share on other sites

Can confirm that it works for me. Got my 8A56 spoofed as 8A5A, acceleration, brightness and scaled resolutions working. Fabulous work!

 

Got a few issues still:

- mouse cursor is rendered like some garbage

- laptop does not fully sleep, and display is not waking back, but it is unclear if it's related to the graphics driver at all at this point

 

Also, when first booted with the patch, the brightness has changed to minimal value. Managed to log in, and the brightness slider in the display pref pane was on normal (~70%). Moved the slider - no change. Then suddenly the brightness became normal, and now stays normal even after reboots.

 

Will look into fixing the DVMT via UefiShell or patching the framebuffer next. Thanks again.

Link to comment
Share on other sites

Success!! I managed to get graphics acceleration working on my Lenovo YOGA S740 14inch with an i5 1035G1 by utilising snippets of @Ab2774 's EFI as well as resources found in: https://github.com/frozenzero123/YOGA-S740

I made a new EFI which you all can download here: https://files.catbox.moe/vodnnf.zip

PS: I'm running macOS from my portable SSD drive so if you get boot problems when trying to boot from the YOGA's m.2 drive don't quote me, I will install it there later.

PS: the login screen has broken graphics but it does not matter since everything works fine once you finish typing your password.

I just need to properly setup power management...

Thanks everyone in this thread for the patience and help!

I'll be adding this to my Hackintosh EFI archive.

IMG_3011.thumb.jpeg.ed87d0458ce0ac1ac818e6e8468e44b3.jpeg

Edited by LireMei
Link to comment
Share on other sites

Apparently, I was too optimistic. Since yesterday evening, it always boots me into a blank (black) screen. The normal verbose mode messages scroll up, then, right at the point where the apple logo should appear, the screen goes blank. It seems that the rest of the boot up process goes on and I could've probably eventually login if only I saw anything) It almost looks as if the display fails to wake up..

Link to comment
Share on other sites

Hi, this glitch is very common, the temporary fix for it is to restart by holding the power button, this is the only solution that works, I even downloaded Lilu and added the new Platform-ids and compile it, but the issue still exists, waiting for @Austere.J till he figures something out.

Cheers

Link to comment
Share on other sites

Does anyone have a solution for the garbled graphics at the login screen? I know that it's only temporary and becomes normal after a couple seconds. But it still annoys me...

For reference, I'm still using that same EFI that I uploaded here in this thread earlier.

(My i5 1035G1 is being spoofed as a i5 1035G7).

Link to comment
Share on other sites

We are still trying to solve it, but there is no progress. Sleep can only be suspected because of the graphics card! As for the garbled graphics at the login screen, there is no good way for the time being, the method of injecting edid is ineffective! But I found that when the external screen is connected to the boot, there is no problem with the screen, which behaves very much like the problem of edid!

Link to comment
Share on other sites

Thanks for the tips, Frozenzero! and also thanks for sharing your EFI. 

Now, I know that your YOGA model is the one with an i7 1065G7 right? which should make it easier for you to setup the igpu.

However, I need to point out that I think there's also another difference between our models: if I'm not mistaken, I think your model comes with a 4k display right? mine comes with a 1080p one which is a 6bit + FRC panel which led me to suspect that this was the issue with garbled graphics in the login screen (the FRC causing it) but since others in this thread also had similar issues I don't think so.

 

Here's a dump of all my hardware information I took from Linux: https://files.catbox.moe/8scynn.zip

Link to comment
Share on other sites

hello i got hasee kingbook x57s1 (i7 with G7 graphics).

 

i got installed catalina 10.15.6 with the help of latest weg + took some files from that EFI folder - https://github.com/Ardentwheel/OpenCore-Hasee-X57S1 (thx btw)

 

my bios is pretty poor, so i have no options to changed DVMT and so on, so i used boot-args to boot my hackintosh - -igfxcdc and -igfxdvmt. Without that boot-args i can't boot hackintosh. So it's okay, but i got straaange glitch of cursor and i saw same glitch on systems here, but i didn't find the way to fix it. Has anybody fixed that glitch? 

92286875-df1daa80-ef10-11ea-836a-e3bee3e520f4.jpg

Link to comment
Share on other sites

On 9/12/2020 at 4:31 PM, hrishi654 said:

@Ab2774 or @vokhotnikov were you able to fix your black screen isuue? It seems that the display works but no backlight as I can see the login screen if I use a flashlight. But the backlight starts working after approximately 5 min.

 

No, I'm still having the same issue as yours. Every reboot it's a lottery. Sometimes the screen works fine, but other times I have to wait some 5 minutes before the screen turns on.

 

I have activated SSH and VNC sharing - I can login into the laptop during the black screen period.

 

Also I tried several times to find anything in the logs (captured via log show --info --debug) at the moment when the screen turns on. As far as I can tell, there's absolutely nothing there that might be related (there are a number of messages during the time period in question, but for all of them similar messages happen many times before, while the screen is blank.

 

Very weird.

Link to comment
Share on other sites

Does someone managed to fix the kernel panic at sleep/wake? (i don't know exactly when)

 

Spoiler

panic(cpu 2 caller 0xffffff7f8611c09e): "[IGFB][PANIC][POWER    ] " "Cannot allow DC9 without disallowing DC6\n"@/Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.7.8/IONDRV/ICLLP/AppleIntelFramebuffer/AppleIntelController.cpp:5531
Backtrace (CPU 2), Frame : Return Address
0xffffff810febb970 : 0xffffff800151a65d mach_kernel : _handle_debugger_trap + 0x49d
0xffffff810febb9c0 : 0xffffff8001654a75 mach_kernel : _kdp_i386_trap + 0x155
0xffffff810febba00 : 0xffffff80016465fe mach_kernel : _kernel_trap + 0x4ee
0xffffff810febba50 : 0xffffff80014c0a40 mach_kernel : _return_from_trap + 0xe0
0xffffff810febba70 : 0xffffff8001519d27 mach_kernel : _DebuggerTrapWithState + 0x17
0xffffff810febbb70 : 0xffffff800151a117 mach_kernel : _panic_trap_to_debugger + 0x227
0xffffff810febbbc0 : 0xffffff8001cc1abc mach_kernel : _panic + 0x54
0xffffff810febbc30 : 0xffffff7f8611c09e com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN31AppleIntelFramebufferController11enableHWDC6Ev.cold.1
0xffffff810febbc40 : 0xffffff7f860cb635 com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN31AppleIntelFramebufferController9enableDC9Ev + 0x3b
0xffffff810febbc60 : 0xffffff7f860cb531 com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN31AppleIntelFramebufferController10setDCStateEb + 0x361
0xffffff810febbca0 : 0xffffff7f8609b0e2 com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN21AppleIntelFramebuffer24setFramebufferPowerStateEj + 0x224
0xffffff810febbcd0 : 0xffffff7f860b0b9f com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN21AppleIntelFramebuffer12setAttributeEjm + 0x1ad
0xffffff810febbd20 : 0xffffff7f860b0c6a com.apple.driver.AppleIntelICLLPGraphicsFramebuffer : __ZN21AppleIntelFramebuffer12setAttributeEjm + 0x278
0xffffff810febbd70 : 0xffffff7f85f47faa com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer14checkPowerWorkEj + 0x280
0xffffff810febbe10 : 0xffffff7f85f47d08 com.apple.iokit.IOGraphicsFamily : __ZN14IOFBController14checkPowerWorkEj + 0x9a
0xffffff810febbe40 : 0xffffff7f85f4eaeb com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer10systemWorkEP8OSObjectP22IOInterruptEventSourcei + 0x123
0xffffff810febbee0 : 0xffffff8001c2d54d mach_kernel : __ZN22IOInterruptEventSource12checkForWorkEv + 0x17d
0xffffff810febbf30 : 0xffffff8001c2be1e mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x11e
0xffffff810febbf70 : 0xffffff8001c2b416 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x36
0xffffff810febbfa0 : 0xffffff80014c013e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(576.1)[92A3DAC1-1745-37AC-88DE-FA87B5EB2526]@0xffffff7f85f3d000->0xffffff7f85f8dfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[DF219CC1-366A-31FC-B8ED-17C584BA2549]@0xffffff7f81f12000
         com.apple.driver.AppleIntelICLLPGraphicsFramebuffer(14.0.7)[18868C3D-C807-3435-BBD6-D95A2F4D2FA7]@0xffffff7f86084000->0xffffff7f86321fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[DF219CC1-366A-31FC-B8ED-17C584BA2549]@0xffffff7f81f12000
            dependency: com.apple.iokit.IOACPIFamily(1.4)[68557A36-4EE1-372A-983B-BB2769FDB8E0]@0xffffff7f81f09000
            dependency: com.apple.iokit.IOAcceleratorFamily2(438.7.3)[9D052246-9911-3EB3-89E9-BDF771949C45]@0xffffff7f85fb6000
            dependency: com.apple.iokit.IOReportFamily(47)[8F7948CF-5C25-33F4-A687-67F8A5B7906E]@0xffffff7f81e49000
            dependency: com.apple.AppleGraphicsDeviceControl(5.2.6)[372B091D-3A52-3749-AE17-E8A5103D8DB0]@0xffffff7f8607a000
            dependency: com.apple.iokit.IOGraphicsFamily(576.1)[92A3DAC1-1745-37AC-88DE-FA87B5EB2526]@0xffffff7f85f3d000

BSD process name corresponding to current thread: kernel_task
Boot args: debug=0x100 keepsyms=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
19G2021

Kernel version:
Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
Kernel UUID: 1D3A0F3D-D908-397B-BD16-8F48C0823A2E
Kernel slide:     0x0000000001200000
Kernel text base: 0xffffff8001400000
__HIB  text base: 0xffffff8001300000
System model name: MacBookPro16,2 (Mac-5F9802EFE386AA28)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 486125505360


 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...