Contribute
Register

High Sierra Random Freezing

Status
Not open for further replies.
I just had a "random" crash again after a few days of uptime. I believe I finally have the answer about what's causing these crashes: Nvidia drivers.

I must be using some apps that take advantage of the GPU, or maybe I'm just have too many Windows at the same time. The random system hard freeze (KP) I just got today is exactly similar to the KP I was getting with the latest Nvidia drivers and NvidiaGraphicsFixup on 10.13.4 when playing Fortnite.

Code:
Anonymous UUID:       3016C5F0-081C-315F-2D7E-D03EF4FFBBA3

Mon Apr  9 10:00:05 2018

*** Panic Report ***
Machine-check capabilities: 0x0000000000000c14
 family: 6 model: 85 stepping: 4 microcode: 33554499
 signature: 0x50654
 Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
 20 error-reporting banks
Processor 18: IA32_MCG_STATUS: 0x0000000000000005
 IA32_MC0_STATUS(0x401): 0xb200000000070005
Processor 19: IA32_MCG_STATUS: 0x0000000000000005
 IA32_MC0_STATUS(0x401): 0xb200000000070005
mp_kdp_enter(): 68652367871, 1, 36 TIMED-OUT WAITING FOR NMI-ACK, PROCEEDING
panic(cpu 26 caller 0xffffff8010b895da): "Machine Check at 0xffffff8010b99f69, registers:\n" "CR0: 0x000000008001003b, CR2: 0x000000010c013208, CR3: 0x00000000261e3000, CR4: 0x00000000003627e0\n" "RAX: 0x0000000000000020, RBX: 0xffffff80113ef7c0, RCX: 0x0000000000000001, RDX: 0x0000000000000000\n" "RSP: 0xffffffce53963ee0, RBP: 0xffffffce53963f10, RSI: 0x0000000000000002, RDI: 0xffffff801120b7f8\n" "R8:  0x0000000000000024, R9:  0x0000000000000001, R10: 0x0000754c0ccac240, R11: 0xffffff80113e9c80\n" "R12: 0x0000000000000020, R13: 0x0000000000000000, R14: 0x0000754c0ccac3a5, R15: 0x000000000000001a\n" "RFL: 0x0000000000000046, RIP: 0xffffff8010b99f69, CS:  0x0000000000000008, SS:  0x0000000000000010\n" "Error code: 0x0000000000000000\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.51.1/osfmk/i386/trap_native.c:168
Backtrace (CPU 26), Frame : Return Address
0xffffff8010959320 : 0xffffff8010a6e166 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffff8010959370 : 0xffffff8010b96714 mach_kernel : _kdp_i386_trap + 0x114
0xffffff80109593b0 : 0xffffff8010b88a00 mach_kernel : _kernel_trap + 0x4d0
0xffffff8010959430 : 0xffffff8010a20180 mach_kernel : _return_from_trap + 0xe0
0xffffff8010959450 : 0xffffff8010a6dbdc mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffff8010959580 : 0xffffff8010a6d99c mach_kernel : _panic + 0x5c
0xffffff80109595e0 : 0xffffff8010b895da mach_kernel : _panic_64 + 0xda
0xffffff80109596d0 : 0xffffff8010a209ff mach_kernel : _hndl_machine_check + 0xf
0xffffffce53963f10 : 0xffffff8010b8a80c mach_kernel : _machine_idle + 0x1dc
0xffffffce53963f30 : 0xffffff8010a8c442 mach_kernel : _processor_idle + 0xd2
0xffffffce53963f80 : 0xffffff8010a8ca10 mach_kernel : _idle_thread + 0x20
0xffffffce53963fa0 : 0xffffff8010a1f4f7 mach_kernel : _call_continuation + 0x17

BSD process name corresponding to current thread: kernel_task
Boot args: -v darkwake=0 keepsyms=1 debug=0x100

Mac OS version:
17E199

Kernel version:
Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64
Kernel UUID: 1B55340B-0B14-3026-8A47-1E139DB63DA3
Kernel slide:     0x0000000010800000
Kernel text base: 0xffffff8010a00000
__HIB  text base: 0xffffff8010900000
System model name: iMacPro1,1 (Mac-7BA5B2D9E42DDD94)

This KP above was not triggered by Fortnite this time, but just after using my hackintosh for several days (with many Finder/TextEdit Windows and a few apps open). Fortnite that is intensively using the GPU triggers these hard freezes above almost instantly after the game is launched or after 1min in-game, while a normal use of my hackintosh would only trigger these GPU-related hard freezes once in a while (every 2-4 days uptime).

