Here's a tip for Linux users who have recent Intel iGPUs (Skylake+ I think) and with recent version of MESA (20+).
What happened is that with the latest Mesa drivers they switched to a new opengl driver backend called 'iris', from 'i965'. While this seems to have boosted performance in other workloads, in GZDoom and LZDoom I verified that this actually has a significant hit to FPS.
What you want to do is set an environment variable to override it:
- Code: Select all • Expand view
MESA_LOADER_DRIVER_OVERRIDE=i965
There are a few ways to do so:
for temporary setting, and/or if you're running the game via console, just put that assignment in front of your command.
if you're using a .desktop file to launch it in your desktop environment, you can create a copy of the launcher like so:
- Code: Select all • Expand view
cp /usr/share/applications/gzdoom.desktop ~/.local/share/applications/
and then edit the Exec line like so:
- Code: Select all • Expand view
Exec=env MESA_LOADER_DRIVER_OVERRIDE=i965 gzdoom
You can also set this globally, by placing this in /etc/environment:
- Code: Select all • Expand view
MESA_LOADER_DRIVER_OVERRIDE=i965
in that case you'll want to restart for it to take effect.
To verify, open your console and GL_VENDOR should say "Intel Open Source Technology Center".
It has doubled my FPS in classic style maps.
P.S. I also recommend you give a try to LZDoom if you have intel iGPU, yes, even if you have one of the newer ones like me, because it has a bit better performance compared to GZDoom using the same graphics settings, regardless of the above.