gomgom 1 Report post Posted December 16, 2020 Hello, I am facing a problem of which I have seen a few instances on different forums. My pixi app works just fine on Chromium, not under Firefox (I get the "Error: WebGL unsupported in this browser, use "pixi.js-legacy" for fallback canvas2d support." error). I found this recent Firefox bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1675357 I followed the last advice to change the "webgl.disable-fail-if-major-performance-caveat" setting. This fixes the problem, my app works just fine then under Firefox too. That last post seems to throw the ball back to the Pixi team: Quote It sounds like pixi.js is demanding failIfMajorPerformanceCaveat: true. The right thing for us to do is say "sorry but we can't give you WebGL without any major performance caveat", since software rendering is a major performance caveat. pixi.js SHOULD ultimately fall back to failIfMajorPerformanceCaveat: false/undefined. Does this give any hint on what is going on? Please note that all pixi examples work just fine on my (recent) PC... Thanks! Quote Share this post Link to post Share on other sites
ivan.popelyshev 1078 Report post Posted December 16, 2020 (edited) "failIfMajorPerformanceCaveat: false" can be passed to pixi application, please see Documentation or source code on pixi renderer. Just search this thing in source code. Edited December 16, 2020 by ivan.popelyshev Quote Share this post Link to post Share on other sites
gomgom 1 Report post Posted December 16, 2020 Thanks for taking the time to answer. I didn't even think of looking for it on the pixi side, I thought this was a setting specific to Firefox. I will play with the settings described on this page: https://pixijs.download/dev/docs/PIXI.settings.html But does this all mean pixi (or Firefox) is indeed convinced it cannot use WebGl on my PC? I see threads concerning rejected drivers, is this likely due to a driver problem? I have a NVIDIA Corporation TU117GLM [Quadro T1000 Mobile] / Quadro T1000/PCIe/SSE2 graphics card... Trying to understand at what software layer the issue lies: OS, firefox, other.. Thanks again! Quote Share this post Link to post Share on other sites
flatliner 0 Report post Posted January 5 (edited) I have the same problem with firefox 84.0, pixi 5.2.1 and ubuntu 18.04.5 LTS. It was working during long time and one day it stopped. Change to pixi.js-legacy does not help at all. Edited January 5 by flatliner Quote Share this post Link to post Share on other sites
gomgom 1 Report post Posted January 5 Yes, unfortunately this issue seems to pop up quite randomly 😞 (same thing, my project was working fine for months and then stopped from one day to the next). I've had zero bandwidth to look into it, but I'm surprised there are so few people out there facing the same problem. I still wonder if this might be due to a driver change, possibly gotten through a background update. Quote Share this post Link to post Share on other sites
ivan.popelyshev 1078 Report post Posted January 5 Here's how you track it in chromium: https://chromium.googlesource.com/chromium/src/gpu/+/master/config/software_rendering_list.json , i dont know where is that list for mozilla. Quote Share this post Link to post Share on other sites
flatliner 0 Report post Posted January 5 What is strange for me to see someone have a problem with chromium. It was working on my desktop and it is still working now. On 12/16/2020 at 6:55 PM, ivan.popelyshev said: "failIfMajorPerformanceCaveat: false" can be passed to pixi application, please see Documentation or source code on pixi renderer. Just search this thing in source code. This settings really fix the problem with firefox. Thank you. Quote Share this post Link to post Share on other sites