Graphical glitches and panics when using Firefox

Hello!

I have a problem with my Hackintosh: When I open some apps (mainly Firefox, Minecraft, and some more), sometimes it completely glitches out like this. The glitch changes constantly if I start moving my mouse. Sometimes the OS starts lagging or even panics (usually page fault, sometimes general protection and sometimes it says invalid frame pointer).

This usually happens when I open it, but sometimes just randomly. Sometimes my keyboard and USB mouse got disabled, but the trackpad (I2C) kept working. Usually it can be solved by closing the window (but not the whole app - that doesn't fix it) and reopening it, but sometimes I don't even have the chance to do so because it panics without even showing the app window.

Oh and this only happens after a full shutdown and boot (but even then, not always), and rarely after a macOS restart. If I restart from Windows (and possibly Linux) it happens.

I've tried some things to fix it, like removing these lines from the PciRoot(0x0)/Pci(0x2,0x0) DeviceProperties entry (as I have 64mb DVMT pre-alloc):

framebuffer-patch-enable: 01000000
framebuffer-stolenmem: 00003001
framebuffer-fbmem: 00009000
force-online: 01000000

After removing these the system kept running like usual, including this problem.

I also set enable-dbuf-early-optimizer to 01000000 in deviceproperties, which did not solve the problem.

Apple GPU firmware is enabled (Apple GuC, igfxfw=2), and the rps control patch is also enabled. But when these weren't enabled the problem was also present, I only use this to boost performance and fix DRM.

Laptop: Dell G15 5510
iGPU: Comet Lake UHD 630
Laptop display: 1920x1080@120Hz
CPU: Intel Core i7-10870H

I first noticed this with macOS 14.3 (I think), now I'm on 14.6.1 (OTA update from a clean install of 14.5, where I also had this problem).

RAM doesn't have problems, and this only happens in macOS. Not in Windows or Linux.

Here is a zip file containing some panic logs, pictures about the glitch, my ACPI, some system information and my EFI: https://drive.google.com/file/d/1i6-M7D38puhv_CzanL-VNG-t7PeeRcDI/view?usp=sharing

submitted by /u/MinecraftW06
[link] [comments]