irrlicht based games really fast on my pc....

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
darthneo
Posts: 6
Joined: Mon Jan 01, 2007 6:35 pm
Location: A Box, USA

irrlicht based games really fast on my pc....

Post by darthneo »

Hello a few games from the list here:
http://www.irrlicht3d.org/wiki/index.ph ... weredGames

irrlamb, people shooter, witch, PacAnd, and warboard 3D

It seems all of them do not run right, most of them seem to run really fast, like i'm using a speed hack on the programs...

The examples in the irrlicht seems to run right, has anyone else had this problem and know how to fix it??
Frank Dodd
Posts: 208
Joined: Sun Apr 02, 2006 9:20 pm

Post by Frank Dodd »

I am guessing a bit here but I have seen a number of reports of vsync not working very well on some systems, perhaps they are fixing they frame rate with vsync alone and if this fails they end up running at full frame rate?
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

they didn't use time-based movement (frame rate dependence instead) so when your computer is better than theirs (and runs on higher fps) the whole game will become like speed-hacked. :lol:
night_hawk
Posts: 153
Joined: Mon Mar 03, 2008 8:42 am
Location: Suceava - Romania
Contact:

Post by night_hawk »

...and will "run" like a turtle on a hot summer day if you have a crappy computer.
darthneo
Posts: 6
Joined: Mon Jan 01, 2007 6:35 pm
Location: A Box, USA

Post by darthneo »

well that just seems retarded.... so the only way to play theese games would be to get a pc like the person who made it?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Or to ask the author to write their code correctly and provide a fixed executable.
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

darthneo wrote:well that just seems retarded.... so the only way to play theese games would be to get a pc like the person who made it?
it's not irrlicht's problem.
twilight17
Posts: 362
Joined: Sun Dec 16, 2007 9:25 pm

Post by twilight17 »

You could try a program like CPUKiller. I've never used it before, but it could work.
Post this userbar I made on other websites to show your support for Irrlicht!
Image
http://img147.imageshack.us/img147/1261 ... wernq4.png
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

maybe they use an old version where the timing had problems with dualcores?
darthneo
Posts: 6
Joined: Mon Jan 01, 2007 6:35 pm
Location: A Box, USA

Post by darthneo »

6 games with the same problem? that seems a bit odd.... ill try the cpukiller and see if that works

--edit--
I just tried it, it does kill your cpu but it doesnt help with the games there just as bad, even worse cause now you get lag...
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Halan wrote:maybe they use an old version where the timing had problems with dualcores?
Yep probably. Set affinity in task manager to use only one core
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
darthneo
Posts: 6
Joined: Mon Jan 01, 2007 6:35 pm
Location: A Box, USA

Post by darthneo »

bitplane wrote: Yep probably. Set affinity in task manager to use only one core

I didn't think to do that, it works, now the games run fine after i do this.

Thanks for the help everyone!
Warchief
Posts: 204
Joined: Tue Nov 22, 2005 10:58 am

Post by Warchief »

Hey guys, who do you think I am? Of course I´m not using frame speed, that would be insane nowadays. I use proper timers. I can´t recall now, and have not code at hand, but I´m probably using QueryPerformanceCounter. I remember it has some problems under certain processors, or probably 64bits architectures, or any other thing.

I´m talking about Warboard3D.
It may run at different fps render rates, but the logic will run at proper time slices.

So, could you please darthneo post a video about the issue, and let us know about your processor, operating system, and stuff?

Thanks.

PS: I bet the other games are using proper timers, but I don´t know.

<edit>

Err, actually I should have read all the post before posting. Hehe. It seems they already pointed you in the right direction, which is a problem in the timer with multiple cores.

Googling multiple core queryperformancecounter:
http://channel9.msdn.com/forums/TechOff ... -AthlonX2/
(there were many others better than this, it´s just an example of the problem).
Warchief's Warboard 3D Now hotseat release
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

If you have an AMD dual core there is a bug in the AMD side of things, that makes it fast. Set the affinity to one processor in the process (taskmanager) or install the AMD CPU drivers from your motherboard.

It happens as well with other dual cores but the amd was the problem here.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

Do anyone even bother to read replies anymore?
Post Reply