
WebGL creation fails on Firefox.
Firefox is having issues with WebGl on my Ubuntu 20.04 and therefore fails on several HTML5 pages (eg. https://www.wirple.com/bmark/). This issue is not present in other browsers so I chalk it up as an issue with firefox rather than my driver.
I am using NVIDIA driver 455, which works best on my machine by all benchmarks.
Here is the snapshot of my about:support page relevant sections:
- WebGL 1 Driver WSI Info -
- WebGL 1 Driver Renderer WebGL creation failed: * WebglAllowWindowsNativeGl:false restricts context creation on this system. * Exhausted GL driver options.
- WebGL 1 Driver Version -
- WebGL 1 Driver Extensions -
- WebGL 1 Extensions -
- WebGL 2 Driver WSI Info -
- WebGL 2 Driver Renderer WebGL creation failed: * AllowWebgl2:false restricts context creation on this system.
GPU #1 Active Yes Description GeForce 940M/PCIe/SSE2 Vendor ID 0x10de Device ID GeForce 940M/PCIe/SSE2 Driver Vendor nvidia/unknown Driver Version 455.45.1.0 RAM 0
I am also unable to find " AllowWebgl2:false" and "WebglAllowWindowsNativeGl:false" in my about:preferences.
Below is the console output when this error happens on an HTML5 game (works perfectly on other browsers)
Loading failed for the <script> with source “https://secure.adnxs.com/px?id=776911&seg=6628011&t=1”. index:1:1 Loading failed for the <script> with source “https://connect.facebook.net/en_US/fbevents.js”. index:1:1 unreachable code after return statement alerts.js:1560:8 Use of mozImageSmoothingEnabled is deprecated. Please use the unprefixed imageSmoothingEnabled property instead. ForgeHX-eca4ceb0.js:1473:83 Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. ForgeHX-eca4ceb0.js:27655:406 Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. ForgeHX-eca4ceb0.js:27655:493 Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. ForgeHX-eca4ceb0.js:27656:68 WebGL warning: <Create>: AllowWebgl2:false restricts context creation on this system. ForgeHX-eca4ceb0.js:27655:406 Failed to create WebGL context: WebGL creation failed:
- AllowWebgl2:false restricts context creation on this system. ForgeHX-eca4ceb0.js:27655:406
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. ForgeHX-eca4ceb0.js:27655:493 Failed to create WebGL context: WebGL creation failed:
- WebglAllowWindowsNativeGl:false restricts context creation on this system.
- Exhausted GL driver options. ForgeHX-eca4ceb0.js:27655:493
WebGL warning: <Create>: WebglAllowWindowsNativeGl:false restricts context creation on this system. ForgeHX-eca4ceb0.js:27656:68 Failed to create WebGL context: WebGL creation failed:
- WebglAllowWindowsNativeGl:false restricts context creation on this system.
- Exhausted GL driver options.
Any help appreciated.