https://bugs.winehq.org/show_bug.cgi?id=40360
Bug ID: 40360 Summary: Jack Keane 2 shadow corruption Product: Wine Version: 1.9.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: abolte@systemsaviour.com Distribution: ---
Created attachment 54046 --> https://bugs.winehq.org/attachment.cgi?id=54046 Console output from 1.9.6.
Jack Keane 2: The Fire Within (a point and click adventure game) shows what appears to be corrupted shadows everywhere, including the title screen which is often completely black because of this.
This can be reproduced using version 1.0.3 (via the GOG 2.0.0.5 installer), as well as the 1.0.0 demo (unfortunately only available in German). These are the only versions I have to test.
Menus and other text are completely unaffected, but the game is unplayable as is because you cannot see what is going on in-game. Adjusting the video resolution or graphics detail quality in-game has no effect. There is a warning "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." (and adjusting this in the application does not appear possible) but it is not clear that this warning is related.
Tested on 1.9.6 and 1.9.6-staging in 32-bit wine prefixes on x86-64 hardware on Debian stretch. Tested various Wine registry settings (adjusting GDI, video RAM, etc.) without success. Overriding d3dx9 and/or physx using winetricks doesn't help. This problem has been around for a long time so is not a regression, but it looks like I never got around to filing a bug report earlier.
There are warnings like: [WAR] (18:25:21) pkg\data_bin.zip - Unable to open file orb_health.bin, error was 'Unknown error.' which suggest a problem extracting a file from one of the included zip files. I can confirm those files don't exist, and that it this is normal. For comparison, I installed the game under Windows 8.1 and ran a recursive diff against what was installed there (under the Program Files folder) and in my wineprefix, and they were identical (aside from things related to the installation path), suggesting that there was in fact no issue with installation and it's normal for some files to be missing from those zip files.
Note that a file called settings.txt is created in My Documents/Jack Keane und das Auge des Schicksals - Demo the first time the game is ran. Setting the display_splash_screens variable to false saves a lot of time while testing, as the splash screens work fine and don't need testing.
I believe the game would work perfectly if not for this shadow corruption issue. Jack Keane 1 does not have this problem.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #1 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54047 --> https://bugs.winehq.org/attachment.cgi?id=54047 Main menu incorrectly showing a plain black background
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #2 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54048 --> https://bugs.winehq.org/attachment.cgi?id=54048 In-game screenshot showing shadows incorrectly drawn
https://bugs.winehq.org/show_bug.cgi?id=40360
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.adventurespiele. | |net/CmodsDownload-index-req | |-viewdownloaddetails-lid-24 | |31.htm Distribution|--- |Debian
--- Comment #3 from Adam Bolte abolte@systemsaviour.com --- Added a link to the demo (in German).
https://bugs.winehq.org/show_bug.cgi?id=40360
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=40360
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #4 from fjfrackiewicz@gmail.com --- This issue also occurs in Wine 1.9.7 using the GOG version (GOG installer version = 2.0.0.5).
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #5 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.12 and 1.9.12-staging.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #6 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54759 --> https://bugs.winehq.org/attachment.cgi?id=54759 Console output from 1.9.12 with Gallium Nine
FWIW, Wine 1.9.12 with Gallium Nine breaks in exactly the same way (same graphics corruption). I know that patch isn't supported, but perhaps a developer will find the attached console output helpful to compare, for the purposes of narrowing down the cause.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #7 from Adam Bolte abolte@systemsaviour.com --- I've been comparing the retail version of the game to that on a Windows 7 machine. The game creates a log file in My Documents/Jack Keane and the Fire Within/logs/Fledge.txt, and the difference when running under Wine is the addition of the following lines:
231a232,233
Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds
248a251,259
Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): effect_distort_water.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_sepia.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_1.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_2.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_3.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_4.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_distort.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_glow.dds
(the above is the output of diff after stripping out the timestamp columns).
These files are all located in the pkg/shared.zip file. Extracting that tells us the following about these files:
$ file fx_colorgradinglut_default.dds effect_distort_water.dds fx_colorgradinglut_default.dds fx_colorgradinglut_sepia.dds gradient_1D_1.dds gradient_1D_2.dds gradient_1D_3.dds gradient_1D_4.dds gradient_1D_distort.dds gradient_1D_glow.dds fx_colorgradinglut_default.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, effect_distort_water.dds: Microsoft DirectDraw Surface (DDS), 500 x 500, DXT5 fx_colorgradinglut_default.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, fx_colorgradinglut_sepia.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, gradient_1D_1.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_2.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_3.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_4.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_distort.dds: Microsoft DirectDraw Surface (DDS), 64 x 1, DXT1 gradient_1D_glow.dds: Microsoft DirectDraw Surface (DDS), 64 x 1, DXT5
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #8 from Adam Bolte abolte@systemsaviour.com --- Created attachment 54766 --> https://bugs.winehq.org/attachment.cgi?id=54766 Console output from Windows 7
Including the console output from Windows 7 for more comparisons.
https://bugs.winehq.org/show_bug.cgi?id=40360
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- https://msdn.microsoft.com/en-us/library/windows/desktop/bb943991%28v=vs.85%...
https://msdn.microsoft.com/en-us/library/windows/desktop/bb943982(v=vs.85).a...
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- (In reply to Adam Bolte from comment #7)
I've been comparing the retail version of the game to that on a Windows 7 machine. The game creates a log file in My Documents/Jack Keane and the Fire Within/logs/Fledge.txt, and the difference when running under Wine is the addition of the following lines:
231a232,233
Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds
248a251,259
Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): effect_distort_water.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_default.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): fx_colorgradinglut_sepia.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_1.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_2.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_3.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_4.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_distort.dds Fledge::Core::Resource::load (Line 411) Warning: Loading failed! (0x2B8AF19B): gradient_1D_glow.dds
(the above is the output of diff after stripping out the timestamp columns).
These files are all located in the pkg/shared.zip file. Extracting that tells us the following about these files:
$ file fx_colorgradinglut_default.dds effect_distort_water.dds fx_colorgradinglut_default.dds fx_colorgradinglut_sepia.dds gradient_1D_1.dds gradient_1D_2.dds gradient_1D_3.dds gradient_1D_4.dds gradient_1D_distort.dds gradient_1D_glow.dds fx_colorgradinglut_default.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, effect_distort_water.dds: Microsoft DirectDraw Surface (DDS), 500 x 500, DXT5 fx_colorgradinglut_default.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, fx_colorgradinglut_sepia.dds: Microsoft DirectDraw Surface (DDS), 256 x 16, gradient_1D_1.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_2.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_3.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_4.dds: Microsoft DirectDraw Surface (DDS), 128 x 1, DXT5 gradient_1D_distort.dds: Microsoft DirectDraw Surface (DDS), 64 x 1, DXT1 gradient_1D_glow.dds: Microsoft DirectDraw Surface (DDS), 64 x 1, DXT5
For what it's worth, loading those would typically be done by d3dx9, but you mention that overriding that doesn't help. Failing to load DXT textures/surfaces can also happen when you lack libtxc_dxtn, but you'd see a winediag message about that.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #11 from Adam Bolte abolte@systemsaviour.com --- (In reply to Henri Verbeet from comment #10)
For what it's worth, loading those would typically be done by d3dx9, but you mention that overriding that doesn't help.
Correct. I just tested installing d3dx9 via winetricks in a prefix with a brand new Jack Kean 2 installation using unpatched 1.9.12, and it made no difference.
Failing to load DXT textures/surfaces can also happen when you lack libtxc_dxtn, but you'd see a winediag message about that.
I don't see any winediag pop-up, and I don't see any problems with libtxc_dxtn on my system either.
$ dpkg -L libtxc-dxtn-s2tc0:i386 | grep libtxc_dxtn_s2tc.so.0$ /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0 $ ldd /usr/lib/i386-linux-gnu/libtxc_dxtn_s2tc.so.0 linux-gate.so.1 (0xf7792000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7593000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7545000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf738d000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7370000) /lib/ld-linux.so.2 (0x5664a000) $
It's a weird one.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #12 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.14.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #13 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.18.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #14 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.20.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #15 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.21.
The only difference in this release is the following line which now gets spammed to the console:
err:d3d:wined3d_debug_callback 0x19bbc8: "GL_INVALID_OPERATION in unsupported function called (unsupported extension or deprecated function?)".
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #16 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.23.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #17 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 1.9.24.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #18 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 2.0-rc5. However I have discovered that the issue goes away if using Gallium on Nine patches, and I was finally able to complete the entire game with them applied.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #19 from Adam Bolte abolte@systemsaviour.com --- Still an issue in Wine 2.8 and Wine Staging 2.7. Wine 2.7 with Gallium on Nine patches continue to run the game perfectly.
https://bugs.winehq.org/show_bug.cgi?id=40360
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #20 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 3.2.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #21 from Adam Bolte abolte@systemsaviour.com --- Still an issue in 3.7.
https://bugs.winehq.org/show_bug.cgi?id=40360
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #22 from Adam Bolte abolte@systemsaviour.com --- Still an issue in Wine 3.11.
https://bugs.winehq.org/show_bug.cgi?id=40360
--- Comment #23 from Adam Bolte abolte@systemsaviour.com --- Still an issue in Wine 4.9.
https://bugs.winehq.org/show_bug.cgi?id=40360
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40360
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #24 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.17?
https://bugs.winehq.org/show_bug.cgi?id=40360
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #25 from Adam Bolte abolte@systemsaviour.com --- (In reply to joaopa from comment #24)
Does the bug still occur with wine-4.17?
Not sure about wine 4.17, but I just built and tested vanilla 4.18 and the problem is now gone. Amazing!
https://bugs.winehq.org/show_bug.cgi?id=40360
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #26 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.19.