https://bugs.winehq.org/show_bug.cgi?id=52954
Bug ID: 52954 Summary: Dracula 3 (Kheops Studio adventure game) Graphic bug that prevents any progress in the game Product: Wine Version: 7.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: memax@gmx.fr Distribution: ---
Created attachment 72324 --> https://bugs.winehq.org/attachment.cgi?id=72324 On the left, the normal display (versions before 7.3). On the right, the graphic bugs (since version 7.3).
The game was working correctly until development version 7.2. Since development version 7.3, there are some graphical bugs: * The background of the menu screen is black. * The documents in the inventory are no longer readable (black screen). As this is a point-and-click adventure game, this bug prevents any progress in the game.
https://bugs.winehq.org/show_bug.cgi?id=52954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Keywords| |regression
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can you do a regression test to see what commit broke it?
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |1632b8e7a419ebf256c4a356a58 | |d505ef918f2fe
--- Comment #2 from imaxm memax@gmx.fr --- 1632b8e7a419ebf256c4a356a58d505ef918f2fe is the first bad commit commit 1632b8e7a419ebf256c4a356a58d505ef918f2fe Author: Zebediah Figura zfigura@codeweavers.com Date: Wed Feb 23 20:21:40 2022 -0600
wined3d: Use WINED3D_LOCATION_CLEARED for the initial location of textures.
Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/wined3d/texture.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Component|-unknown |directx-d3d
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Dracula 3 (Kheops Studio |Kheops Studio adventure |adventure game) Graphic bug |games: Graphic bug that |that prevents any progress |prevents any progress in |in the game |the game
--- Comment #3 from imaxm memax@gmx.fr --- This bug affects most of the adventure games from Kheops Studio: * Dracula 3: The Path of the Dragon * Return to Mysterious Island 2 * Nostradamus: The Last Prophecy * Cleopatra: A Queen's Destiny * Destination: Treasure Island * The Secrets of Da Vinci: The Forbidden Manuscript
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #4 from imaxm memax@gmx.fr --- Created attachment 72331 --> https://bugs.winehq.org/attachment.cgi?id=72331 Screenshot Return to Mysterious Island 2
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72324|On the left, the normal |Screenshot Dracula 3 description|display (versions before | |7.3). On the right, the | |graphic bugs (since version | |7.3). |
--- Comment #5 from imaxm memax@gmx.fr --- Comment on attachment 72324 --> https://bugs.winehq.org/attachment.cgi?id=72324 Screenshot Dracula 3
On the left, the normal display (versions before 7.3). On the right, the graphic bugs (since version 7.3).
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #6 from imaxm memax@gmx.fr --- Created attachment 72332 --> https://bugs.winehq.org/attachment.cgi?id=72332 Screenshot Nostradamus
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #7 from imaxm memax@gmx.fr --- Created attachment 72333 --> https://bugs.winehq.org/attachment.cgi?id=72333 Screenshot Cleopatra
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #8 from imaxm memax@gmx.fr --- Created attachment 72334 --> https://bugs.winehq.org/attachment.cgi?id=72334 Screenshot Destination Treasure Island
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #9 from imaxm memax@gmx.fr --- Created attachment 72335 --> https://bugs.winehq.org/attachment.cgi?id=72335 Screenshot The Secrets of Da Vinci
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- Just to confirm, does this still happen with current Wine git? Some bugs related to this commit were recently fixed. (For example, bug 52684 and bug 52918.)
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #11 from imaxm memax@gmx.fr --- (In reply to Henri Verbeet from comment #10)
Just to confirm, does this still happen with current Wine git? Some bugs related to this commit were recently fixed. (For example, bug 52684 and bug 52918.)
Yes, it still happens with the current Wine git (master 7de36f8e98b) wine-7.7-439-g7de36f8e98b
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.7 |7.8
https://bugs.winehq.org/show_bug.cgi?id=52954
imaxm memax@gmx.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #12 from imaxm memax@gmx.fr --- Bug still present in wine-7.8
If anyone would like to confirm, they can download the game demos.
* Return to Mysterious Island 2 https://www.gamepressure.com/download.asp?ID=23930
* Nostradamus: The Last Prophecy https://www.gamepressure.com/download.asp?ID=18438
* Cleopatra: A Queen's Destiny https://www.gamepressure.com/download.asp?ID=16074
* Destination: Treasure Island https://www.gamepressure.com/download.asp?ID=18022
* The Secrets of Da Vinci: The Forbidden Manuscript https://www.gamepressure.com/download.asp?ID=15158
https://bugs.winehq.org/show_bug.cgi?id=52954
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|7.8 |7.3 Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #13 from Fabian Maurer dark.shadow4@web.de --- Version is the first version the bug occurred, please don't change that.
Confirming.
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #14 from Zeb Figura z.figura12@gmail.com --- This is a variation on bug 52684. In this case the application creates a managed texture, maps it with D3DLOCK_NO_DIRTY_UPDATE, and then draws from it. (Pro tip: read *all* the documentation before using flags.)
In theory this shouldn't work (since we're not actually flushing anything), but because it's the first upload to TEXTURE_RGB, it should be caught by 2ce72c6872. Unfortunately it's not, because we're not actually doing an UpdateTexture(); we're drawing directly from the managed texture. It's not caught by 27e84c2897 either, because the texture is CPU-accessible and thus still gets cleared on the CPU.
I'm not immediately sure what the correct way to fix this is. In bug 52684 I claim that we should always invalidate ~map_binding, but I'm not sure of that anymore. Location management makes perfect sense until you try to integrate managed textures into it, at which point you have two different locations which are both valid in a sense, and then it's not clear to me what the intended interpretation of "valid" locations is...
https://bugs.winehq.org/show_bug.cgi?id=52954
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |titan.costa@gmail.com
--- Comment #15 from Andrey Gusev andrey.goosev@gmail.com --- *** Bug 53517 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=52954
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=52954
--- Comment #16 from Christian Costa titan.costa@gmail.com --- I've just retested Return to mysterious island 2 and Nostradamus after commit 5f1cbb1b85e7d92b6c783a32ae85ca2902296481 and both games just work fine. Thanks a lot Zebediah!
https://bugs.winehq.org/show_bug.cgi?id=52954
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |5f1cbb1b85e7d92b6c783a32ae8 | |5ca2902296481 Status|NEW |RESOLVED
--- Comment #17 from Zeb Figura z.figura12@gmail.com --- Thanks for testing, and sorry for the delay in getting this upstream.
Marking fixed by https://source.winehq.org/git/wine.git/commitdiff/5f1cbb1b85e7d92b6c783a32ae85ca2902296481.
https://bugs.winehq.org/show_bug.cgi?id=52954
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.19.