this post was submitted on 02 Mar 2025
15 points (100.0% liked)

Linux

6583 readers
500 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

Hi there, I have a quick question regarding my system and mouse lag with nvidia proprietary drivers on X11 using OBS with NVENC.

My system runs great with red dead redemption 2 for around 40 minutes until I begin to lose frames when mouse looking. I can leave the mouse and perform intensive graphical actions and it still runs perfectly without mouse input.

I assume it might be a misconfiguration on the mouse or a known bug with nvidia but am unsure of exactly where to begin looking and/or what terminology I should use to Web search the problem.

Could anyone please point me in the right direction?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 weeks ago (2 children)

If it's time-based, then you have a memory issue. You're probably getting the slowdown from the kernel OOMKilling things as fast as possible to keep the system alive.

[–] [email protected] 1 points 2 weeks ago

Ok, that makes sense, thank you I'll have a look next time I'm on my PC

[–] [email protected] 1 points 2 weeks ago (1 children)

Would that affect only the mouse because otherwise I still get amazing performance when I don't use the mouse?

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

It would make the mouse polling slowdown noticable, but there are other background things happening if you're having what I think you're having. Just because your game is running doesn't mean the rest of the system isn't suffering.

Install MangoHUD and watch your resources while you're playing and running OBS at the same time. Both take up a lot of memory.

[–] [email protected] 2 points 1 week ago

I neglected to configure mangohud to show temperatures and it turns out I was getting 90°c CPU!

I had a sus clip on the CPU heat sink and missed a system fan plug on last rebuild.

Everything should be good but I'll need to finish it up tomorrow morning after I purchase thermal paste to be sure.

[–] [email protected] 2 points 2 weeks ago

Ok, thank you, I'll have a look.

[–] [email protected] 1 points 1 week ago

Back to troubleshooting, it wasn't the heat unfortunately.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

I averaged 90% GPU and 47% CPU, there was no change during and after the beginning of the mouse frame rate drop. However, I tried to restart the game and it wouldn't run again until reboot.

[–] [email protected] 1 points 2 weeks ago

The game has a known vram leak bug. I'm going to look into that as well as my compositor set-up. I think you might be right about it not being the mouse as the desktop is still very smooth.