http://bugs.winehq.org/show_bug.cgi?id=30954
Bug #: 30954 Summary: err:d3d:resource_init Out of memory! in Prince of Persia 2008 Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: zilforever@gmail.com Classification: Unclassified
Created attachment 40613 --> http://bugs.winehq.org/attachment.cgi?id=40613 backtrace from crash
Ubuntu 12.04 64 bit Geforce 560 Ti with Nvidia binary driver 295.40
In end of game, game crashed after playing a little more then 2 hours. Earlier probably didnt play so long (or didnt visit so many locations -> final battle).
fixme:dsound:IDirectSoundBufferImpl_AcquireResources (0x21c0e8,00000000,0,(nil)): stub, faking success fixme:d3dx:ID3DXConstantTableImpl_GetConstantElement (0x495e53c0)->(0x1, 0): stub fixme:d3d:resource_check_usage Unhandled usage flags 0x8. err:d3d:resource_init Out of memory! wine: Unhandled page fault on read access to 0x00000000 at address 0x4d7ea5 (thread 0027), starting debugger... wine client error:9: write:
http://bugs.winehq.org/show_bug.cgi?id=30954
zil zilforever@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.5.5
http://bugs.winehq.org/show_bug.cgi?id=30954
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2012-06-19 16:15:35 CDT --- Does a native d3dx9-36 dll help?
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #2 from zil zilforever@gmail.com 2012-06-19 16:57:32 CDT --- hmm probably needed to play long too check it. Is there a way to check how much of memory is used? To see if its leaking.
http://bugs.winehq.org/show_bug.cgi?id=30954
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2012-06-20 11:06:09 CDT --- The error message in question is coming from http://source.winehq.org/source/dlls/wined3d/resource.c#L111 which makes me think you're running out of system RAM / swap space.
What does the command free output on your system?
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #4 from zil zilforever@gmail.com 2012-06-20 15:55:48 CDT --- free -m total used free shared buffers cached Mem: 7969 7848 121 0 1556 4102 -/+ buffers/cache: 2189 5780 Swap: 9535 0 9535
Not nice
nvidia-smi 579MB / 1023MB
instaling d3dx9-36 with winetricks didnt help. I think because it consume still a lot of memory and dont free it.
I wasnt able to crash it again but looking and stats im pretty close.
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #5 from Dan Kegel dank@kegel.com 2012-06-20 16:02:33 CDT --- What does 'free -m' say right after boot, and every five minutes during gameplay?
You could run the script while free -m do date sleep 300 done > memory.log 2>&1 while running the game to find out.
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #6 from zil zilforever@gmail.com 2012-06-21 12:01:30 CDT --- After boot free -m total used free shared buffers cached Mem: 7969 855 7114 0 58 259 -/+ buffers/cache: 538 7431 Swap: 9535 0 9535
I left it for half and our and it didnt change much.
During installation system monitor says that setup.exe use only 33.1 MB but free -m says more and more until total used free shared buffers cached Mem: 7969 7804 165 0 17 6921 -/+ buffers/cache: 865 7104 Swap: 9535 0 9535
ant it stops there. So OS dont use it so much mem -> http://www.linuxatemyram.com/
After longer playing i wasnt able to crash it again or consume 18GB of RAM. System montor says 900MB. So im a little confussed. Is that function return correct value?
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #7 from Dan Kegel dank@kegel.com 2012-06-21 12:12:27 CDT --- Doesn't sound like a real memory problem somehow.
Wonder what was different on that first run where you had the crash.
Can reproduce the bug? If not, not much we can do.
http://bugs.winehq.org/show_bug.cgi?id=21973 mentions a similar problem, supposedly fixed.
http://bugs.winehq.org/show_bug.cgi?id=30954
--- Comment #8 from zil zilforever@gmail.com 2012-06-21 12:43:57 CDT --- ye i saw it when searching for duplicate.
Wonder what was different on that first run where you had the crash.
I started PC then game. I even played from the same save to end and nothing/
If I cant reproduce it no point of such bug:( Next time at least I will know to check ram.
So closing.
Dan Kegel i coudnt find such bug so maybe u know and i dont wont to make duplicate? During game when i go to menu and then hibernate/lock/sleep (or how it called in linux) system and then go back to game -> colors are mismatched (dark red) other less intensive. After i move or run a little it goes back to normal. It not happend when i go to desktop. OS colors are ok. Game menu also is ok.
http://bugs.winehq.org/show_bug.cgi?id=30954
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #9 from Dan Kegel dank@kegel.com 2012-06-21 13:59:38 CDT --- Let's mark it abandoned until/unless you can reproduce.
Problems with suspend should be reported to the OS and/or graphics driver vendor, I think.
http://bugs.winehq.org/show_bug.cgi?id=30954
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #10 from André H. nerv@dawncrow.de 2012-06-22 12:55:58 CDT --- closing abandoned