https://bugs.winehq.org/show_bug.cgi?id=38580
Bug ID: 38580 Summary: Secret Files 1-2, UFO:Extraterrestrials Gold: hardware mouse pointer missing/corrupted Product: Wine Version: 1.7.41 Hardware: x86 URL: http://www.fileplanet.com/199114/190000/fileinfo/Secre t-Files-2:-Puritas-Cordis-Demo OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: stefan@codeweavers.com Regression SHA1: 6b455e74a07d6c32c6969f77a698ef1e06202eb8 Distribution: ---
In Secret Files 1-2 when hardware mouse cursor is selected the mouse pointer is corrupted, showing a white rectangle (anti-aliasing disabled). Lots of
fixme:d3d_surface:surface_cpu_blt Unsupported flags: 0x80000000.
in the terminal
When anti-aliasing is enabled the hardware mouse pointer is invisible.
fixme:d3d_surface:surface_cpu_blt Unsupported flags: 0x80000000. err:d3d_surface:surface_load_location Don't know how to handle location 0x100.
In Ufo: Extraterrestrials Gold Edition the mouse pointer disappears when it hits the edge of the screen.
Regression introduced by
6b455e74a07d6c32c6969f77a698ef1e06202eb8 is the first bad commit commit 6b455e74a07d6c32c6969f77a698ef1e06202eb8 Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Apr 14 11:16:25 2015 +0200
wined3d: Move fixed function draw blits out of surface_blt_special.
To reproduce the problem in Secret Files 2 demo: 1. install the demo. The game needs native d3dx9_36. 2. run Configtool.exe, uncheck the option 'Software cursor', save the settings. 3. run fsasgame.exe
Tested in wine-1.7.42-172-g14c53a5 Fedora 21 Nvidia binary drivers 340.76
SecretFiles2-PuritasCordis-DEMO_EN.exe sha1: fa511e60b4e4013984b5cec784f1211ba954dd17
https://bugs.winehq.org/show_bug.cgi?id=38580
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=38580
--- Comment #1 from Henri Verbeet hverbeet@gmail.com --- If I were to guess, the patch in question removes the handling for WINEDDBLT_ALPHATEST (which is used to draw the cursor). I missed that in the original review.
https://bugs.winehq.org/show_bug.cgi?id=38580
--- Comment #2 from Stefan Dösinger stefan@codeweavers.com --- Yeah, this sounds about right. I also missed it when I wrote the patches (only looked for DDBLT_ALPHATEST in ddraw).
The bug should be easy to fix, but I am more curious why the game uses the software d3d cursor in the first place.
The disappearing cursor at the edge of the screen can be fixed too. The problem there is that we don't clip the blit operation and try to draw beyond the edge of the backbuffer.
https://bugs.winehq.org/show_bug.cgi?id=38580
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- There's a black rectangle around the mouse pointer in the games Zoo Empire and Wars and Warriors: Joan of Arc due to commit 6b455e74a07d6c32c6969f77a698ef1e06202eb8.
In Zoo Empire the black rectangle appears when the mouse pointer hits the left or upper border of the screen. In W&W: Joan of Arc the corrupted mouse pointer is always present in the menus.
Many of these fixmes appear in the terminal:
fixme:d3d_surface:surface_cpu_blt Unsupported flags: 0x80000000.
Zoo Empire demo: http://www.fileplanet.com/144590/140000/fileinfo/Zoo-Empire-Demo
Wars and Warriors demo: http://www.fileplanet.com/133861/130000/fileinfo/Wars-and-Warriors:-Joan-of-...
wine-1.7.51-201-g60d1d6f OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV92 OpenGL version string: 3.0 Mesa 11.1.0-devel
https://bugs.winehq.org/show_bug.cgi?id=38580
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.wine-staging.c | |om/show_bug.cgi?id=56
https://bugs.winehq.org/show_bug.cgi?id=38580
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.wine-staging.c | |om/show_bug.cgi?id=165
https://bugs.winehq.org/show_bug.cgi?id=38580
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |bcabae6f40fcd5338f1cd5acb7a | |77e6bcebf9d48 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Fixed in 1.8-rc4.
https://bugs.winehq.org/show_bug.cgi?id=38580
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.0.