BrowserGaming.com

Guides

WebGL not working in Chrome, Firefox, Edge or Safari? How to fix it

WebGL is on by default in every current browser, so there is rarely anything to enable. See whether your browser can start WebGL right now, then fix the setting, driver or privacy mode that switched it off.

Written
Updated
Last checked
Reading time
17 min
Sources
44

Can your browser start a 3D game?

Tested in your browser

This page asked your browser for WebGL

Not tested yet

  • WebGL 2: not tested yet
  • WebGL 1: not tested yet
  • WebGPU: not tested yet

This box asks your browser for WebGL 2, WebGL 1 and WebGPU, the same requests a 3D game makes when it starts, and shows which ones the browser granted. If it stays empty, JavaScript is switched off.

Fixes by browser: Chrome, Edge, Brave and Opera GX, Firefox, Safari, iPhone and iPad.

Tested on your device when the page loaded. Nothing is sent anywhere. “Working” means your browser granted the request, not that every game will run well. Safari and Firefox report a general name, not the exact graphics card, and privacy settings can replace the name altogether.

WebGL is switched on from the start in Chrome, Edge, Firefox and Safari, and none of them has a WebGL switch in its settings. So when a game says your browser does not support WebGL, there is nothing by that name to enable. Something has taken the browser’s graphics away. In Chrome and Edge, check one setting first: open chrome://settings/system (in Edge, edge://settings/system), turn on Use graphics acceleration when available, and select Relaunch.

The box at the top of this page asks your browser for WebGL right now and shows what it answered.

This matters more than it used to. Until 2025, a Chrome that could not use the graphics card drew 3D games with the main processor, slowly. Chrome on a Mac or on Linux no longer does that, so the game does not start at all. We tested it: with that one setting off, none of the 15 games in our index could draw anything.

Check whether WebGL is working

The box at the top makes the same three requests a 3D game makes when it starts: WebGL 2, the older WebGL 1, and the newer WebGPU. Most 3D browser games need the first one. If your browser refuses and gives a reason, the box shows it, and the list of error messages below says what each reason means.

Chrome, Edge and Firefox also have a status page of their own. Type the address into the address bar.

Browser Address What to read
Chrome chrome://gpu The WebGL line under “Graphics Feature Status”
Edge edge://gpu The same line. Microsoft’s own advice is to read this page
Firefox about:support Under Graphics, “WebGL 1 Driver Renderer” and “WebGL 2 Driver Renderer”
Safari None Use the box at the top of this page

Chrome’s page uses a fixed set of phrases for the WebGL line:

  • Hardware accelerated. WebGL works and the graphics card is drawing it.
  • Hardware accelerated but at reduced performance. WebGL is on the graphics card but the rest of the page is not, which slows every frame.
  • Software only, hardware acceleration unavailable. The main processor is doing the drawing. A game will start and run far too slowly. Chrome’s documentation says of the same wording on the WebGPU line that you may need to update your graphics driver.
  • Disabled. WebGL is off. This is what we saw with graphics acceleration switched off in Chrome’s settings.
  • Unavailable. Chrome has refused to use this graphics card or its driver. The reason is listed lower on the same page, under “Problems Detected”.

How to enable WebGL in Chrome

Chrome has no setting named WebGL. The switch that takes WebGL away is the one for graphics acceleration, which older guides call hardware acceleration. It is on unless someone turned it off.

  1. Type chrome://settings/system into the address bar.
  2. Turn on Use graphics acceleration when available.
  3. Select Relaunch. The change only takes effect when Chrome starts again.
  4. Come back to this page and read the box at the top.

We tested what that switch does, in Chrome 157 on a Mac. With it off, chrome://gpu read “WebGL: Disabled” and “WebGPU: Disabled”, and Chrome refused every request for either one. We then opened all 15 games in our index. Fourteen asked for WebGL or WebGPU and were refused, and the fifteenth never finished loading. With the switch back on, all 15 got what they asked for.

