Whenever I try to use threejs, and possibly other 3d webgl on Firefox, it will stutter and halt/freeze Firefox periodically, possibly when doing something intensive, but chromium never halts when doing the same thing.
I looked online, but results were inconclusive. I am using Manjaro Linux with a 1660 ti
This is due to DMABUF being temporarily disabled on Nvidia due to bug 1788573. Without DMABUF, Firefox has to introduce extra buffer copies to get the WebGL content rendered to the screen instead of simply sharing the buffer.
You can, however, force enable it temporarily until that bug is resolved by going to
about:config
and enablingwidget.dmabuf.force-enabled
. Or you can just wait for the Nvidia 545 driver, which should have this fixed.Thanks, I don’t use external monitors, so that bug shouldn’t impact me, while the config will impact me positively. Thank you for finding what I could not!