.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old September 23rd, 2006, 05:51 AM

BBegemott BBegemott is offline
Corporal
 
Join Date: Dec 2002
Location: Lithuania
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
BBegemott is on a distinguished road
Default SEVdemo: why does it eat up 100% cpu?

1. Start taskmanager.
2. Open SEVd game. ALT+TAB from it.
3. Open Space Empires V Demo/Data/DebugSettings.txt
4. Set TRUE to 'Generate Game Debug Log' and 'Debug Section Main Drawing Loop'.
5. ALT+TAB into the game. Wait for 10 secs doing nothing. Dont move the mouse or press any key.
6. ALT+TAB from it.
7. Go to taskamanager. You should notice your processor has just been at 100% cpu. Why? You did nothing.
8. Go to Space Empires V Demo/Backup/SE5Game_Log.txt
9. Count, how many strings 'Adjust camera position' does this log file have?
10. Mine has got several thousand.
11. So here is the answer. The game moves the camera, though you dont.
Reply With Quote
  #2  
Old September 23rd, 2006, 09:55 AM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

Turn off loging and debugging routines and you'll be fine
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #3  
Old September 23rd, 2006, 01:48 PM
NullAshton's Avatar

NullAshton NullAshton is offline
Major General
 
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
NullAshton is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

Most games take up 100% CPU even at the menu. It's nothing much.
__________________
Hey! I found squirrels!

Vala - "The last time I was this bored, I took hostages!"
Reply With Quote
  #4  
Old September 23rd, 2006, 04:11 PM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

It'll use 100 percent of CPU even without the debug settings. This is true of all 3D 'real time' games. They are designed to go for maximum performance in all situations. Every bit of available CPU will be claimed to keep those frames updating as fast as possible. And yes, the main display is a real-time 3D image. If you zoom in you can see the planets rotating.
Reply With Quote
  #5  
Old September 23rd, 2006, 07:14 PM

PDF PDF is offline
Colonel
 
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
PDF is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

Quote:
NullAshton said:
Most games take up 100% CPU even at the menu. It's nothing much.
Yep, that's the reason : they can't eat up *more* than 100%, else they'll do !
Reply With Quote
  #6  
Old September 23rd, 2006, 07:17 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

Does it change if Vsync is on?
Reply With Quote
  #7  
Old September 24th, 2006, 01:31 PM
NullAshton's Avatar

NullAshton NullAshton is offline
Major General
 
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
NullAshton is on a distinguished road
Default Re: SEVdemo: why does it eat up 100% cpu?

No... it's just where it's rendering your beautiful 3D graphics! Try that on any game. You'll find that it still takes up 100% of your CPU doing nothing. That's because the CPU is processing the data for the next frame to send to the GPU once it's done with the current frame. Something like that, I think.
__________________
Hey! I found squirrels!

Vala - "The last time I was this bored, I took hostages!"
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:39 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.