Page 1 of 2

99% CPU usage

Posted: 21 Mar 2009, 16:43
by pdunning
Warzone has recently been using 99% CPU on my intel core 2 duo 2GHz arch linux box. Even then the game is slow and jerky most of the time (particularly the important bits of the game).
I have version 2.1.2.
Can anyone help?

Re: 99% CPU usage

Posted: 21 Mar 2009, 21:18
by Kamaze
Already looked at: http://wz2100.net/faq#MyWarzoneisrunnin ... wcanIfixit ?
If it doesn't help, more information would be nice, like the GPU you use.

Re: 99% CPU usage

Posted: 21 Mar 2009, 21:20
by stiv
More info would help. But to get you started:

Are there any other processes running? The 'top' command will help here. Using Shift-P will sort by cpu usage.

Low rent or on-board graphics? A cheap graphics adaptor makes up for its lack of functionality by offloading the work onto the CPU. Newer versions of WZ demand more from the graphics subsystem.

Re: 99% CPU usage

Posted: 22 Mar 2009, 16:46
by pdunning
I have an Intel GMA 3100, so yeah it's on board but I have had warzone 2.1 running fine before on the system (the sound was slightly crackly but nothing to harm gameplay). I am also running xorg-server 1.6 and mesa 7.3 and so on from the testing repository to improve performance in most 3d programs as the old versions were very slow. no other programs run nearly as slowly.
OpenAL also gives the following warning message when running programs including warzone.

Code: Select all

AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
My full list of graphics stuff installed is:
xorg-server 1.6.0
intel-dri 7.3
xf86-video-intel 2.6.99.902
libgl 7.3
mesa 7.3

Re: 99% CPU usage

Posted: 22 Mar 2009, 18:21
by Buginator
pdunning wrote:I have an Intel GMA 3100, so yeah it's on board but I have had warzone 2.1 running fine before on the system (the sound was slightly crackly but nothing to harm gameplay). I am also running xorg-server 1.6 and mesa 7.3 and so on from the testing repository to improve performance in most 3d programs as the old versions were very slow. no other programs run nearly as slowly.
OpenAL also gives the following warning message when running programs including warzone.

Code: Select all

AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
AL lib: alcConfig.c:146: config parse error: option without a value: "(define"
My full list of graphics stuff installed is:
xorg-server 1.6.0
intel-dri 7.3
xf86-video-intel 2.6.99.902
libgl 7.3
mesa 7.3
This pretty much means openGL is not being HW accelerated. I blame the crappy gfx drivers.
Try different ones, and hope for the best.

Re: 99% CPU usage

Posted: 22 Mar 2009, 19:03
by pdunning
everything else is recieving accelleration (extreme tux racer, supertuxkart, gl-117, neverball, etc) and I have the latest intel drivers. I don't think there are any better graphics drivers.

Re: 99% CPU usage

Posted: 22 Mar 2009, 19:13
by Buginator
pdunning wrote:everything else is recieving accelleration (extreme tux racer, supertuxkart, gl-117, neverball, etc) and I have the latest intel drivers. I don't think there are any better graphics drivers.
The problem is, 1(or more) calls that we use is forcing those drivers to fallback to software mode.
I have no idea how to test, or which call it is. I just know that there are 0 problems on Nvidia & ATI hardware with acceleration issues, assuming they are using the latest drivers for them, and the cards are not too old.

Re: 99% CPU usage

Posted: 22 Mar 2009, 21:42
by stiv
You may be able to fool with the texture size, screen resolution in WZ or possibly color depth in your X server for better performance.

Re: 99% CPU usage

Posted: 23 Mar 2009, 01:00
by Per
Try reducing texture size, but unfortunately, the intel driver in my experience does not correctly report what parts of OpenGL it supports in hardware, so it could fool the program into using functions that makes it fall back to software mode. No easy way for us to fix this, as far as I know.

Re: 99% CPU usage

Posted: 23 Mar 2009, 20:30
by pdunning
minimum texture size and minimum practical resolution 640x480 still give the same problems.

Re: 99% CPU usage

Posted: 31 Mar 2009, 06:20
by Gforce
Also try --nosound.

Re: 99% CPU usage

Posted: 03 Mar 2010, 09:30
by ziftech
the same problem on two OS: Win 7 and Linux Mint
Lenovo R61, Core 2 Duo T8100, 2 Gb RAM, Intel 965 express, latests drivers

CPU has 100% load with heat release and system going to shutdown after 10 min of playing

Re: 99% CPU usage

Posted: 03 Mar 2010, 17:30
by stiv
Time to open the case and vacuum out the dust?

Re: 99% CPU usage

Posted: 04 Mar 2010, 10:22
by ziftech
:) it's clear inside
solved with reducing CPU performance

Re: 99% CPU usage

Posted: 07 Mar 2010, 05:06
by Buginator
ziftech wrote:the same problem on two OS: Win 7 and Linux Mint
Lenovo R61, Core 2 Duo T8100, 2 Gb RAM, Intel 965 express, latests drivers

CPU has 100% load with heat release and system going to shutdown after 10 min of playing
They really need more airflow in laptops