r/linux_gaming • u/Similar_Adeptness232 • Dec 18 '23
Games stuttering when the second screen is connected.
I checked what mangohud reports, the frametimes, (min,avg) are the same regardless if the game is "stuttery" or not. Immediately after disconnecting the 2nd monitor the game is running stutter less. While having both monitors connected and running, sometimes it lets me play a minute without stutters, then they start again. Mostly noticed when moving the camera. I also tested minecraft (which runs smoothly on pretty much every PC) frametimes didn't change at all (2ms-4ms blank map) yet the game was stuttering when the second monitor was connected, usually while having both monitors running i could play smoothly for 20 seconds.
I don't think this is the game issue, like i mentioned above the fps, and frametimes stay the same.
It started to happen (i am pretty sure it was a nvidia update) about few months ago. Both monitors use the same refresh rate (144).
Currently running NVIDIA 545.29.06, with allow flipping disabled.
3
u/Leopard1907 Dec 18 '23
Missing info:
Did you bring up fps counters of monitors if they have it? Does that show a serious fluctation?
3
u/10xJSChad Dec 18 '23
Had this or a similar issue, bad hdmi connection would drop for tiiiiny amount of time, so short that absolutely nothing visually changed on screen, but this would trigger udev hotplug events nonstop causing unbearable stutters. Solved by just swapping the hdmi cable out, have a look at your udev events and see if something happens there when you experience the stutters.
3
u/HotTakeGenerator_v5 Dec 18 '23
turn off compositor