TGE - Dual Core Problem
by Michael K. · in General Discussion · 04/11/2008 (8:22 am) · 4 replies
I was just wondering if anyone else is experiencing the "Benny Hill" effect in tge (i'm using 1.5.2) on any dual core computer?
I haven't found anyone write about it on the forum, so i was wondering if only i am experiencing it (maybe do to some code changes?! or is this an engine problem?). I tested it on two computers (a core 2 duo and a core 2 quad computer) and both had this effect.
Thanks :-)
Michael
I haven't found anyone write about it on the forum, so i was wondering if only i am experiencing it (maybe do to some code changes?! or is this an engine problem?). I tested it on two computers (a core 2 duo and a core 2 quad computer) and both had this effect.
Thanks :-)
Michael
#2
04/11/2008 (9:01 am)
Well actually i just found this (http://www.garagegames.com/mg/snapshot/view.php?qid=1372) after searching for the word "stutter" which describes exactly the problem i am having, so the chances are bigger that this really is a tge problem. Has anyone fixed it?
#3
Add this to winWindow.cc
Then inside main.cs add SetProcessAffinityMask() somewhere during initialization. This will force TGE onto a single logical processor, and should hopefully fix the studder caused by incorrect timing.
04/11/2008 (9:57 am)
Try this:Add this to winWindow.cc
ConsoleFunction( SetProcessAffinityMask, void, 1, 1, "" )
{
SetProcessAffinityMask( GetCurrentProcess(), 1L);
}Then inside main.cs add SetProcessAffinityMask() somewhere during initialization. This will force TGE onto a single logical processor, and should hopefully fix the studder caused by incorrect timing.
#4
thank you. I tried out your fix, but unfortunatly it is still studdering....
04/11/2008 (11:05 am)
@Peter Simardthank you. I tried out your fix, but unfortunatly it is still studdering....
Torque 3D Owner Matthew Jessick