http://bugs.winehq.org/show_bug.cgi?id=22347
Summary: Sonic R crashes when choosing a rendering mode Product: Wine Version: 1.1.42 Platform: x86-64 URL: http://www2.sega.co.jp/download/pc/sonicr/sonicr.exe OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: stefan@codeweavers.com
Created an attachment (id=27347) --> (http://bugs.winehq.org/attachment.cgi?id=27347) Terminal output w/ backtrace
Sonic R starts out by showing a screen with an option to use DirectDraw or Direct3D. After choosing either one, it produces an error dialog saying "The instruction at 7e3d53b0 referenced memory at 00000000, the memory could not be read from" and crashes. DirectDraw worked in 1.1.41 (and Direct3D mode didn't crash like this) so I did a regression test:
19b6f5ca75b43f61a366aa521eab9ddbfc4f99dd is first bad commit commit 19b6f5ca75b43f61a366aa521eab9ddbfc4f99dd Author: Stefan Dösinger stefan@codeweavers.com Date: Sun Mar 28 16:25:04 2010 +0200
wined3d: Control the onscreen depth stencil format in the swapchain.
This allows the swapchain to know what depth format its window contexts have to see if the requested depth format is compatible or a FBO fallback is needed, and it will be needed to set the onscreen format to the requested auto depth stencil format instead of the let's-hope-it-fits D24_UNORM_S8_UINT format.
:040000 040000 2f6e9d3017c2e6715b6561d25cca4e947ee95000 44d70c59cce2f82aa3f2d8b6e19679588f81e1b8 M dlls
If you get a division by 0 crash at startup instead, it's a game bug; workaround is to run something CPU-intensive in the background or otherwise limit the amount of CPU power available to the game as it starts.
http://bugs.winehq.org/show_bug.cgi?id=22347
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Blocks| |21878
http://bugs.winehq.org/show_bug.cgi?id=22347
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #1 from Stefan Dösinger stefandoesinger@gmx.at 2010-04-14 06:09:34 --- Which GPU and driver do you have? From the kind of error(opengl pixelformat not supported) it seems to me that the regression is likely to break every d3d application on your card, and not just this game.
http://bugs.winehq.org/show_bug.cgi?id=22347
--- Comment #2 from A Wine user RandomAccountName@mail.com 2010-04-14 06:39:17 --- I use an Intel GMA 950, with Intel driver version 2.9.0. I don't try to play many 3D games on this thing, but I know I have some DirectDraw games that are still working. I'll check a few 3D games a little later today and see whether they still work or not.
http://bugs.winehq.org/show_bug.cgi?id=22347
--- Comment #3 from A Wine user RandomAccountName@mail.com 2010-04-14 07:37:12 --- Alright, I tested 3 more 3D games:
Sonic Adventure DX - runs, has improved since I last checked Sonic Heroes demo - same as above Lego Racers - gives the same series of errors and crashes like Sonic R
A (possibly coincidental) observation is that both crashing games were made for DirectX 6, while the working games use DirectX 9.
http://bugs.winehq.org/show_bug.cgi?id=22347
--- Comment #4 from Stefan Dösinger stefandoesinger@gmx.at 2010-04-14 08:14:37 --- I haven't looked at the source yet, but my first guess is that your driver doesn't support D24S8 depth stencils(baaaaad), and my patch accidentally killed support for falling back to a different format, e.g. D24X8 or D16.
http://bugs.winehq.org/show_bug.cgi?id=22347
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|directx-d3d |winex11.drv Resolution| |FIXED
--- Comment #5 from A Wine user RandomAccountName@mail.com 2010-04-26 12:48:13 --- Fixed by 26862c5ece31d9e297d87e82b47dfa4e31247ab9.
http://bugs.winehq.org/show_bug.cgi?id=22347
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juergenw_@web.de
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-26 19:26:34 --- *** Bug 22484 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=22347
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-05-07 13:30:16 --- Closing bugs fixed in 1.1.44.
http://bugs.winehq.org/show_bug.cgi?id=22347
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |26862c5ece31d9e297d87e82b47 | |dfa4e31247ab9 Regression SHA1| |19b6f5ca75b43f61a366aa521ea | |b9ddbfc4f99dd