[Bug 12453] Bad performance in Source based games

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 4 07:19:21 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=12453


donotreply at who.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |donotreply at who.net

Kari <refic at psimerion.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |refic at psimerion.org

Jesse A. <ep at trishock.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ep at trishock.com

Laissus Yoann <yoann.laissus at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yoann.laissus at gmail.com




--- Comment #36 from donotreply at who.net  2009-06-30 09:49:57 ---
(In reply to comment #35)
> (In reply to comment #31)
> > Created an attachment (id=21072)
 --> (http://bugs.winehq.org/attachment.cgi?id=21072) [details] [details]
> > Disable SRGB-sampler-tate-triggered texture reloads, against 1.1.21
> > 
> > Here's a hack patch against 1.1.21 or so which should bypass attempts to reload
> > an RGB texture as an SRGB texture or vice-versa.
> > 
> > Depending on how the texture was first uploaded, it'll either be too bright
> > (trying to reload RGB as SRGB) or too dark (trying to reload SRGB as RGB).
> > 
> > This patch makes Left4Dead noticeably brighter, and noticeably faster.
> 
> This patch works perfectly for Left4Dead single player. However in multiplayer
> the flashlight no longer works (no projected light effect at all, only the
> "glow" on the gun is visible). I guess the engine must use different shaders
> for this effect for online play, and something about this patch breaks that.

The patch works perfectly for me against 1.1.24. Flashlight works as intended
in multiplayer campaign. I would like to see this get implemented as the FPS
increases are great. I no longer have to disable HDR in Left 4 Dead, albeit
settings must still be on low for models, textures, etc. and the resolution
doesn't go past  960x600. I know that sounds preachy and stuff but this patch
is a step in the right direction.

--- Comment #37 from Kari <refic at psimerion.org>  2009-06-30 10:30:04 ---
Patch working extremely well here on 1.1.24. I got over double FPS (70-80) most
of the time!

--- Comment #38 from donotreply at who.net  2009-07-16 03:25:47 ---
I can in fact raise the eyecandy with this patch to respectable levels (medium
shaders, models/text. high, effects high) ALTHOUGH regular shadows are broken
for characters, zombies, and etc. Other than that its a HUGE performance boost.

--- Comment #39 from donotreply at who.net  2009-08-02 06:59:07 ---
(In reply to comment #35)
> (In reply to comment #31)
> > Created an attachment (id=21072)
 --> (http://bugs.winehq.org/attachment.cgi?id=21072) [details] [details]
> > Disable SRGB-sampler-tate-triggered texture reloads, against 1.1.21
> > 
> > Here's a hack patch against 1.1.21 or so which should bypass attempts to reload
> > an RGB texture as an SRGB texture or vice-versa.
> > 
> > Depending on how the texture was first uploaded, it'll either be too bright
> > (trying to reload RGB as SRGB) or too dark (trying to reload SRGB as RGB).
> > 
> > This patch makes Left4Dead noticeably brighter, and noticeably faster.
> 
> This patch works perfectly for Left4Dead single player. However in multiplayer
> the flashlight no longer works (no projected light effect at all, only the
> "glow" on the gun is visible). I guess the engine must use different shaders
> for this effect for online play, and something about this patch breaks that.

Huh, another update, funnily enough I get this corruption now against 1.1.26.
Although this coupled with using ARB makes L4D run smooth enough. Since I am
unable to downgrade from 1.1.26 to 1.1.24 (the wine folder gets "corrupted"
when updated to 1.1.26 and steam crashes on launch when you revert back) I
would wish that this error gets worked out.

--- Comment #40 from Chris Boyle <chris at boyle.name>  2009-08-06 17:24:35 ---
To resolve the confusion between comment 35 and comment 36: I find in wine
1.1.26~winehq0~ubuntu~9.04-0ubuntu1 both with and without the patch, the
flashlight is fine in all modes except versus. So, multiplayer campaign is
fine, multiplayer versus is not: no flashlight, and no flashlights from other
players either.

--- Comment #41 from Jesse A. <ep at trishock.com>  2009-08-08 13:47:13 ---
The following references Left 4 Dead:

Using the "Disable SRGB-sampler-tate-triggered texture reloads, against 1.1.21"
patch on 1.1.27 yielded a performance increase over 1.1.26 without the patch.
In multiplayer the flashlight does not work upon freshly loading. Causing the
game to lose focus and then re-focusing it causes the flashlight to work
properly again (Alt-tab out, change workspaces, etc). I made a more lengthy
post on the Left 4 Dead page on appdb but I will post the results here also:

With all settings on low (except trilinear filtering enabled) at 960x540 I made
a timedemo and ran it on 1.1.26 and 1.1.27 with the above patch. On 1.1.26 the
timedemo reported 31.02 fps and on the patched 1.1.27 the timedemo reported
40.56 fps.

Not exactly a monumental increase in framerate but definitely a big step in the
right direction.

--- Comment #42 from donotreply at who.net  2009-08-22 18:24:54 ---
(In reply to comment #41)
> The following references Left 4 Dead:
> 
> Using the "Disable SRGB-sampler-tate-triggered texture reloads, against 1.1.21"
> patch on 1.1.27 yielded a performance increase over 1.1.26 without the patch.
> In multiplayer the flashlight does not work upon freshly loading. Causing the
> game to lose focus and then re-focusing it causes the flashlight to work
> properly again (Alt-tab out, change workspaces, etc). I made a more lengthy
> post on the Left 4 Dead page on appdb but I will post the results here also:
> 
> With all settings on low (except trilinear filtering enabled) at 960x540 I made
> a timedemo and ran it on 1.1.26 and 1.1.27 with the above patch. On 1.1.26 the
> timedemo reported 31.02 fps and on the patched 1.1.27 the timedemo reported
> 40.56 fps.
> 
> Not exactly a monumental increase in framerate but definitely a big step in the
> right direction.

Something after 1.1.24 makes this patch poo-poo. I reverted back in a new
prefix using this patch and I forget how awesome the performance was.
Performance gains don't seem to be there as much using 1.1.25+.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list