You are not logged in.

#26 2024-12-05 17:00:38

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

No, the original issue was stuttering when I pressed any key or moved the mouse after a few minutes of running a game. That seems to be gone now, but now there is input delay everywhere, at all times. This wasn't present in 6.11.

Offline

#27 2024-12-06 06:11:10

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Then we shall look at either the situation w/ the LTS kernel or you can also just try the behavior of the upcoming 6.12.2.arch1-1 - the simpledrm hack has been restored cool

Offline

#28 2024-12-06 06:42:46

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Sounds good, I'll try the new kernel when I get home from school and I'll update after I playtest for an hour or 2.

Offline

#29 2024-12-06 14:56:18

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Nope, added testing repos, did a full system upgrade and now it won't go to SDDM. Guess LTS is the only way smh my head

Offline

#30 2024-12-06 15:00:25

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Testing is all or nothing and I guess you just broke the nvidia driver installation?

Offline

#31 2024-12-06 15:02:35

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I don't really care, as I can comment the testing repos and system upgrade again. Also, I didn't upgrade nvidia-utils as there was a conflict with lib32-nvidia-utils (this is probably why it won't boot with Zen). The Novideo drivers seem to be working perfectly (sadly) with LTS.

Offline

#32 2024-12-06 15:05:17

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I didn't upgrade nvidia-utils

seth wrote:

Testing is all or nothing and […] you just broke the nvidia driver installation

https://archlinux.org/packages/multilib … dia-utils/

Offline

#33 2024-12-06 15:07:12

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

So will commenting testing repos reverse me breaking the Novideo drivers (which seem fine to me)?

warning: linux-zen: local (6.12.2.zen1-1) is newer than extra (6.12.1.zen1-1)

oh shit

Last edited by average_scout (2024-12-06 15:09:56)

Offline

#34 2024-12-06 15:11:11

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

there was a conflict with lib32-nvidia-utils

seth wrote:

Testing is all or nothing

Read this: https://wiki.archlinux.org/title/Offici … positories

In doubt wait until the 6.12.2 kernel hits core.
Do not install selected packages or repos from the testing variant, it will cause troule.
All or nothing.

Offline

#35 2024-12-06 15:14:10

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Now I can't even system upgrade to get the normal packages again (check reply edit) what do I do? Nevermind, the wiki says it, sorry for the dumb question

Last edited by average_scout (2024-12-06 15:14:47)

Offline

#36 2024-12-06 15:18:47

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Basically, the original issue has been solved now. Just needed to switch to LTS I guess. And I'll wait for the new Kernel to reach normal repos. Also mandatory fuck Nvidia

Offline

#37 2024-12-08 21:54:16

marki
Member
Registered: 2024-12-08
Posts: 6

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I started having similar issues to this recently as well. It seems to only happen with my mouse, and only after playing a game for a bit (I haven't timed it or anything, it just seems to randomly start). My FPS, for example, will hover around 100 for a game. Then once the "bug" kicks in, anytime I move the mouse my game tanks down to <50fps and stutters like crazy. If I don't move the mouse at all, or I switch to controller then I have zero issues.

I took the advice above about switching to the LTS kernel and was able to play for probably an hour or two without any problems. Hopefully that fixes things for now. Also fwiw I have an AMD CPU and GPU, so it doesn't seem like it's specific to Nvidia, assuming our issues are the same.

One more note for other people having the same problem: I saw a ton of comments about how it was mouse polling rate, and I tried lowering that to 150hz and that didn't help at all.

Offline

#38 2024-12-08 22:03:08

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Wayland, X11 or doesn't matter?

Also fwiw I have an AMD CPU and GPU, so it doesn't seem like it's specific to Nvidia

"Only" or is this a hybrid system?
https://wiki.archlinux.org/title/PRIME# … ronization

Is keyboard input also affected?
If not, what if you lower the https://wiki.archlinux.org/title/Mouse_polling_rate ?

Offline

#39 2024-12-08 22:04:54

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I think he said decreasing the mouse polling rate does nothing

Offline

#40 2024-12-08 22:08:25

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Sorry, I stopped reading after amdgpu and went into inquiry mode - very bad habit wink

Offline

#41 2024-12-08 22:11:24

marki
Member
Registered: 2024-12-08
Posts: 6

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Everybody is faster than me typing on my phone.

To answer the first question, I mostly use Wayland, but I also tested in X11 and it didn't change anything. If anything, I've noticed that games run slightly worse overall in X11.

And my system is ONLY AMD.

Last edited by marki (2024-12-08 22:13:22)

Offline

#42 2024-12-08 22:20:50

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I'm typing on a phone too brah. You're just too slow.

Anyways, today, I noticed that the issue hppened again on LTS. But this time, it took way longer to happen. Like twice as long. I was running a certain anime game (those who know?) with a certain launcher and an fps unlocker. Both mouse and keyboard affected it equally. I noticed that once when I just held the W key pressed after a few seconds the stuttering would stop. Also, I'll try connecting a controller when or if it happens tomorrow. I thought about filing a bug report for Linux, but that's probably foolish.

Offline

#43 2024-12-09 00:54:34

marki
Member
Registered: 2024-12-08
Posts: 6

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Update: Switching to the LTS kernel _did not_ fix things for me. Games still randomly decide to drop to <30fps (often closer to 5 tbh) whenever I move the mouse around. Only fix is completely restarting the game.

Offline

#44 2024-12-09 08:56:17

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Guys, it happened again today. It took like 40 mins for it to happen while I was playing GoreBox, a Windows game ran using Proton GE. And, as you said, controller is unaffected. The thing is that I run all my games using gamemode. Maybe that's the culprit? Do you also use gamemoderun?

Offline

#45 2024-12-09 09:44:03

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

Another update: Closing the game, then starting it again seems to only keep the issue from happening for a short time. So restarting the game is not that good a workaround.

Offline

#46 2024-12-09 13:27:53

marki
Member
Registered: 2024-12-08
Posts: 6

Re: [Solved] Games start lagging when sendind inputs after a few minutes

average_scout wrote:

The thing is that I run all my games using gamemode. Maybe that's the culprit? Do you also use gamemoderun?

I've tried it with and without to no avail. It's happened for a few different games, some of which I've tried gamemode and/or gamescope, and games without either.

Offline

#47 2024-12-09 13:30:41

marki
Member
Registered: 2024-12-08
Posts: 6

Re: [Solved] Games start lagging when sendind inputs after a few minutes

The worst part is being unable to test changes quickly. Every change I make requires playing and waiting for the inevitable hmm

edit: Found this after Googling even more, and it seems like it could be related. Will have to try out the LD_PRELOAD fix later: https://github.com/doitsujin/dxvk/issues/4436

Last edited by marki (2024-12-09 14:07:46)

Offline

#48 2024-12-09 14:38:23

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

So keyboard¹ and mouse trigger this but not some "controller" (I guess some gamepad)
How are these things attached to the system?
USB? Bluetooth? Some logitech dongle?

¹Does it, /without/ using the mouse at all?

I noticed that once when I just held the W key pressed after a few seconds the stuttering would stop.

So eg. use the controller and then try to trigger the problem w/ the keyboard.

Offline

#49 2024-12-09 17:48:38

average_scout
Member
Registered: 2024-06-14
Posts: 114

Re: [Solved] Games start lagging when sendind inputs after a few minutes

I've noticed that it starts happening while moving the mouse. So it's probably the mouse that starts it. Both that and my keyboard are 1000hz polling rate, and they are connected by USB. My "controller" is some PS4 gamepad that works out of the box on Linux. 

So eg. use the controller and then try to trigger the problem w/ the keyboard.

what exactly do you mean by this?

Offline

#50 2024-12-09 17:54:02

seth
Member
Registered: 2012-09-03
Posts: 65,061

Re: [Solved] Games start lagging when sendind inputs after a few minutes

what exactly do you mean by this?

Play the game w/ the PS4 controller (usb or BT? I know you could use it wired or wireless on the PS4) and randomly use the keyboard as well to see whether that triggers it.

Have you tried mouse/keyboard on different USB ports
(notably usb2 ./. usb3)?

Offline

Board footer

Powered by FluxBB