[Bug 19829] New: crash in CompressedTexSubImage2D on Intel since wine-1.1.27
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(a)winehq.org ReportedBy: hoehle(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |http://cdn.gamezone.com/pub | |/gamezone/16/0/86/cmr2pcdem | |o.zip CC| |stefandoesinger(a)gmx.at -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 --- Comment #1 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2009-08-24 06:47:21 --- Created an attachment (id=23236) --> (http://bugs.winehq.org/attachment.cgi?id=23236) crash backtrace -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cdavis(a)mines.edu -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 --- Comment #2 from Henri Verbeet <hverbeet(a)gmail.com> 2009-08-24 07:08:11 --- I'm pretty sure this is a bug in the driver, so bugs.freedesktop.org is a more appropriate place to report this. The problem is probably something like compressed textures not being properly initialized when they're specified through glTexImage2D(). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|crash in |Colin McRae 2.0 crashes |CompressedTexSubImage2D on | |Intel since wine-1.1.27 | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 --- Comment #3 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2009-08-24 07:24:05 --- I agree with Henri on this. The best way to go is to write a test app that reproduces this without Wine - e.g. a small glut based opengl app. It should be fairly easy to reproduce, those glCompressedTexSubImage2D bugs usually are pretty easy to hit. I don't think we should put in a workaround for this bug again. The long-time use of glCompressedTexImage2D caused many other problems, and the best way to get a driver fixed is to trigger its bug. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Jörg Höhle <hoehle(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Colin McRae 2.0 crashes |Colin McRae 2.0 crashes | |(CompressedTexSubImage2D) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from Juan Lang <juan_lang(a)yahoo.com> 2009-08-24 10:52:57 --- Since both our D3D developers concur it's a driver bug, resolving invalid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-08-25 09:21:27 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19829 --- Comment #6 from Jörg Höhle <hoehle(a)users.sourceforge.net> 2010-03-18 08:08:03 --- For the record, the Xorg Intel driver in the alpha-release of Ubuntu Lucid does not cause a crash when s3tc is enabled via the ~/.drirc file. So CMR2 (and a few others that depend on DXT) become playable again with Lucid in current Wine, unlike Intrepid. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org