-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After 25-30 minutes of gameplay, Battlefield 1 stutters like crazy #697
Comments
Same problem here with total war warhammer 2. Operating System: Arch Linux |
Could this be related to #163? That issue's not Fedora or KDE-specific anymore. |
can you try doing |
Just tried running a game again, and now I get freeze every 1-3 seconds (this is without the command, unless it is persistent through a reboot). |
For some reason, I can't reproduce this with a native game (in this case, Drag). |
Oh, sorry. I forgot to update this. The command @cyberphantom52 provided actually worked wonders. I can play indefinitely now without issues. Although, I'm hesitant to close the issue, since something is causing it in the first place, and I'd wager that should be fixed. |
I now have a similar issue where the game starts to have fps drops every second. I noticed that with total war warhammer 2 it starts after a video thumbnail is loaded in the launcher and stops when I start a campaign (when I start playing the game). |
Now I am having the same issue as @tralph3 encountered. The command did not help. |
Same thing happening here - Using Steam (and gamescope by extension) through flatpak; the games i've noticed this happening on are Team Fortress 2 (native) and City of Brass (proton). I have not tried out the command suggested in the previous posts yet. I would like to add that input doesn't seem to be affected - seems to be only a video output issue. |
I had exactly the same issue in War Thunder after some time of game play. Sudden massive stuttering after a few minutes. The command |
That seems to have issues as well: #107 |
setcap solves the issue because it breaks LD_PRELOAD. Setting The problem is some pipe getting filled up in the Steam overlay stuff. I will see if there is some workaround. |
I had to use EDIT: And the game started stuttering again, so this doesn't seem to work. |
Then you set it wrong. Send your full commandline arg |
First it was this:
which gave the error, then this:
which ran, but didn't solve the issue. |
Use that ^, sorry I wasn't clear enough. |
Thanks, it's running now. Will test for a while and report back. EDIT: OK, this way seems to be working, which is better, as I don't have to |
I've been encountering this issue on the Steam Deck with two specific games - PrimeHack, and DX-Ball 2. The only common thread between these games that I can think of is that I spent a lot of time tinkering with the mouse settings in steam input. The lag occurs specifically when the virtual mouse is moved (as configured through steam input). When the mouse stops moving there is no lag. More details in the issue I filed with PrimeHack here: shiiion/dolphin#144 The LD_PRELOAD fix thankfully also works on the steam deck, in particular these were my arguments for DX-Ball 2:
This is slightly different from the above posted fix, I guess because gamescope is invoked at a different stage in the launch process when running in game mode. It's concerning that this is happening on a fairly normal, not overly modded steam deck. |
I recently opened #1511 about this issue. I’d like to add that the stutters mentioned are caused by frametime becoming unstable. Using |
I've also ran into this issue (with Rain World and Nier: Automata, although I haven't tested other games).
(Obviously you would need to make those paths point to your home directory, but other than that I assume it should work) |
I'm also seeing this in many Steam games for the last few months. For me it started only when the Wayland backend was added (and when I use it) so there could potentially be a big uptick in affected users. LD_PRELOAD= does seem to avoid it. Arch / KDE Plasma / RX 6800 XT, also consistently about 30 minutes in. An example game is Half-Life 2. |
I think I may have been affected by this issue as well, and setting CAP_SYS_NICE did make it go away, except in my case the affected game was Forza Horizon 5 and it takes something like 3 hours of gameplay for the stutters to appear. I don't know yet if setting |
try: BETLOG: maybe you need to disable kwin if you are going to use gamescope? [[ false == $(qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active) ]] && qdbus org.kde.KWin /Compositor resume & |
So I'm having the same issue with Valheim on Arch / KDE Plasma / RX 7900 XTX and adding The full options string I'm using now is:
|
That was mentioned above. It's easiest to set LD_PRELOAD back again for the actual game command and the Steam overlay will work.
|
This is an odd one. For some reason, title happens. Up until that point, the game runs flawlessly, constant 60 FPS, no drops, no stutters, nothing. It's buttery smooth.
But CONSISTENTLY after about 25-30 minutes, it stutters, and it never goes away. This only happens when I'm using gamescope. If I don't use it, I can play multiple hours without a hitch.
I haven't encountered this issue on any other game, not even on its predecessor, Battlefield 4. It only happens in Battlefield 1 (I don't own the successors, I'm unaware if this is an issue in BF 5 or 2042).
This issue is not related to ping either. I don't have high ping, and it persists into the campaign and even menus.
System info:
Super detailed system info.
Here's a video showcasing the issue. I'm sorry for the compression, GitHub has a 10MB upload limit, but you can appreciate how choppy it is. That's not the framerate, that's this weird stuttering that makes the game unplayable. It's clearly noticeable when I stop and just move my mouse around.
test.mp4
The text was updated successfully, but these errors were encountered: