http://bugs.winehq.org/show_bug.cgi?id=2885
------- Additional Comments From saulius.krasuckas@elst.vtu.lt 2005-29-10 18:07 ------- Yes, testing of demo version would be greatly appreciated, Andreas. For me it runs nice too. The only strange thing is e2_d3d8_driver_mfc.dll loading, which makes some long delays during the process final initialization stage. See my log below.
* Andreas Dehmel wrote: | | And BTW, we really really REALLY need up-to-date documentation, and included | in the source archive for crying out loud.
I may not fully understand what exactly that means.
| I'm open for suggestions, it would be great if some of those people who got it | to work told me how. | | | Next I think you should upgrade to Wine release 0.9. Its module loader has | | changed a quite bit and now it may work for you. | | Done, same behaviour. I haven't verified the logfiles so far, though, but I | don't think they'll differ.
In any case, could you add +d3d trace flag? This would show what builtin d3d8.dll had done before returning an error. Next goes tail of output from my box:
|trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\winex11.drv" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\imm32.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\wineoss.drv" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\msacm32.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\msacm.drv" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\midimap.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\uxtheme.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\wined3d.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\d3d8.dll" : builtin |trace:d3d:DllMain D3D8 DLLMain Reason=1 |trace:d3d:DllMain Allow HW vertex shaders |trace:d3d:DllMain Disable pixel shaders |trace:d3d:DllMain D3D8 DLLMain Reason=0 |trace:loaddll:MODULE_FlushModrefs Unloaded module L"c:\windows\system32\d3d8.dll" : builtin |trace:loaddll:MODULE_FlushModrefs Unloaded module L"c:\windows\system32\wined3d.dll" : builtin |trace:loaddll:load_native_dll Loaded module L"D:\Program Files\Max Payne Demo\e2driver\e2_d3d8_driver_mfc.dll" : native |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\wined3d.dll" : builtin |trace:loaddll:load_builtin_dll Loaded module L"c:\windows\system32\d3d8.dll" : builtin |trace:d3d:DllMain D3D8 DLLMain Reason=1 |trace:d3d:DllMain Allow HW vertex shaders |trace:d3d:DllMain Disable pixel shaders |trace:d3d:Direct3DCreate8 SDKVersion = 78, Created Direct3D object @ 0x7feb05d8, WineObj @ 0x7feb0860 |trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) Relay 0 2 0x7fa9f2d0 |trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) returning 0x7fa9f2d0
{timeout}
|trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) Relay 0 3 0x7fa9f2d0 |trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) returning 0x7fa9f2d0
{timeout}
|trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) Relay 0 1 0x7fa9f2d0 |trace:d3d:IDirect3D8Impl_GetDeviceCaps (0x7feb05d8) returning 0x7fa9f2d0
{large timeout}
{MP setup dialog window appears}
It seems at first it is loaded by x11drv, then unloaded, and then loaded again by e2_d3d8_driver_mfc.dll. My Max Payne is demo v1.05.