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.