http://bugs.winehq.org/show_bug.cgi?id=19267
Summary: Using a Depth + Stencil format is causing a memory leak Product: Wine Version: 1.1.25 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hpestilence@gmail.com
I was having a memory leak with eve-online and found the patch that caused the memory leak was the added support of depth stencil formats with
commit f8c4832276fb740e527fed87aa27975f91546d26 wined3d: Use GL_DEPTH24_STENCIL8_EXT for depth stencil formats.
I disabled the stencil format in the eve-online options by choosing 24-bit depth only and the memory stayed stable.
I wasn't sure if this was an ATI driver bug so I'm reporting it here first.
I also tested using a HDR demo from here http://www.daionet.gr.jp/~masa/rthdribl/
The demo starts with a 16-bit depth first which can be changed to a depth + stencil format by going to File->Config Display.
http://bugs.winehq.org/show_bug.cgi?id=19267
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2009-07-10 10:08:38 --- I can't think of a way how that would cause a memory leak, but blaming fglrx is probably premature as well at this point. How did you detect the leak, and is there any chance you could narrow it down to a specific piece of code?
http://bugs.winehq.org/show_bug.cgi?id=19267
--- Comment #2 from hpestilence hpestilence@gmail.com 2009-07-10 19:29:30 --- Seems to have gone away in EVE Online in yesterdays git but still occurs in the HDR demo.
I first noticed it in eve-online whenever HDR and bloom was enabled that I was crashing due to a gl_out_of_memory error. I started using top and noticed that RES and %MEM was rising rapidly about 1MB - 2MB every 3 seconds. The crash would randomly happen around 20% mem usage. I have 4GB ram and 4GB swap.
Testing some more with the HDR demo it seems to be now be triggered by using multisampling + depth/stencil format. Hmm, if I set the multisampling to none and back to 4x after setting the depth/stencil format the memory leak goes away.
http://bugs.winehq.org/show_bug.cgi?id=19267
--- Comment #3 from Austin English austinenglish@gmail.com 2010-07-23 15:49:57 --- This is your friendly reminder that there has been no bug activity for a year. Is this still an issue in current (1.2 or newer) wine
http://bugs.winehq.org/show_bug.cgi?id=19267
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2010-11-13 15:28:35 CST ---
Seems to have gone away in EVE Online in yesterdays git but still occurs in the
HDR demo
Was a Eve online bug.
This bug can be closed as INVALID
http://bugs.winehq.org/show_bug.cgi?id=19267
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #5 from Austin English austinenglish@gmail.com 2010-11-13 16:42:40 CST --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=19267
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Component|directx-d3d |-unknown
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-11-14 01:19:48 CST --- Closing invalid.