CA hangs my computer - Page 2

CA hangs my computer

A dynamic game undergoing constant development and refinement, that attempts to balance playability with fresh and innovative features.

Moderator: Content Developer

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: CA hangs my computer

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post 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
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post by Argh »

So, is anybody going to bother testing this?
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: CA hangs my computer

Post by SirMaverick »

Argh wrote:So, is anybody going to bother testing this?
Try latest CA.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post 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.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: CA hangs my computer

Post 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.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: CA hangs my computer

Post 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 ...
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post 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.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: CA hangs my computer

Post 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?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: CA hangs my computer

Post by zwzsg »

I was running Spring windowed when it crashed. Though it automatically switched to full-screen as part of the crashing.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: CA hangs my computer

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: CA hangs my computer

Post by Argh »

Can any one proof the contrary?
Nope, haven't ever seen it except in fullscreen.
Post Reply

Return to “Zero-K”