http://bugs.winehq.org/show_bug.cgi?id=9332
Summary: Lego start wars crashes Product: Wine Version: CVS Platform: Other URL: http://download2.gamershell.com/cgi- bin/fhx.pl?auth=dJnag3QjQreKI&id=14908&ts=1187113187&cat =demo&filename=LEGO_Star_Wars_2_DEMO.zip OS/Version: Linux Status: UNCONFIRMED Keywords: download, regression Severity: normal Priority: P2 Component: wine-directx AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk
Hi, this game crashes (as another too that i forgot) in fglrx.dri.so. Allthough that might point to buggy driver, the bug was introduced between wine-0.9.26 and wine-0.9.28. So the game used to work (albeit with graphical glithches, but hey what would you expect from an A(ll).T(extures).I(nvisible) card....)
If i have time i'll do a regression test
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-15 15:28:06 --- Created an attachment (id=7609) --> (http://bugs.winehq.org/attachment.cgi?id=7609) crash log
http://bugs.winehq.org/show_bug.cgi?id=9332
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.wine@zerebecki.de
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-15 17:42:58 --- ee44a19966fec922ab2273449e2ba25d2a975cc5 is first bad commit commit ee44a19966fec922ab2273449e2ba25d2a975cc5 Author: Jan Zerebecki jan.wine@zerebecki.de Date: Thu Nov 23 19:58:41 2006 +0100
wined3d: Fix CreateFakeGLContext to work with a foreign context.
:040000 040000 1a4a63cbaf589e6f8206f8f3fe92aa56ef0c4d91 86643cb24a0ebfaaa43b410822662422ce82e9ad M dlls
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-16 02:36:59 --- Here'a a hack to get around the bug; might help to clearify things:
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 0727aee..7edbf57 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1,7 +1,7 @@ /* * Context and render target management in wined3d * - * Copyright 2007 Stefan D<F6>singer for CodeWeavers + * Copyright 2007 Stefan D�singer for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -817,7 +817,7 @@ void ActivateContext(IWineD3DDeviceImpl *This, IWineD3DSurface *target, ContextU TRACE("(%p): Selecting context for render target %p, thread %d\n", This, target, tid);
ENTER_GL(); - if(This->lastActiveRenderTarget != target || tid != This->lastThread) { + if(!(This->lastActiveRenderTarget != target || tid != This->lastThread)) { context = FindContext(This, target, tid); This->lastActiveRenderTarget = target; This->lastThread = tid; diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-16 02:48:25 --- Created an attachment (id=7618) --> (http://bugs.winehq.org/attachment.cgi?id=7618) screenshot
With the hack the game starts fine, but there's a strange "kaleidoscope view" in the lower left corner. Might be due to the hack.
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #5 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-18 13:13:20 --- This bug is getting pretty nasty for me, found another app that crashes in the same way: Crazy Taxi Driver (http://downloads.empireinteractive.com/243/53E947F8-6C63-438F-A935-98BE08110...)
That's game number four :( (cry)
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #6 from Jan Zerebecki jan.wine@zerebecki.de 2007-08-18 15:26:42 --- Can you get me a +tid,+wgl,+opengl log with the crash?
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #7 from Jan Zerebecki jan.wine@zerebecki.de 2007-08-18 15:52:22 --- Stefan Dösinger said he had in the past a problem with ati and multiple contexts in multiple threads and that ati can be made happy by using the same context in all threads.
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-08-18 16:45:39 --- Created an attachment (id=7663) --> (http://bugs.winehq.org/attachment.cgi?id=7663) +wgl,+tid,+opengl
http://bugs.winehq.org/show_bug.cgi?id=9332
Jan Zerebecki jan.wine@zerebecki.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Summary|Lego start wars crashes |multithreaded d3d app.s | |crash with ati driver
--- Comment #9 from Jan Zerebecki jan.wine@zerebecki.de 2007-08-18 19:44:42 --- I think this has nothing to do with the FakeGLContext stuff. The game uses multi-threaded d3d and thus it uses in each thread a different GL context, but that driver has a problem with that. According to Stefan Dösinger one can hack findThreadContextForSwapChain to ignore the thread id which the ati driver forgives, despite that it is against the spec.
http://bugs.winehq.org/show_bug.cgi?id=9332
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|multithreaded d3d app.s |multithreaded d3d app.s |crash with ati driver |crash with ati driver | |[WONTFIX]
--- Comment #10 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-26 14:07:28 --- This is not Wine's problem but driver problem. The only reason this bug is open so it would be easier to find it.
http://bugs.winehq.org/show_bug.cgi?id=9332
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |r_hurst@microwavesoft.com
--- Comment #11 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-26 14:35:50 --- *** Bug 9451 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9332
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cedric.coathalem@laposte.net
--- Comment #12 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-31 18:52:59 --- *** Bug 9533 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9332
Jan Zerebecki jan.wine@zerebecki.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|jan.wine@zerebecki.de |
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #13 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-13 02:01:20 --- It looks like this bug is gone with the newest ATI-driver 8.41 + Rodericks ColenBrander "ATI-card fix" here:http://www.winehq.org/pipermail/wine-patches/2007-September/043815.html
There are some other drawbacks while starting the game, but it looks like this bug could soon be abandoned. For now i suggest to leave it open, and once things have stabilized a bit i'll close it.
http://bugs.winehq.org/show_bug.cgi?id=9332
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bas@debian.org
--- Comment #14 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-27 11:56:46 --- *** Bug 10196 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #15 from Bas Zoetekouw bas@debian.org 2007-10-28 09:33:11 --- fwiw: I just tried to run wine (0.9.42, 0.9.47, 0.9.48) with the latest fglrx driver (8.43.2), but I still get a crash whenever openGL is enabled. If I remove /usr/lib/libGL.so.1.2, I can run non-directX apps perfectly (but no games, obviously). With libGL.so in place, wine crashes when running _any_ program.
http://bugs.winehq.org/show_bug.cgi?id=9332
--- Comment #16 from Bas Zoetekouw bas@debian.org 2007-10-28 12:24:13 --- Ok, sorry about the confusion: I actually seemed to suffer from two bugs. The first one, which cause no wine apps to start at all, I managed to fix with Rodericks help on irc (seemed to be some fglrx weirdness).
The other problem, however, is still the current bug. I can still reproduce it with wine 0.9.48 and fglrx 8.43.2 (see the attachement in bug 10196).
http://bugs.winehq.org/show_bug.cgi?id=9332
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |der.kosak@gmail.com
--- Comment #17 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-28 20:00:22 --- *** Bug 10218 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=9332
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_directx |-unknown
--- Comment #18 from Austin English austinenglish@gmail.com 2008-01-28 12:56:17 --- If it's a WONTFIX, why isn't this resolved/closed?
http://bugs.winehq.org/show_bug.cgi?id=9332
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #19 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-02-17 07:03:09 --- haven't seen this crash with the latest ati-drivers. For anyone who still runs into this crash: Update to the newest ati-drivers, and the crash should be gone
http://bugs.winehq.org/show_bug.cgi?id=9332
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2008-02-17 07:03:35 --- closing
http://bugs.winehq.org/show_bug.cgi?id=9332
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified