It’s been a couple years since I was last working with PlayCanvas. I was testing out some of the examples and my Firefox is really struggling. It seems like the WebGL code is being run on the CPU.
THREE.js examples are having similar performance issues. So, this seems like Firefox is not using my GPU. Anyone have this issue before? I’m running Firefox as a Snap on Ubuntu running Wayland.
I realize this issue is not directly related to PlayCanvas, just thought I’d ask since y’all know browser <> GPU behavior pretty well.
Basically—the Firefox Snap is using the older Snap “core 22”. “Core” being the runtime environment that Snaps run inside. In Firefox 137 (currently the Nightly release channel), they update the Snap to use “core 24”. This brings crucial Mesa driver updates which leads to better GPU compatibility.
To fix this—you gotta either switch to Firefox 137 (which means switching to “Nightly”), or you reinstall the Firefox Snap with the /core24 branch added, like so: