jonkogan / nullpomino

Automatically exported from code.google.com/p/nullpomino
0 stars 0 forks source link

FPS drop in netplay #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play or observe a game in netplay mode
2. Wait for pieces to fill up players' fields
3. FPS drops after lots of pieces are placed

What is the expected output? What do you see instead?
FPS drops dramatically / CPU usage increases. For most players, 1v1 is fine but 
as more players join, the game becomes unplayable due to the FPS drop.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by prelude...@gmail.com on 13 Aug 2010 at 12:24

GoogleCodeExporter commented 8 years ago
I have noticed some slowdowns with 6 players games before. I was
looking into it, but rendering code looks fine.
Tell me what version you are using (slick?), what os and what system
specs.

Does anyone know any good way to profile Java programs? I tried
JProfiler, but it's not free and it slowed game way too much to give
any usable data.

Original comment by w.kowa...@gmail.com on 14 Aug 2010 at 4:52

GoogleCodeExporter commented 8 years ago
My SDL runs at a consistent 50 FPS on netplay on this computer, but Slick keeps 
60 FPS pretty well. Not sure if I've seen this.

Original comment by Zirc...@gmail.com on 15 Aug 2010 at 6:48

GoogleCodeExporter commented 8 years ago
I'm running slick on Windows XP, 1.8ghz Athlon XP, 1gb RAM. 2-3 player games 
run at 60fps but 4 player games drop to the 40-50s. 6p games drop to around the 
30s.

Original comment by prelude...@gmail.com on 16 Aug 2010 at 12:17

GoogleCodeExporter commented 8 years ago
I have same results with comparable hardware. I don't think this is problem 
with nullpomino itself, just libraries nullpomino use don't offer very good 
performance.

Original comment by w.kowa...@gmail.com on 8 Sep 2010 at 9:49

GoogleCodeExporter commented 8 years ago
can you try with current version? i had chance to play on this old pc today and 
with 7.5 i get 60fps in 6p game.

Original comment by w.kowa...@gmail.com on 14 Mar 2011 at 3:46

GoogleCodeExporter commented 8 years ago
i experience this problem sometimes too, but not every time. sometimes i play 
6p with no problem and sometimes it drops to 40fps in 3p. seems there are some 
conditions other than hardware.
also, because my cpu sometimes overheats and causes shutdown in summer.....
so i always limit the multiplier factor. i tried to turn off the limit when 
nullpo gets slow, and thus it gets back to 60fps. but cpu usage is getting 
obviously higher.

Nullpomino 7.5.0, tried on both Java 6u22, 7u<i don't remember>.
tried java(no w) and seems no info about error is printed.

Original comment by farter...@gmail.com on 4 May 2013 at 5:54