IBM Support

Unable to use MapBox Chart with Chrome

Troubleshooting


Problem

Unable to use MapBox chart with Chrome, no effect when you click or drag/drop the chart.

Symptom

There is an issue with WebGL and your Chrome browser. With Chrome development tools you can catch the error message below :
mapbox-gl.js?v=6:237 Error: Failed to initialize WebGL

    at e._setupPainter (mapbox-gl.js?v=6:211)
    at new e (mapbox-gl.js?v=6:211)
    at com_ibm_rave_bundles_nativeImpl_components_TiledmapNativeSubComponentImpl.draw (rave-library-tiledmap.min.js?v=6:557)
    at cls.draw (rave-library-tiledmap.min.js?v=6:621)
    ........
    .......

Cause

There is many reason, this mainly concerns Chrome and computer video card or video driver or compagny policy.

Environment

Chrome 45 and future versions, releases and fix packs

Resolving The Problem

Verify all points below with Chrom browser :
a/ Quick test : open the website below and verify if there is an error message:
https://get.webgl.org/
http://webglreport.com
b/ Verify if WebGL is Enabled : run URL "chrome://flags/", WebGL 2.0 need to be Enabled
c/ Video card is blocklisted : https://www.khronos.org/webgl/wiki/blocklistsAndallowlists
if your graphics card/drivers are blocklisted, you can override the blocklist.
Warning: this is not recommended! (see blocklists note below). To override the blocklist:
Go to chrome://flags
Activate the Override software rendering list setting (you'll need to relaunch Chrome for any changes to take effect)
d/ Check with your Network IT if a Chrome GPO exist.
Desable key registry : HKEY_CURRENT_USER\Software\Policies\Google\Chrome, if issue is no more present, check with you network IT which policy cause your issue.
(for example : set 'Disable3DAPIs' to 0 )

Related Information

[{"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Portal v11x","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.0.6;11.0.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg22005101