http://bugs.winehq.org/show_bug.cgi?id=12941
Summary: International Football 2000: crashes when launching in Direct3D mode Product: Wine Version: 0.9.60 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: kirchun@bk.ru
Wine crashes when I try to launch "Microsoft International Football 2000" game in Direct3D mode. There aren't any problems in "Software rendering" mode. Switching Wine from "WinXP" to "Win98" doesn't help. You can download free demo of this game from here: http://download.microsoft.com/download/soccer2000/Trial/1/WIN98/FR/MSIFDEMO.... (65,1 Mb). Also see my log file.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #1 from Kirill Chunaev kirchun@bk.ru 2008-05-03 11:24:06 --- Created an attachment (id=12674) --> (http://bugs.winehq.org/attachment.cgi?id=12674) Console output log file.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #2 from joaopa jeremielapuree@yahoo.fr 2008-05-03 15:08:00 --- I have the following more explicit console output:
[david@Thakur International Football 2000 - Évaluation]$ /home/david/wine/wine 3dconfig.exe [david@Thakur International Football 2000 - Évaluation]$ fixme:win:EnumDisplayDevicesW ((null),0,0x33e638,0x00000000), stub! fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16 err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16 err:d3d:WineD3D_ChoosePixelFormat Can't find a suitable iPixelFormat
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=12941
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #3 from Austin English austinenglish@gmail.com 2008-05-03 18:16:56 --- Confirming in 0.9.61.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #4 from Roderick Colenbrander thunderbird2k@gmx.net 2008-05-06 11:19:03 --- Do you see anything more in the console or do you see winedbg output? The reason is that WineD3D_ChoosePixelFormat failures don't have to be fatal at all.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #5 from Roderick Colenbrander thunderbird2k@gmx.net 2008-05-06 11:21:32 --- Run using +d3d
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2008-05-06 13:18:34 --- Created an attachment (id=12781) --> (http://bugs.winehq.org/attachment.cgi?id=12781) The requested trace
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #7 from Roderick Colenbrander thunderbird2k@gmx.net 2008-05-06 15:12:43 --- I can't say what is wrong but it isn't WineD3D_ChoosePixelFormat.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #8 from Austin English austinenglish@gmail.com 2008-11-29 02:48:00 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #9 from Austin English austinenglish@gmail.com 2010-06-13 21:52:02 --- Still present in 1.2-rc3. Assuming software rendering is 'Convertisseur logiciel', then software rendering works.
http://bugs.winehq.org/show_bug.cgi?id=12941
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #12781|0 |1 is obsolete| |
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2011-05-02 04:18:54 CDT --- Created an attachment (id=34428) --> (http://bugs.winehq.org/attachment.cgi?id=34428) Debug trace with +ddraw,+d3d,+d3d7
Bug still there with wine 1-3-19
http://bugs.winehq.org/show_bug.cgi?id=12941
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr 2011-08-05 12:31:07 CDT --- Bug still there in current wine.
Can anyone put the link http://download.microsoft.com/download/soccer2000/Trial/1/WIN98/FR/MSIFDEMO.... at the URL place?
http://bugs.winehq.org/show_bug.cgi?id=12941
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.microsoft.c | |om/download/soccer2000/Tria | |l/1/WIN98/FR/MSIFDEMO.EXE CC| |wylda@volny.cz
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #12 from GyB gyebro69@gmail.com 2012-05-07 09:13:14 CDT --- Created attachment 40075 --> http://bugs.winehq.org/attachment.cgi?id=40075 backtrace (wine-1.5.3-164-gdec3d50)
I tested this bug with wine-1.5.3-164-gdec3d50 on my system (Fedora 16, Nvidia 250 GTS, Nvidia blob 295.49) and got mixed results. Most of the times the game crashes indeed, but sometimes it starts normally. The game crashes more frequently in full-screen mode than in virtual desktop mode it seems to me. When it crashes I usually get the same crash log as attached in comment #1. However, occasionally I get a different backtrace which points to the code in directdraw (see attachment).
http://bugs.winehq.org/show_bug.cgi?id=12941
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #13 from Jarkko K jarkko_korpi@hotmail.com --- Any update on this?
http://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #14 from Jarkko K jarkko_korpi@hotmail.com --- Still not working
1.7.15
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}. wine: Unhandled page fault on read access to 0x0000000c at address 0x4adc49 (thread 0021), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=12941
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #15 from super_man@post.com --- still crashing 1.7.49
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #16 from super_man@post.com --- Still crashing pure wine-git and wine-staging 1.9.3
https://bugs.winehq.org/show_bug.cgi?id=12941
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #17 from Sergey Isakov isakov-sl@bk.ru --- Confirm crash with pure wine-1.9.3. Backtrace ~~~ Unhandled exception: page fault on read access to 0x000000fc in 32-bit code (0x422f6cf3). Register dump: CS:0017 SS:001f DS:001f ES:001f FS:1007 GS:0037 EIP:422f6cf3 ESP:0033e000 EBP:0033e028 EFLAGS:00010287( R- -- I S - -P-C) EAX:0033e0d4 EBX:422f6cc9 ECX:4230fc10 EDX:000000fc ESI:0019089c EDI:0033e0d4 Stack dump: 0x0033e000: 0033e0d4 4230fc10 0033e030 0033e030 0x0033e010: 0001003c 0033e030 0033e068 41bf9bd2 0x0033e020: 422f6cc9 422f7305 0033e068 422f7316 0x0033e030: 0033e0d4 00000010 41b900d5 41bf8d7f 0x0033e040: 41c486c0 0033e060 0033e078 41bf8e6a 0x0033e050: 00790053 00740073 0033e080 41a78d10 0200: sel=1007 base=7ffc0000 limit=00000fff 32-bit rw- Backtrace: =>0 0x422f6cf3 unsafe_impl_from_IDirectDrawSurface4+0x33() in ddraw (0x0033e028) 1 0x422f7316 ddraw_surface4_AddAttachedSurface+0x25() in ddraw (0x0033e068) 0x422f6cf3 unsafe_impl_from_IDirectDrawSurface4+0x33 in ddraw: call *0x0(%edx) Modules: Module Address Debug info Name (205 modules) PE 400000- a35000 Export msif2000 PE 40001000-401bb000 Deferred libwine.1.dylib ~~~
Meanwhile with my patched wine I got the game working in Direct3d HAL mode. Screenshot attached. I notice that the game works only in virtual desktop 800x600 and options in game set to 800x600 too. AlwaysOffScreen=enabled ddr=opengl RenderingMode=backbuffer UseGLSL=disabled If I set 640x480 the game crash somewhere inside itself after successfully call to d3d_device7_SetViewport() it will not call anything in wine and just crash. May be some interface missing.
I am not sure if this is the key difference ~~~~ void CDECL wined3d_device_set_viewport(struct wined3d_device *device, const struct wined3d_view {
+ if (!device->update_state || !device->cs) { + return; + } ~~~~
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #18 from Sergey Isakov isakov-sl@bk.ru --- Created attachment 53670 --> https://bugs.winehq.org/attachment.cgi?id=53670 It works
There are also two other bugs that should be reported separately: 1. Absent some text in menu 2. Non transparent mouse pointer like in bug 23750
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #19 from Sergey Isakov isakov-sl@bk.ru --- New log contains these lines (1000+) ~~~ fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1. fixme:ddraw:ddraw7_WaitForVerticalBlank iface 0x196fb0, flags 0x1, event 0x0 stub! err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. fixme:d3d:state_subpixel Render state WINED3D_RS_SUBPIXEL not implemented yet. err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous. err:ddraw:d3d_device3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous.
~~~
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #20 from Sergey Isakov isakov-sl@bk.ru --- It looks like the game is hardware specific ("No virge detected"). I can't reproduce the success on other computer. Crash is always at 004adc49 FF510C call dword [ds:ecx+0xc] which looks like vtbl call to forth member. It can be ddraw_surface4_AddAttachedSurface if the table is not assigned or erased by corrupted memory.
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #21 from Sergey Isakov isakov-sl@bk.ru --- New observation Fail ~~~~ trace:ddraw:d3d_device7_SetViewport iface 0x1606c0, viewport 0x33d778. wine: Unhandled page fault on read access to 0x0000101b at address 0x4adc49 (thread 002d), starting debugger... ~~~~
Success ~~~~ trace:ddraw:d3d_device7_SetViewport iface 0x160620, viewport 0x33d778. trace:ddraw:d3d_device3_GetCaps iface 0x160624, hw_desc 0x33e0d4, hel_desc 0x33e1d0. ~~~~ Yes, the function d3d_device3_GetCaps() is a forth member in table d3d_device3_vtbl, which correspond to crash at 0x4adc49 if the table is not assigned but two other functions from the same table are working ~~~ warn:ddraw:d3d_device3_GetCurrentViewport No current viewport, returning D3DERR_NOCURRENTVIEWPORT trace:ddraw:d3d_device3_SetCurrentViewport iface 0x1606c4, viewport 0x179c78. ~~~ So, the table became corrupted? The game bug? Call to [ds:ecx + 0xc] when ecx=0x100f looks like a bug. Not our bug.
https://bugs.winehq.org/show_bug.cgi?id=12941
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #22 from winetest@luukku.com --- Dead download. New one isnt so easy to find as you would thought.
https://bugs.winehq.org/show_bug.cgi?id=12941
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c | |om/download/soccer2000/Tria | |l/1/WIN98/FR/MSIFDEMO.EXE | Keywords|download |
--- Comment #23 from Wylda wylda@volny.cz ---
Dead download. New one isnt so easy to find as you would thought.
It is still available on WinME CD (\cdsample\demos\soccer\MSIFDEMO.EXE):
size: 37'711'872 bytes MD5: 1d8045edf131f135e73939aca110f12a SHA1: 28d064410fe0206d4b146407371afb5d46199d88
In my case it reliably works - Direct3D HAL 640 x 480 and console is flooded like in comment 19 by "...D3DTBLEND_MODULATE - likely erroneous.". If i want to increase resolution above 640 x 480, it immediately crashes during startup.
If anyone is interested in demo, let me know.
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #24 from Bruno Jesus 00cpxxx@gmail.com --- The reported version from comment 0 still can be reached from http://web.archive.org/web/20061126071046/http://download.microsoft.com/down...
When I try to install it complains that DirectX 6.1 is not installed and quits.
https://bugs.winehq.org/show_bug.cgi?id=12941
--- Comment #25 from joaopa jeremielapuree@yahoo.fr --- This bug is fixed in wine-4.9. Can an administrator close this bug as fixed?
https://bugs.winehq.org/show_bug.cgi?id=12941
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #26 from Jeff Zaroyko jeffz@jeffz.name --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=12941
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc3.