question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure loading WebGL context on Debian 10 buster + Firefox 83 and Firefox 84 (possibly earlier, too)

See original GitHub issue

Expected Behavior

https://pixijs.io/pixi-filters/tools/demo/ should load in Firefox 84.0 on Debian Linux without problem.

Current Behavior

https://pixijs.io/pixi-filters/tools/demo/ does not load, and throws an error on the console:

Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. utils.min.js:8:1301
Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. utils.min.js:8:1326
Uncaught Error: WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support.
    create core.min.js:8
    yn core.min.js:8
    t app.min.js:8
    e index.js:1
    <anonymous> index.js:1
    <anonymous> index.js:1
core.min.js:8:102141

WebGL is functional on other websites, like https://webglsamples.org/aquarium/aquarium.html

Steps to Reproduce

Visit the above URL with Firefox 84.0 on Debian Linux on a Thinkpad Carbon X1 7th gen.

Environment

  • pixi.js version: 5
  • Browser & Version: Firefox 83, Firefox 84
  • OS & Version: Debian 10 buster

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
kerbrosecommented, Jan 14, 2021

could you try Go to about:config, search for webgl.disabled, ensure that its value is false. Go to about:config, search for webgl.force-enabled, set it to true. Go to about:config, search for layers.acceleration.force-enabled, set it to true. restart your firefox.

1reaction
themoonratcommented, Dec 15, 2020

PIXI.settings.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = false; before you attempt to create the renderer.

I guess we could do that for the examples…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failure loading WebGL context on Debian 10 buster + Firefox ...
Failure loading WebGL context on Debian 10 buster + Firefox 83 and Firefox 84 (possibly earlier, too) #7070.
Read more >
WebGL Context Errors in Firefox 83 - Mozilla Discourse
Today my browser updated to Firefox 83 and unfortunately the performance of my addon immediately became unusable due to WebGL issues. (Win 10,...
Read more >
1745148 - Update to 95.0, Firefox heavily non-responsive, unusable ...
Update to 95.0, Firefox heavily non-responsive, unusable, GFX1- Failed to connect to WebRenderBridgeChild. Summary: Update to 95.0, Firefox heavily non- ...
Read more >
Firefox 91 Linux - WebGL stopped working
Failed to create WebGL context: WebGL creation failed: tryNativeGL (); Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS).
Read more >
failIfMajorPerformanceCaveat causes website breakage since ...
When I try to launch a webGL game: Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not hardware-accelerated. Specifically Pixi says:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found