A Chromebook has no such switch, and Chrome’s code treats graphics acceleration as required on Chromebooks and on Android.

There is no flag to turn on either. Some guides send you to chrome://flags to enable WebGL or “WebGL 2.0”. The list of flags in Chrome 158 has two with WebGL in their names, “WebGL Draft Extensions” and “WebGL Developer Extensions”. Both add experimental features to a WebGL that already works. Neither switches WebGL on.

Chrome no longer draws 3D with the processor

For years Chrome had a safety net. When it could not use the graphics card, it drew WebGL with the main processor, through a program called SwiftShader. Games started and ran slowly.

Chrome’s engineers removed that. One of them wrote in January 2026 that the change had reached every user on Chrome 141 and later by about November 19, 2025. Chromium’s own document gives two reasons: drawing in software was a security risk, and it gave people a poor experience that they had no control over and could not easily describe in a bug report.

What is left depends on your computer:

  • On a Mac or on Linux there is no software drawing. Without the graphics card, a 3D game does not start.
  • On Windows Chrome keeps one fallback, a software renderer that is part of Windows. The same engineer wrote that software WebGL on Windows remains important to them. So on Windows a game may start and crawl. The box at the top should then read “WebGL is working, slowly”.
  • After a crash there is no fallback on any system. Chrome used to switch to software drawing when its graphics kept crashing, and that is now off.

The lines of Chrome’s code this rests on are the same in version 157, which we tested, and in version 158, the current one when we checked.

If WebGL still does not work in Chrome

The setting is on and the box still says WebGL is not working. Go through these in order.

1. Close Chrome completely and open it again. When Chrome’s graphics process has crashed several times, Chrome’s documentation says to reload the page or restart Chrome. There is also a short lock: a site that loses its graphics twice is refused WebGL, and Chrome lifts that after two minutes. If the reason in the box reads “Web page caused context loss and was blocked”, wait two minutes and reload.

2. Read “Problems Detected” on chrome://gpu. Chrome keeps a list of graphics cards and drivers it will not use, and names the entry that applies to you. Most of the list is old or unusual: Windows drivers from before about 2010, virtual machines such as VMware and VirtualBox, and some Linux drivers. One entry is more common. It covers a Windows PC that is running on Microsoft’s own display driver because no proper graphics driver was installed after Windows was set up. The fix for that, and for an old driver, is to install the current driver from the maker of your PC or of its graphics (Intel, AMD or NVIDIA).

3. Check who manages the computer. A workplace or school can switch WebGL off for every site with a Chrome policy. The reason in the box then reads “disabled by enterprise policy or commandline switch”. You cannot change that from Chrome’s settings. Ask whoever manages the computer.

4. Check how Chrome is started. The same reason appears when Chrome was started with a switch that turns WebGL off. chrome://gpu shows the command line Chrome was started with, under “Version Information”. If it contains --disable-webgl or --disable-gpu, remove that from the shortcut you use to open Chrome.

5. Last resort: override Chrome’s list. chrome://flags/#ignore-gpu-blocklist is a flag named “Override software rendering list”. Chrome describes it as turning graphics acceleration on for systems it does not support. The entries on that list are there because those drivers crashed, hung or drew wrongly, in Chrome’s own descriptions of them. Use the flag to find out whether the list is what stops your game, and expect problems if you leave it on.

WebGL not working in Edge, Brave or Opera GX

Edge has the same switch under the same name. Open edge://settings/system, turn on Use graphics acceleration when available, and restart Edge. Microsoft’s troubleshooting page says that drawing WebGL in software raises processor use, and tells you to read “Graphics Feature Status” on edge://gpu and to update the graphics driver if it shows software-only rendering. The steps in the Chrome sections above apply to Edge with edge:// in place of chrome://.

