openlierox icon indicating copy to clipboard operation
openlierox copied to clipboard

[Feature] OLX does not respond while map/mod loading

Open albertz opened this issue 13 years ago • 13 comments

Converted from SourceForge issue 2776639, submitted by gab20

When I start a new local game, the game unchecks the fullscreen option by itself, and that always happens, checking the fullscreen option works only for that match, then, when I start a new match it unchecks again. Note1: In the main menu that doesn't happen. Note2: I haven't tested in multiplayer yet.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

There are two (new) cases where OLX could reset the mode to window mode:

  • There is some kind of freeze detector. If OLX does not respond for more than 30 seconds (e.g. the loading of the map takes more than 30 secs), it goes back to window mode. That is to makes it easier to return to your system (if OLX is really not responding anymore).
  • If OLX crashes, it always goes back to window mode (at least on all system expect on Windows where the advanced crash handler is not available yet).

Do you think that it could be one of this?

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

I'm sure it's the first case, because my processor burnt out last year (I hate system overheat) and now it has pathetic 900Mhz, slowing down everything.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

So, we should fix the map/mod loading then. It should not take that long and OLX should be responsible in the meantime while loading.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

I've made some performace tests (based on FPS)

Average FPS for OLX(latest rev): 43 Average FPS for LX56: 84

That's almost x2!

NOTE(I love notes):Local game, same map, same mode, 2 players, no projectiles in the screen for the two tests.

Is this normal?

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Is this related to the problem that the map/mod loading takes too long (or that it unchecks fullscreen)? If not, please open another bug report.

(And then give also the FPS for Beta8 and for some more of the different SVN revisions since then.)

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

I forgot to say two things: Lx56 also loads faster than OLX, and the older versions don't uncheck the fullscreen option.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Ok that is of course unrelated to FPS.

By "loads faster", what do you mean? The map/mod loading?

Can you check who uploaded the EXE? Because Pelya is often uploading an unoptimised EXE (AFAIK).

The unchecking of fullscreen is a feature (as I explained) and you want to have that when OLX hangs in fullscreen and does not respond anymore. The actual problem here is that OLX does not respond anymore while loading the mod/map, not that unchecking of fullscreen.

albertz avatar May 13 '11 20:05 albertz

Submitted by gab20

Yes, the map/mod loading, and the uploader was pelya.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Can you try some of the EXEs by DarkCharlie and see if you have the same problem there?

albertz avatar May 13 '11 20:05 albertz

Submitted by pelya

The last .EXE I've compiled was Dedicated server - release build, so it should have all optimizations enabled.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

Ok, then just wait until we have fixed the map/mod loading.

(Btw., how important is this bug? Should it be fixed for Beta9 or not? It's not trivial to do and the current bug list for Beta9 is already long.)

albertz avatar May 13 '11 20:05 albertz

Submitted by pelya

Since Albert added some progress indicator for map/mod loading which shows OLX not crashed, I think this one can be closed - please test.

albertz avatar May 13 '11 20:05 albertz

Submitted by albertzeyer

I moved that to feature requests and put the priority even lower.

It's not really fixed and final yet as OLX itself is not really responding, the main loop thread is still busy. It also means that your OS will probably show OLX as being busy. For example, if Compiz on Linux is activated, the OLX window could turn gray as Compiz would probably think that OLX is not responding (because it is not).

albertz avatar May 13 '11 20:05 albertz