QIII uses 100% CPU

Locked
[dbD]Narc
Posts: 7
Joined: Wed Aug 23, 2006 11:52 am

QIII uses 100% CPU

Post by [dbD]Narc »

When I run Quake III (Demo, Arena, of Team Arena) it consumes 100 % of my CPU-usage. My configuration should easily be able to play the game with some CPU to spare. The configuration is:

AMD XP2000+
1Gb DDR Memory
Radeon 9800Pro
Etc.

Does anyone have an idea to resolve this problem?

edit: I installed the QIIIGold package with Point Release 1.32 and 1.32c.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

Set com_maxfps to 125
"Maybe you have some bird ideas. Maybe that’s the best you can do."
― Terry A. Davis
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

you cant be serious.....

you think the more power that you have the Less CPU that it uses? Sorry, but that is wrong..

And i am kinda curious, What is the reason that it bothers you that its using 100% cpu?
User avatar
Captain
Posts: 20410
Joined: Thu Jan 05, 2006 2:50 am

Post by Captain »

Aye, it seems normal for a CPU like that.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

Yeah a 2000+ is hardly a high-end CPU. I would guess thats normal as well.
[dbD]Narc
Posts: 7
Joined: Wed Aug 23, 2006 11:52 am

Post by [dbD]Narc »

Thank you for your replies.

It just suprised me that a game that should run on a PII consumes all the CPU bandwidth of a much more modern proc (altough it is not a high-end CPU). I thought the GPU would take over most of the work.

I tried com_maxfps and although the command works, it makes no difference in CPU-usage. I also tried running the game at the lowest settings.

The thing that made me think that something was wrong I haven't mentioned yet; In the menu, before entering an arena (either in single or multi-play) the CPU is also at 100 % usage. I would have guessed that the system would be more or less idle in a simple menu. This is at least the case with more modern and demanding games.

To answer AmIdYfReAk's question (And i am kinda curious, What is the reason that it bothers you that its using 100% cpu?); it disturbs other apps running in the background.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Q3A enters an infinite loop upon starting, i.e. it keeps executing the same command sequence over and over. In twenty years time, when multi-terahertz CPUs have become the norm, Q3A will still keep your CPU pegged at 100%.
dzjepp
Posts: 12839
Joined: Wed Mar 28, 2001 8:00 am

Post by dzjepp »

/exec stupidquestion.cfg

How come you can run like 3 copies of q3 with 125fps each then if the cpu is supposedly loaded at 100% with just 1? :paranoid:
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Post by ^misantropia^ »

Because part of the game loop consists of wasting CPU cycles until the next frame needs to be rendered. In pseudo-code, it'd look something like this:

Code: Select all

frame_duration = 1000 / com_maxfps; // frame time in milliseconds
while (1) {
 frame_start = time();
 render_frame();
 while (time() < frame_start + frame_duration) {
  // idle
 }
}
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Post by +JuggerNaut+ »

misantropia's cranial turret gives me a stiffy.
User avatar
Captain
Posts: 20410
Joined: Thu Jan 05, 2006 2:50 am

Post by Captain »

olo
[dbD]Narc
Posts: 7
Joined: Wed Aug 23, 2006 11:52 am

Post by [dbD]Narc »

^misantropia^ wrote:Q3A enters an infinite loop upon starting, i.e. it keeps executing the same command sequence over and over. In twenty years time, when multi-terahertz CPUs have become the norm, Q3A will still keep your CPU pegged at 100%.
This implies that everyone playing QIII has a CPU-usage of a 100%. Can some of you verify this?

Image
User avatar
Captain
Posts: 20410
Joined: Thu Jan 05, 2006 2:50 am

Post by Captain »

I see that you have 47 processes running. I bet 75% of those are absolutely useless and will save a lot of your PF and CPU.

Image

Dual-core will obviously not spike to 100% over Q3.
AmIdYfReAk
Posts: 6926
Joined: Thu Feb 10, 2000 8:00 am

Post by AmIdYfReAk »

that is because quake 3 was built to use the old SMP code, two proc's makes q3 use 50% to get 100%..

Kinda supid really...
User avatar
Captain
Posts: 20410
Joined: Thu Jan 05, 2006 2:50 am

Post by Captain »

It's those processes I'm more worried about. He's got 47 running with a "meh" CPU and lots of pagefile used up :/

Perhaps a little visit to msconfig would sort that out :)
[dbD]Narc
Posts: 7
Joined: Wed Aug 23, 2006 11:52 am

Post by [dbD]Narc »

Captain Mazda wrote:It's those processes I'm more worried about. He's got 47 running with a "meh" CPU and lots of pagefile used up :/

Perhaps a little visit to msconfig would sort that out :)
When the system is idle it takes a few procent CPU (with all those processes running), but probably alot of other resources. Most processes are labeled Microsoft :-( (in MSconfig). Maybe it's time for a fresh install :-) Hehe, or QII.
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Post by Eraser »

[dbD]Narc wrote: Hehe, or QII.
You don't really understand it yet.
Quake II would take 100% CPU as well. That's just because of the way the engine works. Windows will take care of executing multiple threads (in really corner-cutting laymans terms "multiple programs") that take 100% CPU time simoultaniously.

The fact that Quake 3 takes up a 100% CPU time isn't anything to worry about, it's supposed to do that. And still, a CPU running at 100% is not necessarily a bad thing anyway.
User avatar
Foo
Posts: 13840
Joined: Thu Aug 03, 2000 7:00 am
Location: New Zealand

Post by Foo »

[dbD]Narc wrote:
^misantropia^ wrote:Q3A enters an infinite loop upon starting, i.e. it keeps executing the same command sequence over and over. In twenty years time, when multi-terahertz CPUs have become the norm, Q3A will still keep your CPU pegged at 100%.
This implies that everyone playing QIII has a CPU-usage of a 100%. Can some of you verify this?

Image
Image

Yep. Plays fine too, no problems. Can run winamp and P2P in the background without any issues.
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Post by Eraser »

I see one issue there though, and it's called promode :p
[dbD]Narc
Posts: 7
Joined: Wed Aug 23, 2006 11:52 am

Post by [dbD]Narc »

Thanks all !! It is crystalclear now :icon26:
Locked