Jump to content

Postinstall advice for 10.14.4 on Ga-Z68AP-D3


asheenlevrai
 Share

15 posts in this topic

Recommended Posts

Hi,

 

I recently installed mojave 10.14.4 (SMBIOS: iMac13,2) on the following rig:

 - GA-Z68AP-D3 (latest BIOS UA9: UEFI)

 - i7 3770K (iGPU: HD4000)

 - HIS IceqX Radeon HD 7850 (2GB) (detected as R9 270, but I guess this is purely cosmetic)

 - 4x4GB DDR3

 - 512GB Crucial Mx100

 

A few (vital) kexts are installed in /E/C/O but shouldn't be loaded since "inject kexts" is set to "Detect" in clover configurator and all the required kexts are installed in /L/E, including Lilu 1.3.5 and WEG 1.2.7. clover is v.4895
 

I would need some help in order to make it work better.

I have the following problems (among others):

 1) USB3.0 ports (Etron EJ168 chip, 2 USB3.0 ports on the back of the motherboard. No header/connector on the board)

 2) HW acceleration from iGPU

 

1) At first (OOTB), the system would boot normally if NOTHING was connected to the USB3.0 ports (not even the monitor/hub). From there, only 1 of the 2 USB3.0 ports would work (generally the second one I try) and it would work at full USB3.0 speed. Now if anything was connected to a USB3.0 port during boot, I would get the Apple crash screen (multiple language error message) and, when I press a key, boot would proceed (rather than reboot) and I would get the obvious crash report message after login in. Then, I installed mXHCD.kext (via USB3.0 NEC.pkg) and I ended up with both USB3.0 ports on the back of the motherboard working at full speed (good!). However, If I connect the monitor (that is also an USB3.0 hub) on one of the USB3.0 ports:

  • The remaining USB3.0 port on the back of the motherboard still works normally
  • none (0/3) of the USB3.0 ports on the monitor work (as if disabled)

 

2) The iGPU is configured as headless in clover (see attached config.plist) and IORegExplorer seems to indicate that it's OK:

IOReg.thumb.png.5bb5392ab592dc9ca422384aabe0aaab.png

SysReport.png.1608a573634612cd2ff0cfe7aef7709d.png

 

However both VDADecoderChecker and VideoProc indicate that HW acceleration is not working:

VDADecoderChecker.png.80f15bdf93e7dd68df7011e6a601e9d7.png

VideoProc.png.6c65dbc100c41c582f3b8c1628ba0358.png

 

In addition, since I made these changes (headless iGPU) boot is now super duper slow. it hangs twice. First at "RadeonSensors (pci1): started" and then a few lines below.

bootHang.thumb.jpg.d825e19fcac212f7fc3655b24c2f569c.jpg

 

Any help or advice on how to fix 1) or 2) would be greatly appreciated.

 

Thank you so much in advance.

Best,

-a-

image.gif

Link to comment
Share on other sites

4 hours ago, MaLd0n said:

Thank you :)

This one was generated using my original config.plist (not with the parameters you suggested earlier). let me know if I should repeat with your parameters.

Send me r-maggie.zip

 

Best,

-a-

Link to comment
Share on other sites

10 hours ago, asheenlevrai said:

Thank you :)

This one was generated using my original config.plist (not with the parameters you suggested earlier). let me know if I should repeat with your parameters.

Send me r-maggie.zip

 

Best,

-a-

use only it with last clover version, uefi only

 

Clover_v2.4k_r4914.pkg.zip

CLOVER.zip

generate one SSDT for good PM

https://olarila.com/files/Utils/SSDT_Automator.zip

Link to comment
Share on other sites

  • 1 month later...
On 3/30/2019 at 7:14 PM, asheenlevrai said:

Thank you.

