http://bugs.winehq.org/show_bug.cgi?id=22507
Summary: Half-life 1: missing PAUSE banner and looking through walls Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: wylda@volny.cz
Created an attachment (id=27582) --> (http://bugs.winehq.org/attachment.cgi?id=27582) Screenshot showing the problem
1. When you press pause key in Half-life you should see banner(or notice) "PAUSED", but this is missing now. Also when you come as close as possible to some wall, the texture is cut in half and one half is transparent, so you can see what is in next room without opening the door.
2. I did a regression test between 1.1.36 and 1.1.38 (.37 does not work):
commit 69861cf8730047a06ad898f9b45a4914a172745c Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jan 26 18:31:38 2010 +0100
wined3d: Get rid of the depth range hack.
:040000 040000 6f02fe9590f7d4b59ee7d1ad4ca683677386e70f b7c9e78db0e38f523947507369bee62547f9015a M dlls
3. This commit helped "Dragon Age: Origins" with texture glitches. See bug 20469.
4. Revert of this patch on top of wine-1.1.43-321-g94a3c09 makes that problem go away. (revert of some test was not successful, but doesn't matter here)
5. Adding author of this patch to CC.
--private keyword: bisected
Note1: To see this problem, you have to use Direct3D video mode not the OpenGL.
Note2: To save time with testing, you can skip initial Sierra logo by renaming sierra.avi and valve.avi.
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |hverbeet@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2010-04-28 05:49:35 --- As a first guess, it looks a bit like z-fighting.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #2 from Wylda wylda@volny.cz 2010-04-28 06:25:38 --- (In reply to comment #1)
As a first guess, it looks a bit like z-fighting.
You are the boss here, so you are right ;) Just to pinpoint the "wall hack" issue... You need to be as close as possible to the door or wall. If you are only one step further, it is displayed correctly.
"PAUSED" is missing everywhere, not only by the wall or door.
I guess the demo could have the same issue - unfortunately not tested (yet) ;)
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://pc.ign.com/articles/ | |066/066867p1.html
--- Comment #3 from Wylda wylda@volny.cz 2010-04-28 15:25:11 --- (In reply to comment #2)
I guess the demo could have the same issue - unfortunately not tested (yet) ;)
Same thing happens in demo - verified now. To make is easier to use: 1. rename intro.avi -> intro.avi.off 2. setup Direct3D in game menu 3. select new game and wait short time till you see the game (it's black for short time)
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #4 from Wylda wylda@volny.cz 2010-05-10 14:01:44 ---
This regression (bisected) is still present in wine-1.1.44-72-g658209b.
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #5 from Wylda wylda@volny.cz 2010-06-01 11:37:14 ---
This regression (bisected) is still present in wine-1.2-rc2-51-gbbd93e5.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #6 from Wylda wylda@volny.cz 2010-06-19 22:53:35 ---
This regression (bisected) is still present in wine-1.2-rc4.
http://bugs.winehq.org/show_bug.cgi?id=22507
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #7 from Alexey Loukianov mooroon2@mail.ru 2010-06-23 03:24:57 --- Side note: with latest nVIDIA drivers + wine-1.2-rc4 + HL1 Steam Version in OpenGL mode there's no "PAUSED" messages displayed also in the middle of the screen.
As for D3D mode: the only way I was able to get the game into it was setting ddr=opengl in winetricks and the rendering was seriously messed with the gun model clipped (looks like some kind of Z-bufer mess) and game menus/console window not visible at.
Are there any special steps that should be taken to get the game runing in D3D mode?
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #8 from Wylda wylda@volny.cz 2010-08-20 19:06:17 ---
This regression (bisected) is still present in wine-1.3.1. I think there are new console message flooded all the time:
err:ddraw:IDirect3DDeviceImpl_3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous err:ddraw:IDirect3DDeviceImpl_3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous
PS: Because of bug 23902 audio needs to be turned of.
http://bugs.winehq.org/show_bug.cgi?id=22507
Mark Sutherland elus89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |elus89@hotmail.com
--- Comment #9 from Mark Sutherland elus89@hotmail.com 2011-01-19 22:19:16 CST --- I can confirm this bug on Wine 1.3.10 on Mac OSX 10.6.6 using the ATI Radeon HD 2600 Pro. Along with rendering issues for the gun, walls, pause screen and menus, the holographic projections are "jumpy" and no Heads-Up Display is apparent.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #10 from el elton@schiert.net 2011-05-16 12:36:27 CDT --- Confirming with current Wine: The D3D renderer suffers from some kind of Z-problem. PAUSED is missing in all renderers.
Also there is another strange thing that happens in D3D mode: The highlight color in the menus is blue, whereas OpenGL and Software show the familiar orange.
http://bugs.winehq.org/show_bug.cgi?id=22507
el elton@schiert.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from el elton@schiert.net 2011-05-16 12:36:36 CDT --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2011-06-27 10:38:33 CDT --- Did 708d94212b4a6419f15200c1c9c5b79c5264903d make any difference for this bug? Any new FIXMEs?
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |25660
--- Comment #13 from Wylda wylda@volny.cz 2011-06-27 16:18:16 CDT ---
Did 708d94212b4a6419f15200c1c9c5b79c5264903d make any difference for this bug?
Hi Henri, thanks for the interest :) Unfortunately the reason why this wasn't updated recently is, that David's patch about SetCooperative(??) broke Half-life and i can't test this bug, till this one will be unblocked by fixing 25660.
Unfortunately i can't revert David's patch even in 1.3.8 and your's commit cannot be applied on top of 1.3.6 where Half-Life was still working. As you see, i tried that, but failed. Thus setting "Depends on" field for this bug :(
http://bugs.winehq.org/show_bug.cgi?id=22507
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #14 from joaopa jeremielapuree@yahoo.fr 2011-06-27 19:06:52 CDT --- You can apply the hacky patch attached to bug 25660 to bypass the regression and check if this bug is fixed.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #15 from Wylda wylda@volny.cz 2011-06-28 13:35:38 CDT --- Created an attachment (id=35342) --> (http://bugs.winehq.org/attachment.cgi?id=35342) log from wine-1.1.36 and wine-1.3.23
Did 708d94212b4a6419f15200c1c9c5b79c5264903d make any difference for this bug?
Hi Henri, as suggested i applied David's hack to be able to run HL1 under 1.3.23. If that hack can't influence your commit, then unfortunately no difference. But if that helps see comment #3. Demo is affected as well.
Any new FIXMEs?
Logs are bit different, so I'm adding logs - compressed tar contains log from working 1.1.36 and bad 1.3.23. But in both cases, during game play, console is flooded by tons of:
err:ddraw:IDirect3DDeviceImpl_3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous
So these can be probably ignored.
http://bugs.winehq.org/show_bug.cgi?id=22507
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |69861cf8730047a06ad898f9b45 | |a4914a172745c
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #16 from Alexey Loukianov mooroon2@mail.ru 2011-09-10 00:34:24 CDT --- (In reply to comment #7)
rendering was seriously messed with the gun model clipped (looks like some kind of Z-bufer mess) and game menus/console window not visible at.
(In reply to comment #10)
Also there is another strange thing that happens in D3D mode: The highlight color in the menus is blue, whereas OpenGL and Software show the familiar orange.
Confirming that problems listed above still present with Wine 1.3.28.
http://bugs.winehq.org/show_bug.cgi?id=22507
okias d.okias@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |d.okias@gmail.com
--- Comment #17 from okias d.okias@gmail.com 2011-11-29 06:16:29 CST --- confirming similiar problem with HL1 - Counter Strike 1.6. With OpenGL fine, with D3D: err:ddraw:IDirect3DDeviceImpl_3_GetRenderState Unexpected texture stage state setup, returning D3DTBLEND_MODULATE - likely erroneous
wrong color: usual orange changed to light blue. damaged textures rendering: for example gun, OSD etc.
os: Gentoo ~amd64 arch: x86_64 driver: r300g wine version: 1.3.30
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #18 from Henri Verbeet hverbeet@gmail.com 2011-12-16 13:22:30 CST --- Created attachment 37993 --> http://bugs.winehq.org/attachment.cgi?id=37993 patch
This patch should help.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #19 from Henri Verbeet hverbeet@gmail.com 2011-12-16 13:28:43 CST --- (In reply to comment #10)
Also there is another strange thing that happens in D3D mode: The highlight color in the menus is blue, whereas OpenGL and Software show the familiar orange.
I noticed this as well. Did this use to work?
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #20 from okias d.okias@gmail.com 2011-12-17 09:13:18 CST --- PATCH in relation to CS 1.6 Solve: - missing textures/textures flickering Do not solve: - color: orange => light blue
Tested on ~amd64, with 1.3.34
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #21 from okias d.okias@gmail.com 2011-12-17 09:17:47 CST --- about colors: correct - textures have correct colors not correct - in menu and in game effect of "bullet coliding with wall" is too blue
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #22 from Wylda wylda@volny.cz 2011-12-17 14:11:43 CST ---
This patch should help.
Hi Henri, yes yes, this one fixes the problem for me :-D I guess this one was hard to solve. As always, many thanks!
PS: "D3D mode: The highlight color in the menus is blue" ... I can't confirm that. Under D3D highlighted color remains orange here. nVidia GT240 v275.09.07. But i had to use hack from bug 25660 to be able to load the savegame, otherwise i get "The selected D3D mode is not supported by your video card". Maybe that hack turns that into orange here...
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #23 from Henri Verbeet hverbeet@gmail.com 2011-12-22 14:11:43 CST --- Should be fixed by 4a30db74b1dbad885941970e7caf9815abd7826d.
http://bugs.winehq.org/show_bug.cgi?id=22507
Bug 22507 depends on bug 25660, which changed state.
Bug 25660 Summary: Half-Life 1 Demo: "The selected D3D mode is not supported by your video card." http://bugs.winehq.org/show_bug.cgi?id=25660
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Wylda wylda@volny.cz 2011-12-26 14:55:15 CST ---
Should be fixed by 4a30db74b1dbad885941970e7caf9815abd7826d.
Hi Henri, this one is fixed too :))
http://bugs.winehq.org/show_bug.cgi?id=22507
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4a30db74b1dbad885941970e7ca | |f9815abd7826d
http://bugs.winehq.org/show_bug.cgi?id=22507
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org 2011-12-30 12:56:40 CST --- Closing bugs fixed in 1.3.36.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #26 from Henri Verbeet hverbeet@gmail.com 2012-01-24 14:29:26 CST --- For what it's worth, the blue color should be fixed by 41c910d5f066347ec7ed9918b0801ffb961f8637. As far as I'm aware that bug didn't have its own bug report.
http://bugs.winehq.org/show_bug.cgi?id=22507
--- Comment #27 from okias d.okias@gmail.com 2012-01-30 12:59:59 CST --- colors fixed. Thanks!