this post was submitted on 22 Jul 2023
16 points (100.0% liked)

Firefox

17752 readers
595 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

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

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 year ago (1 children)

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 enabling widget.dmabuf.force-enabled. Or you can just wait for the Nvidia 545 driver, which should have this fixed.

[โ€“] [email protected] 2 points 1 year ago

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!