http://bugs.winehq.org/show_bug.cgi?id=26636
Summary: Metal Fatigue: OpenGL renderer causes crash on game start Product: Wine Version: 1.3.17 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: grsfdhj@tiscali.it
Created an attachment (id=33908) --> (http://bugs.winehq.org/attachment.cgi?id=33908) Backtrace of OpenGL crash
Metal Fatigue crashes every time I try to start a game, if OpenGL is selected as renderer instead of DirectDraw. Attached a backtrace log. Please tell me what info you need to narrow down this issue.
http://bugs.winehq.org/show_bug.cgi?id=26636
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2011-07-23 06:34:47 CDT --- Is it still a bug in current wine? If yes, does the demo http://www.fileplanet.com/38396/30000/fileinfo/Metal-Fatigue-Demo show the problem?
Did you try the game in a real Windows box?
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #2 from Alan A. grsfdhj@tiscali.it 2011-07-23 08:48:47 CDT --- Created an attachment (id=35658) --> (http://bugs.winehq.org/attachment.cgi?id=35658) Backtrace of complete game and demo
(In reply to comment #1)
Is it still a bug in current wine? If yes, does the demo http://www.fileplanet.com/38396/30000/fileinfo/Metal-Fatigue-Demo show the problem?
Did you try the game in a real Windows box?
Yes, it's still an issue in wine-1.3.24. The demo seems to show the same --- or a very similar one --- problem. I'm attaching a backtrace of both the demo and complete game with OpenGL renderer selected. Last time I played the game on Windows (XP), it was on the same machine I'm now using Linux on. Apart some audio issues (which vanished playing the game with admin rights), I've had no problems. Currently, I don't remember if the OpenGL renderer worked back then (I had no need to switch from Direct3D), but I assume it did.
http://bugs.winehq.org/show_bug.cgi?id=26636
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.fileplanet.com/3 | |8396/30000/fileinfo/Metal-F | |atigue-Demo CC| |wylda@volny.cz
http://bugs.winehq.org/show_bug.cgi?id=26636
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33908|application/octet-stream |text/plain mime type| | Attachment #33908|MetalFatigue-OpenGLBT.log |MetalFatigue-OpenGLBT.txt filename| |
http://bugs.winehq.org/show_bug.cgi?id=26636
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #3 from Wylda wylda@volny.cz 2011-07-27 04:17:23 CDT ---
I can confirm the crash in case of OpenGL, when demo is used.
Currently, I don't remember if the OpenGL renderer worked back then (I had no need to switch from Direct3D), but I assume it did.
Probably not, because even AppDB says for 0.9.39, that OpenGL is no-no.
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2011-07-27 04:53:08 CDT ---
From the backtrace
->preloader: Warning: failed to reserve range 00010000-00110000
Wylda, do you have the same error message? If yes, it is surely the culprit.
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #5 from Wylda wylda@volny.cz 2011-07-27 05:40:22 CDT --- Created an attachment (id=35715) --> (http://bugs.winehq.org/attachment.cgi?id=35715) Console log from wine-1.3.25-99-g093547e
Wylda, do you have the same error message? If yes, it is surely the culprit.
Nope, i do not have such line in my output. nVidia GT240 v275.09.07.
http://bugs.winehq.org/show_bug.cgi?id=26636
Alan A. grsfdhj@tiscali.it changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #35658|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #6 from Alan A. grsfdhj@tiscali.it 2011-07-27 06:36:15 CDT --- (In reply to comment #3)
Probably not, because even AppDB says for 0.9.39, that OpenGL is no-no.
I was referring to running the game in OpenGL mode under a real Windows XP (which I never tried). Under wine it never worked.
(In reply to comment #4)
From the backtrace ->preloader: Warning: failed to reserve range 00010000-00110000
Wylda, do you have the same error message? If yes, it is surely the culprit.
I've run the game with and without setting the vm.mmap_min_addr kernel parameter to 0 (which is related to the Preloader Page Zero Problem) , noticing no differences in this issue. Given this, I then removed the majority of those warnings from the backtraces.
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2011-07-27 10:12:13 CDT --- Created an attachment (id=35719) --> (http://bugs.winehq.org/attachment.cgi?id=35719) Backtrace with opengl and wgl channels enabled
In my real Vista box, the demo works with the Opengl render. So it is a Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=26636
--- Comment #8 from Roderick Colenbrander thunderbird2k@gmail.com 2012-06-26 23:57:53 CDT --- The crash seems to be in the game executable and not in its OpenGL plugin. Also the log file shows thousands of GL calls and the crash also doesn't really point out it is crashing in GL code within Wine. The last calls (based on the log, but the log is not complete) show some audio stuff which doesn't say it is even audio related.
I think the game just behaves differently when you use GL.
https://bugs.winehq.org/show_bug.cgi?id=26636
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |DUPLICATE Summary|Metal Fatigue: OpenGL |Metal Fatigue: OpenGL |renderer causes crash on |renderer causes crash on |game start |game start (GL_EXTENSION | |string overflow)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
I debugged this, there is nothing to fix here.
It's an old game which suffers from GL_EXTENSION string overflow.
The overflow overwrites parts of an object vtable (located in data section), hence the crash.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Psygnosis/Metal Fatigue Demo
$ __GL_ExtensionStringVersion=17700 wine ./MFatigue.exe --- snip ---
For the future: please resolve all games suffering from this overflow to bug 25362
$ sha1sum metalfatigue.exe f98804b10769ab21d02b52b0142d27ed447a1cc8 metalfatigue.exe
$ du -sh metalfatigue.exe 24M metalfatigue.exe
$ wine --version wine-1.7.21-19-g8812193
Regards
*** This bug has been marked as a duplicate of bug 25362 ***
https://bugs.winehq.org/show_bug.cgi?id=26636
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com --- Closing.