Hello,Had the same problem with an RPi 5 running bookworm with X11 and RealVNC with no monitor attached - lags of several seconds in Chromium when scrolling or typing into the search bar which made it unusable for me in its intended role as a Linux desktop machine. Happily I can confirm that disabling acceleration in Chromium as suggested above gets rid of the lag, as does connecting to an HDMI monitor even if that monitor is switched off or is on but connected to a different system.
So this works for me now, but the problem appears to be undocumented and it took a while to find a workaround (and also the problem might affect applications other than Chromium?). I couldn't find a recent open issue - is this being looked at?
Problem indeed affects other applications - for example Visual Studio Code. In order to solve it, I had to disable hardware acceleration for VS Code, which indeed makes it run OK. I used info from this page, which also mentions the steps necessary to disable hardware acceleration on Chromium (they are separate issues, but apparently - according to the site - Visual Studio Code is built on top of Chromium, the codebase that Google’s Chrome browser is based upon, so that is why the same problem also exists in VS Code).
Confirming that applying the necessary steps to disable hardware acceleration does make VS Code usable. I have not bothered with Chromium at all so far (using firefox, which works OK).
Statistics: Posted by belalik — Mon Mar 11, 2024 4:33 pm