http://bugs.winehq.org/show_bug.cgi?id=21878
Summary: Sonic R produces a blank screen in Direct3D mode Product: Wine Version: 1.1.39 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: stefan@codeweavers.com
Created an attachment (id=26517) --> (http://bugs.winehq.org/attachment.cgi?id=26517) Terminal output from 1.1.39
Sonic R has an option to use DirectDraw or Direct3D, and while DirectDraw mode works fine, Direct3D mode just produces a blank screen. If I blindly navigate to the character selection screen, I can see textureless character models, but that's it.
Older AppDB tests for this game show that Direct3D mode worked ages ago, but this bug appeared sometime between 0.9.35 and 0.9.38. After much reverse regression testing, I confirmed this and tracked down the problematic commit:
d9fef10b71b9add27cfaeffa6d7e3ab42342bba7 is first bad commit commit d9fef10b71b9add27cfaeffa6d7e3ab42342bba7 Author: Stefan Dösinger stefan@codeweavers.com Date: Wed May 9 11:49:27 2007 +0200
ddraw: Some caps fixes.
Cards at DirectX7 times did not support non power of 2 textures, and some games check the capatiblity flags incorrectly. Rollcage expects the D3DPTEXTURECAPS_POW2 (limitation) flag set and fails with the reference rasterizer which support NP2 textures and doesn't have the cap set.
:040000 040000 1013c4b33687335d59f27ceb09eece1453c41f27 f06bfc86b0a1bfa5c37b1b46819019018d57d770 M dlls
Since I doubt the patch would still revert cleanly after all this time, I tried the first version with it included (0.9.37). Vanilla 0.9.37 shows a blank screen in Direct3D mode; with the patch reverted, the game can be seen, albeit with graphical bugs (apparently from an even older regression).
My video hardware is Intel GMA 950, driver version 2.9.0.