
The various screens around
DNA Lounge that display flyers of our upcoming events are driven by Raspberry Pis loading a web page and doing animations withJavaScript. Mostly they work fine.
The big one, though, is the one in DNA Pizza that displays a parallax cascade of multiple flyers at once, and includes a ticker crawl at the bottom of our Patreon donors. It's a Pi 4, and the text scrolling is not smooth, because apparently this is just too much work for a god damned supercomputer. This is with Chromium 120 on a Pi 4b and Raspbian 11.7. Performance under Firefox 115 is even worse.
So I thought, fuck it, if they can't figure out how to get the web renderer to talk to the GPU properly, maybe I can just throw more CPU at it. That's the solution favored by all of the chumps designing every piece of modern technology, so who am I to argue. So I got a Pi 5, which is supposedly between 1.5× and 2× faster than a 4b.
Nope. Just as stuttery under both Chromium and Firefox, and Firefox is still so much worse.
And out of sheer perversity I also tried it under Wayland instead of X11. Great news everybody, Chromium can't do --kiosk mode under Wayland at all. The browser window just shows up as a thin black stripe at the top of the screen.
If you're thinking to yourself, "Surely the problem is that your Javascript sucks, I can figure out how to make this go fast enough on that hardware", I encourage you to try. The URL is at the usual place with the path "/flyers/upcoming/?id=screen017".
Previously, previously, previously, previously, previously, previously.