https://bugs.winehq.org/show_bug.cgi?id=55654
Bug ID: 55654 Summary: High RAM usage in GTA San Andreas with SkyGFX Product: Wine Version: 8.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d3d Assignee: wine-bugs@winehq.org Reporter: aidas957@gmail.com CC: z.figura12@gmail.com Regression SHA1: c065b4fe0b3622e0c737a4c7c1c514273ad2d8a7 Distribution: ArchLinux
Hello,
So GTA San Andreas has high RAM usage when using the SkyGFX mod since commit c065b4fe0b3622e0c737a4c7c1c514273ad2d8a7
At first the RAM usage seems normal (no more 400 MB) but after doing a loop around the city the RAM usage gets to ~1.5 GB
Commit 22fcf28f05a2478df01b0a0cfae1a49376c990f5 does improve things (the RAM usage when doing the same test is ~1.2 GB) but it's still noticeably higher than before
Disabling/removing the SkyGFX mod or switching to DXVK makes the issue disappear (so it's some weird interaction with the SkyGFX mod and WineD3D)
I do use wine-staging like always (but disabling all of the wined3d staging patchsets didn't make a difference)
The mod is open-source though (https://github.com/aap/skygfx) so it should be easier to tell what graphics code/shader file is triggering the high RAM issue
I tried using valgrind's massif to track the cause of this issue but valgrind didn't support some instructions that are used by 2 mods (and doing some byte patching caused SkyGFX to segfault so that's out of the question)
+d3d logs/an apitrace might be helpful but the issue only becomes noticeable enough after a few minutes so both of these are going to be likely too big
https://bugs.winehq.org/show_bug.cgi?id=55654
Aida JonikienÄ— aidas957@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=55654
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wschmrdr@gmail.com
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- *** Bug 55469 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=55654
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Markus.Elfring@web.de
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- *** Bug 55524 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=55654
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Summary|High RAM usage in GTA San |Multiple Direct3D 8/9 |Andreas with SkyGFX |applications have increased | |memory usage / run out of | |memory since Wine 8.14 Status|UNCONFIRMED |NEW
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- https://gitlab.winehq.org/wine/wine/-/merge_requests/4099 should hopefully fix this.
https://bugs.winehq.org/show_bug.cgi?id=55654
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |307b200363d78fbb00c3519a38b | |26a9f044e402e
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Fixed upstream by https://source.winehq.org/git/wine.git/commitdiff/307b200363d78fbb00c3519a38b26a9f044e402e.
https://bugs.winehq.org/show_bug.cgi?id=55654
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.19.