Contribute
Register

Random screen freezes and screen always freezes on Shutdown/Restart

Status
Not open for further replies.
Update: I just discovered that the onboard sound isn't available. Not a huge problem since I don't really use it, but it does make the speakers I've got hooked up pointless now. Also, it means that I can't use wired earbuds, which will most definitely be a problem when my wireless ones die.
If you have the same motherboard as me, you may want to add below in your DeviceProperties Add section
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
<dict>
<key>layout-id</key>
<data>AQAAAA==</data>
</dict>
 
If you have the same motherboard as me, you may want to add below in your DeviceProperties Add section

I'll give it a shot. Mine is currently like this, which I'm hoping is the problem.

Code:
<key>PciRoot(0x0)/Pci(0x1F,0x3)</key>
<dict>
  <key>device-id</key>
  <data>cKEAAA==</data>
  <key>layout-id</key>
  <data>AwAAAA==</data>
</dict>

Thanks for the tip!!
 
I have a similar problem. The screen will freeze when shutting down or restarting the computer, and will panic after a forced shutdown and reboot. here is the log of the panic, attached is the EFI directory, the EFI is modified based on barijaona's repo.
panic(cpu 6 caller 0xffffff801b902986): watchdog timeout: no checkins from watchdogd in 305 seconds (84 totalcheckins since monitoring last enabled), shutdown in progress
Panicked task 0xffffff950c3a8670: 243 threads: pid 0: kernel_task
Backtrace (CPU 6), panicked thread: 0xffffff99d8e41aa0, Frame : Return Address
0xffffffd052463c10 : 0xffffff8018487ddd
0xffffffd052463c60 : 0xffffff80185e7d15
0xffffffd052463ca0 : 0xffffff80185d74e3
0xffffffd052463cf0 : 0xffffff8018427a60
0xffffffd052463d10 : 0xffffff80184881ad
0xffffffd052463e30 : 0xffffff8018487966
0xffffffd052463e90 : 0xffffff8018d16156
0xffffffd052463f00 : 0xffffff801b902986
0xffffffd052463f20 : 0xffffff801b90228c
0xffffffd052463f50 : 0xffffff8019c38261
0xffffffd052463fa0 : 0xffffff801842718e
Kernel Extensions in backtrace:
com.apple.driver.watchdog(1.0)[3ED7E410-AB67-344C-BAAA-45D38F726761]com.apple.0xffffff801b900000-com.apple.driver.0xffffff801b902fff
com.apple.driver.AppleSMC(3.1.9)[35AE3273-8BB5-3D86-B020-24794A7DFB99]com.apple.0xffffff8019c29000-com.apple.driver.0xffffff8019c41fff
dependency: com.apple.driver.watchdog(1)[3ED7E410-AB67-344C-BAAA-45D38F726761]com.apple.0xffffff801b900000-com.apple.driver.0xffffff801b902fff
dependency: com.apple.iokit.IOACPIFamily(1.4)[B750EC9D-D224-309C-8C32-3F32C6257F1E]com.apple.0xffffff801ab3f000-com.apple.driver.0xffffff801ab40fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[023CD3FF-4EFC-3455-89C2-FF8BD98013EB]com.apple.0xffffff801afe6000-com.apple.driver.0xffffff801b010fff
Process name corresponding to current thread (0xffffff99d8e41aa0): kernel_task
Boot args: gfxrst=4
Mac OS version:
21C52
Kernel version:
Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Kernel UUID: E32C293C-7D8B-327C-A335-6AAD250A4881
KernelCache slide: 0x0000000018200000
KernelCache base: 0xffffff8018400000
Kernel slide: 0x0000000018210000
Kernel text base: 0xffffff8018410000
__HIB text base: 0xffffff8018300000
System model name: iMac17,1 (Mac-DB15BD556843C820)
System shutdown begun: YES
Panic diags file available: YES (0x0)
Hibernation exit count: 0
System uptime in nanoseconds: 1180593055480
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000112e0d47438
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000333c6f4462c9 0x0000000000000000
Zone info:
Foreign : 0xffffff80279e0000 - 0xffffff80279ed000
Native : 0xffffff803f655000 - 0xffffffa03f655000
Readonly : 0xffffff850c321000 - 0xffffff86a5cb5000
Metadata : 0xffffffd783356000 - 0xffffffd7a34d3000
Bitmaps : 0xffffffd7a34d3000 - 0xffffffd7a94d3000
last started kext at 494961089504: com.apple.filesystems.afpfs 11.3 (addr 0xffffff7fb1898000, size 282624)
loaded kexts:
com.tuxera.filesystems.tuxera_ntfs 2021.1.7
com.netease.nemu.kext.NemuDrv 15.2.99
ru.joedm.SMCSuperIO 1.2.8
com.insanelymac.AtherosE2200Ethernet 2.3.3
as.acidanthera.mieze.IntelMausi 1.0.7
as.vit9696.SMCProcessor 1.2.8
as.vit9696.VirtualSMC 1.2.8
as.vit9696.RestrictEvents 1.0.6
com.khronokernel.FeatureUnlock 1.0.6
as.lvs1974.HibernationFixup 1.4.5
as.vit9696.AppleALC 1.6.8
org.vanilla.driver.CPUFriend 1.2.4
as.vit9696.WhateverGreen 1.5.6
as.vit9696.Lilu 1.5.9
com.apple.filesystems.afpfs 11.3
com.apple.nke.asp_tcp 8.2
com.apple.driver.ApplePlatformEnabler 2.7.0d0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AGPM 127
com.apple.filesystems.autofs 3.0
com.apple.fileutil 20.036.15
com.apple.driver.AppleUpstreamUserClient 3.6.8
com.apple.driver.AppleMCCSControl 1.14
com.apple.kext.AMDFramebuffer 4.0.7
com.apple.driver.AudioAUUC 1.70
com.apple.kext.AMDRadeonX4000 4.0.7
com.apple.kext.AMDRadeonServiceManager 4.0.7
com.apple.driver.AppleHDAHardwareConfigDriver 283.15
com.apple.driver.AppleGraphicsDevicePolicy 6.4.9
com.apple.driver.AppleHDA 283.15
com.apple.driver.AppleGFXHDA 100.1.434
com.apple.AGDCPluginDisplayMetrics 6.4.9
com.apple.driver.AppleIntelSKLGraphics 18.0.3
com.apple.driver.pmtelemetry 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.driver.usb.AppleUSBUserHCI 1
com.apple.driver.AppleHV 1
com.apple.driver.AppleDiskImages2 126.60.3
com.apple.driver.AppleIntelPCHPMC 2.0.1
com.apple.kext.AMD9500Controller 4.0.7
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleFIVRDriver 4.1.0
com.apple.driver.AppleIntelSKLGraphicsFramebuffer 18.0.3
com.apple.UVCService 1
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.filesystems.tmpfs 1
com.apple.filesystems.lifs 1
com.apple.filesystems.hfs.kext 582.60.2
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.filesystems.apfs 1933.61.1
com.apple.private.KextAudit 1.0
com.apple.driver.AirPort.BrcmNIC 1400.1.1
com.apple.driver.AppleAHCIPort 351
com.apple.driver.AppleRTC 2.0.1
com.apple.driver.AppleACPIButtons 6.1
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleAPIC 1.7
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall 402
com.apple.iokit.IOKitRegistryCompatibility 1
com.apple.iokit.EndpointSecurity 1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.kec.AppleEncryptedArchive 1
com.apple.security.SecureRemotePassword 1.0
com.apple.driver.driverkit.serial 6.0.0
com.apple.iokit.IOSerialFamily 11
com.apple.kext.triggers 1.0
com.apple.driver.AppleSMBusController 1.0.18d1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AMDRadeonX4000HWLibs 1.0
com.apple.kext.AMDRadeonX4000HWServices 4.0.7
com.apple.driver.AppleGraphicsControl 6.4.9
com.apple.driver.DspFuncLib 283.15
com.apple.kext.OSvKernDSPLib 529
com.apple.iokit.IOBluetoothSerialManager 9.0.0
com.apple.iokit.IOBluetoothPacketLogger 9.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport 9.0.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport 9.0.0
com.apple.iokit.IOBluetoothHostControllerTransport 9.0.0
com.apple.driver.IOBluetoothHostControllerPCIeTransport 9.0.0
com.apple.iokit.IOAVBFamily 1010.2
com.apple.plugin.IOgPTPPlugin 1000.11
com.apple.iokit.IOEthernetAVBController 1.1.0
com.apple.iokit.CSRBluetoothHostControllerUSBTransport 9.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 9.0.0
com.apple.iokit.BroadcomBluetooth20703USBTransport 9.0.0
com.apple.driver.AppleIPAppender 1.0
com.apple.kext.AMDSupport 4.0.7
com.apple.iokit.IONDRVSupport 593
com.apple.driver.AppleHDAController 283.15
com.apple.iokit.IOHDAFamily 283.15
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.AppleGPUWrangler 6.4.9
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.driver.AppleUSBAudio 413.5
com.apple.iokit.IOAudioFamily 300.10
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleAudioClockLibs 100.9.1
com.apple.iokit.IOAcceleratorFamily2 462.4.1
com.apple.AppleGraphicsDeviceControl 6.4.9
com.apple.iokit.IOGraphicsFamily 593
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.AppleUSBHub 1.2
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2
com.apple.driver.AppleUSBMergeNub 900.4.2
com.apple.driver.AppleBSDKextStarter 3
com.apple.iokit.IOSurface 302.9
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleXsanScheme 3
com.apple.iokit.IOAHCIBlockStorage 333
com.apple.iokit.IO80211FamilyLegacy 1200.12.2b1
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.driver.corecapture 1.0.4
com.apple.iokit.IONVMeFamily 2.1.0
com.apple.driver.AppleEFINVRAM 2.1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.2
com.apple.iokit.IOAHCIFamily 295
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleIntelLpssI2C 3.0.60
com.apple.driver.AppleIntelLpssGspi 3.0.60
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.1
com.apple.iokit.IOTimeSyncFamily 1000.11
com.apple.iokit.IONetworkingFamily 3.4
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOBluetoothFamily 9.0.0
com.apple.iokit.IOReportFamily 47
com.apple.security.quarantine 4
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.driver.AppleSSE 1.0
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleUSBTDM 532.40.7
com.apple.iokit.IOUSBMassStorageDriver 209.40.6
com.apple.iokit.IOSCSIBlockCommandsDevice 452.60.2
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOSCSIArchitectureModelFamily 452.60.2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.security.AppleImage4 4.2.0
com.apple.kext.CoreTrust 1
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties 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.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.driver.watchdog 1
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 12.0
 

