Page 2 of 2

Re: CA hangs my computer

Posted: 08 Feb 2010, 13:34
by zwzsg
Yes, but don't you have inter-dependancy between your gadgets?

Last time I tried to disable Lups by removing its .lua file(s), I couldn't manage to find which file did what. There were several .lua files related to Lups, and I wasn't sure of their relationships. I apologize for being so clueless, I know it's probably obvious for all of you, but it's not for someone outside CA project.
- Which gadget(s?) do I disable to switch off Lups?
- Which gadget(s?) do I disable to switch off only the distortion part of Lups?
- Isn't Lups also used by widget? If so, same questions for widgets.

Re: CA hangs my computer

Posted: 09 Feb 2010, 00:08
by Argh
I have some good news: I think I've found the bugs in the GLSL that are causing some of the current problems. More after I've done some additional testing.

Re: CA hangs my computer

Posted: 09 Feb 2010, 22:52
by Argh
OK folks, here's something to test.

Replace all the LUPS particleclasses files with these. This resolved a crash-bug for me with distortion effects, but YMMV. If you're having crash issues with LUPS, please test this and let me know if it helped:

http://www.wolfegames.com/TA_Section/Pa ... sesFix.zip

Re: CA hangs my computer

Posted: 10 Feb 2010, 23:33
by Argh
So, is anybody going to bother testing this?

Re: CA hangs my computer

Posted: 10 Feb 2010, 23:35
by SirMaverick
Argh wrote:So, is anybody going to bother testing this?
Try latest CA.

Re: CA hangs my computer

Posted: 11 Feb 2010, 00:21
by Argh
I take it means it worked? Great, hope that resolves people's issues. I'd like to hear some ATi testing results, see if that fixed it for them as well.

Re: CA hangs my computer

Posted: 11 Feb 2010, 00:29
by SirMaverick
Argh wrote:I take it means it worked?
It means the changes are now in CA's test version. I haven't heart of any testing.

Re: CA hangs my computer

Posted: 11 Feb 2010, 00:41
by jK
Didn't used your patches, but I replaced any gl_TexCoord[] usage with varyings as you told.
I played 3 chicken matches with it and 2 of them crashed when I build an arm area cloaktower. But I couldn't reproduce it with `/cheat`ing (+ /give armjamt). Also I got a heavy lag when the cloaktower was finished, something what didn't happened when I used /cheat. Needs further investigations ...

Re: CA hangs my computer

Posted: 11 Feb 2010, 01:07
by Argh
Hrmm. Haven't messed with the cloak, tbh. Mainly was trying to see what was wrong with distortions like airjet and the ring distortion, which had been causing a crash over here. I'll take another look at cloak in particular, see if there's anything else in the shader that might be causing the issue.

That's really weird that /cheat is part of the issue- maybe it's trying to perform gl.Unit on stuff that isn't Finished? That caused a lot of problems over here with other things, might want to make sure there's a check for that.

Re: CA hangs my computer

Posted: 11 Feb 2010, 01:40
by Argh
After reading the differences in the main code, I'm pretty sure it's UnitFinished vs. UnitCreated (in lups_manager.lua). You guys are still using Created as the point where LUPS unit effects can be applied.

I made that change in LUPS Module awhile ago, got rid of various serious hassles. I probably should've mentioned it, but I was busy and forgot about it.

Shaders tend to bork or have serious problems if they're fighting with Spring's rendering code during the build process. Calling LUPS to initiate a unit shader only when it's finished deals with the problem... and it's why /cheat works.

Technically, this is a bug in Spring- if we invoke UnitRendering at any point, it should override Spring's ARB shaders and fixed-function stuff (treating it as wireframe, whatever) but it's not that simple unfortunately.

Re: CA hangs my computer

Posted: 12 Feb 2010, 16:07
by jK
k did some further testings, and I got an assumption:

The crash just happens in fullscreen mode.

Can any one proof the contrary?

Re: CA hangs my computer

Posted: 12 Feb 2010, 16:33
by zwzsg
I was running Spring windowed when it crashed. Though it automatically switched to full-screen as part of the crashing.

Re: CA hangs my computer

Posted: 12 Feb 2010, 16:55
by jK
Just talking about the nvidia driver crash.
The ATi one is a myth for me and I can't debug it, nor are there any signs yet that it is triggered in combination with LUPS.

Re: CA hangs my computer

Posted: 12 Feb 2010, 18:48
by Argh
Can any one proof the contrary?
Nope, haven't ever seen it except in fullscreen.