Game lag/stuttering after a while

Hi,

i´ve searched the internet for while but didnt find any solution for my problem.

After im playing a while it starts to lag. in the beginning everything is fine even the beefier graphics are fine but after a while it starts to lag. it depends on the game when it starts to lag.
the alters after 20 minutes
split fiction after 70 minutes but water graphics are instant lag start point
dying light 2 after 30 to 40 minutes
when im restarting the game everything is fine till the time mentioned above passes. there is no sound or input lag just graphics.

thinks ive tried:
set my main graphics card in the kde manager on steam instead of the internal with

__NV_PRIME_RENDER_OFFLOAD=1__GLX_VENDOR_LIBRARY_NAME=nvidia

set the start option on steam itself for the alters to

DXVK_ASYNC=1

lowering the resolution
different upscaling options
window mode, fullscreen mode, windowed fullscreen
lowering graphic quality ( had doubled the time to start the lag but only once after a complete restart the effect is gone)

hope you can help

What gpu do you have. Is there a chance you saturate your vram?

its a nvidia rtx 3060ti. how can i test that?

i did glxinfo -b and that came

Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 6022 MB

in some other forum i read that my total available memory should be much hugher than the dedicated

Do you have GameMode? You can enable the full performance overlay from the right-hand menu in Steam. Otherwise, you can use MangoHud for the desktop. Check if you are maxing out your VRAM (GPU memory). If so, you may need to lower your texture settings.

I installed mangohud but can’t get the full overlay working. I’m placing alters on medium and it’s round about 98% busy all the time. On low it’s around 80% and lag issues are much less.
Seems I need a new GPU. Any suggestions that are good for bazzite? I would also go AMD I heard they have way better cost/performance ratio than Nvidia.
Do I need to install bazzite new? Because as I choosed the distro it let me pick my gpu

Hey,

You can try adding LD_PRELOAD="" to the command line. There is a know open issue about it.

so far ive tried different things

  • LD_PRELOAD="" didnt do anything recognizeable
  • steam beta branch and LD_PRELOAD="" was the best solution the lags started after an hour
  • steam beta and LD_PRELOAD="" and overlay activated was horrible
  • just steam beta was the same as just trying LD_PRELOAD=""

I think bazzite only supports Steam STABLE. I could be wrong I am trying to find the wiki paragraph that says that

From my understanding you need to both set LD_PRELOAD="" %command% AND disable Steam overlay. I am unsure whether it needs to be disabled globally or if it’s okay to just have it disabled for the one game as I personally prefer to keep it disabled globally.

This has at least completely eliminated the issue I was having with Overwatch 2 which sounds exactly like what you’re currently dealing with.

1 Like

the command thing seems to have changed somthing. at first it needed much longer for the shader loading ingame. but ingame that lags havent changed. ill try different proton versions next time. i tested the whole time on experimental

I have an update. I’ve tried today sunkenland.a game that is from my perspective not so graphic intensive. I’m setting it on mid graphic and when I’m opening the crafting it starts to lag. nvtop in the terminal says the GPU memory is full as of this moment.

I’m thinking I need to retrace a few steps and install bazzite new or start looking for a new distro because I think it’s software or setting related

Then it seems I was correct. Have you tried to do a clean install? Just to be sure. What build of bazzite do you use?

My rig:
MB Asus x99aii
CPU Intel i5 6850k
GPU rtx3060ti
800w PSU
Kingston m.2 SSD 2tb

I’m using the bazzite open Nvidia distro

KDE or Gnome?

I have the same GPU and I dont have problems like that. Very weird. I think its some kind of bug. You said it never happens on other distros?

KDE without gaming mode. Which one do you use?
The reddit community said that CPU could be a bottleneck. I’m thinking about upgrading certain parts but it would be cool otherwise

CPU/GPU are totally not balanced but the problem you describe seems like another issue. I use the KDE + gaming mode HTPC image of bazzite for nvidia. Do you have any packages layered? Have you done the rpm-ostree reset?

On the bazzite homepage itself says my system is to old so it don’t recommend gaming mode.
I have no idea which packages I could have layered. It’s a fresh bazzite install from USB stick without dual boot.
The command rpm-ostree reset gives no changes as an answer

ive had no problems with cs2, or elden ring so far!