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® Core™ 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

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    4 days ago

    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.eeOP
      link
      fedilink
      arrow-up
      8
      ·
      4 days ago

      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
        link
        fedilink
        arrow-up
        12
        ·
        4 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.

  • chloroken@lemmy.ml
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    2
    ·
    4 days ago

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

  • Shatpoz1288@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    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
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      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
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        15 hours ago

        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
          link
          fedilink
          arrow-up
          1
          ·
          9 hours ago

          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?

  • Blxter@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    4 days ago

    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

      • Ulrich@feddit.org
        link
        fedilink
        English
        arrow-up
        9
        ·
        4 days ago

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

  • DonutsRMeh@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    4 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
    link
    fedilink
    arrow-up
    4
    ·
    4 days ago

    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.eeOP
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      4 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.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    2
    ·
    4 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.