Contribute
Register

[Catalina] [UHD 630] Some weird issues on my setup.

Status
Not open for further replies.
Joined
Feb 26, 2020
Messages
127
Motherboard
Lenovo 3122
CPU
i5-9500
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hey, y'all! I hope everyone is doing just right! :) :headbang:

Continuing my saga with my ThinkCentre m920z I have the following issues on my system:
  • When booting (with Verbose mode) it goes until the AppleHDA assertion and the gIOScreenLockState3 then the Apple logo appears with minimal backlight and the screen turns off for 3-5 minutes.
    • After these 3-5 minutes the screen turns on and there's full Backlight and Full Graphical Acceleration
  • While booted and using the Mac, usually after 15-20 minutes using it completely freezes and I need to reboot
    • Tried connecting remotely via VNC but when it freezes I cannot connect
    • Nothing on Console.app or no Kernel Panic log
  • I can only boot successfully on my Mac if I use EmuVariableUEFI.efi
What are my System specs
  • ThinkCentre m920z
    • Motherboard: Lenovo 3122
    • All-In-One Model
    • BIOS
      • VT-d disabled
      • 64mb DVMT
      • Secure Boot disabled
    • i5 9500vPro (Coffee Lake Refresh)
    • Intel UHD 630 (Desktop)
      • Integrated Monitor:
        • LVDS Connector
        • 1920x1080 LCD Display
      • 1 DP (Full-sized Display Port) Port
      • 1 Type-C (USB 3.1) Gen2 that may be used for External Display
      • It's a Desktop GPU...
    • Intel Wireless AC
      • I already bought a Broadcom Card to replace the Intel One. Waiting for it to arrive
    • 16 GB RAM DDR4 (SO-DIMM) (Laptop Memory)
    • NVMe SSD (Brand: WPC) 256GB
    • Integrated Speaker (Realtek ALC235)
    • Integrated Microphone
    • Integrated SD-Card reader
    • Integrated Camera
What I have already done
  • Clover 5104
    • Kexts: You may give a full look on my attached.
      • Using the latest version of each Kext.
  • Hackintool
    • I already did the USB patches, all OK.
    • I did the GPU patches also
      • For some reason, I need to set Mobile GPU otherwise no Acceleration.
        • But when there's no Hardware Acceleration (if I put the Desktop Framebuffer):
          • Backlight is OK
          • But computer super unresponsible
      • Hackintool is accusing my LVDS display to be EXTERNAL when I boot from Clover on my SSD /EFI/
        • If I boot from Clover from an external USB it says my LVDS display is INTERNAL...
  • Power Management seems to be fully working.
  • Integrated Speakers, Microphones, SD-Card Reader and Camera are fully working
    • Headphone Jack working fine with Audio layout 14.
  • Ethernet also fully working at full 1gbp/s
  • Shutdown and Sleep are also working.
Attempts for GPU
What I need to understand
  • Why this Backlight/Black Screen bug
  • Why the computer randomly freezes after some time?
    • Intel Power Gadget seems all fine even when the PC freezes
    • Could it be GPU related?
    • SSD related? (When the computer freezes it looks like the HDD/SSD light indicator goes in morse code (on - off - on - off) for some time and then it stops.
Previous Threads for more insights:
  1. Issues with booting to the Installer: https://www.tonymacx86.com/threads/issues-with-lenovo-thinkcentre-m920z.292615
  2. KP's after the first boot: https://www.tonymacx86.com/threads/catalina-after-first-boot-kernel-panic.292704
  3. No Graphics: https://www.tonymacx86.com/threads/catalina-uhd-630-integrated-display-black-screen.292745
Attached EFI folder: Going to Attach the Folder ASAP
 

Attachments

  • Claudio's ThinkCentre.ioreg
    8.7 MB · Views: 87
  • EFI.zip
    3.3 MB · Views: 71
Last edited:
Main Post Update
  • Attached EFI.zip
  • Attached IOREG
  • Unclear questions:
    • Sometimes when I boot there's no Backlight/Black Screen issue
      • But for the first 1-2 minutes, the computer is very unresponsive and then it gets super responsive with full Hardware Acceleration
        • Tested 4K videos and GPUBench
    • If I use the only Desktop Framebuffer that isn't Headless from Hackintool there are no graphics at all
      • Even if I set the only DP port to LVDS
    • Somehow my GPU is a Desktop one but using Mobile connections, and I need somehow add a WhateverGreen patch (On Clover Devices) that supports that. But I'm not sure
      • Is there any other way to get the proper platform-id and this kind of data?
        • Like from the Windows Device Manager? Or from the IOREG?
  • The computer still freezes randomly from after 15-30 minutes of usage. I actually don't know if it's a fixed amount of time, I can test.
    • Could that be related to PowerManagement (The Power Management seems pretty good actually.)
    • Could it be a faulty ACPI patch?
 
Thinking about the situation
  • My Setup looks a lot like a real iMac setup.
    • Integrated Display with Desktop iGPU.
    • So then, is there any platform-id/framebuffer that could match more this "approach"
      • I didn't see on Hackintool any option on "Patch" for something iMac alike.
        • Only Mac Mini, MacBook Pro, and other mobile and headless (Desktop) variants.
      • How could then I patch this?
        • Should then I leave it empty at all (PciRoot/Pci(0x2,0x0)) should be empty then? Or not existing at all?
        • Should then it follow the SMBIOS?
          • But there's no iMac using UHD 630.
    • There's also no possibility of using discrete graphics since it's an AIO (All-in-one) so there's no room left at all for the eGPU/dGPU.
 
Progress Update
  • The computer is not freezing anymore!
    • Changed SMBIOS to 19,2
    • Added Patches on "Kext Patches" for IHCI0
    • Changed to FakeSMC instead of VirtualSMC that was giving problems with EmuVariables.efi
  • Improved Display Color Profile
    • Used Hackintool for patching as Internal Display
    • Added iMac icon
    • Added iMac Retina Cinema Display 16:9 settings
What still needs to be fixed
  • Bluetooth & Wi-Fi
    • Ordered BCM94360NG Wireless Card
      • 100% MacOS compatible Plug-n-Play
  • During the boot process when the progress bar reaches the middle the backlight goes off and then display turns black for 3-7 minutes.
    • After that display goes on and works as intended
    • No clue why this is happening yet.
PS: Going to upload EFI.zip ASAP for backup purpose and sharing purpose.
PS2: If anyone is interested in helping with the Graphics matter, it would be amazing.
 
Last edited:
Progress Update
  • Does it look like it's still freezing if I'm not doing anything for a while? This is super weird.
    • Still investigating it.
 
Status
Not open for further replies.
Back
Top