Solved WebGL not working on FreeBSD 12.1-RELEASE-p8

I was working on a old project that required WebGL, and it ran perfectly. A few days later it did not load. I did not mess with the Firefox settings at all, so I naturally rebooted my computer. It still would not work, also tried loading the legacy kernel modules, and still not working.

Here are my specs:
Version: 12.1-RELEASE-p8
Browser: Mozilla Firefox 79
Architechture: x86-64
Host Machine: Lenovo Thinkpad T420
GPU: Intel
 
This has nothing to do with FreeBSD and everything to do with the site or (not likely) Firefox.

So to provide help, we need to know which site. Even then, it's not likely a FreeBSD issue.
 
Firefox can blacklist GPU based on the driver version. Check about:support in Firefox and you should see your GPU info under WebGL section. If not(blocked) try to enable it:
Firefox | about:config | toggle webgl.force-enabled to true
[EDIT] if you can select between WebGL and Canvas in a project, Phaser for example, go with canvas. It's less resource intensive.
 
Back
Top