Open khronokernel opened 3 months ago
An experimental script has been developed to force the OpenGL renderer on Chrome and Chromium-based software such as Electron (includes software like Discord).
electron_patcher.py
script (gist.github: electron_patcher.py)Open Terminal and run the following (adjust electron_patcher.py
to where it exists, ex. ~/Downloads/electron_patcher.py
:
python3 electron_patcher.py
An issue has been identified impacting Chrome 125+ and some Electron based applications (e.g. Discord) on AMD GCN 1.0 based GPUs, running Ventura or newer.
Issue occurs with heavy UI glitching and/or complete freezing. Latest versions of other major Chromium based browsers have so far been tested working, however it is not out of the question that the issue may occur on them later. Additionally, this issue may manifest on Electron applications as being unable to interact with the UI.
The issue is under investigation, however no ETAs for a fix can be provided. You may use the workarounds listed below.
Following hardware is impacted:
Issue manifests as follows:
Semi-automated workaround:
Patches Chrome and all Electron apps
Manual workarounds:
These have to be made per-app.
Type the following into Terminal to launch Chrome in OpenGL rendering mode:
After you've launched it and it is no longer glitching, you can navigate to
chrome://flags/#use-angle
and switch it to "OpenGL" to make OpenGL a permanent rendering backend.Other options:
Electron apps:
Since Discord and other Electron based applications may not support setting flags, you may want to create an Automator app to launch them. Create a shell script in Automator with the proper path (in this case Discord), then save the app and use the icon you created to launch it.
Thank you to @Jazzzny and @ParaDoX1994 for detailing this report and work-arounds.