high load during play t-engine4-linux32-1.0.0beta42

Moderator: Moderator

Post Reply
Message
Author
noone
Posts: 4
Joined: Mon Sep 03, 2012 9:27 am

high load during play t-engine4-linux32-1.0.0beta42

#1 Post by noone »

Hi,

during playing t-engine4-linux32-1.0.0beta42 I have very high load (140-180% at dualcore procesor).
Version t-engine4-linux32-1.0.0beta41 works well. I tried to disable many options in menu, but without
any result.

Thanks!

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: high load during play t-engine4-linux32-1.0.0beta42

#2 Post by darkgod »

Humm the game can now detect shaders better; maybe yoru card says it can do them but cant do them very well; did you disable shaders in your tests ?
[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 ;)

noone
Posts: 4
Joined: Mon Sep 03, 2012 9:27 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#3 Post by noone »

Yes, I did, but the result is the same. The game do a high load and is very slow. Especially during combat.

I have this graphic card:
01:00.0 VGA compatible controller: nVidia Corporation G86M [Quadro FX 360M] (rev a1)

I tried debian squeeze 6.0.5 and fedora 17.

Thanks for your response.

Can I provide any kind of report or configuration files to help identify the problem?
It looks like that the disabling shaders now works. Thanks for solution!

noone
Posts: 4
Joined: Mon Sep 03, 2012 9:27 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#4 Post by noone »

Hmm, the problem is still here. When I'm attacking foes, then the game is for second or two frozen. Even I disable shaders and also other options I tried (fps, resolution, details and so on).

When I'm stay with my rogue, then strace give me permanently (looks like some loop):

Code: Select all

[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# strace -p 7362
...
read(6, 0x9b12b28, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
select(7, [6], NULL, NULL, {0, 0})      = 0 (Timeout)
nanosleep({0, 10000000}, 0xffc76094)    = 0
...

Code: Select all

[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# strace -p 7362 -c
Process 7362 attached - interrupt to quit
[ Process PID=7362 runs in 32 bit mode. ]
^CProcess 7362 detached
System call usage summary for 32 bit mode:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 95.60    0.028001         112       250           nanosleep
  4.40    0.001289           5       260           writev
  0.00    0.000000           0         1           restart_syscall
  0.00    0.000000           0       486       459 read
  0.00    0.000000           0         1           write
  0.00    0.000000           0         1           open
  0.00    0.000000           0         1           close
  0.00    0.000000           0        21           lseek
  0.00    0.000000           0       208           gettimeofday
  0.00    0.000000           0       407           select
  0.00    0.000000           0       260           poll
  0.00    0.000000           0         4         4 lstat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.029290                  1900       463 total

When the game is frozen (i'm attacking), then I get:

Code: Select all

[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# strace -p 7362
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x9b3bd10, FUTEX_WAIT_PRIVATE, 2, NULL) = 0

Code: Select all

[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# strace -p 7362 -c
Process 7362 attached - interrupt to quit
[ Process PID=7362 runs in 32 bit mode. ]
^CProcess 7362 detached
System call usage summary for 32 bit mode:
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 49.95    0.008000         121        66           futex
 24.98    0.004001          21       192           writev
 24.98    0.004001          68        59           nanosleep
  0.09    0.000015           0       710           lseek
  0.00    0.000000           0         1           restart_syscall
  0.00    0.000000           0       723       331 read
  0.00    0.000000           0        38           write
  0.00    0.000000           0         4           open
  0.00    0.000000           0         4           close
  0.00    0.000000           0       156           gettimeofday
  0.00    0.000000           0       198           select
  0.00    0.000000           0       234           poll
  0.00    0.000000           0         8         8 lstat64
------ ----------- ----------- --------- --------- ----------------
100.00    0.016017                  2393       339 total
Maybe the problem is in this... What do you think? Thank you for your time and for this great game!

R

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#5 Post by tiger_eye »

system traces can be nice, but so would being able to dump the program stack as I requested here:

http://forums.te4.org/viewtopic.php?f=36&t=34444
darkgod wrote:OMFG tiger eye you are my hero!

noone
Posts: 4
Joined: Mon Sep 03, 2012 9:27 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#6 Post by noone »

The signal isn't implemented yet, I tried but the game was terminated:

Code: Select all

[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# kill -s SIGUSR1 974

Code: Select all

[MODULE LOADER] done loading module     T-Engine4 Main Menu
[PROFILE] mounted       online  on /current-profile
[PROFILE] unmounted     online  from /current-profile
Wait finished, counted 1222, 4898 ticks
move 1 x 805
[ONLINE PROFILE] get news
[PROFILE THREAD] flushing CSETs
User defined signal 1
[radek@suplik] [/home/radek/t-engine4-linux32-1.0.0beta42]# 

Tofystedeth
Posts: 1
Joined: Thu Nov 08, 2012 2:43 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#7 Post by Tofystedeth »

Having the same issue here in Windows 7 x64. The game has been running for me for a couple weeks until I beat the first level of the Daikara. I beat the Tempest guy and unlocked the Archmage class. Killed everything there then headed back to town to sell loot. I got ambushed on my way to town and it started taking about 5 seconds between every action. Looked at my task manager and it was running at about 70% on a dual core proc.
Once I killed both dudes in the ambush it went back to normal. Went to town, sold my stuff, exited the game. I went back in, and went back to the Daikara to explore and as I soon as I got back in it slowed down again. Seems to happen as long as there's enemies on the map, even if they aren't visible.

I haven't got a clue what's causing it other since I haven't touched the settings since I installed it, I'm running the plain old beta.42 and the only thing I did was beat that quest.

wobbly
Archmage
Posts: 400
Joined: Tue Jul 03, 2012 8:35 am

Re: high load during play t-engine4-linux32-1.0.0beta42

#8 Post by wobbly »

Just a note, for me load times are very slow with the window open & superfast if I minimise the window. I think with some old video cards the load bar itself is slowing down the load. Could we have an option for something simpler: load ........ in plain text?

Post Reply