Skip Navigation

Debian 12 Firefox games run terrible when i press buttons or use the mouse

Hi all,

I recently installed Debian 12 on my Lenovo Legion 5 Pro, and am using the GNOME desktop (x11). From time to time I play a game called survev.io . It's a browser battle royale game, not hard on graphics.

I have an Nvidia rtx3060 and have the proper drivers installed. I checked using nvidia-smi and Firefox is using the Nvidia gpu.

The issue is that the game runs smoothly until I press a button or move the mouse. Then the framerate decreases significantly and it becomes unplayable.

I already tweaked the following settings in Firefox to no avail:

  • gfx.webrender.all = True
  • enabled hardware acceleration
  • layers.acceleration.force-enabled = TRUE
  • gfx.x11-egl.force-enabled = true

And now I'm out of ideas. The game itself isn't too important to me, but other browser games do the same, so it's a wider issue I want to solve.

Any ideas on how to resolve this?

20 comments
  • The version of Firefox that ships with Debian is quite old if I recall. You might want to try installing it either as a flatpak or as a separate apt repo from Mozilla directly to see if that solves it.

    • Not necessarily. It’s currently on the latest ESR version. I use the repo version on my laptop (stable) and testing and don’t have this problem.

      In recent years, Debian has gotten a lot better about keeping stuff on the current ESR version.

20 comments