PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: vaxen on February 15, 2005, 12:49:17 am

Title: 100% CPU load on linux
Post by: vaxen on February 15, 2005, 12:49:17 am
Hi, I just installed planeshift using the lastest approved CB installer. I managed to update successfully. I am running gentoo linux, on the patched 2.6.10 kernel. It is patched with con kolivas patches and a few  desktop performance patch. I am using a nvidia 5700LE card with the latest nvidia driver 1.0.6629 with lastest Xorg X server 6.8.2.
Here is what is in my xorg.conf:

Section \"Device\"
    Identifier  \"fx5700\"
    Driver      \"nvidia\"
     Option      \"DigitalVibrance\" \"30\"
     Option      \"CursorShadow\"  \"on\"
     Option      \"NoLogo\"        \"on\"
     Option      \"NvAgp\"         \"3\"
    Option      \"RenderAccel\"   \"on\"
    #Option      \"IgnoreDisplayDevices\" \"DFP, TV\"
    #Option      \"ConnectedMonitor\"      \"CRT\"
    #VideoRam    131072
    # Insert Clocks lines here if appropriate
EndSection

I also have options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 set in my /etc/modules.d/nvdia.

The problem I have is that I only get max fps of 23-25fps and my CPU load is constantly on 100%. Does anybody know what is wrong?

vaxen
Title:
Post by: vaxen on February 15, 2005, 02:18:08 pm
fixed it. Forgot to opengl-update nvidia after upgrading to Xorg6.8.2. Only getting 70+fps :(
Title:
Post by: Karosh_Steinkatz on February 15, 2005, 03:21:23 pm
A high CPU load is normal. And why do you complain about 70+ fps? It\'s a good speed others only dream of ;)
Title:
Post by: miLosh on February 15, 2005, 04:46:38 pm
maybe vaxen is used to have +2000 fps like glx-gears is giving ;) by the way, karosh your installer ended a two week lasting nightmare of CVS build after build - many many thanks!

and vaxen: why don\'t you want to use 100% of your cpu?

if you really want to save some cpu-cycles, you can use a userspace program to set the cpu frequency down. there are plenty for windowmaker (can not think of the name right now, wmcpuload or something like that its called). but, you need to enable the performance governors for that in the kernel.
Title:
Post by: Tharizdun on February 16, 2005, 02:49:52 pm
You also need to remove Load \"dri\" from your xorg.conf modules section if it is set and tweak the extmod module as follows:


Load  \"extmod\"
Subsection \"extmod\"
      Option \"omit xfree86-dga\"
EndSubsection


Both of these are mentioned in the docos for the nvidia-glx package, but I dont think the ebuild informs you of these once it has compiled and installed.

Once you have done this glxgears should give you a fairly fearsome fps rate ( like many thousands of fps probably, my humble GF4 mx440 gives around 1900 ). If you want to tweak other nvidia module options look at your glxgears fps before and after to work out what gives the best performance, its a reasonably decent guide.