Brave is made by customizing Chromium, the code Chrome is built from, so the Chrome sections apply. Two things are specific to it:

  • Brave used to have a “Strict” fingerprinting mode that, in Brave’s words, frequently made sites work incorrectly or not at all. Brave removed it in version 1.64, so advice to switch it off no longer applies.
  • Since version 1.93, Brave hides the name of your graphics card from websites and gives every user the same generic name. That does not turn WebGL off. Brave says you can switch the protection off for one site if that site breaks. It also means a page like this one cannot name your graphics card in Brave.

Opera GX is built on Chromium too, by the account of a moderator on Opera’s forum. We found no Opera page about WebGL.

WebGL not working in Firefox

Firefox has WebGL on by default, and its settings have no switch for it. Four things are worth knowing.

The acceleration checkbox does not control WebGL. Firefox has a checkbox named “Use hardware acceleration when available”, under Settings > Tabs and browsing > Performance, shown once you untick “Use recommended performance settings”. In Chrome the matching switch takes WebGL away. In Firefox it does not: Firefox’s code only makes WebGL ask for the power-saving graphics processor when that box is unticked. We tested it in Firefox 160 on a Mac with the box’s preference switched off, and WebGL 2, WebGL 1 and WebGPU all still started.

A hidden preference can switch WebGL off. It is named webgl.disabled. Mozilla’s support page gives the steps for turning it on, as a fix for display problems, so it may have been set on your computer at some point. To check it:

  1. Type about:config into the address bar and accept the warning.
  2. Search for webgl.disabled.
  3. If it reads true, select the toggle button to set it back to false.
  4. Close Firefox and open it again.

With that preference on, Firefox 160 gave our test page the reason “WebGL is currently disabled.”

Troubleshoot Mode switches WebGL off. Firefox’s code refuses WebGL with the same message while it runs in that mode. Restart Firefox normally.

Firefox will not draw WebGL in software either. A preference in Firefox 160, on by default, forbids it, with a note from its developers that it is better for a page to fall back to something simpler. So on a computer where Firefox cannot use the graphics card, a 3D game does not start. Mozilla’s advice is to update the graphics driver. On a Mac the driver comes with macOS updates.

about:support shows what Firefox ended up with: under Graphics, read the rows “WebGL 1 Driver Renderer” and “WebGL 2 Driver Renderer”.

Two privacy cases:

  • Firefox’s fingerprinting resistance (the preference privacy.resistFingerprinting) did not turn WebGL off in our test. It replaced the name of the graphics card with “Mozilla”.
  • LibreWolf, a browser built from Firefox, has WebGL disabled as a privacy measure. Its documentation describes a permission you can grant to one site at a time.

WebGL not working in Safari, on a Mac, iPhone or iPad

Safari has no switch for WebGL. The list of settings inside WebKit, Safari’s engine, marks WebGL as a feature in general use with no control to toggle it, and it is on by default.

Lockdown Mode switches it off. In WebKit’s code, WebGL and WebGPU are both on the list of features turned off when Lockdown Mode is on. Apple’s page about the mode says only that certain complex web technologies are blocked and that some sites may not work correctly. If you use Lockdown Mode and trust the game’s site, you can exclude that one site:

  • On an iPhone or iPad: tap the Page Menu button, tap Website Settings, then turn Lockdown Mode off for that website.
  • On a Mac: from the Safari menu choose Settings for the website, then untick Enable Lockdown Mode.

Apple warns that excluding a site reduces the protection, and says to do it only for sites you trust and only if necessary.

An old version of Safari has no WebGL 2. WebGL 2 arrived in Safari 15, on the Mac and on the iPhone. Before that, Safari had only WebGL 1, which a game built with a current Three.js does not accept. Update macOS or iOS if you can.

On an iPhone or iPad, every browser is Safari underneath. Apple’s rules require browsers there to use WebKit, with exceptions for the EU and Japan. So Chrome, Edge and Firefox on an iPhone start WebGL the way Safari does, and the Chrome and Firefox steps above do not apply to them.

In Safari 27.2 on our Mac, the box at the top read WebGL 2, WebGL 1 and WebGPU as working. Safari gave the graphics chip only a general name, “Apple GPU”. We have not tested Lockdown Mode.

