How to play · 3D and your computer

Your browser does not support WebGL: what it means, what to try

You open a 3D game, a map or a design tool in the browser and get a box that says your browser does not support WebGL. The same words cover several different problems: WebGL may be missing from an old browser, or it is there but switched off, blocked for your graphics driver, or not available on this machine. This guide explains what the message means, how to find out which case you are in with the browser's own report page, and what to try first. Cashmate, a free neon city tycoon with a 3D view, serves as the example of a game that keeps running when WebGL is missing.

The short version: the message comes from the website, after the browser said no when the page asked for WebGL. Update the browser, check that hardware acceleration is on, update your graphics driver and restart the computer. To see what the browser thinks, open its report page: chrome://gpu in Chrome, about:support in Firefox. A test page such as get.webgl.org/webgl2 tells you in one line whether it works.

What the message means

WebGL is the part of a browser that lets a web page draw with the computer's graphics chip. A page that needs it asks the browser for a drawing surface of that kind. If the browser hands one over, the page draws; if not, the page has nothing to draw with and shows a message instead.

That message is written by the website, not by the browser, which is why its wording changes from site to site. The three.js library, which this game's 3D view is built on, ships a helper that pages can use when the check fails. It writes one of two lines: Your browser does not seem to support WebGL 2 when the browser does not know the newer WebGL at all, and Your graphics card does not seem to support WebGL 2 when the browser knows it but could not start it on your machine. Most of the fixes below are for the second case, and despite its wording the graphics card itself is rarely to blame: a setting or a driver usually is.

The usual causes, most likely first

  1. Hardware acceleration is off. Browsers let you stop them from using the graphics chip. Mozilla, for one, suggests turning it off for video playback problems, so it is easy to switch off once and forget. In Chrome, WebGL then runs in software or not at all (the Chrome guide shows where Chrome says which); in Firefox the switch does not turn WebGL off by itself.
  2. The graphics driver is blocked. Browsers keep lists of drivers with known problems and hold WebGL back on them. A newer driver is the cure.
  3. The browser is old. An outdated browser may lack the newer WebGL a page asks for.
  4. A setting or an extension is in the way. Firefox has a setting called webgl.disabled, and an extension that changes how pages run can stop one from drawing. Switching extensions off is a quick test.
  5. The machine has no graphics chip to offer. On a remote desktop or inside a virtual machine the browser may get no access to a graphics chip at all, and WebGL then fails or crawls.

Check it in your browser's own report

Guessing takes longer than looking. Each of the big desktop browsers has a page that reports what it does with the graphics chip:

  • Chrome: type chrome://gpu and read the line for WebGL under Graphics Feature Status. The Chrome WebGL guide goes through what each state means and which switch to turn.
  • Firefox: type about:support and look in the Graphics section. If it says WebGL is currently disabled., a setting is the cause. The Firefox WebGL guide has the steps, with Firefox's own wording.

For a plain yes or no in any browser, open the test page get.webgl.org/webgl2. It answers in one of three ways: Your browser supports WebGL2 with a spinning cube, which means all is well; While your browser seems to support WebGL2, it is disabled or unavailable., which means a setting or a driver is in the way; or We are sorry, but your browser does not seem to support WebGL2., with a link to a newer browser.

What to try, in this order

  1. Update the browser and restart it. Updates are applied on a restart, so close every window.
  2. Turn hardware acceleration on. In Chrome it is a switch under System in the settings; in Firefox a box under Performance. Restart the browser after changing it.
  3. Update the graphics driver through the system's updates, then restart the computer.
  4. Switch extensions off one at a time and reload the page, to find one that blocks WebGL.
  5. Try another browser on the same computer. If WebGL works there, the first browser's settings are the problem; if it fails everywhere, look at the driver or the machine.

One step to be careful with: clearing a site's cookies and site data. It rarely helps with WebGL, and for a browser game without an account it deletes your progress. Cashmate keeps your city in the browser's storage for its site, so export your save first in the game's Settings with Export save, and bring it back with Import save.

What a game can do without WebGL

A message is not the only answer a page can give. Cashmate has two views of the same city, and they need different things:

  • The 3D view needs WebGL 2. A desktop or laptop opens in it when it can. If it cannot start, the game opens on the 2D map without a word; pressing the button marked 3D then says The 3D view could not start on this device.
  • The 2D map asks for WebGPU first, then WebGL, and its drawing library falls back to a plain canvas when neither is there. We tried it with WebGL switched off, in Chromium and in Firefox: both times the city opened on the map, with no error message.
The game on its flat 2D map in a browser with WebGL switched off: the starting crossroads with its homes and the Sushi Bar lit and their neon signs, the tool bar at the bottom and a button marked 3D beside the zoom buttons.
With WebGL off, the game opens on the 2D map, and the city plays as usual.

Only if a browser cannot draw even the map does the game stop on its loading screen, with Your browser could not start the city renderer (WebGL is required). Please try another browser. The link /play/?view=2d opens the game on the map straight away, without trying 3D first.

Phones open on the map anyway; the isometric guide explains what the map shows and how it relates to the 3D view, and the Chromebook guide covers playing on ChromeOS. The game is free and has nothing to buy. Coins are an in-game currency and have no cash value.

More guides

Every control, tool and setting: the Cashmate player guide.

All guides