Open albertz opened 13 years ago
Submitted by rukii
Forgot to mention occasionally screen freezing, I believe it occurs because of low FPS. Screen freezes for a short moment randomly.
Submitted by albertzeyer
Please give some more information. I need the FPS when there are no projectiles, no action, no bots and no weapon selection (for example, start an empty game). Then, I need the FPS of all combinations of OpenGL enabled/disabled and BPP 16/24/32.
If you have tried some pre-Beta9, please say which revisions you have tried. Try also the newest one.
Submitted by albertzeyer
I don't think any freezing is related. Please fill in a seperate bug.
Submitted by dark_charlie
This bug is more serious. Everybody I asked said that beta 9 has a very low FPS. I decided to check that myself, here are the results:
FPS with 16bit colors, fullscreen mode, measured in local play with one worm and no projectiles: LX 0.56b: 1000 beta 2: 576 beta 3: 577 beta 5: 550 beta 8: 600 beta 9: 170
FPS with 32bit colors, fullscreen mode, measured in local play with one worm and no projectiles: LX 0.56b: - beta 2: - beta 3: 440 beta 5: 327 beta 8: 330 beta 9: 160
It was run on my laptop with a Core 2 Duo 2 GHz, 3 GB RAM, no FPS limit of course.
In all cases, CPU load was about 50 % (i.e. one core was working at 100 %), only in beta 9 it was about 65 %.
So the conclusion is: beta 9 takes more CPU while having many times worse FPS. This should be definitelly fixed before beta 9 release or we won't convince people with older PCs to switch.
Submitted by albertzeyer
One very big impact is the menu which is redrawn every frame now (we talked about that earlier - I explained to you that it will lower the FPS a lot and you said that it's not worth to hack around for Beta9).
Otherwise, can you provide profiling data? Just the FPS doesn't help much. Nice would be also some profiling data of Beta8 for comparison.
Submitted by dark_charlie
Old LieroX repaints the menu each frame as well, and it still has much better FPS than any of OLX betas. Yes, the menu repainting definitelly has some impact on the FPS but it shouldn't be that big.
I'll fetch the profiling data now.
Submitted by albertzeyer
It would be really interesting why it is like that. Are our drawing routines so much worse? Or is there another reason? I am really interested about the profiling data.
Submitted by pelya
I think we should pinpoint the revision that caused the biggest FPS drop. Would be nice to assign someone else to this job - no programming skills required here, just "for R in {1,2,3,4}{0,2,4,6,8}00; do svn up -r $R ; cmake . ; make; ./start.sh; done".
Submitted by albertzeyer
For all revs, this is far too much. Also the FPS is hardly system dependent and it could be that on one system, rev1 is better than rev2 and on another system it's the opposite. Also, some people at least provided such information for some revs somewhere on LXA (but only for the available EXEs, so it didn't really helped me when I asked for it).
I think much more helpfull would be to get some profiling data here (and to compare this to profiling data of earlier revisions).
Converted from SourceForge issue 2817680, submitted by rukii
Newest version of OLX (beta 8 and 9, haven't tried older but beta 5 worked properly, as well as beta 3) gives me extremly low FPS compared to older versions. With older versions I have about 96 FPS all the time, with newer versions I never get more than 50. I tested it on 2 PCs with different specifications and different OS (XP and Vista).