Attachments

  • EFI.zip
    4.9 MB · Views: 51
I also have random panic errors on my Xiaomi laptop 13" i5 Skylake... Never had such issues on previous Big Sur...
I'm on OC 0.7.7 and my config.plist is OCValidated!

panic(cpu 0 caller 0xffffff8016cbc7cf): mbuf_watchdog: 1 waiters stuck for 25 secs
28157/28207 mbufs in use:
28127 mbufs allocated to data
30 mbufs allocated to packet headers
50 mbufs allocated to caches
184/682 mbuf 2KB clusters in use
14356/14361 mbuf 4KB clusters in use
0/8 mbuf 16KB clusters in use
66177 KB allocated to network (approx. 97% in use)
0 KB returned to the system
VM allocation failures: contiguous 0, normal 0, one page 0
worker thread runs: 514, expansions: 369, cl 0/0, bigcl 513/48032, 16k 0/0
worker thread last run time: 25510 (26 seconds ago)

mbuf leak detection table:
total captured: 3206 (one per 500)
total allocs outstanding: 106
new hash recorded: 3187 allocs, 2210 traces
hash collisions: 88 allocs, 15 traces
overwrites: 2595 allocs, 0 traces
lock conflicts: 0

top 5 outstanding traces:
[1] 26 outstanding alloc(s), 26 hit(s), 0 collision(s)
[2] 19 outstanding alloc(s), 28 hit(s), 0 collision(s)
[3] 17 outstanding alloc(s), 697 hit(s), 0 collision(s)
[4] 16 outstanding alloc(s), 32 hit(s), 5 collision(s)
[5] 15 outstanding alloc(s), 312 hit(s), 8 collision(s)

