http://bugs.winehq.org/show_bug.cgi?id=32094
Bug #: 32094 Summary: Dragon Age: Origins crashes in opengl Product: Wine Version: 1.5.16 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: ovvldc@gmail.com Classification: Unclassified
Created attachment 42313 --> http://bugs.winehq.org/attachment.cgi?id=42313 backtrace with default settings
I have tried running Dragon Age: Origins. I am using Wineskin, which conveniently wraps a vanilla Wine engine (1.5.16 in this case) and XQuartz, the latest X11 version for Mac. I am using OS X 10.6.8 with an nVidia 9400M CPU.
Installation: used Winetricks to install MSXML3, PhysX and dotnet2.0sp2. This was done because the installer otherwise complains about malformed XML, because the PhysX installer crashes and because it was anyway installing dotnet2.0sp2.
The game installer also installed directx9, xact and xinput by itself (not knowing it was running under Wine).
I then installed Awakenings (for which the installer crashed towards the very end) and patch 1.04 (1.05 has really minor changes and is not worth bothering with).
When I ran the game, I got a crash in the splash screen: Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x9aa78e4f).
The backtrace is attached as DAO_backtrace.txt. Lots of things going through the opengl code with the closest native bit being: d3d9_device_DrawIndexedPrimitive.
I then tried using glsl=disabled, which immediately crashes the game on startup, so I turned that back to glsl=enabled
I then set ddr=gdi, thinking that the crash might go away if I move away from opengl for this section. This worked, and I got the game to start and show the usual main menu.
I then chose 'new game' and the game crashed as soon as I tried to skip the opening cinematic: Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7671475f).
The backtrace is attached as DAO_backtrace ddr=gd.txt. Again, some things going through the opengl code with the closest native bit being: d3d9_swapchain_Present.
I hope this description and the backtraces are of some use.
http://bugs.winehq.org/show_bug.cgi?id=32094
--- Comment #1 from Oscar van Vliet ovvldc@gmail.com 2012-10-29 15:25:56 CDT --- Created attachment 42314 --> http://bugs.winehq.org/attachment.cgi?id=42314 backtrace with DirectDrawRenderer set to GDI
http://bugs.winehq.org/show_bug.cgi?id=32094
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2012-10-29 21:49:27 CDT --- Could be a bug in MacOSX's graphics driver... hard to say. And as you know, wineskin isn't supported here.
Assuming you rebuild wine from source (hmm, maybe http://www.davidbaumgold.com/tutorials/wine-mac is a good tutorial), and the problem still happens, a log with debugging symbols might be informative. A real wine d3d guy might also ask for other info.
http://bugs.winehq.org/show_bug.cgi?id=32094
--- Comment #3 from Oscar van Vliet ovvldc@gmail.com 2012-11-02 15:14:26 CDT --- Well, I don't have the space for building Wine and putting DAO on my hard drive at the moment. I did try a bit more and noticed that my crashes are mostly in "geforcegldriver". Is this part of Wine or is that an OS X file?
I did a debug run and noticed that the graphics card is complaining that it is running out of space for textures, so there might be a problem with how DAO and Wine work together with my 9400M. But then again the crash occurs after more things get in the log, so that might not be it.
Anyway, feel free to close the bug if there is no further clarity to be had from it. I just wanted to send in the backtraces in case someone runs into a similar problem.
http://bugs.winehq.org/show_bug.cgi?id=32094
--- Comment #4 from Oscar van Vliet ovvldc@gmail.com 2013-04-23 17:26:53 CDT --- DAO works fine now with the Mac driver in 1.5.27, so I suppose this bug can be closed.
http://bugs.winehq.org/show_bug.cgi?id=32094
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |thunderbird2k@gmail.com Resolution| |UPSTREAM
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmail.com 2013-04-29 00:13:17 CDT --- Assuming this was a bug in the Apple GL drivers, so marking as upstream.
https://bugs.winehq.org/show_bug.cgi?id=32094
Oscar van Vliet ovvldc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Oscar van Vliet ovvldc@gmail.com --- Closing this old bug so as to reduce the number of open bugs.