The Sweep Visualizer is an Electron application, meaning it runs atop a version of Google's Chromium engine similar to that used by Google Chrome. The application uses WebGL with hardware acceleration for graphical visualizations. Therefore, the minimum requirements include the ability to run hardware acceleration in the chromium engine.
Fatal Error: Failed to create WebGL context
If you are receiving this error, it is because your system is failing to run WebGL.
If you already have google chrome installed, you can test your system's compatibility by going to https://get.webgl.org/ in a chrome web-browser. If you see a rendered spinning cube, then your system should work with the visualizer without issue. If you do not see a spinning cube, check your settings. First navigate your browser to the following url: chrome://gpu/ Check if WebGL shows hardware acceleration under the Graphics Feature Status section. If it does not, navigate to chrome://settings/ Click on "advanced settings" and look for the "System" section. Make sure the "Use hardware acceleration when available" checkbox is checked. Then restart chrome and check https://get.webgl.org/ again for the spinning cube.
If the cube still does not show, then it is possible your GPU is on chrome's blacklist. For example, the Intel HD3000 graphics used in old macbook models are blacklisted by google's chromium engine (used in the chrome web browser) because it causes frequent crashes. This means that the chromium engine will not enable hardware acceleration (use graphics processing unit) for graphics related tasks. Because the visualizer is built on google's chromium engine it shares the same restrictions, with regards to hardware acceleration. To test if your hardware is blacklisted by chromium, navigate to the following url: chrome://flags/ and enable the "Override software rendering list" flag (this is the same as the #ignore-gpu-blacklist flag). Then check https://get.webgl.org/ again for the spinning cube. If you see the cube after enabling this flag, then your hardware is blacklisted by chromium.
If your hardware is blacklisted by chromium, it may still be possible to run WebGL related features without issue. While we cannot officially support graphics hardware that has been blacklisted by chrome, it is possible to bypass the restriction by launching the Application executable from a Terminal, with the ‘--ignore-gpu-blacklist’ flag. Most likely, your system can run the visualizer application just fine. The chromium engineers can be overly cautious with hardware prone to issues.
For Ubuntu Users:
Simply launch the application from the terminal with the command line switch.
For Windows Users:
Launching the executable from a command prompt with the command line switch will work. Additionally you can make a shortcut for the Visualizer executable. Then modify the target field from the shortcut properties to include the command line switch. Then you can launch the Visualizer with this command line switch by double clicking the shortcut.
For Mac Users:
Just like the other operating systems, you can always launch the executable from a terminal with the command line switch. But given that old macs seem to be have the most problems, we have pre-packaged a custom version of the visualizer for MAC that automatically launches the chromium engine with this flag. This saves the time of specifying the flag manually. We cannot advertise support or guarantee compatibility with this modified visualizer, but we will try to release builds that are available directly at: https://s3.amazonaws.com/scanse/Troubleshooting/Custom+Visualizers/vX.X.X/SweepVisualizerIgnoreGPUBlacklist.dmg
where X.X.X is the visualizer version number. For example, for Visualizer v0.12.1 the link would be: https://s3.amazonaws.com/scanse/Troubleshooting/Custom+Visualizers/v0.12.1/SweepVisualizerIgnoreGPUBlacklist.dmg
Again, we cannot officially support these modified versions. Nor do we guarantee they will be available with every release. We are providing them as a convenience for those with blacklisted hardware.