Closed ghost closed 3 years ago
I've the same thing, but I thought it's caused by the game itself.
Is it specific to CSGO?
Try disabling some features MANGOHUD_CONFIG=gpu_stats=0,cpu_stats=0,frame_timing=0
and see if it's still happening
I tried witcher 3 with dxvk and it didn't seem to have an issue. CS:GO is the only native OpenGL game I have, so I cant test that hypothesis. CS:GO still had a memory leak after disabling the features you specified. I am using the AUR git version now.
If i disable dxvk from lutris, neither mangohud nor mangohud.x86 shows anything in witcher 3. I tried this because I thought since it would run on OpenGL and we could learn something.
You need to use MANGOHUD_DLSYM=1
for wined3d (opengl)
There doesn't seem to be a memory leak with witcher 3 even on OpenGL
I tried Left4Dead 2 and it didn't seem to have a memory leak. And I just confirmed again that CS:GO indeed has a memory leak
Hi,
I have the same issue with CS GO.
My setup : CPU AMD 2700X MEMORY 16 GB GPU RX 5700 XT OS Arch Linux + I3WM
I seem to have the same problem with CS:GO/OpenGL. I don't know about the memory leak because I didn't use it for long enough, but I definitely get the stuttering and fps drop. I have just experimented with different settings and reloading with shift+F4 and it is gpu_stats being enabled that causes the problem for me, with or without gpu_temp enabled.
With vulkan games I didn't have any problems.
Linux 5.7.2, nvidia driver 440.82, nvidia GTX970, Ryzen 5 2600
I put a # before gpu_stats and it still displayed ... Other parameters can be hidden... but with gpu_stats, cpu_stats, frame_timing, I comment this, but they still displayed ....
gpu_stats=0
Thank you. So I can confirm, without gpu_stats it work fine. gpu_stats cause the problem if it is enabled.
I might have fixed it here, needs some testing MangoHud.tar.gz
Can confirm, memory leak appears to be fixed as of mangohud 0.5.1
Issue was CSGO constantly switching between OpenGL contexts when opening menus etc. making MangoHud reinit ImGui (even though Unreal4 does the same).
When I use mangohud overlay with cs:go it causes memory leak( used up all of my 16GB ram in around 30 min) and also stuttering and lower framerates in general compared to what steam fps counter reports when playing game without mango hud.
I am new to this so please tell me if i can provide any more info
Edit: I just tried the git-version from AUR and it still has the same issue. Also i just add
mangohud prime-run %command%
to steam. Also triedprime-run mangohud %command%
. Also I had addedexport DRI_PRIME=1
to the csgo.sh file and i haven't removed it.