Source Code Project Mantis - FSSCP
View Issue Details
0001101FSSCPgraphicspublic2006-10-10 11:262012-01-09 13:06
Reporterthesource2 
Assigned ToWMCoolmon 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001101: Firing Kaiser UD-8 causes EXTREME slowdowns
Descriptionredmenace-20061008. Try missions like Exodus in main campaign, set both primaries to UD-8 Kaiser and fire several shots. Perfomance drops to 0.5 fps. If you stop firing everything returs to normal (until you fire again)
TagsNo tags attached.
has duplicate 0001154resolved taylor Particles Causing Slowdowns 
Attached Files

Notes
(0006849)
Goober5000   
2006-10-10 16:24   
Does this happen if you disable the media VPs?
(0006857)
taylor   
2006-10-11 02:21   
More than a few people have reported MAJOR slowdowns in the main CVS branch when weapons fire. I've been too busy to attempt to track it down, but quite a few people have come to me about this the past month or so. They do say that it doesn't happen in 3_6_9 though, only HEAD.
(0006859)
thesource2   
2006-10-11 06:18   
Without MediaVP everything is fine.
This happen not with all weapons. I can fire Subach-HL7 normally, but Kaiser UD-8 causes slowdown
(0006880)
thesource2   
2006-10-13 08:47   
The problem seems to be in mp-710 patches (supposely in mp-710_effects)
(0006881)
taylor   
2006-10-13 09:38   
The 710 patches shouldn't include any primary weapon effect updates. Nothing related to the Kayser is included.

They just contain...

mp710_effects:
glows and trails (the flak effect primarily)
the shield hit effect
the ship-damage particle spew
a couple of thruster glows

mp710_models:
fixed missile autocentering with new IBX files

mp710_adveffects:
fixed hi-res nebula
fixed glow maps


I'm building plain CVS now though, so I'll see if I can find the problem.
(0006882)
taylor   
2006-10-13 10:07   
Found it. WMC commented out the line which actually renders most particle effects. Because of this the batcher will just keep adding more and more items to get rendered, but since it never renders any, it never releases anything. It not only gets progressively slower but needs more and more memory every time some particle effect is set to be rendered.

Putting this on WMC to fix.
(0006899)
thesource2   
2006-10-16 08:12   
Check shockwaves also. I noticed similar slowdowns with them.
(0006900)
thesource2   
2006-10-16 08:12   
Also heavy slowdown with Triton envmapping
(0006901)
taylor   
2006-10-16 08:56   
Those two things are unrelated to this bug. And both are likely related more to data issues that real code issues. They need to be filed as separate bugs, but wait until after you test with the next set of official MediaVPs before you open new bug reports for them.
(0007064)
Woolie Wool   
2006-11-03 12:30   
I STRONGLY urge the SCP team to give this bug top priority. It is universal, occurs frequently, and is very serious. It is definitely the most important bug I've seen in the latest builds.
(0007065)
Goober5000   
2006-11-03 12:58   
Try sending a PM to WMC.
(0007066)
thesource2   
2006-11-03 14:06   

Reminder sent to: WMCoolmon

Goober5000 asked to send a reminder to you. This is very serious and annoying bug
(0007071)
WMCoolmon   
2006-11-04 19:37   
This should be fixed in my local codebase. Redmenace asked me about it awhile back, and I suggested the same fix as taylor(0006882). I haven't heard any word back on whether or not that helped at all, but I made the change in my local codebase and have not noticed disappearing/laggy projectiles or particles.

I'll mark this as fixed if/when my code goes into CVS.
(0007228)
Goober5000   
2006-11-30 23:45   
After consultation with WMC I've reverted the original commit that caused this problem.

Issue History
2006-10-10 11:26thesource2New Issue
2006-10-10 16:24Goober5000Note Added: 0006849
2006-10-11 02:21taylorNote Added: 0006857
2006-10-11 06:18thesource2Note Added: 0006859
2006-10-13 08:47thesource2Note Added: 0006880
2006-10-13 09:38taylorNote Added: 0006881
2006-10-13 10:07taylorNote Added: 0006882
2006-10-13 10:07taylorAssigned To => WMCoolmon
2006-10-13 10:07taylorStatusnew => assigned
2006-10-16 08:12thesource2Note Added: 0006899
2006-10-16 08:12thesource2Note Added: 0006900
2006-10-16 08:56taylorNote Added: 0006901
2006-11-03 12:30Woolie WoolNote Added: 0007064
2006-11-03 12:58Goober5000Note Added: 0007065
2006-11-03 14:06thesource2Note Added: 0007066
2006-11-04 19:37WMCoolmonNote Added: 0007071
2006-11-23 22:48taylorRelationship addedhas duplicate 0001154
2006-11-30 23:45Goober5000Note Added: 0007228
2006-11-30 23:45Goober5000Statusassigned => resolved
2006-11-30 23:45Goober5000Resolutionopen => fixed
2012-01-05 17:55Goober5000Changeset attached => Import 2012-01-05 17:52:05 trunk r3773
2012-01-09 13:06Goober5000Changeset attached => fs2open_websvn trunk r3773