Spider Mastermind
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > About CPU usage
 
Author
All times are GMT. The time now is 08:33. Post New Thread    Post A Reply
VGA
Member


Posts: 312
Registered: 05-14


Hello, I noticed that I could hear my CPU fan while playing Eternity. Then saw that it's using about 50-70% of the two cores of my Core 2 duo e8400 @3.3ghz. For comparison, Zdoom uses half of that.

Is that normal ? Is there some OpenGL option to accelerate ... stuff ?

Also, how do I stop the demos autostarting while I'm in the menus ? It's ultra annoying when the game is raging in the background while I'm looking at the settings.

Old Post 06-04-14 17:13 #
VGA is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6174
Registered: 08-00



VGA said:
Hello, I noticed that I could hear my CPU fan while playing Eternity. Then saw that it's using about 50-70% of the two cores of my Core 2 duo e8400 @3.3ghz. For comparison, Zdoom uses half of that.

Is that normal ? Is there some OpenGL option to accelerate ... stuff ?

Also, how do I stop the demos autostarting while I'm in the menus ? It's ultra annoying when the game is raging in the background while I'm looking at the settings.


For the former, set the video driver to SDL GL2D. If you are still using too much CPU, you'll have to either disable interpolation or even unlatched framerate (these options are also in the video options menu).

For the latter, bring down the console and type endgame. This will drop you to GS_CONSOLE state. There is not currently a means to start the game up already in GS_CONSOLE because, nobody ever requested it, for one.

Old Post 06-04-14 20:49 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
VGA
Member


Posts: 312
Registered: 05-14


After enabling GL2D and restarting the game I get full 100% cpu usage. Using fraps I saw that the framerate was correctly at 60 since I had vsync enabled. Disabling uncapped framerate I get normal/low usage.

My vid card is an Nvidia GTX260 with rather new drivers.

EDIT:
Did anyone ever suggest autoexec.cfg ?
:-)

Old Post 06-04-14 21:18 #
VGA is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6174
Registered: 08-00



VGA said:
After enabling GL2D and restarting the game I get full 100% cpu usage. Using fraps I saw that the framerate was correctly at 60 since I had vsync enabled. Disabling uncapped framerate I get normal/low usage.

My vid card is an Nvidia GTX260 with rather new drivers.

EDIT:
Did anyone ever suggest autoexec.cfg ?
:-)


I guess I don't know what ZDoom is doing to simultaneously allow multiple hundreds of FPS and yet use 0% CPU. Maybe one of its programmers will illuminate me on the subject and point out what we are doing wrong. We have sleep calls in all our loops to make sure we give up cycles to other processes but that doesn't seem to be good enough.

I'll look at adding ability to start up into the console state in the next release ;)

Old Post 06-04-14 23:28 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
VGA
Member


Posts: 312
Registered: 05-14


In software and without uncapped frame rate it's fine. In software with uncapped it's suboptimal and in gl2d with uncapped it uses up all the CPU. Can you reproduce this?

Also, in your experience, which port is the most compatible with old dehacked-based TCs like Alien and Batman?

Thanks for your attention!

Old Post 06-04-14 23:46 #
VGA is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6174
Registered: 08-00



VGA said:
In software and without uncapped frame rate it's fine. In software with uncapped it's suboptimal and in gl2d with uncapped it uses up all the CPU. Can you reproduce this?

Also, in your experience, which port is the most compatible with old dehacked-based TCs like Alien and Batman?

Thanks for your attention!


The three most compatible maintained ports are Choco Doom, PrBoom+, and then Eternity, in that order. The differences in compatibility are minor between these (for instance PrBoom+ goes very far out of its way to try to emulate stuff like the undefined behavior that happens when maps are constructed completely incorrectly, which I've found to be out-of-scope for EE).

Old Post 06-06-14 17:00 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Csonicgo


Posts: 4470
Registered: 03-04



VGA said:
Hello, I noticed that I could hear my CPU fan while playing Eternity. Then saw that it's using about 50-70% of the two cores of my Core 2 duo e8400 @3.3ghz. For comparison, Zdoom uses half of that.

Is that normal ?



It's because ZDoom has a capped frame rate. EE simply pushes as many frames as it can until your CPU cries uncle.

The default cap for ZDoom is 200 FPS, although I've heard from some that in newer development builds, it's as low as 60. For now, you'll need to have Vertical Sync enabled.

Old Post 06-19-14 19:51 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



Csonicgo said:


It's because ZDoom has a capped frame rate. EE simply pushes as many frames as it can until your CPU cries uncle.

The default cap for ZDoom is 200 FPS, although I've heard from some that in newer development builds, it's as low as 60. For now, you'll need to have Vertical Sync enabled.




That's one big pile of misinformation.
ZDoom has an OPTION to cap the frame rate, by default it's unlimited.

Of course this cannot be achieved by 0% CPU time, at uncapped frame rate ZDoom uses 100% of one CPU core.

What ZDoom does is go down to 35 fps when the menu is up (i.e the game is paused.)

Using OpenGL usually increases CPU load because a second core will be used by the OpenGL driver. OpenGL also can have the effect that waiting for a vsync is actively waiting, without yielding the CPU core. That also may mean that CPU usage increases.

Old Post 06-19-14 21:49 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Blzut3
Member


Posts: 531
Registered: 06-04



Graf Zahl said:
by default it's unlimited.

code:
CUSTOM_CVAR (Int, vid_maxfps, 200, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)

It has been default limited to 200 since the introduction of vid_maxfps as far as I can tell.

Old Post 06-20-14 00:06 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
VGA
Member


Posts: 312
Registered: 05-14


Of course I'm using vsync with zdoom, fraps says 60 and the CPU usage is acceptable.

In eternity engine, for example, even the iwad selection
launcher uses like 60% of the CPU and it's only showing a static picture.

I want uncapped frame rate with working vsync without having to hear my CPU fan working while playing Doom. Also sometimes I do vid encoding in the background, so spare cycles are needed.

Maybe with SDL 2.0 ?

Old Post 06-20-14 00:47 #
VGA is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03



Blzut3 said:

code:
CUSTOM_CVAR (Int, vid_maxfps, 200, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)

It has been default limited to 200 since the introduction of vid_maxfps as far as I can tell.




Ah, I thought the default was 'unlimited'. I never noticed because in GZDoom it doesn't seem to have any effect. My system happily reports 500+ fps at the start of E1M1, for example, regardless of what this is being set to and the software renderer never goes above 160 when running fullscreen 1920x1080, it never reaches the limit.

Old Post 06-20-14 09:54 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 08:33. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > About CPU usage

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.