http://bugs.winehq.org/show_bug.cgi?id=10557
Summary: HalfLife 2: grafic glitches on GF8600GTS when GLSL enabled Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: Helmut.henig@gmx.at
Created an attachment (id=9311) --> (http://bugs.winehq.org/attachment.cgi?id=9311) Output from stderr while running steam+hl2
Enabling GLSL on a GF8600GTS using the current stable drivers (100.14.23) and the current beta drivers (169.04) creates major grafic glitches in HL2. The font of the menu isn't visible (=or better said the menu itself isn't visible) and the grafic looks distorted (parts are drawn a bit wrong). This happens with HL2 and HL2:LC and HL2:Episode 1. Disabling GLSL (UseGLSL set to disabled) everything is rendered correctly. The output of wine shows many GL_INVALID_OPERATION (Log is attached).
Configuration:
CPU: AMD A64 X2 4600+ (S939) RAM: 3 GiB DDR GPU: nVidia Corporation GeForce 8600 GTS Sound: SB Audigy2 using Alsa OS: Arch Linux (64Bit) using a 32Bit 'chroot' for 32Bit applications (like wine) X: X.Org X Server 1.4.0, X Protocol Version 11, Revision 0 Kernel: 2.6.23-ARCH SMP PREEMPT
http://bugs.winehq.org/show_bug.cgi?id=10557
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger@gmx.at
--- Comment #1 from Stefan Dösinger stefandoesinger@gmx.at 2007-11-24 10:11:16 --- What you see here is a driver bug that nvidia seems to be already aware of
http://bugs.winehq.org/show_bug.cgi?id=10557
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-11-24 12:33:50 --- "grafic glitches" can't be major. You sure you don't have beryl/compiz/xgl running?
Also I do not see it here with 6600GT. Can you start game with -dxlevel 70 instead of disabling glsl?
In either case this is driver bug, not Wine.
Stefan, can you link to their bug #/forum post/etc (if you have it handy)?
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #3 from Stefan Dösinger stefandoesinger@gmx.at 2007-11-24 14:08:27 --- I don't have the forum link handy unfortunately.
The graphics bugs caused by that are rather bad - I see them on my geforce 7400 with the beta driver, they render the game unplayable(but yes, it is "minor" according to the bugzilla categories - 99% of all bugs are minor according to them).
http://bugs.winehq.org/show_bug.cgi?id=10557
Gregor Münch greg87@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greg87@online.de
--- Comment #4 from Gregor Münch greg87@online.de 2007-11-25 06:36:30 --- It doesnt happen in .23 driver for me. Are you really sure?
@stefan do mean this? http://developer.nvidia.com/forums/index.php?showtopic=596
Also this is not hl2 specific, it breaks all games which make use of the glsl compiler.
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #5 from Stefan Dösinger stefandoesinger@gmx.at 2007-11-25 06:55:48 --- Yes, this was the forum post I meant.
Changing the link order of the shaders fixes the issue for me(gf7300), I'm considering sending a patch just to get rid of reports that GLSL is broken.
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #6 from Helmut Henig Helmut.henig@gmx.at 2007-11-25 15:53:17 --- Sorry for the 'major' - I wanted to set it to 'normal' (damn mousewheel)
The reason I wrote GF8600GTS is that since I got this card HL2 didn't work as it should anymore. In the past with a GF6600GT it worked quite well (HL2).
But I don't think the reason for this error is the mentioned bug (the error is differenct to the one mentioned in the linked forum post). GuildWars (which uses Shaders and is the only other Windows Game I have which uses Shaders (afaik - does Dawn Of War use them?)) works with the 169.04 drivers with the same flaws as with the 100.14.* drivers. (Parts of characters are drawn into infinity - it is a known bug).
I tried to reaffirm that it happens with the older driver (possible it was a different problem and my memory was bad on this) but using them HL2 doesn't display anything at all (HL2 disappears after the loading screen but it still runs (sound is hearable))....
http://bugs.winehq.org/show_bug.cgi?id=10557
Leigh Dyer lsd@linuxgamers.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lsd@linuxgamers.net
--- Comment #7 from Leigh Dyer lsd@linuxgamers.net 2007-11-27 04:28:03 --- If there's a workaround patch for this, it'd be very handy for me if someone could post it here. I'm currently writing an article about Linux gaming for an Australian PC magazine, but I'm stuck with an 8800GT (and hence the beta drivers) for my testing, and this issue is making it tricky to really show what Wine can do today.
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #8 from Stefan Dösinger stefandoesinger@gmx.at 2007-11-27 04:41:16 --- Created an attachment (id=9364) --> (http://bugs.winehq.org/attachment.cgi?id=9364) Possible workaround
Try this patch. It fixes the issue mentioned in the beta driver on my gf 7400 card. It might fix the geforce 8 issues as well, but I cannot test it myself.
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #9 from Leigh Dyer lsd@linuxgamers.net 2007-11-27 05:26:37 --- Thanks, Stefan -- that patch does seem to fix the problem on my 8800GT. With UseGLSL enabled, I can run HL2 without any graphical corruption, and without seeing the GL_INVALID_OPERATION error in glsl_shader. Portal requires -dxlevel 81 (presumably due to unrelated issues), but it also works fine: no corruption, no GL_INVALID_OPERATION errors. Let me know if you'd like to see the logs.
http://bugs.winehq.org/show_bug.cgi?id=10557
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2007-11-27 07:55:53 --- Thanks for confirming that this fix helps on gf8 cards as well.
Portal has broken colors in dxlevel 90 and 95, that is indeed a different issue. Patches for that should come as well, propably they are in by the next snapshot on friday. dxlevel 90/95 on all Source engine based games are slow due to constant texture reloading. This is a bit more tricky and I do not have a fix yet, so for now dxlevel 81 is recommended for all of them.
http://bugs.winehq.org/show_bug.cgi?id=10557
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Stefan Dösinger stefandoesinger@gmx.at 2007-12-02 17:15:54 --- the workaround for this bug is committed
http://bugs.winehq.org/show_bug.cgi?id=10557
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Stefan Dösinger stefandoesinger@gmx.at 2007-12-02 17:16:12 --- closing
http://bugs.winehq.org/show_bug.cgi?id=10557
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified