Games became unplayable after update

Hey, so I’m having a big issue and I’m not quite sure how to resolve it.

The device (A dell XPS) has run perfectly until a few hours ago. Then, I did a system update (sudo pacman -Syu) and rebooted. I watched a few videos and movies and then I tried to play rimworld. However, my FPS in rimworld were absolutely unacceptable. The game ran perfectly fine before, but now, it’s like 5 FPS. I can barely hit the menus because the delay is so hard. Other games like factorio, legend of keeper and crusader kings 3 show the same symptoms, none of them are even remotely playable despite being perfectly playable before. The only game that apparently has no issues is minecraft.

At first, I suspected that the driver was uninstalled during the update, but the output of inxi -G shows the following:

$ inxi -G
      Graphics:  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel 
       Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia v: 470.42.01 
       Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
       Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting,nvidia resolution: 2560x1440~60Hz 
       OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01 

which looks correct to me. I’m completely at a loss here and I’m not really sure what to do.

One thing I did find was in the Xorg logs:

[   113.394] (EE) event12 - ASUS ROG SPATHA: client bug: event processing lagging behind by 14ms, your system is too slow
[   572.303] (EE) event12 - ASUS ROG SPATHA: client bug: event processing lagging behind by 11ms, your system is too slow
[   655.495] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[   790.188] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[   802.002] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[   882.208] (EE) event12 - ASUS ROG SPATHA: client bug: event processing lagging behind by 11ms, your system is too slow
[  1086.343] (EE) event12 - ASUS ROG SPATHA: client bug: event processing lagging behind by 21ms, your system is too slow
[  1282.908] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  1503.124] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  1787.975] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-363ms), your system is too slow
[  1804.932] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-680ms), your system is too slow
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-608ms), your system is too slow
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-483ms), your system is too slow
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-413ms), your system is too slow
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-278ms), your system is too slow
[  1926.055] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-137ms), your system is too slow
[  2094.402] (EE) event3  - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 1211ms, your system is too slow
[  2106.268] (II) event3  - AT Translated Set 2 keyboard: SYN_DROPPED event - some input events have been lost.
[  2106.268] (EE) event12 - ASUS ROG SPATHA: client bug: event processing lagging behind by 321ms, your system is too slow
[  2106.268] (EE) event12 - ASUS ROG SPATHA: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[  2300.002] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  2517.255] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  2841.255] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-607ms), your system is too slow
[  2841.255] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-63ms), your system is too slow
[  2964.562] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  2993.496] (EE) event3  - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 1151ms, your system is too slow
[  2993.496] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-651ms), your system is too slow
[  2993.496] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-462ms), your system is too slow
[  2993.497] (EE) client bug: timer event8 keyboard: scheduled expiry is in the past (-144ms), your system is too slow
[  3035.428] (II) event12 - ASUS ROG SPATHA: SYN_DROPPED event - some input events have been lost.
[  3100.551] (EE) client bug: timer event12 debounce short: scheduled expiry is in the past (-11ms), your system is too slow

This happens when I start rimworld and play/click around a bit. I have not seen these errors in older logfiles, so I can just assume they are caused by the update. They don’t give much hint on what the issue is tho.

Some more info:

I have tried DRI_PRIME=1 %command% in steam to start rimworld, but nothing changes.

I used optimus-manager for the laptop. I automatically booted into the integrated mode (because it consumes less energy) and then used optimus-manager --switch nvidia when I intended to play games. And yes, I did switch to nvidia mode before I tested the games:

$ optimus-manager --status
Optimus Manager (Client) version 1.4

Current GPU mode : nvidia
GPU mode requested for next login : no change
GPU at startup : integrated
Temporary config path: no

#########

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
video-hybrid-intel-nvidia-prime            2020.11.30               false            PCI


Warning: No installed USB configs!

#########

$ uname -a
Linux hostname 5.10.49-1-MANJARO #1 SMP PREEMPT Sun Jul 11 12:59:43 UTC 2021 x86_64 GNU/Linux

#########

If there are any logs or infos I should provide, please let me know.

I’ll piggyback here; I’m on GTX 670 and yesterdays update affected my Guild Wars 2 running under Lutris - no matter what runners, settings I’ll pick, client crashes and sometimes freezes system to the point X server has to be killed. Everything was fine on previous 465.31 version of driver.

$ inxi -G
Graphics:  Device-1: NVIDIA GK104 [GeForce GTX 670] driver: nvidia v: 470.42.01 
Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia resolution: 1920x1080~60Hz 
OpenGL: renderer: NVIDIA GeForce GTX 670/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01 

And this is what I managed to find in journal after the last crash:

NVRM: Xid (PCI:0000:01:00): 31, pid=4564, Ch 0000001e, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_GCC faulted @ 0xff_fa4fa000. Fault is of type FAULT_PTE ACCESS_TYPE_READ

I have this same issue after updating.
Same gpu (gtx 670) as well.

Truth be told, the game updated yesterday, and I figured it was an issue with the game.

I’ve dug around a bit and found this

Apparently, this is a problem with the drivers in arch linux. There is a bugreport with a temporary fix, however, it’s not applicable to my system, and I’m definitely not smart enough to figure something out by myself.

Truth be told, the game updated yesterday, and I figured it was an issue with the game.

I’ve booted into Windows 10 and I had no issues with Guild Wars 2 under it. I’m testing things under Pop OS and it seems it uses older mentioned line 465.31 - so far it’s fine so gotta be Arch specific issue with drivers indeed.

I just installed it via the DXVK script and it plays fine for me. ¯\_(ツ)_/¯

Graphics:  Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] driver: nvidia v: 470.42.01 
           Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo 
           Device-3: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.12 driver: loaded: nvidia resolution: 
           1: 1920x1080 2: 1920x1080 
           OpenGL: renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01 

Maybe I’ll give that a shot.
I used the DXVK script myself as well. Maybe I’ll just strip it out and reinstall it when I get home.

Edit: I gave it a shot, and reinstalled ArmoredVehicle.2849’s DXVK script.
Works just fine now.
Just moved the GW2.dat file out, and back again after to save re-downloading the whole game.
Not entirely sure what caused this, but I’m glad it’s not just borked.

No difference for me which script I’m using nor if it’s clean or copied .dat archive - game still freezes and affects OS as well. Sometimes it’s possible to launch terminal and kill Lutris and GW2 itself, sometimes a hard reset is required. I’ve reinstalled Manjaro and same issue still occurs.

I’m testing stuff on Mint with 465.31 - so far no issues but an update to the driver has been released and I’m afraid things gonna repeat there.

Not sure what you’re playing here but you obviously have different GPU architecture.

Adding on that I’m experiencing something similar. Have a GTX 1080 that runs on my host system, and FFXIV on Lutris is running abysmally slow with huge stutters after the most recent full system update (Drivers, Kernel, etc)
Normally got 60 fps+ with no stutters. Thought it may have been due to a recent FFXIV patch, so I switched my runner to the wine exe inside my proton-ge install. It fixed it for a single play session but massive stutters are back after a system reboot.

inxi -G
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1080] driver: nvidia v: 470.42.01 
           Device-2: NVIDIA GA102 [GeForce RTX 3090] driver: vfio-pci v: 0.2 
           Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia resolution: 1: 1920x1080~60Hz 2: 2560x1440 
           OpenGL: renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 470.42.01

Here are my drivers:

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI

Edit:
Noticed it fixed itself after a reboot. Most likely just a temporary fix to something that will keep happening.