jonkogan / nullpomino

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

Slick speeds up system #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open up Slick.
2. Switch to any other window.
3. Watch any animation, or click in a text box and hold the left or right key

What is the expected output? What do you see instead?
Everything moves noticeably faster while the Slick window is running, even in 
the background.

Original issue reported on code.google.com by Poochy.EXE on 2 Aug 2010 at 8:00

GoogleCodeExporter commented 8 years ago
I don't understand what you mean.

I don't know if this is related but there is thing I hate about about slick 
version. When nullpomino application is not active it doesn't render anything 
but eat lot of cpu power (on my machine: 10% of cpu usage with nullpomino 
active versus 45% cpu usage with other application active).

Original comment by w.kowa...@gmail.com on 2 Aug 2010 at 4:53

GoogleCodeExporter commented 8 years ago
I mean, everything, and literally everything, speeds up when the slick version 
is running even in the background. For example, if you minimize the slick 
window, click in a text box in another program, and hold down a key, the 
auto-repeat goes about twice as fast as normal.

The issue appeared somewhere between r150 and r180; prior r150, it ran 
perfectly fine.

Original comment by Poochy.EXE on 2 Aug 2010 at 10:14

GoogleCodeExporter commented 8 years ago
Hm. Testing on 7.2.0 shows that the problem was there all along, but somewhere 
between r150 and r180 was an update that made it MUCH worse, enough to be 
noticeable. Then r184 fixed it, and now it's back to the way it was in 7.2.0.

Original comment by Poochy.EXE on 2 Aug 2010 at 10:28

GoogleCodeExporter commented 8 years ago
I can't confirm this issue.

Original comment by w.kowa...@gmail.com on 2 Aug 2010 at 10:38

GoogleCodeExporter commented 8 years ago
Well, it's back to barely noticeable now, so I think we can set the priority to 
low.

If you want to see the problem at its worst, update to r180 and try running 
Slick.

Original comment by Poochy.EXE on 2 Aug 2010 at 10:45

GoogleCodeExporter commented 8 years ago
I'm pretty sure that this issue was mainly caused by Slick's bad default FPS 
system which was there until r184.
As far as I know, for some reason, Slick's FPS system is heavily depending on 
OpenAL. However, this requires a very old version of OpenAL, which won't work 
with 64bits OS or SVN versions of Slick.
From r184, the game uses custom implementation of FPS system which is same as 
SDL&Swing versions. I hope this fixes this issue.

Original comment by pbomqlu910963@gmail.com on 3 Aug 2010 at 1:37

GoogleCodeExporter commented 8 years ago
Nullnoname, do you know anything about issue I mentioned in first comment here?

Original comment by w.kowa...@gmail.com on 3 Aug 2010 at 4:48

GoogleCodeExporter commented 8 years ago
@Comment 7  by w.kowaluk
No, it doesn't happen to me. I'm using Windows XP 32bits.

Original comment by pbomqlu910963@gmail.com on 3 Aug 2010 at 8:06

GoogleCodeExporter commented 8 years ago
Oh great, looks like my problem is gone in 7.3 .

Original comment by w.kowa...@gmail.com on 11 Aug 2010 at 3:52

GoogleCodeExporter commented 8 years ago
I can't reproduce any of this, and it looks like the issue was fixed, so I'm 
going to close it.

Original comment by Zirc...@gmail.com on 22 Aug 2010 at 10:44