• Become a Premium Member for $25/year with no ads to improve your community experience.

SOLVED Graphical glitches and panics when using Firefox

Kernel

Member
Joined
Oct 30, 2020
Messages
151
Motherboard
Dell G15 5510
CPU
Intel Core i7-10870H
Graphics
Intel UHD Graphics 630
OS X/macOS
14.x
Bootloader
  1. OpenCore (UEFI)
Mobile Phone
  1. iOS
Hello!

I have a problem with my Hackintosh: When I open Firefox (possibly some other apps, but I didn't observe that yet), sometimes it completely glitches out like on the attached picture. It seems like it can't decide where some images belong (like the EliteMacx86 logos on the tab bar). The glitch changes constantly if I start moving my mouse. Sometimes the OS starts lagging or even panics (usually page fault, sometimes it says invalid frame pointer). I've attached some panic logs in the PR file.

This usually happens when I open it, but sometimes just randomly. Last time it happened randomly, my keyboard and USB mouse got disabled, but the trackpad kept working. I don't know if this is related. 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 Firefox window.

Oh and this only happens after a full shutdown and boot (but even then, not always), and rarely, if ever after a restart.

I've tried some things to fix it, like removing these lines from the PciRoot(0x0)/Pci(0x2,0x0) DeviceProperties entry:
framebuffer-patch-enable01000000
framebuffer-stolenmem00003001
ramebuffer-fbmem00009000
force-online01000000
enable-hdmi2001000000

After removing these the system kept working as usual, including this problem.

iGPU is Comet Lake UHD 630, laptop display is 1920x1080@120Hz. I first noticed this with macOS 14.3 (I think), now I'm on 14.6 (OTA update from a clean install of 14.5, where I also had this problem). I've attached my PR files. I removed two kexts from the upload: AirportItlwm and IntelBluetoothFirmware, as they made the PR zip too big to upload.

glitch2.png
 

Attachments

Hello!

I have a problem with my Hackintosh: When I open Firefox (possibly some other apps, but I didn't observe that yet), sometimes it completely glitches out like on the attached picture. It seems like it can't decide where some images belong (like the EliteMacx86 logos on the tab bar). The glitch changes constantly if I start moving my mouse. Sometimes the OS starts lagging or even panics (usually page fault, sometimes it says invalid frame pointer). I've attached some panic logs in the PR file.

This usually happens when I open it, but sometimes just randomly. Last time it happened randomly, my keyboard and USB mouse got disabled, but the trackpad kept working. I don't know if this is related. 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 Firefox window.

Oh and this only happens after a full shutdown and boot (but even then, not always), and rarely, if ever after a restart.

I've tried some things to fix it, like removing these lines from the PciRoot(0x0)/Pci(0x2,0x0) DeviceProperties entry:
framebuffer-patch-enable01000000
framebuffer-stolenmem00003001
ramebuffer-fbmem00009000
force-online01000000
enable-hdmi2001000000

After removing these the system kept working as usual, including this problem.

iGPU is Comet Lake UHD 630, laptop display is 1920x1080@120Hz. I first noticed this with macOS 14.3 (I think), now I'm on 14.6 (OTA update from a clean install of 14.5, where I also had this problem). I've attached my PR files. I removed two kexts from the upload: AirportItlwm and IntelBluetoothFirmware, as they made the PR zip too big to upload.

View attachment 8125
Is it only with the Firefox and not the other browsers?
 
Is it only with the Firefox and not the other browsers?
I checked, and it happens with other apps too. Safari doesn't do it. But Discord does. It said "S arting" instead of Starting, and server icons were glitched. Attached pictures.

Since Discord is an Electron app, which uses Chromium, I'd say Chrome does this too. I can't test since I don't use Chrome.

Minecraft did it too. The launcher was glitching like Firefox, and it panicked without even having a chance to enter the actual game. Attached the panic log too. I think it has something to do with hardware accelerated apps.

Also, every panic has a random system process as the panicked task. Like sometimes it's coreauthd, sometimes kernel_task, sometimes a different process. The Minecraft panic said Panicked task 0xffffffa3deafa9d8: 4 threads: pid 371: com.apple.AppleU.
 

Attachments

  • Screenshot 2024-08-09 at 19.24.31.png
    Screenshot 2024-08-09 at 19.24.31.png
    59.7 KB · Views: 2
  • Screenshot 2024-08-09 at 19.24.43.png
    Screenshot 2024-08-09 at 19.24.43.png
    79.5 KB · Views: 2
  • panic.txt
    panic.txt
    6.9 KB · Views: 0
I enabled Apple GuC firmware and RPS control patch using this guide. The glitches and panics are sadly still here, so this was not the fix. But the iGPU performace really did improve. Like double of the previous performance.
 
I checked, and it happens with other apps too. Safari doesn't do it. But Discord does. It said "S arting" instead of Starting, and server icons were glitched. Attached pictures.

Since Discord is an Electron app, which uses Chromium, I'd say Chrome does this too. I can't test since I don't use Chrome.

Minecraft did it too. The launcher was glitching like Firefox, and it panicked without even having a chance to enter the actual game. Attached the panic log too. I think it has something to do with hardware accelerated apps.

Also, every panic has a random system process as the panicked task. Like sometimes it's coreauthd, sometimes kernel_task, sometimes a different process. The Minecraft panic said Panicked task 0xffffffa3deafa9d8: 4 threads: pid 371: com.apple.AppleU.
Is your RAM good?

Also, how about other OS? Does it work well?
 
I enabled Apple GuC firmware and RPS control patch using this guide. The glitches and panics are sadly still here, so this was not the fix. But the iGPU performace really did improve. Like double of the previous performance.
Yes, it improves the performance.
 
Is your RAM good?

Also, how about other OS? Does it work well?
Windows and Linux both work perfectly, but they probably use the dGPU for more heavy acceleration (but I doubt firefox is that heavy). macOS also runs perfectly when it isn't acting up (mostly after a restart), and can take a stress test on both the cpu computing and the iGPU.

I'll run a memtest soon, and I'll report as soon as I get a result.
 
Windows and Linux both work perfectly, but they probably use the dGPU for more heavy acceleration (but I doubt firefox is that heavy).
Yup. Firefox runs perfectly and it uses the intel gpu
 
Seems like its time to re-do the EFI from scratch and maybe a clean install as well. What macOS version are you running currently?

Also, what's the NVMe (boot disk)?
 

Trending content

Forum statistics

Threads
1,760
Messages
16,582
Members
25,419
Latest member
moishiteru2