I have a Dell XPS 15 under Ubuntu 20.04 with an Intel UHD 630 and Nvidia GTX 1050 configured in "on-demand" mode. In gaming it works properly. However when I use Firefox to load this demo under the Intel GPU, I can display up to 1000 fishes at 60FPS. Under the Nvidia GPU, it fluctuates between 20 and 30FPS, even with one fish. Under chromuim-based browser it's worse and limited at 15FPS.
Thanks by advance for your answers