Comments (56)
After evaluation, I do not recommend using this hack kext because it just lowers the OpenGL version, which works around some dysfunctional OGL extensions. Do not ask for help or report its use here. On some systems or apps it even causes the hardware acceleration (of apps) to be completely disabled. The goal of this issue is to track progress finding and resolving the underlying issue, not working around it.
from nootedred.
New prediction available: No prediction available.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine.
As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that.
In case someone is gonna need that, I'd leave the link.
Just feel welcomed.
BFixup-master_20231206.zip
BFixup.kext_20231206.zip
@jalavoui
Thanks a lot to jalavoui.
Edited by me, Visual, to attach the following information that may be useful to future readers
This kext patches the dyld to force GLEngine to report a lower OpenGL version. This is not a proper fix and merely works around some specific broken OGL extensions. I do not recommend using it.
from nootedred.
Also I found that in AMDRadeonX5000GLDriver
, function _gfx9_HwInfoInitData
and _amdUbm_HWL_Init
, that the device family is hardcoded instead of being read from the accelerator.
from nootedred.
DOSBOX's OpenGL freezes the system immediately, looking into what triggers it since it's a fast and reliable crash.
Config field is output = surface | overlay | opengl | openglnb | ddraw
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
https://www.insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers/BFixup-master.zip
BFixup.kext.zip
The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine. As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that. In case someone is gonna need that, I'd leave the link. Just feel welcomed.
BFixup-master_20231206.zip BFixup.kext_20231206.zip
@jalavoui Thanks a lot to jalavoui.Not working for me here. The system fails to boot after I enabled BFixup.kext; it instantly reboots upon reaching the Apple logo. When I turn on verbose mode, the last line in the log states something like, 'AppleNVME Assert Failed (0 != Data),' followed by an immediate reboot. Whether using the provided Lilu.kext seems irrelevant. (5900HX, Ventura 13.5.1)
it works for me.
BFixup.kext needs to be placed before noodred.kext
from nootedred.
from nootedred.
@VisualEhrmanntraut Info: On My PC you need to start Minecraft 4 times before it works perfectly without any graphical glitch
from nootedred.
ANGLE is for WebGL. Nothing to do with Chrome itself glitching out.
from nootedred.
@DepsCian You can temporarily deal with the Firefox issue by disabling hardware acceleration.
https://support.mozilla.org/en-US/kb/performance-settings
( #165 was marked as a Duplicate, so I post it here. )
Firefox (and Blender) also freeze the system in my environment (5850U), but by removing this line and building the kext, the freeze no longer occured. ( Referenced from this build )
This hack does not resolve Chrome artifacts, but I would be grateful if this information could help developers.
from nootedred.
@DepsCian You can temporarily deal with the Firefox issue by disabling hardware acceleration. https://support.mozilla.org/en-US/kb/performance-settings ( #165 was marked as a Duplicate, so I post it here. )
Firefox (and Blender) also freeze the system in my environment (5850U), but by removing this line and building the kext, the freeze no longer occured. ( Referenced from this build )
This hack does not resolve Chrome artifacts, but I would be grateful if this information could help developers.
Disabling hardware acceleration causes lags when play youtube video. Safari good browser, but many extensions paid/not available.
from nootedred.
do you guys get a crash while scrolling this page up and down ?
https://tv.apple.com/
from nootedred.
from nootedred.
@b00t0x can you provide a web page where your code change helped avoid firefox crash ?
from nootedred.
@jalavoui Firefox causes system freeze not on the specific page but even on the settings window. (5850U + 12.6.8)
from nootedred.
Are there any settings in opencore that can temporarily disable GPU acceleration?
from nootedred.
@shenfu1991 You just disable the kext
from nootedred.
@b00t0x sorry to ear your firefox so crasy
anyway your code sugestion didint work for me and might break vcn decoding
the only "fix" that worked for me to avoid firefox scroll bug is comment this line in 5000
// {"__ZN29AMDRadeonX6000_AMDAccelShared11SurfaceCopyEPjyP12IOAccelEvent", wrapAccelSharedSurfaceCopy,
// this->orgAccelSharedSurfaceCopy, !catalina},
is just a workaround till something better comes up
i have this terrible link to check firefox crash
https://arstechnica.com/
you can get crash log if you use tor browser
so for me firefox only crashes on certain sites that use unsupported opengl calls
i'm happy with that for now
this is tor brwoser crash log
Thread 19 Crashed:: Renderer
0 libsystem_kernel.dylib 0x7ff8004bc202 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff8004f3ee6 pthread_kill + 263
2 libsystem_c.dylib 0x7ff80041ab45 abort + 123
3 libGPUSupportMercury.dylib 0x7ff91060c59f gpusGenerateCrashLog + 157
4 AMDRadeonX5000GLDriver 0x133d0642e gpusKillClientExt + 9
5 libGPUSupportMercury.dylib 0x7ff91060dae8 gpusSubmitDataBuffers + 499
6 AMDRadeonX5000GLDriver 0x133d42dc3 glrATI_Hwl_SubmitPacketsWithToken + 122
7 XUL 0x121bf587f 0x11ca0c000 + 85891199
8 XUL 0x121c3e8ea wr_renderer_render + 762
the kill command can be patched in kern_dyld with
static const uint8_t f[] = {0x41, 0xC6, 0x47, 0x4C, 0x02, 0x48, 0x8D, 0x05, 0x66, 0xA2, 0xA9, 0x32, 0x83, 0x38, 0x00, 0x75, 0x19};
static const uint8_t r[] = {0x41, 0xC6, 0x47, 0x4C, 0x02, 0x48, 0x8D, 0x05, 0x66, 0xA2, 0xA9, 0x32, 0x83, 0x38, 0x00, 0xeb, 0x19};
but all you will get is a broken firefox interface
there's also a possible issue with high ress lcds (>4k) that can be causing issues. i hope someone report this
from nootedred.
Talking about that workaround... I just realised something:
With the VTable wrap hack the team ex-member came up with, if the called function inside the wrap calls another virtual function in the this pointer, then the wrong function gets called
from nootedred.
hmmm maybe that bugs iosurface
from nootedred.
(The VTable hack has to do with HWAlignManager used inside it for calculations)
from nootedred.
@DepsCian You can temporarily deal with the Firefox issue by disabling hardware acceleration. https://support.mozilla.org/en-US/kb/performance-settings ( #165 was marked as a Duplicate, so I post it here. )
Firefox (and Blender) also freeze the system in my environment (5850U), but by removing this line and building the kext, the freeze no longer occured. ( Referenced from this build )
This hack does not resolve Chrome artifacts, but I would be grateful if this information could help developers.
The link no longer works, any link to download this artifact?
from nootedred.
@alvindimas05
Ways to make Firefox work:
- On termial:
cd ~/Library/Application\ Support/Firefox/Profiles/*.default-release/
- nano prefs.js
add this line:user_pref("layers.acceleration.disabled", true);
- Launch firefox:
- open: about:config
- search: webgl.disabled
- change to: true
- restart Firefox
from nootedred.
@alvindimas05 Ways to make Firefox work:
- On termial:
cd ~/Library/Application\ Support/Firefox/Profiles/*.default-release/
- nano prefs.js
add this line:user_pref("layers.acceleration.disabled", true);
- Launch firefox:
- open: about:config
- search: webgl.disabled
- change to: true
- restart Firefox
Sorry, but I need the OpenGL to run apps like Godot. Otherwise, I couldn't run it.
from nootedred.
@VisualEhrmanntraut Do you have any predictions if we can have any solution for chrome-based browsers natively in the future?
from nootedred.
@alvindimas05 Ways to make Firefox work:
- On termial:
cd ~/Library/Application\ Support/Firefox/Profiles/*.default-release/
- nano prefs.js
add this line:user_pref("layers.acceleration.disabled", true);
- Launch firefox:
- open: about:config
- search: webgl.disabled
- change to: true
- restart Firefox
Thanks, it's working
from nootedred.
Chrome seems to die due to a command sent by libGLES2. Relevant log attached. (This is an Electron app, therefore uses Chromium)
YouTube_Music_Helper_GPU_2023-10-28-113038_MacBook-Pro.crash.txt
from nootedred.
It seems that this issue doesn't occur if I don't increase vram to 2 gb. I was using Hackintosh with 512mb vram (default for my laptop) since the last 2 weeks and although the UI would slow down, there were never any artifacts in chromium based browsers (edge) and system never crashed either.
There were a lot of errors in kernel log about amd driver failing to allocate more vram (512mb). But the system worked fine.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
rather move this topic there
ty all
Edited by me, Visual, to attach the following information that may be useful to future readers
This kext patches the dyld to force GLEngine to report a lower OpenGL version. This is not a proper fix and merely works around some specific broken OGL extensions. I do not recommend using it.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers
Do what ? Increase vram size ?
Edited by me, Visual, to attach the following information that may be useful to future readers
This kext patches the dyld to force GLEngine to report a lower OpenGL version. This is not a proper fix and merely works around some specific broken OGL extensions. I do not recommend using it.
from nootedred.
with 512m vram if you open chrome://gpu acceleration is disabled so you need to increase vram for it to work. i use 2g
thanks a lot for the kext, would you mind sharing the sources for it?
and, with this enabled do you know more or less what apps are still having issues? can't try it myself yet but thank you for sharing.
Edited by me, Visual, to attach the following information that may be useful to future readers
This kext patches the dyld to force GLEngine to report a lower OpenGL version. This is not a proper fix and merely works around some specific broken OGL extensions. I do not recommend using it.
from nootedred.
from nootedred.
No @jalavoui it's not matching at all is what I'm showing
from nootedred.
Also, what file are you targeting? I looked at MTLDriver, Shared and MtlBronzeDriver and didn't find any match. I'm trying to understand what your kext is doing
from nootedred.
Your patch matches against GLEngine, correct? @jalavoui It appears my command has some kind of issue
from nootedred.
Yes, dunno why it doesn't work. Sorry about that. I've opened up GLEngine and see what you are patching. Is this changing the supported GL version, or is this for the supported GL extensions?
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
https://www.insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers/The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine. As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that. In case someone is gonna need that, I'd leave the link. Just feel welcomed.
BFixup-master_20231206.zip BFixup.kext_20231206.zip
@jalavoui Thanks a lot to jalavoui.
Not working for me here. The system fails to boot after I enabled BFixup.kext; it instantly reboots upon reaching the Apple logo. When I turn on verbose mode, the last line in the log states something like, 'AppleNVME Assert Failed (0 != Data),' followed by an immediate reboot.
Whether using the provided Lilu.kext seems irrelevant. (5900HX, Ventura 13.5.1)
Edit: Seems kext conflict happened here. Fixed by modifying the load order in config.plist. Moving BFixup.kext to make it higher than NVMEFix.kext (Not sure if this is the conflicting one) seems doing the trick.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
https://www.insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers/BFixup-master.zip
BFixup.kext.zip
The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine. As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that. In case someone is gonna need that, I'd leave the link. Just feel welcomed.
BFixup-master_20231206.zip BFixup.kext_20231206.zip
@jalavoui Thanks a lot to jalavoui.Not working for me here. The system fails to boot after I enabled BFixup.kext; it instantly reboots upon reaching the Apple logo. When I turn on verbose mode, the last line in the log states something like, 'AppleNVME Assert Failed (0 != Data),' followed by an immediate reboot. Whether using the provided Lilu.kext seems irrelevant. (5900HX, Ventura 13.5.1)
it worked for me (r7 5800H, sonoma 14.1.2) Lilu.kext must load before BFixup.kext. it is a lilu plugin. league of legends client, Microsoft edge working perfectly fine no freeze. OBS error: "Failed to initialize video: Required graphics API functionality not found. Your GPU may not be supported".
from nootedred.
I put the head 3 kext in config.plist:
Lilu-BFixup.kext from BFixup-master.zip
BFixup-20231206.kext from BFixup.kext_20231206.zip
NootedRed from latest version
before Kitty can work, but now Kitty and Alacritty report:
kitty
[342 21:46:55.749195] Could not find included config file:, ignoring
[342 21:46:56.022771] [glfw error 65543]: Requested OpenGL version 3.3, got version 3.2
[342 21:46:56.030251] [glfw error 65543]: Requested OpenGL version 3.3, got version 3.2
[342 21:46:56.030704] Failed to create GLFW temp window! This usually happens because of old/broken OpenGL drivers. kitty requires working OpenGL 3.3 drivers.
--------------------------------------------------------------------------------
alacritty -v
Created log file at "/var/folders/qz/5m09dzvd1h9f6d6ltqv_s3m80000gn/T/Alacritty-1063.log"
[0.000008316s] [INFO ] [alacritty] Welcome to Alacritty
[0.000329057s] [INFO ] [alacritty] Version 0.12.3 (5efb069)
[0.001337646s] [INFO ] [alacritty] Configuration files loaded from:
[0.028916162s] [INFO ] [alacritty] Using Apple CGL
[0.068270923s] [INFO ] [alacritty] Window scale factor: 2
[0.090793445s] [INFO ] [alacritty] Running on AMD Radeon Graphics OpenGL Engine
[0.090853377s] [INFO ] [alacritty] Using OpenGL ES 2.0 renderer
[0.090904233s] [INFO ] [alacritty] Using dual source blending
Error: There was an error initializing the shaders: Failed compiling shader: ERROR: 0:5: '' : extension 'GL_EXT_blend_func_extended' is not supported
[0.097321657s] [INFO ] [alacritty] Goodbye
Deleted log file at "/var/folders/qz/5m09dzvd1h9f6d6ltqv_s3m80000gn/T/Alacritty-1063.log"
Error: "Event loop terminated with code: 1"
from nootedred.
So it does actually lower the GL version
from nootedred.
i doubt Alacritty will work anyway maybe can you try build Kitty and hack gl.c to something like int gl_minor = GLAD_VERSION_MINOR(gl_version)+1;
yes VisualEhrmanntraut i posted the picture above no crashing chrome shows this
i mod the patch to 3.3 to make alacrity happy but it just crashes because (i think) os x just refuses to enable the needed extensions that's why i check and let it stay at 3.2 as most apps are happy with it
Thanks for your tips, I use WezTerm as alternative in short time.
Will try build Kitty in future.
from nootedred.
I personally use Warp. It is a modern terminal written in Rust, and uses Metal. Here's my referral link: https://app.warp.dev/referral/2KENNM. #NotSponsoredLol
from nootedred.
Let me try warp.
Edited by me, Visual, to attach the following information that may be useful to future readers
from nootedred.
@VisualEhrmanntraut bro logs in into his terminal using google
from nootedred.
building https://sourceforge.net/projects/glew/
static void _glewInfo_GL_ARB_blend_func_extended (void) { glewPrintExt("GL_ARB_blend_func_extended", GLEW_ARB_blend_func_extended, glewIsSupported("GL_ARB_blend_func_extended"), glewGetExtension("GL_ARB_blend_func_extended"));
glewInfoFunc("glBindFragDataLocationIndexed", glBindFragDataLocationIndexed == NULL); glewInfoFunc("glGetFragDataIndex", glGetFragDataIndex == NULL); }
GL_ARB_blend_func_extended: OK [MISSING]
glBindFragDataLocationIndexed: OK glGetFragDataIndex: OK
getting same info with default 4.1 profille
GL_EXT_blend_func_extended: MISSING
glBindFragDataLocationIndexedEXT: MISSING glGetFragDataIndexEXT: MISSING glGetProgramResourceLocationIndexEXT: MISSING
this is macosx made in china opengl
Agree with you. Chromium 1114220 works flawlessly, but 1114242 import this extension and cause a glitch.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
https://www.insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers/The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine. As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that. In case someone is gonna need that, I'd leave the link. Just feel welcomed.
BFixup-master_20231206.zip BFixup.kext_20231206.zip
@jalavoui Thanks a lot to jalavoui.
from nootedred.
if you do that you lose acceleration - check chrome gpu settings chrome://gpu
i'm using a kext to fix this opengl issues
https://www.insanelymac.com/forum/topic/358160-howto-avoid-opengl-crash-and-speed-up-chrome-ms-edge-browsers/BFixup-master.zip
BFixup.kext.zip
The kext did fix this problem.
Just use that BFixup.kext and the Lilu.kext provided in BFixup-master.zip.
Then, you will find Chome/Edge or any other Chromium-based browsers works fine. As well as vscode, etc.
Guess nootedred just can take this kext in its source code.
I've got some suggestions on Hackintosh/Ryzentosh, especially for problems with trackpad or things like that. In case someone is gonna need that, I'd leave the link. Just feel welcomed.
BFixup-master_20231206.zip BFixup.kext_20231206.zip
@jalavoui Thanks a lot to jalavoui.Not working for me here. The system fails to boot after I enabled BFixup.kext; it instantly reboots upon reaching the Apple logo. When I turn on verbose mode, the last line in the log states something like, 'AppleNVME Assert Failed (0 != Data),' followed by an immediate reboot. Whether using the provided Lilu.kext seems irrelevant. (5900HX, Ventura 13.5.1)
Hello same issue here.
AMD Ryzen 7 4800H with Sonoma.
As soon I see the apple logo it restarts immediately
from nootedred.
building https://sourceforge.net/projects/glew/
static void _glewInfo_GL_ARB_blend_func_extended (void)
{
glewPrintExt("GL_ARB_blend_func_extended", GLEW_ARB_blend_func_extended, glewIsSupported("GL_ARB_blend_func_extended"), glewGetExtension("GL_ARB_blend_func_extended"));
glewInfoFunc("glBindFragDataLocationIndexed", glBindFragDataLocationIndexed == NULL);
glewInfoFunc("glGetFragDataIndex", glGetFragDataIndex == NULL);
}
GL_ARB_blend_func_extended: OK [MISSING]
glBindFragDataLocationIndexed: OK
glGetFragDataIndex: OK
getting same info with default 4.1 profille
GL_EXT_blend_func_extended: MISSING
glBindFragDataLocationIndexedEXT: MISSING
glGetFragDataIndexEXT: MISSING
glGetProgramResourceLocationIndexEXT: MISSING
this is macosx made in china opengl
from nootedred.
How to delete him completely?
from nootedred.
Just remove that kext from OC… lol
from nootedred.
It doesn't seem to work
from nootedred.
Have to reinstall the system? That would be a pain in the ass
from nootedred.
is there any solution?
from nootedred.
Any solution for what? OpenGL? Not yet, I do not have the time to invest in this right now. However I can tell you that there is an update coming soon, that may or may not help with various issues.
from nootedred.
Is Vulkan working/even thought about right now?
from nootedred.
@RealCalumPlays macOS does not have that. If you mean MoltenVK, that uses Metal under the hood
from nootedred.
Related Issues (20)
- Wake transition timed out after 180 seconds while calling power state change callbacks. Suspected bundle: com.apple.iokit.IOGraphicsFamily. Thread 0x1308a HOT 7
- Enabling nootedred prevents me from entering the system HOT 4
- Minority of apps on Big Sur and newer have an SDMA crash HOT 7
- Login screen need wait long time about 30+ secs when boot after version NootedRed-ci1052-20231021-d8d7cd1 HOT 9
- Bootloop on macOS 14 Sonoma HOT 14
- Catalina result in black screen HOT 4
- Just stops at the loading screen HOT 7
- Problem on CrossOver and PlayOnmac , crash when starting games, but generaly in programs doesnt use render 3d work HOT 2
- Erratic colours on 5700G + Big Sur HOT 1
- Display blur and crash with terminal application "alacritty" HOT 14
- All application windows cannot be rendered properly after increased iGPU vRAM to 1g/2g HOT 11
- Graphics green and purple HOT 1
- Laptop freezes and restarts quickly within 10 seconds after booting HOT 6
- Internal display not working only HDMI output HOT 7
- Cannot wake screen from sleep HOT 3
- picasso reset hang HOT 4
- Opening Balena Etcher hangs the whole system for 1 minute HOT 2
- black screen and kernel panics HOT 1
- Black screen after a long sleep, but the system works HOT 3
- Bootloop on Sonoma HOT 10
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 nootedred.