I had been noticing the last couple of days that what had previously been very smooth operating 360 video scenes were suddenly very choppy. I went from flat 60fps to 15fps.
This was on a system with the following specs:
OS: Windows 10 Pro
CPU: AMD Ryzen 9 3900X
GPU: Nvidia RTX 2070 SUPER
RAM: 32GB
VRAM: 8GB
Resolution at Fullscreen: 1920x1080
Thinking I might have broken something I tried the same scene on a small Dell Laptop I had available to me with the following spec:
OS: Windows 10 Pro
CPU: Intel i7-8565U
GPU: Intel UHD Graphics 620
RAM: 8GB
VRAM: 0GB
Resolution at Fullscreen: 1920x1200
Somehow the laptop ran perfectly at 60fps. After tinkering to no avail, I remembered the laptop used Chrome and tried it on the desktop. Performance once again normalized at 60fps and when trying Firefox on the Laptop it went from 16.7ms per frame up to 88ms per frame.
What’s strange is that these scenes used to work flawlessly in Firefox as well as Chrome, so I’m confused about what might have happened.
Here is a screengrab of my performance tracking from the Firefox browser on the desktop:
It looks like the CPU is eating it when copying the video to the texture. Any ideas why this would start happening so suddenly and only on Firefox? I’m worried because I have a 360 video heavy project coming up, and while most users use Chrome, I don’t want to have a noticeably worse experience for Firefox users either.
The effect isn’t as drastic, but you can see the difference on the 360 video tutorial project as well:
https://playcanvas.com/editor/scene/471739
Running on Firefox Version 88.0