2 posts in this topic
Recently Browsing 0 members
No registered users viewing this page.
It took some messing around, but I have made a kext patch which can be used as a superior alternative for NullCPUPowerManagement.kext.
Since it still allows AICPM to load, we can now load X86PlatformPlugin and by extension AGPM on a system where CPU PM doesn't work. This is useful on for example AMD systems, where CPU PM cannot be enabled properly.
So far tested on Catalina and High Sierra, but should also work on other versions, and is reported to give very decent performance improvements when paired with an appropriate SSDT-PLUG SSDT and AGPM injector kext.
Does not work in combination with NullCPUPowerManagement.kext
From: D0 05 00 00 84 C0 74 46 E8 To: D0 05 00 00 84 C0 EB 46 E8 On: com.apple.driver.AppleIntelCPUPowerManagement
First Hack here, and I have a fresh vanilla install with Mojave 10.14.2 closely following this vanilla installation:
I was surprised how well it worked initially with the above suggested settings. Only a few minor things (USB SSDT, signing the Bluetooth Kext, and switching from VritualSMC to FakeSMC) needed to be adjusted to get were I am currently.
I built this machine to be a video editing/photography workstation. And so far pretty happy but would really appreciate if anyone has any knowledge or solutions with the few problems I'm still experiencing:
1) FIXED (SEE COMMENT BELOW)
Sleep issues waking up from sleep (maybe due to the ASMEDIA USB controller)
-FIX WAS UNRELATED TO ASMEDIA CONTROLLER BUT DUE TO PREFERENCE OF "ALLOW BLUETOOTH DEVICE TO WAKE THIS COMPUTER"/ AN EXTERNAL USB 3 to SATA Cable for Hot plugging SSD's/2.5" HDD's. With USB to SATA adapter unplugged/ Bluetooth preference changed, Mac now sleeps uninterrupted.
The ASMEDIA USB 3.1 Gen 2 ports ejecting after sleep
Am I currently using the correct setup for graphic acceleration with a connector-less ID for the UHD 630 and Radeon RX580? Specifically for optimized performance with FCPX.
Normal Power Consumption?
I've attached my config.plist, ioreg.zip from RUNME app, SSDT-UIAC.aml (created using Rehabman Method), and my DSDT.aml (from this post for the Maximus x code courtesy of @MaLd0n ) If anyone has the time to take a look and maybe shed some light if I've done something wrong that be awesome.
And for anyone looking to build a similar machine, I would highly recommend it, and feel free to use these settings. If these minor last things are addressed, this is a really solid hack.
Detailed below is What is Not Working, The Build/BIOS Setup/Install Process, and What is Working.
If I put the computer to sleep, or it falls asleep on it's own, it wakes up immediately after sleep.
I’m getting these errors in terminal trying to figure this out using the following two commands:
Command: pmset -g
sleep 10 (sleep prevented by powerd, sharingd)
Command: log show --style syslog | fgrep "Wake reason"
localhost kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: XHC
Here are my current settings:
Boot -> Darkwake=0 (tried 1 and 2 as well)
Energy Saver Settings:
Nothing Checked EXCEPT Put Hard disk to sleep when possible
Would like Power Nap Enabled for the purpose of Time Machine, but doesn’t seem to be an option with Hackintosh?
Using Terminal I have disabled the following:
sudo pmset -a ttyskeepawake 0
sudo pmset -a proximitywake 0
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
2) USB 3.1 Gen 2
For the 2.0/3.0 Intel Chipset, I’ve tried both the @headkaze Intel FB-Patcher v 1.6.8 and @RehabMan instructions on creating a SSDT. The FB-Patcher did not work completely. So I continued with @RehabMan method, created a SSDT, and sacrificed 2 x usb 2.0 ports and 1 internal RGB LED header to reach my 15 port max with 3.0 speeds on all SS ports.
The ASMEDIA Ports work OOB with full 3.1 speeds. However the Eject issue can only be resolved by using an App like Jettison. And using that app doesn’t solve the sleep issue, computer still wakes. I’d rather figure out why the disks keep ejecting on sleep and if fixing issue #1 would resolve issue #2 or vice versa?
Do I possibly need a power management ssdt? And how would I create one for the ASMEDIA chip?
I've now tried using the attached DSDT.aml in my Patched folder. I can now see it's working as my PCI devices in System Profiler are now populating (before it was stating no PCI devices). However still experiencing sleep and eject issues.
Ioreg Reads for the ASMEDIA 3.1 controller as:
The 3.1 controllers for the back USB gen 2 ports are controlled by:
PRT1@01100000 (type C) (3.1 speeds)
PRT2@01200000 (type A) (3.1 speeds)
PRT3@01300000 (type C) (2.0 speeds)
PRT4@01400000 (type A) (2.0 speeds)
The 1 x 3.1 type C port on the front panel is controlled by:
HS01@00300000 (2.0 speed)
SS01@00100000 (3.1 Speed)
There is also a SS02@0010000 under this controller, and as far as I can tell it does not have a function. Is there a way to disable, such as when creating an Intel Chipset SSDT?
3) FINAL CUT ISSUES/ GRAPHIC ACCELERATION:
Currently it doesn’t appear that the IGPU UHD 630 is doing much in iStats. In Apple System Profile/ Activity Monitor GPU window I only see RX580, no UHD 630. Is this how it should be? Or is that what connector-less ID should look like?
With FCPX there is no crashing, glitchy exports, or rendering issues, however not sure if Graphic acceleration is being used to its fullest potential.
The IGPU uses 5-8% Memory/ Processor when playing/scrubbing in timeline.
And only 5-10% of the IGPU Memory (no processor) is used during any render or export of footage. The RX580 is still doing most of the hard work. My Bruce X times are quick 14-18 seconds, but I’m curious as to why the IGPU isn’t doing any of the lifiting. Is this expected? I'm pretty happy with how Lightroom and Final Cut are performing, I just want to make sure I've set the hardware up correctly.
4) Power Consumption
I have a general understanding of building computers, but not an expert especially with first time building a Hackintosh, overclocking, timings, voltages, etc…
In HWMonitor the CPU Package Core reads blank, CPU Package Total is anywhere from 3.52w to 4.8w, the CPU Package DRAM is anywhere from 1.12 – 5.08.
Is this normal, or high? My temperatures seem fine and idle between 45-57 C, And Max shortly at 85 during stress tests.
So just not sure if the CPU Power Consumption HWmonitor reporting is normal or abnormal. I've attached two HWmonitor screenshots 1 normal idle cpu, one while FCP rendering.
ASUS ROG Maximus X CODE
i7 8700k OC’d to 4800
2 x 16gb Corsair Vegeance LPX DDR4 2400mhz C16 OC’d to 2666mhz
Sapphire RX 580 NITRO+ 8Gb Graphics Card
BCM94352Z Dell DW1560 (Wifi and Bluetooth Both Natively Working with Rehabman Kexts)
BeQuiet! Darkrock Pro 4
EVGA 650w g1+
Phanteks Enthoo Evolv X
Samsung 28” E590DS (DP), Samsung 24” D300 (HDMI), Samsung 22” Syncmaster (DVI), Sony Bravia 48” (HDMI)
Pre Install BIOS Settings:
Updated Bios to Version 1704
Loaded Optimized Defaults
AI Overclocker Tuner > Manual
Extreme Tweeking > Enable
Advanced \ System Agent(SA) Configuration →IGPU Multi-Monitor : Enabled
Advanced \ System Agent (SA) Configuration →Vt-d: Disabled
System Agent (SA) Configuration > Graphics Configuration > Primary Display > PEG
USB Configuration > Legacy USB Support > AUTO
USB Configuration > Keyboard and Mouse Simulation > Disabled
APM Configuration > Power on by PCI - E/PCI > Disabled
Fast Boot > Disabled
Boot Logo Display > Disabled
Secure Boot > OS Type > Other OS
DVMT Pre-Allocated > 128M
ICLOUD, iMessages, Handoff, etc
Nitro+ 8GB GPU:
4 Displays (DVI, DP, HDMI 1&2) from RX580 with Audio
Currently set to 1920 resolution, but have option to use up to 4k resolution (3840x2160)
Audio over DP and HDMI
*Not sure if Airplay works as I don’t have an Apple TV, but registers in System Bar and say's looking...
Set in Connectorless State (AAPL,ig-platform-id: 0300923E)
*If in a Connected State, slows down Bruce 5k Exports to well over a minute, with glitches, and does not send display signal to DP or HDMI (just green screen), even with connector type patch to correct type. So keeping it connectorless.
*Not sure if Graphic acceleration is really working as FCPX is struggling with Multicam original media. This could just be the GH5 4k file encoding that FCPX struggles with. Was just hoping to remove creating proxy media from my workflow.
Audio Front/ Back
Digital Optical Out
Back Green - Internal Speakers
Front Headphones - Internal Speakers automatically changes to Headphones when plugged in
Back Mic (Internal Microphone, not Line In)
Front Mic (Internal Microphone, changes to a 2nd Line In)
After initial install Bluetooth was seen by Mac System but not recognising any devices
Thanks to @RehabMan Entered following code in terminal and bluetooth now works:
sudo nvram boot-args="kext-dev-mode=1"
I've now enabled this in my config.plist as well.
(unsigned kernel extensions need to be enabled. Take the following steps in the Terminal)
Temps or Fans were not registering with TG Pro using VirtualSMC.kext
Fixed by switching from VIRTUALSMC.kext with older FAKESMC.kext with sensor gauges kexts. All working now.
Computer Idles between 46 and 52 Celcius. Hits 81-87 when stress testing.
It appears that are physically too many USB ports on the Asus Maximus Code X to ever work with the 15 port limit safely. I created a custom SSDT that disabled USB 2.0 hs07(L),HS08(ML),12(aura led controller) to get usb 3.0 speeds on ss04,ss05, and ss06
Be curious if anyone ever found a workaround for this...
2400mhz to 2666mhz with Manual DRAM frequency change in BIOS. Did not change Latency or Timing and no crashing or panics so far. The 2666mhz speed is recognised in About this Mac and the Novabench RAM score increased.
*Please advise if this method of overclocking the RAM is unadvisable.
4.8ghz @ 75F @ 50% (Prime 95 test)
Followed these BIOS steps:
Send me Values-iMac.zip
after updating HS my WOL stopped working. It worked for sure in El Capitan, not sure in what version of HS stopped to work. I'm using Ozmosis as bootloader and IntelMausiEthernet (in S/L/E) for network. I created ssdt.aml with ssdtPRGen, and put it in EFI/Oz/Acpi/Load/.
WOL is enabled in BIOS, wake for network access is checked
pmset -g System-wide power settings: DestroyFVKeyOnStandby 0 Currently in use: standby 0 Sleep On Power Button 1 womp 1 hibernatefile /var/vm/sleepimage powernap 0 networkoversleep 1 disksleep 10 sleep 15 autopoweroffdelay 28800 hibernatemode 0 autopoweroff 0 ttyskeepawake 1 displaysleep 15 standbydelay 10800 If I put machine to sleep, WOL works for a short time, but not working if I let it sleep for a while.
I deleted Ethernet in Network, rebooted and recreated it, but still the same.
MOBO: Gigabyte Z97-D3H rev 1.1
processor: i5-4460 Haswell
graphic: Gigabyte GeForce GT 740 OC GDDR5 2GB (GV-N740D5OC-2GI)
memory: 2 x 8GB Kingston
disks: Samsung SSD 850 EVO 120GB