http://bugs.winehq.org/show_bug.cgi?id=21102
Summary: Hitman 2: Silent Assassin fails to draw intro cinematic Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com CC: stefan@codeweavers.com
With wine-1.1.35, when starting a new game in Hitman 2: Silent Assassin, an intro cinematic is supposed to be rendered, but instead, the cinematic is drawn as black for the entire duration, although in-game rendering seems fine. A related problem occurs with the Eidos logo animation shown when starting the game, where it is drawn extremely slow. Testing showed that rendering worked in wine-1.0, and regression testing revealed:
014c4bfc70a4d4e60f033d579d1be13a46f65170 is first bad commit commit 014c4bfc70a4d4e60f033d579d1be13a46f65170 Author: Stefan Dösinger stefan@codeweavers.com Date: Thu Apr 9 18:40:57 2009 +0200
wined3d: Save some memory in vertex buffers.
In most cases we're fine with the vbo and glMapBuffer and never use the actual heap memory copy. Try to stick to just the vbo copy and avoid allocating the extra heap memory. In case it is needed(emulation or vertex conversion), fall back to the old double buffering mode.
:040000 040000 e45dcc2b8694735b0a68492a7a03237b1c519ae3 0447d35c1e1a2037a962b49802a03a9dad1bf59e M dlls
Testing wine-1.1.18-300-g7b2a44f immediately prior to the commit did not show the problem with either the Eidos logo animation or the intro cinematic. glxinfo reports for my machine:
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 9800 GT/PCI/SSE2/3DNOW! OpenGL version string: 3.2.0 NVIDIA 190.42
Interestingly, Hitman 2: Silent Assassin on a machine with an integrated Intel video card and wine-1.1.35 does not exhibit the rendering problem. glxinfo on that machine reports:
OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) G45/G43 GEM 20090712 2009Q2 RC3 OpenGL version string: 2.1 Mesa 7.7-devel
http://bugs.winehq.org/show_bug.cgi?id=21102
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=21102
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |014c4bfc70a4d4e60f033d579d1 | |be13a46f65170
http://bugs.winehq.org/show_bug.cgi?id=21102
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #1 from Stefan Dösinger stefandoesinger@gmx.at 2011-08-13 16:23:49 CDT --- Does this bug still occur in Wine 1.3.26? A lot of changes have been made to the buffer code since then. Specifically making sure we return 16 byte aligned pointers may help this game.
If the bug still persists, can you test it on a different driver, probably the AMD or Nvidia binary ones?
http://bugs.winehq.org/show_bug.cgi?id=21102
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2011-08-15 22:07:34 CDT --- While the machine used to test this issue has moved away from the 190.42 version of the NVIDIA proprietary driver long ago, I think it's safe to mark this issue as fixed, as I cannot reproduce the rendering issue in wine-1.3.26 on any of the test machines (Intel and NVIDIA graphics) available to me.
http://bugs.winehq.org/show_bug.cgi?id=21102
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-08-26 13:24:59 CDT --- Closing bugs fixed in 1.3.27.