WebGL 2 or WebGPU not supported

A message that names WebGL 2 or WebGPU is about a newer feature than plain WebGL.

WebGL 2 is what most 3D browser games now need. All 15 games in our index are built with Three.js, and Three.js stopped supporting WebGL 1 in its release 163. In our test, 13 of the 15 asked the browser for WebGL 2. Every current browser has it: Chrome since version 56, Firefox since 51, Edge since 79 and Safari since 15. Web3D Survey, which collects reports from visitors to sites that carry its script, put WebGL 2 at 98% of reports when we looked, and at 89% on Linux.

So “WebGL 2 not supported” on an up-to-date browser usually means WebGL as a whole is not working. Three.js words its own message two ways, and the difference tells you which: “Your browser does not seem to support WebGL 2” means the browser has no such feature, and “Your graphics card does not seem to support WebGL 2” means the browser has the feature and could not start it. For the second one, go back to the section for your browser.

WebGPU is newer and far less widespread. It is in Chrome and Edge on Windows, macOS and ChromeOS since version 113, in Chrome for Android since 121, and on Linux since 144 for recent Intel graphics and since 147 for NVIDIA cards with a recent driver. Firefox has it on Windows since version 141 and on Macs with Apple chips since 145 (147 on older versions of macOS). Safari has it since version 26. Web3D Survey had a working WebGPU in 82% of reports, and in 19% on Linux. Our guide to WebGPU not being supported goes through each browser and system, and what to do where WebGPU is missing.

A game built for WebGPU does not have to fail without it. Three.js’s WebGPU renderer falls back to WebGL 2 by itself. Two games in our index asked for WebGPU first, Freeze Out and A Game About Capybaras Delivering Food, and when our test Chrome refused, both tried WebGL 2 next.

WebGL context lost: what it means

“Context” is the name for a game’s connection to the graphics card. “Context lost” means the browser took that connection away while the game was running. MDN’s definition is that the browser has detected that the game’s drawing surface has been lost.

Two causes are written into Chrome’s code:

  • The graphics process crashed or was reset. The game loses its picture. If it happens to the same site twice, Chrome refuses that site WebGL for two minutes.
  • Too many 3D views are open at once. Chrome then takes the oldest one away and logs “Too many active WebGL contexts. Oldest context will be lost.”

What to do: reload the page. If it comes straight back, close other tabs that are showing 3D, wait two minutes, and reload again. If it keeps happening in every game, restart the browser and update the graphics driver.

Should hardware acceleration be on or off for browser games?

On. For a 3D game in Chrome or Edge it is not a matter of speed: with the setting off there is no WebGL and no WebGPU, and the game does not start.

The advice to turn it off is for a different problem. Mozilla’s support page suggests turning it off when a graphics driver keeps causing display trouble that a driver update has not fixed. That trades 3D for a browser that works for everything else.

Some games say so themselves. When we forced Chrome to draw with the processor, Slow Roads noticed, paused, and told us to make sure hardware acceleration was enabled and restart the browser.

If the setting is on and the browser is using the wrong one of two graphics cards, that is a different fix: see how to make Chrome, Edge or Firefox use your dedicated GPU.

What the error messages mean

A game’s own message, or the reason shown in the box at the top:

  • “Your browser does not seem to support WebGL 2” (Three.js). The browser has no WebGL 2 at all. Update the browser, or the operating system on an iPhone or iPad.
  • “Your graphics card does not seem to support WebGL 2” (Three.js). The browser has WebGL 2 and could not start it. Despite the wording, this is also what a browser setting that switched WebGL off produces. Go to the section for your browser.
  • “Error creating WebGL context” (Three.js). The same thing, reported from a different part of Three.js.
  • “Could not create a WebGL context”, followed by a list of details (Chrome and Edge). The browser tried and failed. When the details include GL_RENDERER = Disabled, graphics acceleration is off: that is what we got with the setting switched off.
  • “disabled by enterprise policy or commandline switch” (Chrome and Edge). WebGL was turned off by whoever manages the computer, or by the way the browser was started.
  • “Web page caused context loss and was blocked” (Chrome and Edge). This site lost its graphics twice. Wait two minutes and reload.
  • “WebGL is currently disabled.” (Firefox). The preference webgl.disabled is on, or Firefox is in Troubleshoot Mode.
  • “Your browser does not support WebGPU yet” (Three.js). The game asked for WebGPU and the browser does not have it, or would not give it.

