https://bugs.winehq.org/show_bug.cgi?id=52281
Bug ID: 52281 Summary: Grim Dawn eventually starts lagging and crashes during gameplay Product: Wine Version: 6.23 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: idarktemplar@mail.ru Distribution: ---
Created attachment 71409 --> https://bugs.winehq.org/attachment.cgi?id=71409 grimdawn top output.txt
When playing Grim Dawn (GOG latest version 1.1.9.3) it eventually starts lagging, freezing, and finally crashes.
Best way to reproduce it I've found is Shattered Realms mode from Forgotten Gods addon (act 7). Around 3-4 levels (each includes 3 monster maps and 1 boss map) game starts lagging, after 10+ levels it crashes for me. Just playing campaign reproduces issue as well.
I've tried switching various graphics settings, switching wine to wine-staging, running without dxvk or in d3d9 mode, it didn't fix issue for me. Only workaround I've found is quitting game and launching it again.
I've switched to running 64-bit game executable, and it still didn't this issue. It looks like some resource leak: application consumes more and more memory until it crashes. But it crashes long before all system memory is consumed.
OS: Gentoo Linux amd64 (x86_64) Kernel: 5.15.11 Wine version: 6.23 Videocard: NVIDIA GeForce GTX 750 Video driver: proprietary nvidia drivers 470.86 DXVK: 1.9.2
https://bugs.winehq.org/show_bug.cgi?id=52281
i.Dark_Templar idarktemplar@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Gentoo
https://bugs.winehq.org/show_bug.cgi?id=52281
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr --- DVXK is not supported here. Please test with the latest plain wine: wine-7.0-rc2. If the bug still occurs, attach a full console output. Otherwise, report to DXVK.
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #2 from i.Dark_Templar idarktemplar@mail.ru --- (In reply to joaopa from comment #1)
DVXK is not supported here. Please test with the latest plain wine: wine-7.0-rc2. If the bug still occurs, attach a full console output. Otherwise, report to DXVK.
Quoting first post:
running without dxvk or in d3d9 mode ... didn't fix issue for me
Do you need any specific WINEDEBUG settings or default one should be fine? I'll try reproducing it again and attach it.
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #3 from joaopa jeremielapuree@yahoo.fr --- At first, test with the latest wine (wine-7.0-rc3) Secondly, if your software does not work with plain wine, wine should be fixed to work.
You said wine does not work in d3d9 mode. So this bug report could be specialized for this problem. Please attach the console output in this bug. For the dxvk problem, please report to dxvk.
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Is there a freely legally downloadable demo showing the problem?
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #5 from i.Dark_Templar idarktemplar@mail.ru --- (In reply to joaopa from comment #4)
Is there a freely legally downloadable demo showing the problem?
As far as I'm aware, there is no free legal demo of game.
This game requires directx11, as far as I'm aware, but has fallback directx9 mode. Thus it runs both with and without dxvk. I'll attach log in default mode, which should use directx11, without dxvk.
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #6 from i.Dark_Templar idarktemplar@mail.ru --- Created attachment 71535 --> https://bugs.winehq.org/attachment.cgi?id=71535 grimdawn.log.bz2
I've tested it with wine-7.0-rc3 without dxvk. I couldn't make it crash anymore. Not sure if it's good news or not, because it still slows down when playing for some lengthy period of time, maybe slowing down a little less.
Attaching log without crash.
https://bugs.winehq.org/show_bug.cgi?id=52281
i.Dark_Templar idarktemplar@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Grim Dawn eventually starts |Grim Dawn eventually starts |lagging and crashes during |slowing down and lagging |gameplay |
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- You should fix that at first: err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
When slowdown begins to occur how is your free memory? Slowdown could be a memory leak.
https://bugs.winehq.org/show_bug.cgi?id=52281
--- Comment #8 from i.Dark_Templar idarktemplar@mail.ru --- (In reply to joaopa from comment #7)
You should fix that at first: err:winediag:ntlm_check_version ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
When slowdown begins to occur how is your free memory? Slowdown could be a memory leak.
Hmm, usually not having samba installed doesn't cause any issues, but I'll try installing it and see if it fixes something in this case.
Game uses more memory over time. I've checked that increased memory consumption happens on windows too. I guess it either keeps more data during gameplay (generated/killed monsters info, travelled map, etc) or leaks, or both.