Massive CPU issue
Moderator: Moderator
Massive CPU issue
I recently joined the ToME game. Its a well put together game. I only have one major complaint / concern. Every time i go to "rest" my games CPU usage goes from the average 10-18% up to 99% and the game lags like nuts for the duration of resting i.e. lvl 18 with 600 hp and it takes a good 5 minutes for it to "rest" to full hp. maybe i missed something but i just installed the game and started playing... this exact same issue happens ANY TIME i mouse over an enemy or friendly person and it lags like hell just to pop up the little status tooltip. (same thing occurs anytime i mouse over anything that causes a tooltip to popup.)
Re: Massive CPU issue
Hum, that much slowdown is weird.
What are the specs for your computer: memory, CPU, video card, ...
Are the video card driver correctly installer ?
What are the specs for your computer: memory, CPU, video card, ...
Are the video card driver correctly installer ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Massive CPU issue
CPU: Intel Core™ i5-660 3.33 GHz
MEMORY: 4GB (2GBx2) DDR3
VIDEO CARD: ATI Radeon HD 5450 1GB DDR2
Not entirely sure whats going on but i still play the game... just dont rest until my golem dies at this point... then i take like a 5 min break to refit / rest to get him back... not a big deal i just go watch youtube or whatever while it lags its way to full
Hope you can figure out whats up with it.
MEMORY: 4GB (2GBx2) DDR3
VIDEO CARD: ATI Radeon HD 5450 1GB DDR2
Not entirely sure whats going on but i still play the game... just dont rest until my golem dies at this point... then i take like a 5 min break to refit / rest to get him back... not a big deal i just go watch youtube or whatever while it lags its way to full
Hope you can figure out whats up with it.
Re: Massive CPU issue
It's kind of weird
Can you run glewinfo from this package please http://sourceforge.net/projects/glew/fi ... p/download
and tell me the results
Can you run glewinfo from this package please http://sourceforge.net/projects/glew/fi ... p/download
and tell me the results
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Massive CPU issue
Cant paste entire file here... Cant attach txt extensions....
So what exactly did you need to know from the glewinfo file?
So what exactly did you need to know from the glewinfo file?
Re: Massive CPU issue
Put it on pastebin.com it should work 

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Higher
- Posts: 61
- Joined: Sun Jul 11, 2010 9:03 am
Re: Massive CPU issue
I also have some performance issues. Sometimes the game is running smoothly, and sometimes it lags as hell. I tried to change graphics settings, but that didn't help.
OS: Windows XP SP 3
CPU: AMD Athlon 2800+, 1.81 GHz
Memory: 1 GB
Video: ATI Radeon 9600 / X1050 Series from ATI Technologies Inc.
GLEW Extension Info: http://pastebin.com/1ba841Xc
OS: Windows XP SP 3
CPU: AMD Athlon 2800+, 1.81 GHz
Memory: 1 GB
Video: ATI Radeon 9600 / X1050 Series from ATI Technologies Inc.
GLEW Extension Info: http://pastebin.com/1ba841Xc
Re: Massive CPU issue
Any luck as to finding the problem yet?
Re: Massive CPU issue
Not much no :/
Can you do a profiler run for me please ? I'll take quite a long time given the horrible performance you have normaly but it'll help me.
Remove any profiler.log file in tome install directory, if there are any.
Start the game, get ready to rest
Press ctrl+alt+shift+p
rest
as soon as it is done, press ctrl+alt+shift+p again
exit tome
Send me the (compressed please :> ) profiler.log file
Can you do a profiler run for me please ? I'll take quite a long time given the horrible performance you have normaly but it'll help me.
Remove any profiler.log file in tome install directory, if there are any.
Start the game, get ready to rest
Press ctrl+alt+shift+p
rest
as soon as it is done, press ctrl+alt+shift+p again
exit tome
Send me the (compressed please :> ) profiler.log file
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Massive CPU issue
Here is the profiler.log file... all 114MB of it... for only being active for a few minutes its a huge file.
- Attachments
-
- profiler.rar
- Started JUST BEFORE resting was started and stopped RIGHT AFTER resting ended.
- (227.76 KiB) Downloaded 253 times
Re: Massive CPU issue
Ahh thanks, I see what might be the problem.
It's something I had planned to change anyway, it may be betetr in b19, no promises though :/
It's something I had planned to change anyway, it may be betetr in b19, no promises though :/
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Massive CPU issue
Able to give me a short version of what the issue is? I might be able to help with the code change.
Re: Massive CPU issue
Basically each turn that passes the player changes (since he is resting) and thus each turn PlayerDisplay is regenerated, which is long and slow :/
PlayerDisplay needs to remember the old values of each things it tracks and only update when needed.
The required change to make it partially updatable si in b19 but not the checking old values, yet
PlayerDisplay needs to remember the old values of each things it tracks and only update when needed.
The required change to make it partially updatable si in b19 but not the checking old values, yet
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
