this post was submitted on 11 May 2025
74 points (98.7% liked)

Linux Gaming

17894 readers
10 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 5 years ago
MODERATORS
 

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]

DE: KDE Plasma 6.3.5

WM: KWin (Wayland)

WM Theme: Breeze

Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]

Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]

Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]

Cursor: breeze (24px)

Terminal: konsole 25.4.0

CPU: 11th Gen Intel(R) Core(TM) i5-11400H (12) @ 4.50 GHz

GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]

GPU 2: Intel UHD Graphics @ 1.45 GHz [Integrated]

Memory: 4.34 GiB / 15.40 GiB (28%)

Swap: 0 B / 16.94 GiB (0%)

Disk (/): 255.23 GiB / 450.71 GiB (57%) - ext4

Disk (/mnt/ssd): 298.43 GiB / 439.04 GiB (68%) - ext4

Battery (AP18E7M): 33% (1 hour, 2 mins remaining) [Discharging]

Locale: en_US.UTF-8

all 31 comments
sorted by: hot top controversial new old
[–] chloroken@lemmy.ml 21 points 6 days ago (1 children)

Pass LD_PRELOAD="" as an argument on steam for the games that do this. It will fix your problem.

[–] abobla@lemm.ee 11 points 6 days ago

I'll try it later and see if it fixes, thank you.

Also, thanks @noodlejetski@lemm.ee as well for this tip.

[–] muhyb@programming.dev 20 points 6 days ago (1 children)

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.

[–] abobla@lemm.ee 8 points 6 days ago (1 children)

Just got the bug to appear again. Plasma monitor shows 8.1/15.4GB of ram being used, but nvtop shows 100% GPU memory being used.

If the LD_PRELOAD="" command doesn't work, I'll see what I can do about the vram usage.

[–] muhyb@programming.dev 12 points 6 days ago

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.

[–] Blxter@lemmy.zip 11 points 6 days ago* (last edited 6 days ago) (3 children)

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

[–] noodlejetski@lemm.ee 9 points 6 days ago* (last edited 6 days ago)

yup, and if that doesn't fix the problem, try adding LD_PRELOAD="" to the game's launch parameters

https://github.com/ValveSoftware/steam-for-linux/issues/11446

[–] myersguy@lemmy.simpl.website 6 points 6 days ago

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.

[–] abobla@lemm.ee 4 points 6 days ago (1 children)

By disabling the ac syndicate overlay you mean the ubisoft one?

[–] Blxter@lemmy.zip 6 points 6 days ago

Yes that one in the launcher settings and as noodlejetski said that command should do the same thing I think

[–] Ulrich@feddit.org 9 points 6 days ago (1 children)

Are you monitoring component temperatures?

[–] abobla@lemm.ee 5 points 6 days ago (1 children)

No. That's a good idea, I'll start doing it.

[–] Ulrich@feddit.org 9 points 6 days ago

Yeah the fact that it takes a while to start happening leads me to believe you may be thermal throttling somewhere.

[–] kapitol@lemmy.ca 7 points 6 days ago (1 children)

Hmm what is steam loading by default that clearing it would solve it?

afaik its for the new screen recording feature

[–] Shatpoz1288@lemmy.world 2 points 5 days ago (2 children)

I have this same issue in my system. Haven’t been able to figure out.

This is independent of setting. I play cyberpunk at all lowest settings + fsr performance on a 4080 and i still get this issue after an hour.

[–] Psythik@lemm.ee 2 points 5 days ago (1 children)

Why are you using low settings on an RTX 4080? On a 4090 I can max out every setting and the game runs like a dream. Is the 4090 really that much more powerful or do you have a logical reason to turn down the settings so much?

[–] Shatpoz1288@lemmy.world 2 points 2 days ago* (last edited 2 days ago) (1 children)

Just for testing purposes. To show that the stutter isn’t because of my hardware not being able to run the game at the current settings.

Like OP said, after an ~hour of gameplay, every game starts to stutter for me. Ive had this issue on Divinity Original Sin2, Marvel Rivals, Space Marine2, Cyberpunk, Elden Ring and probably other games i can’t remember. It’s probably a nvidia driver issue or some nvidia config issue.

Edit1: I don’t think it’s a memory leak issue since (correct me if im wrong) those are usually related to issues with the game engine, but we’re seeing this issue across multiple games with different engines. One more thing to note is that im using the flatpak version of Steam. I’ve been considering switching to the regular version of Steam to see if this solves the issue.

[–] Psythik@lemm.ee 1 points 2 days ago (1 children)

Well that does in fact sound like a memory leak issue to me.

Did you try another distro? How do your games run in Windows?

[–] Shatpoz1288@lemmy.world 1 points 1 day ago

I thought memory leaks are related to game engine issues.

The games run without any issues ok windows. Ive only tried manjaroOS. I dont want to try other distros because I’ve already set everything up on my desktop. It would suck to log in to everything again.

[–] Shatpoz1288@lemmy.world 1 points 5 days ago (1 children)

@abobla do you have nvidia or amd gpu?

[–] abobla@lemm.ee 3 points 5 days ago* (last edited 5 days ago) (1 children)

nvidia gpu, my fastfetch info is posted in the post's body: GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]

Also, did you try the LD_PRELOAD="" %COMMAND% mentioned in the post? This solved the issue for me.

[–] DonutsRMeh@lemmy.world 5 points 6 days ago

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.

[–] BossDj@lemm.ee 4 points 6 days ago (1 children)

I think heat

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?

[–] abobla@lemm.ee 4 points 6 days ago* (last edited 6 days ago)

since it looks like you’re running on battery

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.

[–] bjoern_tantau@swg-empire.de 2 points 6 days ago

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.

[–] WatTyler@lemmy.zip 2 points 6 days ago

Consider disabling gamemoderun if you're using it.