this post was submitted on 05 May 2025
41 points (95.6% liked)

Linux

53908 readers
760 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 22 hours ago

This comment won't fix it for you, but I can definitely relate to what you're saying. I've spent so much time optimizing my web games in a way that they run more-or-less consistently the same in any modern browser, it was probably as much work as it was put in the games themselves. I do maintain my own engine, so I was aware of the cost.

The thing is, now Firefox is officially one of the last browsers employing their own rendering engine. The other one is probably Safari. I'm not aware of any others that do that. All other major browsers are using Chromium under the hood, and we know how this industry ruthlessly optimizes things for popularity. I won't delve into how many software layers of responsibility are involved in playing a video game in a web browser. My point is, if something is "passable" for a couple popular browsers, very few people will bother with checking why the less popular ones might have some sub-par performance.