Author Topic: 100% CPU load on linux  (Read 824 times)

vaxen

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
100% CPU load on linux
« 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
« Last Edit: February 15, 2005, 02:18:27 pm by vaxen »

vaxen

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #1 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 :(

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #2 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 ;)


Back to Planeshift again \\o/

miLosh

  • Hydlaa Resident
  • *
  • Posts: 111
    • View Profile
    • The Community of Vaalnor
(No subject)
« Reply #3 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.

there is more to find than you can lose...

Quote from: Phinehas
Lishom and Jekkar won't rid themselves of me that easily...

Tharizdun

  • Hydlaa Resident
  • *
  • Posts: 168
    • View Profile
(No subject)
« Reply #4 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.