osy / hac-mini Goto Github PK
View Code? Open in Web Editor NEWIntel NUC Hades Canyon Hackintosh support
License: MIT License
Intel NUC Hades Canyon Hackintosh support
License: MIT License
Preview freezes when opening .jpeg files. Spindump output:
Process: Preview [1226]
UUID: 9BDA0774-432D-30FB-91EA-C7A1A8966169
Path: /Applications/Preview.app/Contents/MacOS/Preview
Architecture: x86_64
Parent: launchd [1]
UID: 501
Footprint: 180.06 MB
Start time: 2019-07-20 16:05:43 -0700
End time: 2019-07-20 16:05:53 -0700
Num samples: 1000 (1-1000)
Note: Unresponsive for 50 seconds before sampling
Note: 1 idle work queue thread omitted
Thread 0x13bd8 DispatchQueue 1 1000 samples (1-1000) priority 47 (base 47)
1000 start + 1 (libdyld.dylib + 91093) [0x7fff7e11c3d5]
1000 NSApplicationMain + 777 (AppKit + 11644) [0x7fff4f85bd7c]
1000 -[NSApplication run] + 699 (AppKit + 79932) [0x7fff4f86c83c]
1000 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 104223) [0x7fff4f87271f]
1000 _DPSNextEvent + 965 (AppKit + 108935) [0x7fff4f873987]
1000 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 42038) [0x7fff514d9436]
1000 ReceiveNextEventCommon + 603 (HIToolbox + 42661) [0x7fff514d96a5]
1000 RunCurrentEventLoopInMode + 292 (HIToolbox + 43371) [0x7fff514d996b]
1000 CFRunLoopRunSpecific + 455 (CoreFoundation + 239806) [0x7fff521ed8be]
1000 __CFRunLoopRun + 2289 (CoreFoundation + 242689) [0x7fff521ee401]
1000 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 (CoreFoundation + 244951) [0x7fff521eecd7]
1000 _dispatch_main_queue_callback_4CF + 1135 (libdispatch.dylib + 59021) [0x7fff7e0da68d]
1000 _dispatch_client_callout + 8 (libdispatch.dylib + 13885) [0x7fff7e0cf63d]
1000 _dispatch_call_block_and_release + 12 (libdispatch.dylib + 9720) [0x7fff7e0ce5f8]
1000 ??? (Preview + 1027696) [0x101833e70]
1000 ??? (Preview + 49584) [0x1017451b0]
1000 ??? (Preview + 53818) [0x10174623a]
1000 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131 (Foundation + 730946) [0x7fff544e7742]
1000 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 1119 (Foundation + 699672) [0x7fff544dfd18]
1000 ??? (Preview + 54049) [0x101746321]
1000 -[NSWindowController showWindow:] + 36 (AppKit + 2708351) [0x7fff4faee37f]
1000 ??? (Preview + 48166) [0x101744c26]
1000 -[NSWindowController window] + 110 (AppKit + 1028440) [0x7fff4f954158]
1000 -[NSWindowController _windowDidLoad] + 542 (AppKit + 1689086) [0x7fff4f9f55fe]
1000 ??? (Preview + 55777) [0x1017469e1]
1000 ??? (Preview + 57204) [0x101746f74]
1000 ??? (Preview + 102859) [0x1017521cb]
1000 ??? (Preview + 128063) [0x10175843f]
1000 ??? (Preview + 129560) [0x101758a18]
1000 -[IKImageContentView setImageURL:imageAtIndex:withDisplayProperties:] + 160 (ImageKit + 13628) [0x7fff5c31f53c]
1000 -[IKImageContentView _setImageFromImageSource:imageAtIndex:withDisplayProperties:] + 716 (ImageKit + 957886) [0x7fff5c405dbe]
1000 __82-[IKImageContentView _setImageFromImageSource:imageAtIndex:withDisplayProperties:]_block_invoke + 64 (ImageKit + 958122) [0x7fff5c405eaa]
1000 -[IKImageContentView _newScaledImageFromSource:index:imageScale:canUseExistingThumbnail:displayProperties:] + 483 (ImageKit + 955645) [0x7fff5c4054fd]
1000 CGImageSourceCreateThumbnailAtIndex + 357 (ImageIO + 414495) [0x7fff54c4531f]
1000 IIOImageSource::createThumbnailAtIndex(unsigned long, IIODictionary*) + 3181 (ImageIO + 458255) [0x7fff54c4fe0f]
1000 CGImageCreateCopyWithParametersNew(CGImage*, CGColor*, CGAffineTransform, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, CGColorSpace*, unsigned int, bool, int, int, bool) + 2150 (ImageIO + 404502) [0x7fff54c42c16]
1000 CGContextDrawImage + 51 (CoreGraphics + 210911) [0x7fff5262c7df]
1000 CGContextDrawImageWithOptions + 432 (CoreGraphics + 211364) [0x7fff5262c9a4]
1000 CGContextDelegateDrawImage + 41 (CoreGraphics + 213446) [0x7fff5262d1c6]
1000 ripc_DrawImage + 704 (CoreGraphics + 214165) [0x7fff5262d495]
1000 ripc_AcquireRIPImageData + 293 (CoreGraphics + 217440) [0x7fff5262e160]
1000 RIPImageCacheGetRetained + 661 (CoreGraphics + 218680) [0x7fff5262e638]
1000 RIPImageDataInitializeShared + 207 (CoreGraphics + 219814) [0x7fff5262eaa6]
1000 CGSImageDataLock + 1258 (CoreGraphics + 221198) [0x7fff5262f00e]
1000 img_data_lock + 2857 (CoreGraphics + 240101) [0x7fff526339e5]
1000 CGAccessSessionCreate + 98 (CoreGraphics + 248310) [0x7fff526359f6]
1000 CGDataProviderRetainData + 69 (CoreGraphics + 248636) [0x7fff52635b3c]
1000 provider_for_destination_retain_data + 17 (CoreGraphics + 248671) [0x7fff52635b5f]
1000 CGDataProviderRetainData + 69 (CoreGraphics + 248636) [0x7fff52635b3c]
1000 imageProvider_retain_data + 77 (CoreGraphics + 248764) [0x7fff52635bbc]
1000 CGImageProviderCopyImageBlockSetWithOptions + 141 (CoreGraphics + 248980) [0x7fff52635c94]
1000 IIOImageProviderInfo::CopyImageBlockSetWithOptions(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 654 (ImageIO + 97756) [0x7fff54bf7ddc]
1000 IIOImageProviderInfo::copyImageBlockSetWithOptions(CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 499 (ImageIO + 98355) [0x7fff54bf8033]
1000 IIO_Reader::CopyImageBlockSetProc(void*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 100 (ImageIO + 98716) [0x7fff54bf819c]
1000 AppleJPEGReadPlugin::copyImageBlockSet(InfoRec*, CGImageProvider*, CGRect, CGSize, __CFDictionary const*) + 1802 (ImageIO + 103246) [0x7fff54bf934e]
1000 AppleJPEGReadPlugin::createImageBlockSetWithHardwareDecode(InfoRec*, CGImageProvider*, CGSize, bool*) + 85 (ImageIO + 912547) [0x7fff54cbeca3]
1000 AppleJPEGReadPlugin::createImageBlockSetWithHardware_intel(InfoRec*, CGImageProvider*, __CFData const*, CGSize, bool*) + 337 (ImageIO + 520753) [0x7fff54c5f231]
1000 AppleJPEGReadPlugin::createIOSurfaceWithHardware_intel(CGImageProvider*, __CFData const*, unsigned int, VPA_HWJPEGDecodeSession*, __IOSurface**) + 74 (ImageIO + 517308) [0x7fff54c5e4bc]
1000 AppleJPEGReadPlugin::acquireSession() + 24 (ImageIO + 515904) [0x7fff54c5df40]
1000 _pthread_mutex_firstfit_lock_slow + 222 (libsystem_pthread.dylib + 5325) [0x7fff7e30e4cd]
1000 __psynch_mutexwait + 10 (libsystem_kernel.dylib + 16134) [0x7fff7e253f06]
*1000 psynch_mtxcontinue + 0 (pthread + 10172) [0xffffff7f82d6c7bc] (blocked by pthread mutex owned by this thread)
*** Panic Report ***
panic(cpu 2 caller 0xffffff7f89076c0c): nvme: "Fatal error occurred. CSTS=0x1 US[1]=0x0 US[0]=0x10 VID/DID=0x2262126f
. FW Revision=SVN163\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/IONVMeFamily/IONVMeFamily-387.260.15/IONVMeController.cpp:5334
Backtrace (CPU 2), Frame : Return Address
0xffffff81fa31ba10 : 0xffffff80057aea2d
0xffffff81fa31ba60 : 0xffffff80058e9e95
0xffffff81fa31baa0 : 0xffffff80058db70a
0xffffff81fa31bb10 : 0xffffff800575bb40
0xffffff81fa31bb30 : 0xffffff80057ae447
0xffffff81fa31bc50 : 0xffffff80057ae293
0xffffff81fa31bcc0 : 0xffffff7f89076c0c
0xffffff81fa31be20 : 0xffffff8005e5e877
0xffffff81fa31be90 : 0xffffff8005e5e799
0xffffff81fa31bec0 : 0xffffff80057ed9b5
0xffffff81fa31bf40 : 0xffffff80057ed555
0xffffff81fa31bfa0 : 0xffffff800575b0ce
Kernel Extensions in backtrace:
com.apple.iokit.IONVMeFamily(2.1)[FAFF8EA6-B8EF-314D-886A-DEAB39FF3EA9]@0xffffff7f89069000->0xffffff7f890a8fff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[A367CF6B-B3EA-36FE-86E6-03B771CA8A69]@0xffffff7f865fa000
dependency: com.apple.iokit.IOPCIFamily(2.9)[CC6A465F-5A24-304D-B9DF-8C27819CC214]@0xffffff7f86095000
dependency: com.apple.driver.AppleEFINVRAM(2.1)[C3C74D36-E06B-3753-A373-5BC9D486DD9C]@0xffffff7f867d0000
dependency: com.apple.iokit.IOStorageFamily(2.1)[D43332F2-2D40-3DF1-8F77-D633BCDAE660]@0xffffff7f863f0000
dependency: com.apple.iokit.IOReportFamily(47)[5772C11C-ED28-322A-910F-874583B23101]@0xffffff7f86f27000
Happens with 1TB/512GB HP EX920. With power nap enabled, device will randomly power down after a few days of dark wakes. Sometimes also happens after a burst of IO (such as a disk scan).
EDIT: Seems to be related to overheating/OSX kernel issues.
The front headphone path seems to be correct but no sound is being outputted. Appears to be a codec init issue.
Linux init calls these functions:
alc_update_coef_idx(codec, 0x4a, 1 << 15, 0); /* Combo jack auto trigger control */
snd_hda_codec_write(codec, hp_pin, 0, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE);
snd_hda_codec_write(codec, hp_pin, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT);
alc294_hp_init()
This commit may be relevant: torvalds/linux@bde1a74#diff-6cb60ab78549a5b6838f746b9e128105
Related to #4
Macbook Pro also has dual role analog/mini-TOSLINK jacks. They seem to use a "delegate" node to do the hotplug detection. Explore how this works.
Note SPDIF output also broken on Linux.
show two screens in 5k monitor.
When a device is plugged in and the computer goes to sleep and wakes up, the device gets reset and the port is re-enumerated. If the device is a USB mass storage drive, then the user sees a "unsafe removal" message.
The behaviour is different for the PCH XHCI ports versus the PEG XHCI ports. For PEG, this happens only during the first sleep. Then, everything is normal. However, for PCH ports (and TB3 USB ports) the reset always happens.
The culprit appears to be a hardware or BIOS issue. The PCI PM_Enable bit should be retained across D3 sleeps, however by the time XNU is woken up, the PM_Enable state is lost. This could be a hardware bug or it could be the resume path in the UEFI firmware messing with the USB device. Evidence for the latter is that a USB keyboard that is plugged in has the LED briefly show up during wake, then goes off, and later comes back on again.
In addition to the PM_Enable state lost, it appears that all other state is lost as well, which is why the ports are reset on resume. A proper fix would require a patched BIOS. A workaround would be to silently re-enumerate the device without user notification (Linux does this). The way the IOUSBMassStorage driver works makes this solution difficult to implement because the USB device is a child of the port that is reset.
Marking as won't fix since BIOS patching is beyond the scope of this project.
Workaround: for devices that require preserving state across sleep/resumes, use only the PEG slots (the blue port on the front or the USB-C port on the front). After reset from the first sleep, the device should sleep/wake without issue.
hello, I downloaded the mojave from playstore
-created the usb
-installed clover with v4982 bacause newer versions do not show the options to select with the 64 at the end
-replaced the EFI in the usb with the hac mini EFI
-installed macos
-generated the smbios
-mounted efi with clover configrator and copied the efi folder from the usb drive to my efi in the hardrive
-reboot and it wont boot unless I press space bar and select the option- boot with injected kext..
everything is working 100% no issue, the nuc boots really fast into macos but I cant get it to boot without my intervention and thats really annoying
---HELP
I am rookie for hackintosh. This might be a silly question.
I had updated BIOS to the latest version (HNKBLi70.86A).
I followed the steps of bios-settings.md and installing-osx.md. I had done those step in bios-settings.md:
Installing macOS
Insert your newly created USB installer into any USB slot and power on the NUC.
Press F10 at the prompt to get into the boot menu.
Select your USB drive and press enter.
You should see the Clover menu. Select the USB drive.
When I press F10 and enter boot menu, I only see one option which is Windows boot manger. I can not find USB drive or anything else.
Is there any step missing?What should I do?
Thanks
Seems to be an issue with the companion port definitions. If TB3 controller is not powered on then ioregistryviewer freezes as well as ioreg. Sometimes freeze happens on resume as well.
Suspect it's related the the companion ports when the TB3 controller is not powered on. Calling ioreg -a
shows a freeze on the companion port entry.
screen share connect my hac-mini.
but, can't wakeup.
Enable Power Nap - checked
Start up automatically after a power failure - checked
Wake for network access - checked
Put hard disks to sleep when possible - checked
Prevent computer from sleeping automatically when the display is off - unchecked.
If IGPU is enabled, then wakeup fails. Likely a framebuffer issue. The easiest workaround is to just disable the IGPU in BIOS. Since we have a dedicated GPU with similar HW support for things like codec and compute, there's little reason to leave the IGPU enabled.
Would it work? Would it be required? Might this even fix some of the Wakeup issues mentioned here?
Likely the thermal sensors are not working properly or the PM settings are too aggressive. We currently use the Macmini8,1's PM profile because the form factor is similar.
Need more data points to see what the true issue is (not confirmed it's thermal related because there's no indication). This is seen very rarely.
If no device is plugged in at boot time, the Thunderbolt 3 ports will not respond to hotplugs.
This is because a force thunderbolt WMI device is implemented.
Writing a driver for the TBFP WMI device has mixed results. TB3 ports show up only if boot flags pci=0x7
is enabled for verbose logging. It's confirmed the logging does not change how devices are enumerated so we are dealing with a race condition.
A custom kext matching on the IOPCI2PCIBridge for RP05 which waits for the TBFP device to force power does not seem to work either.
Next idea is to set up the force power in Clover.
Workaround: as long as some device is plugged in at boot, it will work and hotplugs will work.
I am using version 1.4.1, there is a problem when booting the system: can't get into the system, restart repeatedly
NUC8i7HVK, using 1.4, it keeps rebooting when the process bar is at about 10%. After removing WhateverGreen, it boots succeed.
The verbose mode goes so fast that I can't catch any information.
Describe the bug
I just follow the instruction of Installation - HaC Mini Hackintosh
But in the second step of Installing macOS
, NUC8i7BEH6 can not boot in system.
Stay at this screen.
Expected behavior
Can boot in system
Environment:
Additional context
My NUC8i7BEH6 `s Data of manufacture: 06/2019
Logs
nothing
I got monitor with FreeSync im activated that mode on Monitor, but no special option in settings of monitor appear, just to confirm I rebooted macOS, I did even test (because I was with maybe automatically is enabled when see compatible monitor but no :( )
maybe because is different pci-ids ? or something else ?
any idea how to solve that ?
https://forums.macrumors.com/threads/amd-polaris-vega-navi-gpu-macos-support.2083168/
website to test
https://www.testufo.com/freesync#photo=quebec.jpg&pps=960&framerate=ramp&compare=1
This configuration file is fixed, boot speed, sleep wake-up speed, you can refer tohttps://drive.google.com/drive/folders/1sMtr5KddHxEAlrwcclYxpVoh9ZD4lvHM
Created usb installer, Ran package installer which was successful (check box for patching osx)
Nuc can see the usb stick but only shows one partition to boot from and you cannot boot from that partition. I tried another machine (Gigabyte motherboard) and it shows two partitions I am able to boot from either partition 0 or partition 1, If I select 0 it won't boot but if I select 1 the installer tries and boots. But partition 1 does not show as an option on the nuc to boot from
Configuration
HaC Mini v2.0 is a major update that brings an automated installer along with migration to OpenCore from Clover. We need help testing it on different configurations. The main configurations we want to cover are:
There are 3 test scenario. Please try to test as many as possible but you do not need to test them all. Please make sure you have a backup of your system and of the EFI partition in case something goes wrong.
Follow the guide for a new install from start to finish. Note you will be wiping your SSD so make sure you have a backup.
Follow the guide for an existing install.
Try all of the ports and make sure nothing new breaks. Try sleep/resume. Try geekbench and make sure the score isn't significantly lower than before.
Please format your report as follows in a comment reply below:
Make a separate report for each different configuration. Include any optional comments, suggestions, etc on the guide and anything else you've tested.
If you ran into any issues, you should file a new issue in addition to replying to this issue with your test report. Do it even if there is an existing issue open because we now have a new issue template that requests more information and should make things easier to track. Older issues will be closed as duplicates when newer issues with more information are opened. Eventually, issues only in v1.x will not be resolved.
Metalfix not working correctly on 10.15 db4.
Description
Since a Catalina issue has been brought up, I'll just bring this up too. not urgent but kind of wanna see what's going on.
The iPad Pro 11 inches is not showing on the sidecar pref panel. connected thru USBC to USBC at the front.
Scenarios tested: 2
HaC Mini version: 2.0
OSX version: 10.15 PB8 19A558d
NUC model: NUC8I7HNK
Boot SSD model and protocol: Samsung 970 EVO 1TB, NVME
Second SSD model and protocol (if installed):Intel 660p 1TB, NVME
First DIMM model: Crucial DDR4-2400 8GB
Second DIMM model: Crucial DDR4-2400 8GB
Display port(s) used: HDMI
Display resolution(s): 1080p@60
Any TB3 devices: No
Any USB devices: USB Receiver for Logitech Keyboard & Mouse, USB Receiver for Logitech Gaming Mouse.
Using DW1830 Wireless Card, With additional BrcmPatch Kext set.
Modifications
Added RehabMan's Handoff kext patch
config.plist.zip
This was a tricky one to sort out but the common thread amongst many people in #29 #19 and #15 is that SATA support is broken.
Some observed behaviours: freeze at “AppleACPICPU” log entry in verbose boot, freeze at Apple logo with progress bar around 50%, and magically working when SATA-unsupported.kext is loaded AND boot with spacebar -> load with injected kext.
The underlying issue is that the SATA controller (which only shows up with a SATA drive installed) is getting recognized by OSX’s “generic” SATA driver which is broken. Instead, the Intel PCH SATA driver must be used. SATA-unsupported.kext SHOULD fix this, but as many observed, it doesn’t seem to always work.
SATA-unsupported.kext doesn’t always work because the kext has a race condition. The Info.plist doesn’t list the dependency on Apple’s kext and so if SATA-unsupported.kext is loaded before Apple’s kext, or if Apple’s kext is not loaded for some reason, then it may not work. It’s not as easy as adding a dependency because Apple’s kext is not meant to be imported and does not have CFBundleCompatibleVersion key.
Instead, a better solution to SATA-unsupported.kext is to manually inject the “name” of the PCI node using clover.
it seems that the back jack not work on 10.14.6 with AppleALC.kext , not tested on 10.14.5
i see the latest commits.
will hacmini move to opencore?
Describe the bug
A clear and concise description of what the bug is. What is the installation destination (boot drive, USB installer drive, other drive)? What installation options are selected?
installer return error message.
https://www.reddit.com/r/MacOS/comments/caiue5/macos_catalina_readonly_file_system_with_sip/
i think is this new feature >= 10.15
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
Additional context
Add any other context about the problem here.
Logs
Please attach /var/log/install.log
The 1.4 version CLOVER folder has tools, themes and drivers64EFI. These will be installed during the installation of clover. Are these files the special version or just being packed by mistake?
By the way, the driver folder and the options have changed in recent version of clover, may be this should be updated in the guide, too?
Thanks osy86 for contributing to this model
Lightning display repair.zip
EFI.zip
I completely followed the guid downloaded Mojave 10.14.6 and make a install usb disk.
But when I finished installation and selected Boot macOS from ... ,after a long time waiting,it just stuck at kextd stall[n],(240s):'appleACPICPU'.
Is that mean this built only work on macOS Mojave 10.14.5?
When I format a hard disk using the Disk Utility, can I format only a portion of the unused space? I want to keep my existing system.
Clean install 10.14.6 on nuc8i7hnk with release 1.4.1, unfortunately, failed, saying
AppleIntelLpssI2CController::_serviceMatchingTimeSubr: fTimerServiceMatching timed out, fNotifications 0
already tried
add to WhateverGreen.kext Unable to start,
-v failure code
@kec.corecrypto 1.0 attemptlng system restart...
Probably an AMD framebuffer issue. Only appears if resolution is set to 2560x1440.
One workaround is to always reset the resolution on display wakeup. We can use the displayplacer
and sleepwatcher
utilities to do this automatically after every display wakeup.
brew install sleepwatcher
displayplacer list
and get a string with all your displays, order, etc~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-displayfix.plist
with the template belowlaunchctl load ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-displayfix.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>de.bernhard-baehr.sleepwatcher-displayfix</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/sleepwatcher</string>
<string>-W</string>
<string>sleep 10; /usr/local/bin/displayplacer "id:E5BB9F08-9D64-22D5-06B5-9872624162C9 res:3008x1692 hz:60 color_depth:8 scaling:on origin:(0,0) degree:0" ; /usr/local/bin/displayplacer "id:E5BB9F08-9D64-22D5-06B5-9872624162C9 res:2560x1440 hz:60 color_depth:8 scaling:on origin:(0,0) degree:0"</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Replace the two displayplacer
argument strings with your own custom string. The difference between the two instances is that first we set the res to a higher one res:3008x1692
and then to what we want res:2560x1440
. The sleep 10
prevents any issues trying to set the resolution before the display turns on.
Related to #4
Does not seem to work in Ubuntu either.
I'm running macOS 10.14.6 on nuc8i7hvk, thanks to this project, everything works fine, except for one thing:
I noticed some game got a very low fps. Then I have done the geekbench compute benchmark (for graphics) for many times, got only about 65000, for example:
https://browser.geekbench.com/v4/compute/4424008
However, I noticed that lots of people have got a really high score for more than 90000:
https://browser.geekbench.com/v4/compute/4179987
I did some research and found that the "Compute Units" is only 12 on mine while others have 24.
From the Intel-8809G Product Specifications, Vega M GH actually have 24 compute units.
I can't confirm whether it's geekbench's bug or hac-mini's bug.
In /System/Library/PrivateFrameworks/AppleGVA.framework/Resources/Info.plist
, under System Support
, the entry for Mac-7BA5B2DFE22DDD8C
does not contain forceOfflineRenderer
. On a real Macmini8,1 there is no dGPU, so this is fine but we need offline rendering.
Changing the model to iMac18,2 or iMac18,3 works but causes another issue: the USB-C in DP mode no longer output video.
Another solution is to use WhateverGreen's Shiki with boot-arg shikigva=32 shiki-id=Mac-BE088AF8C5EB4FA2
. This works but currently, WG is incompatible with Polaris22Fixup until osy/Polaris22Fixup#3 is resolved. Additionally, WG has a whitelist system so QuickSync will only work with the apps that are whitelisted, which is not a good solution imo.
We have to either resolve the USB-C DP issues with board-id Mac-BE088AF8C5EB4FA2
or somehow fake the forceOfflineRenderer
check in AppleGVA without WG.
I installed 10.14.5 mojave on the hades canyon and it works well with my 1080p monitor. but when i use a 5k monitor with the thunderbolt plug, there's no graphic output at all and the screen is black. but the loudspeaker inside the monitor works so i think maybe the tbt device is connected.
my 5k monitor is lg ultrafine 5k and it is designed for macos, u can find it in the apple store and i'm sure it should be working perfectly with a real mac. the resolution is 5120x2880. it can connects only with a thunderbolt plug, no dp or hdmi. it works well in windows 10 at 5120x2880@60Hz
except the HID light sensor so it cannot adjust the brightness automatically.
It would be perfect if the screen goes well for this set.
If device is in S3 sleep, waking up from USB would trigger a "dark wake" (screen powered off). A second keyboard press is needed to wake the display after the USB is reset.
This is the same issue as #8 because the XHCI state is lost, the wakeup event is lost also and XNU gets confused why it woke up because XHCI's PM_Status is 0 due to the bug. As a result, it thinks that it's a dark wake.
Workaround: Deal with having to press the keyboard twice or disable dark wake.
Preview freeze bug is only gone after fresh boot. After waking from sleep it's still there.
Related to #2
If the TB3 port is started successfully through force power or from a device plugged in during boot. If no device is plugged in when the computer sleeps and wakes up again, the kernel will panic with the message thunderbolt power on failed
.
Limited success from calling TBFP ()
from the SSDT _PS0
function for RP05
. However it does not solve the problem 100% of the time.
Workaround: Make sure at least one TB3 device is plugged in when computer goes to sleep if TB3 is enabled.
So I can get through the installer, but the system will not boot Mac OS from the USB... gets to the point where the GPU is initialized and then reboots...
I have found a way to make it boot; so the install is good (bunch of different kexts... different method ... blah blah .... but I have no metal...) so I must have missed a step somewhere... here is my efi folder for the HaC Mini... Hopefully you can tell me what I missed. so I can boot with your method...
NUC8i7HVK BIOS Version 0058
Storage: Intel SSDPEKNW512GB (PCI-E)
32GB RAM
Thanks for any help/advise!
Describe the bug
upgrade from installed system. HaCMini.pkg file successfully installed. But can’t boot, output is A bootable device has not been detected
.Copy files to a usb disk, same situation.
Expected behavior
A clear and concise description of what you expected to happen.
Environment:
Additional context
Add any other context about the problem here.
Logs
Please attach /var/log/install.log
After updating to 10.14.5 Beta 2, kernel panics on boot if GPU acceleration is enabled.
Crash is in AMDRadeonX4000
but replacing AMDRadeonX4000HWLibs
with the one from Beta 1 resolves the issue.
Running bindiff and looking at the changes in HWLibs, we identify the following function changes (data only changes and constant operand changes are not identified by bindiff)
A number of functions have bzero added to clear the stack data before use:
_SW_SMUM_Dpm_SetMinDeepSleepDceFClk
_SW_SMUM_Dpm_SetWorkloadPolicy
_SW_SMUM_Dpm_DisableUclkFastSwitching
_SW_SMUM_Dpm_EnableUclkFastSwitching
_SW_SMUM_Dpm_GetCurrentDpm
_SW_SMUM_Dpm_ForceDpmLevel
_SW_SMUM_Dpm_SetClockLimit
_SW_SMUM_Dpm_GetClockLimit
A couple of hardware specific changes may or may not be used by Polaris22 path:
_gc_9_1_init_gfx_power_gating
_gc_10_1_get_gb_addr_config_default
_greenland_update_hw_virtualization_settings
_Cail_Bonaire_UpdateMultimediaClockGating
_PhwCIslands_BugCheckRegisterDump (added register write)
_PhwCIslands_Initialize
_PhwPolaris10_Initialize
Some "suspicious" changes:
_CailIdentifyCrossDisplayAndXGP: check (ulong)(*(int *)(lParm1 + 0x198) - 0x41U < 0x40) for "EnableXDSupport"
_PEM_CWDDEPM_AdjustPowerOptimizationSettings: added blob of code
_CAILFullResetSupport: new branch for *(int *)(lParm1 + 0x19c) - 0x41U < 0x40)
_Cail_MCILQuerySystemInfo: old:0,1 new:0,2
AtiPowerPlayServices::ppInitialize(PPDisplayConfiguration *): call _PP_Initialize => now calls _PP_InitializeEX
_CailReadinRegistryFlags: check (uint)(0x3f < *(int *)(lParm1 + 0x198) - 0x41U) for "DisableFBCSupport"
Other changes that seem benign:
_PEM_CWDDEPM_PMLogControl: removed _PECI_LockPowerPlayOnly/_PECI_UnlockPowerPlayOnly
_PHM_CollectDbgInfo: added indirect call at end
_CailSaveCailInitInfo: added a register copy
_PEM_CWDDEPM_GetODDefaultPerformanceLevels: added assertion
__ZN20AtiPowerPlayServicesC2EP18PowerPlayCallbacks: assertion changes, maybe more
__ZN21AtiPowerPlayInterface25createPowerPlayServiceForEP18PowerPlayCallbacks: assertion changes
__ZN25AtiApplePowerTuneServices23createPowerTuneServicesEP11PP_InstanceP18PowerPlayCallbacks: added navi support
__ZN20AtiAppleMcilServices9obtainIriEPvP22_MCIL_IRI_OBTAIN_INPUTP23_MCIL_IRI_OBTAIN_OUTPUT: removed "ATY,CAIL_IRI"
Trying to individually patch out each change identified here and reverting the behaviour does not appear to fix the issue.
As a workaround, we load the Beta 1 HWLibs and it works normally but can break in a future macOS update.
Hi there!
Thank you in first place for the well documented project! I tried to apply your given approach on TB3 hot plug to my setup (Lenovo T480S). Finally, hotplugging with my eGPU case (Charging, internal SSD, Ethernet, GPU detected) works reliable (after boot, after standby - all circumstances). This was never so reliable before and thus is a already a huge milestone!
However, the actual GPU is not really spinning up, but shows up for a short time in IORegistryExplorer - and so does the eGPU Icon in the top menu.
Did someone of you already try to get an eGPU running with the NUC?
Because if it works with the NUC, it should be easy to apply to the ThinkPads as well. Otherwise I'm happy to share the IOREG dumps of a working MacBook Pro vs. my device.
At least there is evidence, that it works in general because if you leave out the Thunderbolt aml and have the eGPU plugged while booting, the whole thing is detected as PCI hub and GPU runs as "internal" - but once pulled, the computer crashes.
Best, Phil
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.