midi1996 / X2G2-opencore-hackintosh

OpenCore guide and resources for HP Elite X2 1012 G2 tablet.
22 stars 3 forks source link

Video Decoding breaks after sleep/wake #8

Open frickingphil opened 3 years ago

frickingphil commented 3 years ago

Hi! First off, thank you so much for your well-written guide, it was awesome to be able to follow a guide and have the thing boot and install Big Sur on my first try.

I'm running Big Sur 11.1, and pretty much everything works as in the guide, the only bug I've noticed so far is unsurprisingly with sleep.

Sleeping (from the Apple Menu, at least) actually works fine for me and the machine stays asleep, however once it's woken up again, seemingly everything that relies on VideoToolbox breaks. YouTube in Safari, QuickTime Player, etc. all hang the moment they try to play a video.

This is fixed by a reboot, and it's not related to the display being powered down (as my hot corner for it doesn't trigger the bug).

Any ideas where to look? I can provide logs or anything else you need.

midi1996 commented 3 years ago

Weird! I never had any of this, did you touch anything for the iGPU section in DeviceProperties?

frickingphil commented 3 years ago

Nope, it's exactly as it was in oc-additions.plist.

midi1996 commented 3 years ago

Try removing all those intel related patches, leave it empty, don't plug any external display and try again.

frickingphil commented 3 years ago

Okay, I completely removed the PciRoot(0)/Pci(0x02,0) section (left the other one untouched as it’s for audio). The only iGPU-related thing I have anywhere else is “-disablegfxfirmware” in boot args, otherwise it doesn’t boot.

Still the same issue.