Delete line 70-101 in the original DMAR table and then compile. Should get compiled. You still have to drop the OEM DMAR table and then inject the patched one.
I really appreciate all your help. I was not able to fully implement your advices as a whole, despite spending a few days trying. The key problem was applying the custom ACPI file generated under Windows using SSDTTime to dump the AML tables, Intel ACPI compiler
iasl to decompile and compile AML/DSL, and Notepad++ for editing. No matter how many combinations I tried, either the USB disks and keyboard would stop working, or the keyboard worked but the USB disks did not. Enabling VT-d in BIOS only made things worse instead of helping. Even though I followed your guide very carefully, I still could not get the CPU to report correctly without errors. The values I had set in config.plist under PlatformInfo/Generic kept getting lost, and instead I would see data for some random MacBook, and even that was mostly empty, which in turn broke my software licensing for development tools.
However, I have still incorporated many of your suggested fixes into my config.plist. I also set the iGPU to
headless mode as you recommended, and I consider that a small but meaningful success. I am not discarding our experiment; I only saved the new config.plist files under backup names and went back to my older one, with those corrections from you that did not destabilize the system. I may well return to this project later. For now, thank you for your time and assistance. I truly appreciate it, and it was definitely not time wasted, quite the opposite. Warmest greetings from Poland.
P.S. I've been using Hackintosh since right after the OS X Leopard release. I plan to stick with this one—probably my last—until it falls apart. I'm an optimist; I just transferred data from four 20-year-old HDDs to a new 2TB HDD. Adventure, keep going!