How I Got UHD 630 Acceleration Working on Big Sur/i5-10400/Z490M

Had an unused mATX case around and was intrigued by the new 10-series Intel CPU and chipset, so I took a stab at a modestly-priced Big Sur build. This isn't my everyday box, but it's up and working now, and iGPU UHD 630 graphics acceleration is working, thanks in large part to headkaze's handy Hackintool. First, here are the build specs:

Case: CoolerMaster N200 mATX Mini-Tower • CPU: Intel i5-10400 (using iGPU UHD 630 graphics) • Mobo: Asus PRIME Z490M-PLUS • RAM: 2x16GB GSKILL Ripjaws DDR4-3200 • HD: WD_BLACK NVMe SSD 500GB • PSU: Seasonic FOCUS GM-650 • macOS: Big Sur 11.2.2 • Boot Manager: OpenCore v.0.6.6 • Network: Intel I219V (using Ethernet only) • Audio: RealTek ALC887 (boot-arg alcid=1)

NOTE: Display doesn't wake from sleep unless boot-arg igfxonln=1 is included in config.plist.

Install from Big Sur USB stick went without a hitch, but UHD 630 graphics acceleration wasn't working. I studied a few reddits on the issue, like this one and this one, but to no avail. None of the device-properties configurations made a difference. Still no acceleration, and VRAM showed 7MB on the "About This Mac" window.

When I looked closer at my PCI tree in IORegistry or DPCI Manager or Hackintool's PCIe list, Graphics (@PCI 0x2) was always being associated with IONDRV.kext instead of the CFL Framebuffer kext, and the framebuffer kext was not even loading.

I went on YouTube, which was pretty much a waste of time since most of the guys there use OpenCore Configurator. But something I saw in a video by an Italian guy led me to success. He used Hackintool's included Patches to create the full device-properties configuration that helped get UHD 630 acceleration working for me.

In Hackintool, the patches for a motherboard close to mine are at Patch>System Configs>Asus>. Although there isn't one for my particular board, I used the closest one, TUF Z390M-Pro Gaming [CFL]. I generated the patch, then exported it to a config.plist format, after which I used PlistEdit Pro to open my EFI>OC>config.plist and, after clearing all the previous entries I had made to DeviceProperties>Add>PciRoot(0x0)/Pci(0x2,0x0), dragged the patched entries that Hackintool generated into that section. NOTE: I generally use ProperTree for all configuration edits, but it doesn't allow the kind of drag-and-drop convenience that PListEdit Pro offers for this kind of task. ProperTree would have required me to add the whole patch line by line.

Anyway, that was it. I double-checked the DeviceProperties section that I had just pasted in, made sure there weren't any duplicate fields or entries, saved my newly-edited config.plist & rebooted. Voila. When I logged back into the Finder, UHD 630 graphics acceleration was working. My monitor model showed up correctly in System Preferences>Displays, and the VRAM of 1536MB showed up in "About This Mac."

CAVEAT: This was essentially a quick-and-dirty approach. In truth, I don't think the patch I used from the TUF Z390M is 100% accurate because I get a monitor glitch (something akin to a momentary "flash of unstyled content" on web pages) right before the macOS login screen comes up.

I'm using a DP>HDMI cable to connect the motherboard to my HDMI-only monitor. But I doubt that has anything to do with the glitch.

Final Note: The patch includes AAPL,ig-platform-id (07009B3E) AND device-id (3E9B0000). The latter is noteworthy, as I was never able to get past IOConsoleUsers: gIOScreenLock without including the device-id property & entry in my config.plist. However, it wasn't until I included the rest of the entries that Hackintool's patch generated that I was able to achieve graphics acceleration.

submitted by /u/iBanJavascript
[link] [comments]