wjz304 / Hackintosh-EFI-MSI-Z490i-Unify

🖥 MEG Z490I UNIFY + i7-10700K + Radeon RX 5700 XT
MIT License
188 stars 39 forks source link

睡眠唤醒问题 #40

Closed maoxikun closed 2 years ago

maoxikun commented 2 years ago

请问睡眠唤醒之后过一会会自动关机是什么原因啊。

wjz304 commented 2 years ago

软硬件环境描述一下,另外是否设置了 hibernatemode 和 proximitywake ?

maoxikun commented 2 years ago

MSI Z490I+10850K+RX6600+macos12.5,没设置hibernatemode 和 proximitywake。

image
wjz304 commented 2 years ago

设置一下 试试吧

wjz304 commented 2 years ago

睡眠确实还是有问题

maoxikun commented 2 years ago

正常睡正常醒,不确定是不是睡眠导致的关机,我先设置下试试。

wjz304 commented 2 years ago

可以在控制台里找下关机事件

maoxikun commented 2 years ago

刚把日志清了,等复现再看看。

maoxikun commented 2 years ago

可以在控制台里找下关机事件

又出现这个问题了,last|grep -E "reboot|shutdown"看到的是reboot不是关机(事实上是断电关机了),关机事件咋看啊,只看到系统日志 Aug 11 18:31:08 iMac syslogd[132]: ASL Sender Statistics Aug 11 18:32:56 localhost bootlog[0]: BOOT_TIME 1660213976 0 Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.cdscheduler" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.install" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.authd" sharing output destination "/var/log/asl" with ASL Module "com.apple.asl". Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd". Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl". Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd". Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.authd" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.eventmonitor" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.mail" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.performance" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.iokit.power" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.contacts.ContactsAutocomplete" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.mkb" sharing output destination "/private/var/log/keybagd.log" with ASL Module "com.apple.mkb.internal". Output parameters from ASL Module "com.apple.mkb.internal" override any specified in ASL Module "com.apple.mkb". Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.mkb" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost syslogd[132]: Configuration Notice: ASL Module "com.apple.MessageTracer" claims selected messages. Those messages may not appear in standard system log files or in the ASL database. Aug 11 18:32:57 localhost Installer Progress[129]: Progress UI App Starting Aug 11 18:32:57 localhost syslogd[132]: ASL Sender Statistics

wjz304 commented 2 years ago
image

看看这里

wjz304 commented 2 years ago
image

和这里

wjz304 commented 2 years ago

再看看 崩溃报告里有没有那个时间点的崩溃信息

maoxikun commented 2 years ago

再看看 崩溃报告里有没有那个时间点的崩溃信息

没崩溃信息

wjz304 commented 2 years ago

你取下 关机的那段时间的日志 看看

maoxikun commented 2 years ago

没看到那时间的日志,目前开启了booter下两个quirks:DevirtualiseMmio和ProtectUefiServices,暂时没有出现睡眠唤醒关机的情况了。

wjz304 commented 2 years ago

https://oc.skk.moe/12-troubleshooting.html#:~:text=9.%20%E6%88%91%E5%BA%94%E8%AF%A5,Quirk%20%E7%9A%84%E6%8F%8F%E8%BF%B0%E3%80%82

wjz304 commented 2 years ago

测试了一下,虽然我不改没有出现类似的问题,但是改了应该会好点,已投到线上。

lunasaw commented 1 year ago

image 我也遇到了同样的问题 ,并且我尝试将休眠模式改为传统模式 image 并没有得到解决,日志 image

maoxikun commented 1 year ago

image 我也遇到了同样的问题 ,并且我尝试将休眠模式改为传统模式 image 并没有得到解决,日志 image

把cpu和内存超频啥的关了试试