If you make browser games

Some of your players will arrive with WebGL off, and since 2025 Chrome hands them a failure where it used to hand them a slow game. What we saw when we opened the 15 games in our index that way:

  • Six named the cause. Freeze Out said “This browser cannot draw 3D (WebGPU or WebGL 2 is needed).” Starry Nightrider said “This painting needs WebGL 2 — your browser could not start it.” What the Water Keeps and Slow Roads did the same in their own words, and two more showed Three.js’s error text.
  • Two said only that the game could not start.
  • Seven gave no warning. Four showed their usual start screen, and we did not press start. Three stayed on a loading screen.

What follows from that:

  • Catch the failure and say what it is. Three.js throws “Error creating WebGL context.” when the browser refuses. Chromium’s own document asks developers to test for that and show the player a message. A sentence that names WebGL gives the player something to search for.
  • Show the browser’s reason. The browser reports why it refused through the webglcontextcreationerror event on the canvas. The box on this page prints that text.
  • Check before the start screen, not after it. A player who meets a working menu and then a blank game blames the game.
  • Notice software drawing. Slow Roads does. One way is to ask for a context with failIfMajorPerformanceCaveat, which Chrome refused in our test while it was drawing in software. Firefox ignores that option by default.
  • Keep the WebGL 2 fallback if you build for WebGPU. About one visitor in five in Web3D Survey’s reports had no working WebGPU.
  • Handle a lost context. Listen for webglcontextlost, and tell the player to reload.

For the choices that come before these, see how to choose the stack for a browser game.

What we checked, and what we could not

  • Every statement in this guide was read at its source on Nov 15, 2026. The sources are listed below.
  • We ran our tests on an M4 MacBook Air with macOS 27.2, in Chrome 157 and Firefox 160. Each was a separate copy of the browser with a fresh, empty profile.
  • Chrome’s code was read at version 157, the one we tested, and at 158, the current one. The lines this guide rests on are the same in both. Firefox’s code was read at version 160.
  • In the test with graphics acceleration off, each game was given about 16 seconds after loading. We pressed the start button on two games that only ask for WebGL after it, and on no others.
  • In Safari 27.2 on the same Mac we read the box at the top with Safari’s normal settings, and nothing else. We did not test Lockdown Mode, a phone or a Chromebook. What this guide says about them comes from WebKit’s code, Chrome’s code and Apple’s pages.
  • We have no Windows PC. That Chrome on Windows falls back to a software renderer comes from Chrome’s code and its engineer’s statements. We have not seen it, and we have not seen what chrome://gpu reads there.
  • We could not test a graphics card that Chrome refuses, or a computer managed by a workplace.
  • The box at the top was tested in Chrome 157 and Firefox 160 on the same Mac, with WebGL working, with it switched off, and in Chrome with software drawing forced. In Safari it was read with WebGL working only.
  • Linux is covered only where Chrome’s code or the survey figures mention it.

What changed

  1. Added that Chrome on Linux also has WebGPU for NVIDIA cards with a recent driver since version 147, and a link to our new guide on WebGPU.

