https://bugs.winehq.org/show_bug.cgi?id=41783
Bug ID: 41783 Summary: Flat Out 2 not working in 1.9.23 Product: Wine Version: 1.9.23 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mario@cosmophobia.net Distribution: ---
Flat Out 2 is not working when using the gog.com installer (version 2.1.0.9).
When starting the game an error appears:
Failed to create effect: data/shader/pro_static_2x.sha
Console log:
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3dcompiler:compile_shader Compilation target "fx_2_0" not yet supported fixme:d3dx:d3dx9_effect_init Failed to parse effect, hr 0x8876086c.
However, a linux version of the game exists which is running fine, so it should not be a general problem with the game (the Linux version is based on an older Wine version -Probably wine 1.6.2).
https://bugs.winehq.org/show_bug.cgi?id=41783
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- You are hitting bug 37676.
winetricks d3dcompiler_43 should help.
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #2 from Mario S mario@cosmophobia.net --- (In reply to winetest from comment #1)
You are hitting bug 37676.
winetricks d3dcompiler_43 should help.
Unfortunately this did not solve everything completely. After executing the command the game runs but a red square is showing up below each car. The squares are rather large (larger than a care).
I should say that the game only runs if the post-processing flag in the settings of the game is turned off. If it is turned on, the game still does not start.
https://bugs.winehq.org/show_bug.cgi?id=41783
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Starting the game with WINEDEBUG=+loaddll should reveal which d3dx9 libraries are needed by the game. The Steam version I have runs properly when native d3dx9_30.dll is installed (native d3dcompiler_43 is not installed).
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #4 from Mario S mario@cosmophobia.net --- I tried winetricks d3dx9_31, d3dx9_43, d3dx9 but none solved the problem. Here is the output from WINEDEBUG=+loaddll
fixme:winediag:start_process Wine Staging 2.3 is a testing version containing experimental patches. fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d9:Direct3DShaderValidatorCreate9 stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1a7ed8)->(0x1a81a0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1aa150)->(0x1aa598): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1ac5b8)->(0x1aca00): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1aed70)->(0x1af1e0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1b13b8)->(0x1b1800): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1b3ce0)->(0x1b4248): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1b6918)->(0x1b6e18): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1b9270)->(0x1b9748): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1bbca0)->(0x1bc178): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1be460)->(0x1be8a8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1c0ac0)->(0x1c0f08): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1c3120)->(0x1c3448): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1c5368)->(0x1c5648): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1c7758)->(0x1c7b10): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1c9a90)->(0x1c9db8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1cbc10)->(0x1cbff0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1ceb18)->(0x1ceed0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1d0e80)->(0x1d12c8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1d3408)->(0x1d37c0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1d58e0)->(0x1d5d58): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1d82a0)->(0x1d85f8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1da9d8)->(0x1dadb8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1dcd68)->(0x1dd090): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1defb8)->(0x1df1e8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1e11f0)->(0x1e1660): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1e3a58)->(0x1e3ec8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1e6388)->(0x1e68f0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1e8fc0)->(0x1e93a0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1eb390)->(0x1eb658): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1ed648)->(0x1ed9a0): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1ef9e0)->(0x1efd08): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1f1b60)->(0x1f1f18): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1f3e68)->(0x1f4190): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1f5fe8)->(0x1f6310): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1f8190)->(0x1f84d8): stub fixme:d3dx:skip_dword_unknown Skipping 1 unknown DWORDs: fixme:d3dx:skip_dword_unknown 0x00000005 fixme:d3dx:ID3DXEffectImpl_ValidateTechnique (0x1fa330)->(0x1fa6e8): stub err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5. fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #5 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Mario S from comment #4)
I tried winetricks d3dx9_31, d3dx9_43, d3dx9 but none solved the problem. Here is the output from WINEDEBUG=+loaddll
Please attach logs instead of pasting them in the bug message.
Anyway, it looks like you didn't pass the WINEDEBUG flag properly, there are no loaddll traces in there. See https://wiki.winehq.org/FAQ#get_log for instructions.
https://bugs.winehq.org/show_bug.cgi?id=41783
schanz89@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |schanz89@web.de
--- Comment #6 from schanz89@web.de --- I've perceived the same problem. The solution to this problem was already given here: https://appdb.winehq.org/objectManager.php?sClass=version&iId=9406 The user states:
The game requires DirectX 9 to be installed.
And there is nothing more to it, really. Executing `wintricks directx9` does the trick. Installing the compiler or dlls does not.
https://bugs.winehq.org/show_bug.cgi?id=41783
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Flat Out 2 not working in |FlatOut 2 crashes |1.9.23 | Component|-unknown |directx-d3dx9 Ever confirmed|0 |1
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com --- Just for the records, I can confirm comment 3, native d3dx9_30.dll is enough to make the game start for me.
With all builtin DLLs you get the messages in comment 0. Adding native d3dcompiler "solves" that but the game still crashes. At a glance it seems like the game doesn't like FindNextValidTechnique() not being implemented, right after the call it releases the newly created effect and proceeds to dereference NULL.
https://bugs.winehq.org/show_bug.cgi?id=41783
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #8 from winetest@luukku.com --- There is bug 34101 that could help.
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #9 from Mario S mario@cosmophobia.net --- Comment 6 solved the problem:
'wintricks directx9' works! Afterwards the game is running well.
Thank you for your help!
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #10 from winetest@luukku.com --- (In reply to Matteo Bruni from comment #7)
Just for the records, I can confirm comment 3, native d3dx9_30.dll is enough to make the game start for me.
With all builtin DLLs you get the messages in comment 0. Adding native d3dcompiler "solves" that but the game still crashes. At a glance it seems like the game doesn't like FindNextValidTechnique() not being implemented, right after the call it releases the newly created effect and proceeds to dereference NULL.
There is patch for FindNextValidTechnique bug 34101.
https://bugs.winehq.org/show_bug.cgi?id=41783
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=41783
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34101, 24983
--- Comment #12 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Matteo Bruni from comment #7)
Just for the records, I can confirm comment 3, native d3dx9_30.dll is enough to make the game start for me.
With all builtin DLLs you get the messages in comment 0. Adding native d3dcompiler "solves" that but the game still crashes. At a glance it seems like the game doesn't like FindNextValidTechnique() not being implemented, right after the call it releases the newly created effect and proceeds to dereference NULL.
FindNextValidTechnique() is now implemented and that fixed the immediate crash. The game also loads DXTn textures via d3dx, so there's bug 24983 in play.
With that out of the way, I get red boxes under the cars as in comment 2.
https://bugs.winehq.org/show_bug.cgi?id=41783 Bug 41783 depends on bug 24983, which changed state.
Bug 24983 Summary: Multiple applications need support for DXTn texture compression in D3DXLoadSurfaceFromMemory() (Space Rangers 2, Memento Mori, fr-043) https://bugs.winehq.org/show_bug.cgi?id=24983
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=41783
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #13 from Bernhard Übelacker bernhardu@mailbox.org --- The red boxes below cars are still visible in wine-5.0-rc2 with builtin d3dx9_30 in the downloadable demo version.
https://bugs.winehq.org/show_bug.cgi?id=41783
Alex Shilo chief_exb@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chief_exb@mail.ru
--- Comment #14 from Alex Shilo chief_exb@mail.ru --- (In reply to Mario S from comment #2)
(In reply to winetest from comment #1)
You are hitting bug 37676.
winetricks d3dcompiler_43 should help.
Unfortunately this did not solve everything completely. After executing the command the game runs but a red square is showing up below each car. The squares are rather large (larger than a care).
I should say that the game only runs if the post-processing flag in the settings of the game is turned off. If it is turned on, the game still does not start.
d3dcompiler_47 help
https://bugs.winehq.org/show_bug.cgi?id=41783
--- Comment #15 from Alex Shilo chief_exb@mail.ru --- (In reply to Mario S from comment #2)
(In reply to winetest from comment #1)
You are hitting bug 37676.
winetricks d3dcompiler_43 should help.
Unfortunately this did not solve everything completely. After executing the command the game runs but a red square is showing up below each car. The squares are rather large (larger than a care).
I should say that the game only runs if the post-processing flag in the settings of the game is turned off. If it is turned on, the game still does not start.
Confirm red square instead shadow
https://bugs.winehq.org/show_bug.cgi?id=41783
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |50888
https://bugs.winehq.org/show_bug.cgi?id=41783
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on|24983, 34101 | Blocks|50888 | Status|NEW |RESOLVED Summary|FlatOut 2 crashes |FlatOut 2 crashes on start | |(needs "fx_2_0" compilation | |target support) Resolution|--- |DUPLICATE
--- Comment #16 from Gijs Vermeulen gijsvrm@gmail.com --- This bug has turned into a meta bug, which should be avoided.
The original problem was the lack of "fx_2_0" compilation target support, so marking as a dupe of bug 37676.
For the red shadows problem, we have bug 50888 now.
*** This bug has been marked as a duplicate of bug 37676 ***
https://bugs.winehq.org/show_bug.cgi?id=41783
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.