http://bugs.winehq.org/show_bug.cgi?id=19829
Summary: crash in CompressedTexSubImage2D on Intel since wine-1.1.27 Product: Wine Version: 1.1.27 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
To fix bug #19412 (on Mac with NVidia), Henri Verbeet committed the following patch to wine-1.1.27 which unfortunately causes Colin McRae 2.0 (incl. demo) to crash on Linux with Intel graphics.
commit b7812932bc74cf4411bfdbb2277fb0aaf8e24b04 Passing NULL to glCompressedTexImage2DARB() doesn't work particularly well when both client storage and PBOs are enabled. Also, two years is long enough to give driver developers a chance to fix the bug this was supposed to work around. - /* glCompressedTexImage2D does not accept NULL pointers, so we cannot allocate a compressed texture without uploading data */
To get CMR2 to run with Intel graphics, you need to activate s3tc via the ~/.drirc file. Then, OpenGL will report support for texture compression (see bug #15636, comment #7), which CMR2/Wine needs for DXTn formats.
I'm using Ubuntu Intrepid with Intel i915. It's strange that something that originated as an Apple issue now affects Linux.