Sources

  1. Chromium source: gl_features.cc (software WebGL needs a start-up switch; Windows keeps a fallback; none after crashes) ↗
  2. blink-dev: Intent to Remove: SwiftShader Fallback (a Chrome engineer's reply of January 8, 2026) ↗
  3. blink-dev: Intent to Remove: SwiftShader Fallback (the same engineer's reply of September 2, 2025) ↗
  4. Chromium docs: Using Chromium with SwiftShader (why the software fallback was dropped) ↗
  5. Chromium source: settings_strings.grdp (the setting's name, and that Chromebooks do not have it) ↗
  6. Chromium source: gpu_mode_manager.cc (the setting is on by default and takes effect after a restart) ↗
  7. Chromium source: info_view.ts (the wording on chrome://gpu) ↗
  8. Chromium source: compositor_util.cc (which wording goes with which state) ↗
  9. Chromium source: webgl_rendering_context_base.cc (the reasons Chrome gives a page when it refuses WebGL) ↗
  10. Chromium source: gpu_data_manager_impl_private.cc (the two-minute block after lost graphics; phones and Chromebooks) ↗
Show all 44 sources
  1. Chromium source: software_rendering_list.json (the graphics cards and drivers Chrome will not use) ↗
  2. Chromium source: flag_descriptions.h (the WebGL flags and the 'Override software rendering list' flag) ↗
  3. Chromium source: about_flags.cc (the list of flags) ↗
  4. Chromium policy: Disable3DAPIs ↗
  5. Chromium policy: HardwareAccelerationModeEnabled ↗
  6. Chrome for Developers: WebGPU troubleshooting tips (updated October 17, 2025) ↗
  7. Chromium Dash: the Chrome version on each release channel ↗
  8. Microsoft Learn: Fix high CPU or memory usage in Microsoft Edge (edge://gpu and software rendering) ↗
  9. Microsoft Learn: Edge policy HardwareAccelerationModeEnabled (the setting's name in Edge) ↗
  10. Microsoft Learn: Windows Advanced Rasterization Platform (WARP) guide ↗
  11. Brave: sunsetting Strict fingerprinting protection mode ↗
  12. Brave: protections against GPU fingerprinting (August 13, 2026) ↗
  13. Brave Core: README (Brave is made by customizing Chromium) ↗
  14. Opera forums: Is Opera Chrome/Chromium based? (a moderator's answer) ↗
  15. Mozilla Support: Upgrade your graphics drivers to use hardware acceleration and WebGL (updated May 27, 2026) ↗
  16. Firefox source: WebGLContext.cpp (what the acceleration option changes, and when WebGL is refused) ↗
  17. Firefox source: StaticPrefList.yaml (webgl.disabled, webgl.forbid-software and webgl.force-enabled) ↗
  18. Firefox source: tabs-browsing.mjs (the preference behind the acceleration checkbox) ↗
  19. Firefox source: aboutSupport.ftl (the labels on about:support) ↗
  20. LibreWolf: features (WebGL is disabled) ↗
  21. LibreWolf: settings (allowing WebGL for one site) ↗
  22. WebKit source: UnifiedWebPreferences.yaml (WebGL has no switch, and is off in Lockdown Mode) ↗
  23. Apple Support: About Lockdown Mode (published September 14, 2026) ↗
  24. Apple: App Review Guidelines (2.5.6, browsers must use WebKit) ↗
  25. MDN browser-compat-data 8.1.9 (the browser versions with WebGL 2 and WebGPU) ↗
  26. WebGPU project: Implementation Status (Chrome on Linux: Intel since 144, NVIDIA since 147) ↗
  27. MDN: the webglcontextlost event (modified October 26, 2026) ↗
  28. Three.js: migration guide (WebGL 1 support removed in r163) ↗
  29. Three.js source: WebGL.js (the 'does not seem to support WebGL' messages) ↗
  30. Three.js source: WebGLRenderer.js (the 'Error creating WebGL context' message) ↗
  31. Three.js source: WebGPURenderer.js (falls back to WebGL 2 without WebGPU) ↗
  32. Three.js source: WebGPU.js (the 'does not support WebGPU yet' message) ↗
  33. Web3D Survey: WebGL 2 support ↗
  34. Web3D Survey: WebGPU support ↗

More guides

All guides