Payday 2 on Linux: locked at 60fps with NVIDIA's Kernel Mode Setting
I use Nvidia's DRM (Direct Rendering Manager) Kernel Mode Setting (see here) to get rid of screen tearing on my desktop. I've also tried to use compton to get rid of screen tearing but their solution doesn't seem to do anything.
Sadly this also locks my fps to 60 in Payday 2 and it causes tons of mouse input lag, making aiming very difficult. The vsync or max fps settings don't do anything.
I don't have this problem with any other game.
These are my laptop specs:
i7 7700HQ with Intel HD Graphics 630 (but using dedicated GPU of course. Both are enabled in BIOS settings)
GTX 1050 2GB VRAM (with latest proprietary drivers)
8GB RAM
Disabling DRM KMS fixes the issue, but I want to keep it enabled to fix screen tearing on my desktop.
Things I've tried so far:
Adding
vblank_mode=0 %command%
to launch optionsTurning vsync on and off again
Setting an fps limit in-game
https://pcgamingwiki.com/wiki/Payday_2#60.2B_FPS_not_applying_in_settings
None of these work for me.
Can anyone, who also has Payday 2 and an NVIDIA GPU, enable DRM KMS and see what happens?
Pictures about "Payday 2 on Linux: locked at 60fps with NVIDIA's Kernel Mode Setting"
SUPER EASY 60FPS CAP FIX!!! (NVIDIA ONLY) ALL GAMES!!!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: George Becker, Karolina Grabowska, Karolina Grabowska, Stefano Mazziotta