[b29] starting te4 maxes cpu, does nothing else

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

[b29] starting te4 maxes cpu, does nothing else

#1 Post by Chryana »

Hello and first, thanks for making such a great game. I have been playing beta 28 quite a bit recently. I downloaded today beta 29, but it seems it will simply not work on my computer. The process t-engine.exe takes all the CPU cycles it can get when it is started, and memory usage is stays around 20 MiB. After a few minutes, memory usage goes down to 2 MiB, but there is no improvement as far as CPU usage is concerned. I have tried letting it run for about 10 minutes before killing the process with the task manager. I am running te4 on Windows XP SP 3 and my system specs are as follows:
Athlon XP 2000+
2 GiB DDR
GeForce 7800 GS
As you can see, my system is pathetically weak by today's standards. I have tried upgrading my graphics card driver to the latest version, and it didn't help. :( Do you have any suggestions as to what I could try next?

Edit: I forgot to mention that the main windows pops up but I can see nothing on it.

ants
Posts: 1
Joined: Thu Jul 14, 2011 5:13 am

Re: [b29] starting te4 maxes cpu, does nothing else

#2 Post by ants »

I may have the same problem, but I'm running Ubuntu 11.04 on a pretty new computer (Intel i7-2630QM, nVidia GeForce GTX 460M, 6GB RAM). I get 100% processor use on one thread and a black windowed screen. I was able to see a screen after resizing it maybe five times, but the processor use stays up there even if I turn off all video options and severely reduce the resolution, framerate, and particle density.

Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

Re: [b29] starting te4 maxes cpu, does nothing else

#3 Post by Chryana »

Resizing does not help in my case. Minimizing t-engine to the taskbar instantly brings the memory usage to 2 MiB. I also tried deleting the folder "C:\Documents and Settings\%username%\T-Engine", which did not help. The folder is not rebuilt when I start the program.

Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

Re: [b29] starting te4 maxes cpu, does nothing else

#4 Post by Chryana »

This should be useful... This is the content of the file te4_log.txt

[CPU] Detected 1 CPUs
OpenAL device available: DirectSound Default (default DirectSound Default)
OpenAL device available: WaveOut Default (default DirectSound Default)
OpenAL device available: No Output (default DirectSound Default)
NO SELFEXE: bootstrapping from CWD
Booting T-Engine from: E:\Applications\angbands\t-engine4-windows-1.0.0beta29\t-engine.exe
SelfExe gave us app directory of: E:\Applications\angbands\t-engine4-windows-1.0.0beta29\
Lua Error: /loader/pre-init.lua:23: JIT compiler disabled, CPU does not support SSE2
At [C]:-1
At [C]:-1 on
At /loader/pre-init.lua:23
Creating particles thread 0
Lua Error: /loader/pre-init.lua:23: JIT compiler disabled, CPU does not support SSE2
At [C]:-1
At [C]:-1 on
At /loader/pre-init.lua:23
OpenGL max texture size: 4096
OpenGL max texture size: 4096
Running lua loader code...
Reboot using te4 LATEST boot player false
[ENGINE LOADER] available from dir: te4-0.9.29
Lua Error: /loader/init.lua:81: attempt to call field 'serialize' (a nil value)
At [C]:-1 serialize
At /loader/init.lua:81 load
At /loader/init.lua:132

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

Re: [b29] starting te4 maxes cpu, does nothing else

#5 Post by darkgod »

Ewww .. CPUs taht cant do SSE2 ... that cant still exists !! :/
Ok I'll make a release with it disabled for really old cpus :/
[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 ;)

Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

Re: [b29] starting te4 maxes cpu, does nothing else

#6 Post by Chryana »

That's really nice of you... Thank you very much. I'll start looking for a new computer... Maybe I can find one if I look hard enough on garbage collection day. :( Since no one else has reported any issue, I'll try to compile it to avoid wasting your time just to please one person.

Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

Re: [b29] starting te4 maxes cpu, does nothing else

#7 Post by Chryana »

I managed to compile it, but my build gives the same error messages. :( In premake4.lua, I set in the build options for the debug build "-mno-sse2", but it makes no change to the te4_log file, although the executable size changed slightly. I must be doing something wrong...

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

Re: [b29] starting te4 maxes cpu, does nothing else

#8 Post by darkgod »

Compile it using the premake flag like that:
premake4 --lua=default gmake
That 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 ;)

Chryana
Wayist
Posts: 15
Joined: Mon Nov 13, 2006 6:08 am

Re: [b29] starting te4 maxes cpu, does nothing else

#9 Post by Chryana »

That option really slimmed down the size of the executable! And it works! Thank you.

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

Re: [b29] starting te4 maxes cpu, does nothing else

#10 Post by darkgod »

Cool :)
I'll add a no-sse2 executable to the new betas then
[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 ;)

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

Re: [b29] starting te4 maxes cpu, does nothing else

#11 Post by darkgod »

Can you change the line 23 in game/loader/pre-init.lua from

Code: Select all

jit.on()
to

Code: Select all

jit.off()
See if it works (with the executable that didnt work obviously)
[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 ;)

Lord Vagrant
Low Yeek
Posts: 7
Joined: Mon Nov 29, 2010 1:45 pm

Re: [b29] starting te4 maxes cpu, does nothing else

#12 Post by Lord Vagrant »

That works for me now.
Would be easier if the lua files had end of line characters

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

Re: [b29] starting te4 maxes cpu, does nothing else

#13 Post by darkgod »

They have :) But silly windows cant tell apart correct line endings :)

Ok I've included a proper fix for next beta then, thanks!
[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 ;)

Post Reply