trace [1] trace [2] trace [3] trace [4] trace [5]
------------------ ------------------ ------------------ ------------------ ------------------
1: 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a 0xffffff80008baf7a
2: 0xffffff80008948b2 0xffffff8000894810 0xffffff8000894810 0xffffff80008948b2 0xffffff8000894810
3: 0xffffff80008b9e49 0xffffff80008b9df6 0xffffff80008c17f2 0xffffff80008c17f2 0xffffff80008bf1e8
4: 0xffffff800089477f 0xffffff800089477f 0xffffff800088eae1 0xffffff800088eae1 0xffffff80008c3491
5: 0xffffff80008c17f2 0xffffff80008c17f2 0xffffff8002b5606d 0xffffff8002b5606d 0xffffff800088dea3
6: 0xffffff800088eae1 0xffffff800088eae1 0x0 0x0 0x0
7: 0xffffff8002b5606d 0xffffff8002b5606d 0x0 0x0 0x0
8: 0x0 0x0 0x0 0x0 0x0
9: 0x0 0x0 0x0 0x0 0x0
10: 0x0 0x0 0xffffff8000a58d13 0xffffff8000a58d13 0x0
11: 0x0 0x0 0xffffff8000a5756e 0xffffff8000a5756e 0x0
12: 0xffffff8000a58d13 0xffffff8000a58d13 0xffffff8000a56b97 0xffffff8000a56b97 0x0
13: 0xffffff8000a5756e 0xffffff8000a5756e 0x0
14: 0xffffff8000a56b97 0xffffff8000a56b97 0x0
15: 0x0
16: 0xffffff8000a58d13