Previous on 10.13.3 and 378.10.10.10.25.106 drivers, the random KP I was getting were traced as the following in the logs, like @rasa.acharya, @giftmusic, @eiriasemrys, @ophelia, @juantrix:

Code:
Double fault at 0xffffff8***19a8

But now on 10.13.4 and 387.10.10.10.30.103 they trace as:

Code:
TIMED-OUT WAITING FOR NMI-ACK, PROCEEDING

The stack trace is just dumb in my opinion and can't locate where exactly things started to go wrong, which clearly is (to me) linked to NVidia kexts.

Anyway... I don't have a solution for these. I'm just going to swap my Nvidia card for an AMD one I have to see if I can pass my 4 days uptime record. If I can, it will be a confirmation of the above and I will eventually think about buying a new AMD card.

EDIT: I swapped my Nvidia card for AMD card. The same exact KP happened when I was connected through Remote Desktop and played a video remotely. Which means the issue is not Nvidia related.

I was able to locate the real cause of the issue: AVX offsets.

My AVX offset was set way too high: at -5. I had to reduce it even more to -8. Now I can play Fortnite with my Nvidia card without major issues (still some Metal crashes from time to time, but no KP at all) and play videos through RDP without triggering the hard freeze (KP). Let's see if that holds a few weeks.
Disaster has struck here. For some reason now I am back to the situation almost a month and a half ago with random hard freezes, without causing a KP. I slept after an uptime for I think 5 days or so, with everything seemingly working perfectly and in the morning it won't wake from sleep (caps lock LED won't light up, indicating a freeze). After rebooting, it now almost immediately freezes even when nothing (other than background apps) are running. @Thireus can you please share with me your EFI folder, and your BIOS settings?
Here I thought I now have an almost stable hack :(
 
Also as previously, there is a peculiar thing: when I run memtest from terminal (memtest all 2), then for as long as it is running the system won't freeze. @revevs do you think this could be due to a faulty RAM stick? The memtest finishes successfully each time
 
When I was having my freezing problems I thought it was RAM also, dropped $225 on new RAM, and it turned out it wasn't the RAM at all, it was related to my GPU. Sorry to hear you are having issues, hope you find the answer. Have you considered starting from scratch and doing a fresh install and working forward with that?
 
Also as previously, there is a peculiar thing: when I run memtest from terminal (memtest all 2), then for as long as it is running the system won't freeze. @revevs do you think this could be due to a faulty RAM stick? The memtest finishes successfully each time

My memtest also ran fine. It was only when I took out a stick that the freezes stopped.
Do you have more than one stick? if so, take one out at a time and see.

I was lucky in that I had 2x8gb and 1x4gb and it was the 4GB that was the issue.
 
My memtest also ran fine. It was only when I took out a stick that the freezes stopped.
Do you have more than one stick? if so, take one out at a time and see.

I was lucky in that I had 2x8gb and 1x4gb and it was the 4GB that was the issue.
Yes I have all the 8 banks populated. Did you have hard freezes without KPs too? And by any chance, did you too experience no freezes while memtest was running?
I guess the weekend now shall be spent debugging this..
 
Yes I have all the 8 banks populated. Did you have hard freezes without KPs too? And by any chance, did you too experience no freezes while memtest was running?
I guess the weekend now shall be spent debugging this..

Yes hard freezes with no KP. And when Memtest ran all was ok.

Take half your sticks out and see how you go. if it crashes, half again etc and with any luck there may be one bad stick.
 
I was able to locate the real cause of the issue: AVX offsets.

My AVX offset was set way too high: at -5. I had to reduce it even more to -8. Now I can play Fortnite with my Nvidia card without major issues (still some Metal crashes from time to time, but no KP at all) and play videos through RDP without triggering the hard freeze (KP). Let's see if that holds a few weeks.

I just had basically same crash again. I can replicate the Kernal panic anytime I use iTunes and Resolve at the same time. Any time I let youtube play forever (will crash within 10-20min). And any time I play RED Helium footage in Resolve. If I avoid those three conditions, I can make it days without a KP. I will try the offset change. Here's my KP:

Code:
Anonymous UUID:       045DD102-3A2D-C5CF-C734-510DA97346B4

Thu Apr 12 11:01:05 2018

*** Panic Report ***
Machine-check capabilities: 0x0000000000000c14
family: 6 model: 85 stepping: 4 microcode: 33554499
signature: 0x50654
Intel(R) Core(TM) i9-7980XE CPU @ 2.60GHz
20 error-reporting banks
Processor 26: IA32_MCG_STATUS: 0x0000000000000005
IA32_MC0_STATUS(0x401): 0xb200000000070005
Processor 27: IA32_MCG_STATUS: 0x0000000000000005
IA32_MC0_STATUS(0x401): 0xb200000000070005
mp_kdp_enter(): 68719475711, 1, 36 TIMED-OUT WAITING FOR NMI-ACK, PROCEEDING
panic(cpu 10 caller 0xffffff8003d895da): "Machine Check at 0xffffff8003d99f69, registers:\n" "CR0: 0x000000008001003b, CR2: 0x000000011e176000, CR3: 0x000000001ac32000, CR4: 0x00000000003627e0\n" "RAX: 0x0000000000000020, RBX: 0xffffff80045ebfc0, RCX: 0x0000000000000001, RDX: 0x0000000000000000\n" "RSP: 0xffffffa3ee38bee0, RBP: 0xffffffa3ee38bf10, RSI: 0x0000000000000002, RDI: 0xffffff800440b7f8\n" "R8:  0x0000000000000024, R9:  0x0000000000000001, R10: 0x00002a0053a6547a, R11: 0xffffff80045e9c80\n" "R12: 0x0000000000000020, R13: 0x0000000000000000, R14: 0x00002a0053a6560a, R15: 0x000000000000000a\n" "RFL: 0x0000000000000046, RIP: 0xffffff8003d99f69, CS:  0x0000000000000008, SS:  0x0000000000000010\n" "Error code: 0x0000000000000000\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.51.1/osfmk/i386/trap_native.c:168
Backtrace (CPU 10), Frame : Return Address
0xffffff8003b51320 : 0xffffff8003c6e166 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffff8003b51370 : 0xffffff8003d96714 mach_kernel : _kdp_i386_trap + 0x114
0xffffff8003b513b0 : 0xffffff8003d88a00 mach_kernel : _kernel_trap + 0x4d0
0xffffff8003b51430 : 0xffffff8003c20180 mach_kernel : _return_from_trap + 0xe0
0xffffff8003b51450 : 0xffffff8003c6dbdc mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffff8003b51580 : 0xffffff8003c6d99c mach_kernel : _panic + 0x5c
0xffffff8003b515e0 : 0xffffff8003d895da mach_kernel : _panic_64 + 0xda
0xffffff8003b516d0 : 0xffffff8003c209ff mach_kernel : _hndl_machine_check + 0xf
0xffffffa3ee38bf10 : 0xffffff8003d8a80c mach_kernel : _machine_idle + 0x1dc
0xffffffa3ee38bf30 : 0xffffff8003c8c442 mach_kernel : _processor_idle + 0xd2
0xffffffa3ee38bf80 : 0xffffff8003c8ca10 mach_kernel : _idle_thread + 0x20
0xffffffa3ee38bfa0 : 0xffffff8003c1f4f7 mach_kernel : _call_continuation + 0x17

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 keepsyms=1 debug=0x100

Mac OS version:
17E199

Kernel version:
Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64
Kernel UUID: 1B55340B-0B14-3026-8A47-1E139DB63DA3
Kernel slide:     0x0000000003a00000
Kernel text base: 0xffffff8003c00000
__HIB  text base: 0xffffff8003b00000
System model name: iMacPro1,1 (Mac-7BA5B2D9E42DDD94)

System uptime in nanoseconds: 46181895204759
last loaded kext at 42319120163005: com.apple.driver.AppleXsanScheme    3 (addr 0xffffff7f8784b000, size 32768)
last unloaded kext at 42379892510780: com.apple.driver.usb.cdc    5.0.0 (addr 0xffffff7f87844000, size 28672)
loaded kexts:
com.nvidia.CUDA    1.1.0
com.nvidia.web.NVDAGM100HalWeb    10.2.9
com.nvidia.web.GeForceWeb    10.2.9
com.nvidia.web.NVDAResmanWeb    10.2.9
com.intel.driver.EnergyDriver    2.0
com.blackmagic-design.driver.BlackmagicIO    10.9.10
com.blackmagic-design.driver.BlackmagicUsbIO    10.9.10
com.smalltree.driver.SmallTreeIntel82576    1.0.6
com.insanelymac.IntelMausiEthernet    2.3.0
com.highpoint-tech.kext.HighPointRR    4.3.3
hu.interferenc.TSCAdjustReset    1.1
org.netkas.driver.FakeSMC    1448
as.vit9696.AppleALC    1.2.4
as.lvs1974.NvidiaGraphicsFixup    1.2.5
as.vit9696.Lilu    1.2.3
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleTopCaseHIDEventDriver    133
com.apple.filesystems.ntfs    3.13
com.apple.AGDCPluginDisplayMetrics    3.18.48
com.apple.driver.AppleUpstreamUserClient    3.6.5
com.apple.driver.AppleHV    1
com.apple.driver.AppleMCCSControl    1.5.4
com.apple.driver.X86PlatformShim    1.0.0
com.apple.driver.AGPM    110.23.33
com.apple.driver.ApplePlatformEnabler    2.7.0d0
com.apple.iokit.IOUserEthernet    1.0.1
com.apple.iokit.IOBluetoothSerialManager    6.0.5f3
com.apple.driver.pmtelemetry    1
com.apple.Dont_Steal_Mac_OS_X    7.0.0
com.apple.driver.AppleIntelPCHPMC    2.0.1
com.apple.driver.AppleIntelSlowAdaptiveClocking    4.0.0
com.apple.driver.AppleOSXWatchdog    1
com.apple.driver.usb.AppleUSBHostBillboardDevice    1.0
com.apple.iokit.SCSITaskUserClient    404.30.2
com.apple.filesystems.apfs    748.51.0
com.apple.driver.AirPort.BrcmNIC    1240.29.1a7
com.apple.driver.AppleAHCIPort    329.50.2
com.apple.filesystems.hfs.kext    407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
com.apple.BootCache    40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0
com.apple.driver.AppleHPET    1.8
com.apple.driver.AppleACPIEC    6.1
com.apple.driver.AppleACPIButtons    6.1
com.apple.driver.AppleRTC    2.0
com.apple.driver.AppleSMBIOS    2.1
com.apple.driver.AppleAPIC    1.7
com.apple.nke.applicationfirewall    183
com.apple.security.TMSafetyNet    8
com.apple.security.quarantine    3
com.apple.driver.AppleHIDKeyboard    205
com.apple.kext.triggers    1.0
com.apple.driver.AppleMultitouchDriver    1404.4
com.apple.driver.AppleInputDeviceSupport    1404.3
com.apple.driver.AppleHSBluetoothDriver    133
com.apple.driver.IOBluetoothHIDDriver    6.0.5f3
com.apple.iokit.IOAVBFamily    675.6
com.apple.plugin.IOgPTPPlugin    675.12
com.apple.iokit.IOEthernetAVBController    1.1.0
com.apple.driver.AppleSMBusController    1.0.18d1
com.apple.driver.AppleSSE    1.0
com.apple.iokit.IOAcceleratorFamily2    378.18.1
com.apple.iokit.IOSurface    211.12
com.apple.AppleGPUWrangler    3.18.48
com.apple.AppleGraphicsDeviceControl    3.18.48
com.apple.iokit.IONDRVSupport    519.15
com.apple.iokit.IOSerialFamily    11
com.apple.iokit.IOGraphicsFamily    519.15
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.driver.X86PlatformPlugin    1.0.0
com.apple.driver.IOPlatformPluginFamily    6.0.0d8
com.apple.iokit.IOAHCIBlockStorage    301.40.2
com.apple.driver.usb.IOUSBHostHIDDevice    1.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport    6.0.5f3
com.apple.iokit.IOBluetoothHostControllerUSBTransport    6.0.5f3
com.apple.iokit.IOBluetoothHostControllerTransport    6.0.5f3
com.apple.iokit.IOBluetoothFamily    6.0.5f3
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.AppleUSBAudio    312.6
com.apple.iokit.IOAudioFamily    206.5
com.apple.vecLib.kext    1.2.0
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.networking    5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.iokit.IO80211Family    1200.12.2
com.apple.driver.mDNSOffloadUserClient    1.0.1b8
com.apple.driver.corecapture    1.0.4
com.apple.iokit.IOAHCIFamily    288
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.usb.AppleUSBXHCI    1.2
com.apple.iokit.IOSCSIParallelFamily    3.0.0
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.usb.AppleUSBHostPacketFilter    1.0
com.apple.iokit.IOUSBFamily    900.4.1
com.apple.driver.AppleEFINVRAM    2.1
com.apple.driver.AppleEFIRuntime    2.1
com.apple.iokit.IOSMBusFamily    1.1
com.apple.iokit.IOHIDFamily    2.0.0
com.apple.security.sandbox    300.0
com.apple.kext.AppleMatch    1.0.0d1
com.apple.driver.DiskImages    480.50.10
com.apple.driver.AppleFDEKeyStore    28.30
com.apple.driver.AppleEffaceableStorage    1.0
com.apple.driver.AppleKeyStore    2
com.apple.driver.AppleUSBTDM    439.50.6
com.apple.driver.AppleMobileFileIntegrity    1.0.5
com.apple.iokit.IOUSBMassStorageDriver    140.50.3
com.apple.iokit.IOSCSIBlockCommandsDevice    404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily    404.30.2
com.apple.iokit.IOStorageFamily    2.1
com.apple.driver.AppleCredentialManager    1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily    1.2
com.apple.driver.usb.AppleUSBCommon    1.0
com.apple.driver.AppleBusPowerController    1.0
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.IOSlaveProcessor    1
com.apple.iokit.IOReportFamily    31
com.apple.iokit.IOTimeSyncFamily    675.12
com.apple.iokit.IONetworkingFamily    3.4
com.apple.driver.AppleACPIPlatform    6.1
com.apple.driver.AppleSMC    3.1.9
com.apple.iokit.IOPCIFamily    2.9
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread    1
com.apple.kec.Libm    1
com.apple.kec.corecrypto    1.0

EOF
Model: iMacPro1,1, BootROM IMP11.0064.B30, 18 processors, 2.59 GHz, 32 GB, SMC 2.41f1
Graphics: NVIDIA GeForce GTX TITAN X, NVIDIA GeForce GTX TITAN X, PCIe
Memory Module: BANK 0/DIMM0, 16 GB, DDR4, 3200 MHz, Corsair, CMD32GX4M2C3200C16
Memory Module: BANK 0/DIMM2, 16 GB, DDR4, 3200 MHz, Corsair, CMD32GX4M2C3200C16
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.37.29.1a7)
Bluetooth: Version 6.0.5f3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
PCI Card: NVIDIA GeForce GTX TITAN X, Display Controller, Slot-1
PCI Card: pci10de,fb0, Audio Device, PCI Slot 6@193,0,1
PCI Card: DeckLink 4K Extreme, Video, PCI Slot 0@225,0,0
PCI Card: pci1103,2721, RAID Controller, AirPort@226,0,0
Serial ATA Device: WDC WD60EZRZ-00RWYB1, 6 TB
Serial ATA Device: SanDisk SDSSDA240G, 240.06 GB
SCSI Device: SCSI Target Device @ 0
SCSI Device: SCSI Target Device @ 32
USB Device: USB 3.0 Bus
USB Device: ASM107x
USB Device: Backup+ Hub
USB Device: Backup+ Hub BK
USB Device: G-DRIVE mini5
USB Device: Intensity Shuttle
USB Device: AURA Custom Human interface
USB Device: AudioBox USB
USB Device: USB DONGLE
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: ASM107x
USB Device: Backup+ Hub
USB Device: USB Receiver
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
USB Device: Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter
USB Device: USB 3.1 Bus
Thunderbolt Bus:
 
Excuse my ignorance, but what is MemTest? Googling gives me results to MemTestx86. Is that what you guys are talking about?
 
I'm back on Sierra for the time being as I was unable to solve the Freezing issue.
In my case - the GUI just stopped responding, but I could ssh in from another mac and issue commands, run cli programs etc.
I couldn't reboot or shutdown remotely though - my session would log out from the remote computer, but the frozen Hackintosh would just sit there and not reboot.
I could replicate the issue by leaving my computer idle for a few minutes and then launch a web browser - instant freeze.
I ran geekbench, cinebench and upgraded all my outdated macports in terminal all while TimeMachine was performing a back-up and spotlight with reindexing and the hackintosh handled it fine.
Launch safari or chrome - instant freeze.
Log in remotely (ssh), issue reboot - hackintosh just sits there frozen and won't reboot.

I'm using Radeon GPU (R380X) and Skylake CPU (6700K) on Z170X board.
Sierra is 100% stable and still supports some old 32 bit audio programs that I need to run, so I guess I'm staying put.

Just wanted to chime in to let people know it happens with ATI GPU - it's not an NVidia only issue.
 
Status
Not open for further replies.
Back
Top