sorry I didn't understand. What do you want me to do?

 

  1. You need to update your clover to the most present one (today it's r4920). To work with an outdated clover versions is not helpful at all.
  2. As far as proper power management is concerned, you will have noticed that your CPU does only either full speed or idle, but nothing "in between". The SSDT automator script is a nice piece of cake and will create an ssd.aml file for you, which you can place in your CLOVER/ACPI/patched folder. You must also de-select the generation of the p- and c-states in the config:
<key>ACPI</key>
    <dict>
        <key>SSDT</key>
        <dict>
            <key>Generate</key>
            <dict>
                <key>CStates</key>
                <false/>
                <key>PStates</key>
                <false/>
            </dict>
        </dict>
    </dict>

 

I do have the same board as you do, but with the i7-3770, not the unlocked "k". So, I'm naturally excited to follow your thread here, although I'm using an Nvidia TitanX (Kepler), which is natively supported. So can't prove anything on AMD GPU's.
In any case, what I can confirm is that headless activation of the iGPU (which I have done, too) does definitely make the boot slower. This is to be expected and a small price you need to pay for airplay mirroring support. 

What I see from your screen shot is an error report regarding iTunes playback. I had the same issue after updating to 10.14.4 with an "outdated" clover version. Movies would just result in a black screen and not play all.

After I updated clover to 4920, everything works again!

 

Now for the USB3 support: This is exciting for me, because I do use stock drivers only, plus USBInjectAll.kext. Before using this kext, only one USB2 port from the front panel worked. Now all ports work fine. USB3 ports work, too, but handoff for USB2 devices in the USB3 port does not seems to work at all. This is not a big issue for me now, but would be the ultimate cherry on the pie to get this running as well.

 

 

Therefore, I should be trying your NEC kext and see what it does for me. Will report back!

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>DropOEM_DSM</key>
			<false/>
			<key>Fixes</key>
			<dict>
				<key>AddDTGP</key>
				<true/>
				<key>FixDarwin</key>
				<true/>
				<key>FixDisplay</key>
				<false/>
				<key>FixS3D</key>
				<true/>
				<key>FixSBUS</key>
				<true/>
				<key>FixUSB</key>
				<true/>
			</dict>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>ReuseFFFF</key>
			<false/>
			<key>SlpSmiAtWake</key>
			<true/>
		</dict>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<true/>
			<key>EnableC6</key>
			<true/>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<false/>
				<key>PStates</key>
				<false/>
			</dict>
		</dict>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>darkwake=8 kext-dev-mode=1</string>
		<key>Debug</key>
		<false/>
		<key>DefaultVolume</key>
		<string>LastBootedVolume</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Secure</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
		<key>XMPDetection</key>
		<false/>
	</dict>
	<key>CPU</key>
	<dict>
		<key>UseARTFrequency</key>
		<false/>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<integer>12</integer>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
		</dict>
		<key>ForceHPET</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<false/>
			<key>FixOwnership</key>
			<false/>
			<key>Inject</key>
			<false/>
			<key>NameEH00</key>
			<false/>
		</dict>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>\EFI\BOOT\BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>de:0</string>
		<key>Mouse</key>
		<dict>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Enabled</key>
			<true/>
			<key>Mirror</key>
			<false/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<false/>
			<key>Linux</key>
			<false/>
			<key>Tool</key>
			<false/>
		</dict>
		<key>ScreenResolution</key>
		<string>1680x1050</string>
		<key>Theme</key>
		<string>bootcamp</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>NvidiaGeneric</key>
		<false/>
		<key>NvidiaNoEFI</key>
		<false/>
		<key>NvidiaSingle</key>
		<false/>
		<key>ig-platform-id</key>
		<string>01620007</string>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleIntelCPUPM</key>
		<false/>
		<key>AppleRTC</key>
		<true/>
		<key>Debug</key>
		<false/>
		<key>ForceKextsToLoad</key>
		<array>
			<string>RealtekRTL8111</string>
			<string>BrcmFirmwareRepo</string>
			<string>BrcmPatchRAM2</string>
			<string>Lilu</string>
			<string>AppleALC</string>
		</array>
		<key>KernelCpu</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<false/>
		<key>KernelXCPM</key>
		<false/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>InfoPlistPatch</key>
				<false/>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>USB Port Limit Patch 1</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				g/sPD4cLBAAA
				</data>
				<key>InfoPlistPatch</key>
				<false/>
				<key>MatchOS</key>
				<string>10.14.4</string>
				<key>Name</key>
				<string>com.apple.iokit.IOUSBHostFamily</string>
				<key>Replace</key>
				<data>
				g/s/D4cLBAAA
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>USB Port Limit Patch 2</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				QYP/Dw+DlAQAAA==
				</data>
				<key>InfoPlistPatch</key>
				<false/>
				<key>MatchOS</key>
				<string>10.14.4</string>
				<key>Name</key>
				<string>com.apple.driver.usb.AppleUSBXHCI</string>
				<key>Replace</key>
				<data>
				QYP/Pw+DlAQAAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>USB Port Limit Patch 3</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				g+MP0+NBCd8=
				</data>
				<key>InfoPlistPatch</key>
				<false/>
				<key>MatchOS</key>
				<string>10.14.4</string>
				<key>Name</key>
				<string>com.apple.iokit.IOUSBHostFamily</string>
				<key>Replace</key>
				<data>
				g+M/0+NBCd8=
				</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x67</string>
		<key>MLB</key>
		<string>#########################</string>
		<key>ROM</key>
		<data>
		UOVJ5q8a
		</data>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>09/11/2015</string>
		<key>BiosVendor</key>
		<string>Apple Inc.</string>
		<key>BiosVersion</key>
		<string>IM131.88Z.010A.B09.1509111558</string>
		<key>Board-ID</key>
		<string>Mac-00BE6ED71E35EB86</string>
		<key>BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>BoardSerialNumber</key>
		<string>########################</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisAssetTag</key>
		<string>iMac-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>ChassisType</key>
		<string>13</string>
		<key>Family</key>
		<string>iMac</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>Memory</key>
		<dict>
			<key>Channels</key>
			<integer>0</integer>
		</dict>
		<key>ProductName</key>
		<string>iMac13,1</string>
		<key>SerialNumber</key>
		<string>######################</string>
		<key>Trust</key>
		<false/>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>CustomUUID</key>
		<string>#####################################</string>
		<key>InjectKexts</key>
		<string>Yes</string>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

So far, I'm not using any DSDT.aml file, only the patches for power management and headless IGPU.

I've also tried to minimize the number of "activated" teaches over the time. No sure if I'm missing some of them now (at least I did not recognize any negative consequences so far) or if my set is making sense in all details. But it works for me to 99,9%, so I guess I did not mess it all completely. Of course, I'm always open for improvement suggestions!

 

 

 

 

 

Edited by sailor25462
Link to comment
Share on other sites

Quote

Then, I installed mXHCD.kext (via USB3.0 NEC.pkg) 

 

Tried to install, but appears to work not. Even tried to extract with Pacifist, but the kext will not even copy. Strange... 

Can you post the kext?

 

edit: sorry... something was wrong with my system. worked after a restart.

 

 

Quote

I should be trying your NEC kext and see what it does for me. Will report back!

 

Well, to me it doesn't seem to do the trick.
The kext installs and it will recognize a USB3 device (64GB Intenso stick in this case).
Interestingly, system report under USB section will not give the usual information on the inserted stick anymore with this kext. 

Putting in a USB2 device will not work at all, same as using stock drivers.

No advantage using the NEC driver.

Edited by sailor25462
Link to comment
Share on other sites

I have RX 580 8 GB(using as main) +i7-3770 iGPU HD 4000 (headless, but fully working, using for H.264 encoding) with the following:

<key>Inject</key>
		<dict>
			<key>ATI</key>
			<true/>
			<key>Intel</key>
			<true/>
		</dict>
		<key>RadeonDeInit</key>
		<true/>
		<key>ig-platform-id</key>
		<string>0x0166000b</string>

Without FakeIDs. The boot time is very fast for me. (~5 sec on SSD, didn't hang anywhere)

 

Then at BIOS settings I set:

- Init Display First: IGFX

- Internal Graphics: Auto

- Internal Graphics Memory Size: 128M

- DVMT Total Memory Size : MAX

 

1598470791_Kpernyfot2019-05-05-15_58_51.png.a715cda69ad86b6c68f76175f2193cc7.png

1028414040_Kpernyfot2019-05-05-15_59_40.png.e69e8e0cf6b4fe020ae3b67270e7c68f.png

VideoProc saying it's AMD Radeon but no, it's just a cosmetic bug.

GVA info: Successfully connected to the Intel plugin, offline Gen7 
Hardware acceleration is fully supported

 

Edited by rtke333
Link to comment
Share on other sites

I have some questions about your suggestions, please:

 

Quote

I have RX 580 8 GB(using as main) +i7-3770 iGPU HD 4000 (headless, but fully working, using for H.264 encoding) with the following:

 

Quote

Then at BIOS settings I set:

- Init Display First: IGFX

 

This doesn't seem to fit together. If I choose IGFX for Init, my screen will stay black on my Nvidia card and I have to plug in the motor to my internal hdmi port.

You say your HD4000 is headless, so following this, your boot screen would stay entirely black, right?

 

Btw: wehen I tired to boot with my monitor plugged into HD4000, I got a kernel panic and resulted in reboots. I haven't looked into this further, yet.

 

Last but not least, I seem to get only my Nvidia card shown in the system info, i.e. only one graphics card. No show for the HD4000 as per your screen shot. 

My clover looks like this here, no Nvidia injection (due to whatevergreen). Any idea why that is?

 

Quote

<key>Graphics</key>
    <dict>
        <key>Inject</key>
        <dict>
            <key>ATI</key>
            <false/>
            <key>Intel</key>
            <false/>
            <key>NVidia</key>
            <false/>
        </dict>
        <key>NvidiaGeneric</key>
        <false/>
        <key>NvidiaNoEFI</key>
        <false/>
        <key>NvidiaSingle</key>
        <false/>
        <key>RadeonDeInit</key>
        <false/>
        <key>ig-platform-id</key>
        <string>0x0166000b</string>
    </dict>

 

Link to comment
Share on other sites

6 hours ago, sailor25462 said:

You say your HD4000 is headless, so following this, your boot screen would stay entirely black, right?

With IGFX init, in my case the screen is not black on the AMD card everything is on screen from BIOS to desktop. (internal HDMI is not connected, I just using the card)

 

6 hours ago, sailor25462 said:

Btw: wehen I tired to boot with my monitor plugged into HD4000, I got a kernel panic and resulted in reboots. I haven't looked into this further, yet.

Please show me some informations about the kernel panic please. 

 

6 hours ago, sailor25462 said:

My clover looks like this here, no Nvidia injection (due to whatevergreen). Any idea why that is?

Set Inject Intel=True and try to boot. If your screen is black when booting with Init: IGFX, then try set to PEG, but Leave Internal Graphics Enabled (or auto). That is necessary to inject Intel graphics and use it's QuickSync inside the macOS. 

Edited by rtke333
Link to comment
Share on other sites

Today, I managed once again to split my fusion drive for unknown reason. So, over night I’ll need to play back my 900GB backup, before I can go back to more „adventurous“ attempts.

When booting from usb installer, using iGFX and -v, I believe to have seen the last lines of unknown CPU and unknown PCH (?)...
Not sure if this makes sense, though.




Gesendet von iPhone mit Tapatalk

Link to comment
Share on other sites

48 minutes ago, sailor25462 said:

When booting from usb installer, using iGFX and -v, I believe to have seen the last lines of unknown CPU and unknown PCH (?)...
Not sure if this makes sense, though.

I also see these so I think that is normal. 

also If you use "-v debug=0x100 keepsyms=1" bootargs then at panic the system won't reboot and you'll see the actual panic. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...