Comments (9)
The upgrade to Sonoma went great using the "Install macOS Sonoma" app to upgrade my Monterey install, no problems at all, and I can confirm that hibernate works in Sonoma as well!
from surface-go-2-opencore.
Howdy @lazd,
Thanks for your detailed explanation to get hibernation working.
In config.plist, Misc -> Boot -> HibernateMode = NVRAM
In config.plist, Misc -> Boot -> HibernateSkipsPicker = true
These changes made a big difference on my SGO2, as now the device at least wakes up. Then it skips the OC picker, shows a black screen for a few seconds, then the lower part of the display gets garbled and a few seconds later, the mouse cursor appears somewhere on the upper half of the screen and the Type Cover reacts to pressing the Fn
key. But it never fully wakes up, it stays in this state, with the Type Cover seemingly connecting and disconnecting intermittently, as the keys' backlight goes on and off every few seconds.
Now I tried to reboot without the SD card inserted, disabling the DisableBDPROCHOT driver and a few other things, to no avail. Funny enough, the garbled part of the screen always looks exactly the same.
Please confirm that you're using the config_hard.plist with the modified UEFI options on your setup and please check which firmware is on your SGO2. Mine unfortunately updated to 1.0.27 a few weeks ago while rebooting into Windows before me noticing it. Maybe I need to downgrade the firmware on my device.
from surface-go-2-opencore.
As Hibernate is still not working for me after merging PR #4 and resetting the NVRAM, I'll reopen this issue.
from surface-go-2-opencore.
Very interesting, it sounds like it's actually working -- my screen shows garbled video (rectangular sections tiled across the whole screen), then bam, I'm exactly where I left off. Perhaps it's getting stuck for some reason, can you verify you ran the command above with the functions I defined?
I am using config-easy.plist
, I have enabled DisablePROCHOT.efi
, I'll get my firmware version shortly, but I boot into Windows all the time, so if you got an update, I probably did too.
from surface-go-2-opencore.
Here's my config.plist
config.plist.txt
And here's the output of sudo pmset -g
System-wide power settings:
SleepDisabled 0
Currently in use:
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
proximitywake 0
powernap 0
gpuswitch 2
disksleep 10
standbydelayhigh 86400
sleep 1 (sleep prevented by sharingd)
hibernatemode 25
ttyskeepawake 1
displaysleep 2
tcpkeepalive 1
highstandbythreshold 50
lowpowermode 1
standbydelaylow 10800
from surface-go-2-opencore.
Here's my BIOS information:
- System UEFI 1.0.23
- Intel Management Engine 11.8.92.4222
- System embeded controller 1.0.4.0
- Touch firmware 2D91.6426.0000.2000
from surface-go-2-opencore.
After checkout out the man page and looking at the scripts, I believe this is all that's needed to enable hibernate:
sudo pmset restoredefaults
sudo pmset -a hibernatemode 25
from surface-go-2-opencore.
Here's what my Surface looks like when waking up from hibernate. Sometimes it takes longer, sometimes it doesn't flicker garbled video, sometimes it doesn't flash a clean image before flicking garbled video.
tiny2.mov
from surface-go-2-opencore.
@lazd , I found the issue!
For Hibernate mode to work reliably, the framebuffer patches in config_easy.plist are required, as well as the AppleCpuPmCfgLock, AppleXcpmCfgLock and DisableIoMapper quirks in the Kernel quirks.
I replaced the config_hard.plist and config_easy.plist with one single config.plist, which makes it easier to maintain the repo as well.
In consequence, I removed RU.exe from the Tools and removed the UEFI hacks section in the readme.
As Hibernate works reliably now, I think we can close this issue.
from surface-go-2-opencore.
Related Issues (10)
- Hibernation results in instant wake if Surface Type Cover is connected HOT 20
- Trackpad and keyboard not working on Monterey on Go 2 HOT 5
- Surface pen doesn't work HOT 6
- iMessage broken after updating to Sonoma HOT 4
- UEFI BIOS hacks detailed instructions HOT 2
- Power management/battery life issues HOT 5
- FYI The Capslock key lights up correctly when enabled HOT 1
- USB Type-C to HDMI/DP doesn't seem to work HOT 3
- Add display rotation instructions to README HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surface-go-2-opencore.