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.

FAIL_IF_MAJOR_PERFORMANCE_CAVEAT on Linux FF83

See original GitHub issue

Hello, I would like to suggest setting the default value of FAIL_IF_MAJOR_PERFORMANCE_CAVEAT to false. I know it has been already discussed in older issues but a recent problem has risen: As discussed here in FF82 and below the flag was being ignored on Linux and now a lot of users will see their app crash (unless they have enabled the unstable Servo rendering or they have disabled the flag globally in about:config).

Citing a mozilla developer on a bugzilla discussion: The answer for frustrated website authors is straightforward: Don't ask for failIfMajorPerformanceCaveat: true unless you do want context creation to fail for many many users.. This is not a major issue since most Linux users will be experienced enough to sort this out for themselves, but still it’s not ideal. (I removed the issue template as this is not a regular bug)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
themoonratcommented, Dec 7, 2020

So, this is an interesting one. On one hand, we put it to false by default, WebGL works for more users, but then more will complain about bad performance.

Hmmmm.

You could almost make a case for… if you are just using a WebGL renderer, you’d prefer it to be ‘false’ so as many users can enjoy the content, no matter what the cost. But if you’re using pixi-legacy, like I do, then you’d prefer it to be ‘true’ because there’s already a good fallback with a bit more guaranteed performance in the canvas renderer.

Which doesn’t help much decide one way or the other!

0reactions
SnowyCodercommented, Mar 9, 2021

Thank you, Closed by: #7068

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAIL_IF_MAJOR_PERFORMAN...
FAIL_IF_MAJOR_PERFORMANCE_CAVEAT on Linux FF83 #7054 ... authors is straightforward: Don't ask for failIfMajorPerformanceCaveat: true unless ...
Read more >
failIfMajorPerformanceCaveat causes website breakage since ...
Same problem for me with Firefox 83.0 (64bit) under Fedora Linux, using the official ... of what behavior changed with failIfMajorPerformanceCaveat in FF83?...
Read more >
Bug #1905054 “Firefox 83 Breaks WebGL” - Launchpad Bugs
Failed to create WebGL context: failIfMajorPerformanceCaveat: Compositor is not ... User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; ...
Read more >
How does Chromium implement failIfMajorPerformanceCaveat?
I can get it to fail to create a WebGL context if I specify this flag as true and I have hardware acceleration...
Read more >
Diff - 636e4e8cc4..7e9f692ee3 - chromium/src - Git at Google
-167,6 +167,17 @@ (sys.platform.startswith('linux') and not self. ... 0c:41:29:39:15:ff:83:1f:5e:d3:73:85:96:6e:a4:dc:01:bd: - 7d:21:34:3f ------BEGIN ...
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