http://bugs.winehq.org/show_bug.cgi?id=9186
Summary: Far Cry: Regression: Exception on startup Product: Wine Version: 0.9.42. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: spencercw@googlemail.com CC: thunderbird2k@gmx.net
Wine version: Bug introduced in commit 462a3c3d744da6b9ae2193947da8245c37baaa1f Distro: Gentoo Linux 2007.0 GCC version: gcc (GCC) 4.1.2 (Gentoo 4.1.2) Program: Far Cry No-cd patch applied. In Program Files/Ubisoft/Crytek/Far Cry/system.cfg, 'r_Driver = "Direct3D9"' changed to 'r_Driver = "OpenGL"'.
Description: After the indicated commit a blank dialog box comes up when starting the game with the title "Exception" (see attached screenshot) and the game doesn't start.
I have done a regression test and this commit that is causing the problem: http://source.winehq.org/git/wine.git/?a=commitdiff;h=462a3c3d744da6b9ae2193...
462a3c3d744da6b9ae2193947da8245c37baaa1f is first bad commit commit 462a3c3d744da6b9ae2193947da8245c37baaa1f Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Wed Aug 1 23:20:54 2007 +0200
wgl: wglChooosePixelFormatARB returns the total number of matching pixelformats and not the number of pixelformats stored in the buffer.
This didn't work due to bugs in wglChoosePixelFormatARB but also due to strange behavior of glXChooseFBConfig. Some of its default values are not zero or GLX_DONT_CARE which cause some formats not to appear.
:040000 040000 014afa73c0abdc4220b0f0c3e6378ca60091bf9c 7278c49d64f8243c4252c71ae517c53ce04279d4 M dlls
Undoing these changes up to 'return nAttribs;' on the page linked above solves the issue.
Command line output is attached, along with the output with WINEDEBUG=+relay (914MB -> 507kB bz2).