[SOLVED] After 45 minutes to 1 hour playing, some games lag like a slideshow when I move the camera. It only fixes when I close the game and open it again.
EDIT: Seems that adding LD_PRELOAD="" %COMMAND% on steam's launch options fixed my problem. Thanks a lot, everyone :)
I don't know why this happens, I tried playing on windowed, borderless windowed and fullscreen and this bug always happens.
Here's my fastfetch info:
OS: Arch Linux x86_64
Host: Nitro AN517-54 (V1.20)
Kernel: Linux 6.14.5-arch1-1
Uptime: 2 hours, 18 mins
Packages: 1271 (pacman), 20 (flatpak)
Shell: zsh 5.9
Display (eDP-1): 1920x1080 @ 60 Hz in 17" [Built-in]
Sounds like a memory leak. Have you checked your RAM and GPU memory when this happens? You can use btop and nvtop. If it's a memory leak, it shouldn't happen with every game though.
Try lowering some VRAM-heavy graphics settings. This was happening with Elite Dangerous to me with Proton 6. It was fixed with later Proton releases but until then I played with lowered VRAM-heavy settings.
Try disabling the steam overlay I had this issue with doom eternal. Assuming it's on steam and since I believe this is ac syndicate disable there overlay aswell has this problem with division 2
This, and specifically, you can also try disabling steam in game recording for whatever game is giving you trouble. I have found it to nuke performance in some games similar to what you are describing.
Have you tried changing whatever compatibility layer you're using? Sometimes, I have some visual glitches and changing from, for example, GE-proton to proton experimental fixes it. Install an app called "protonplus" and find more compatibility layers from different folks.
Alternatively, since it looks like you're running on battery, does something in your setup change to a "low power" performance mode that throttles your system?
Sorry for that, I ran fastfetch when I wasn't playing, but I always play using the charger. My laptop decreases it's performance when on battery, but it doesn't wait for low battery to decrease, it's instantaneous.
Is it only when you use the mouse or keyboard? Used to have something similar a few years ago on my Steam Deck with some games. Never figured out what it was and I think it doesn't happen anymore.