Panicked task 0xffffff86a27e79f0: 9 threads: pid 429: Mail
Backtrace (CPU 0), panicked thread: 0xffffff9506fdeaa0, Frame : Return Address
0xffffffd023ef3650 : 0xffffff8016687ddd
0xffffffd023ef36a0 : 0xffffff80167e7d15
0xffffffd023ef36e0 : 0xffffff80167d74e3
0xffffffd023ef3730 : 0xffffff8016627a60
0xffffffd023ef3750 : 0xffffff80166881ad
0xffffffd023ef3870 : 0xffffff8016687966
0xffffffd023ef38d0 : 0xffffff8016f160b9
0xffffffd023ef3940 : 0xffffff8016cbc7cf
0xffffffd023ef39d0 : 0xffffff8016cba502
0xffffffd023ef3a30 : 0xffffff8016c9477f
0xffffffd023ef3aa0 : 0xffffff8016cb9e49
0xffffffd023ef3b50 : 0xffffff8016c9477f
0xffffffd023ef3bc0 : 0xffffff8016cc17f2
0xffffffd023ef3c50 : 0xffffff80169f5f8c
0xffffffd023ef3cd0 : 0xffffff80169f871d
0xffffffd023ef3d90 : 0xffffff80169fca6a
0xffffffd023ef3de0 : 0xffffff8016a501f1
0xffffffd023ef3ef0 : 0xffffff8016a4e505
0xffffffd023ef3f40 : 0xffffff8016d9e9d4
0xffffffd023ef3fa0 : 0xffffff8016628226

Process name corresponding to current thread (0xffffff9506fdeaa0): Mail
Boot args: -v alcid=3 watchdog=0 igfxonln=1 agdpmod=vit9696 uia_exclude=HS02;SS01;SS02;SS04 -igfxnohdmi -disablegfxfirmware chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
21C52

Kernel version:
Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Kernel UUID: E32C293C-7D8B-327C-A335-6AAD250A4881
KernelCache slide: 0x0000000016400000
KernelCache base: 0xffffff8016600000
Kernel slide: 0x0000000016410000
Kernel text base: 0xffffff8016610000
__HIB text base: 0xffffff8016500000
System model name: MacBookPro13,1 (Mac-473D31EABEB93F9B)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 25535956513037
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000017398d9df9d8
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000aa213c232 0x0000000000000000
Zone info:
Foreign : 0xffffff802e899000 - 0xffffff802e8a6000
Native : 0xffffff803b053000 - 0xffffffa03b053000
Readonly : 0xffffff8507d1f000 - 0xffffff86a16b3000
Metadata : 0xffffffd9d7629000 - 0xffffffd9f76f1000
Bitmaps : 0xffffffd9f76f1000 - 0xffffffd9fa6f1000
 
If you have the same motherboard as me, you may want to add below in your DeviceProperties Add section
Finally gave it a shot, and it worked!! Very excited to have my onboard sound back. Thank you so much!!!!!

Now if I could just figure out which layout (or something) to use so I could get headphones _and_ microphone on the front audio jack of my NZXT H210, I'd be in heaven :)
 
Update: today I decided to disable the integrated GPU to get lossless audio working in Apple Music, and that seem to have fixed the freezing issues! I no longer need to have "caffeinate -d" running to stop the computer from freezing.
 
Status
Not open for further replies.
Back
Top