1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Why is KAG using so much resources?

Discussion in 'General Help' started by fu-fu, Dec 14, 2011.

  1. fu-fu

    fu-fu Shipwright

    Messages:
    3
    So, I'm bored, I start up kag. It's lagging. I Run htop, its using ~170% of my CPU.
    So I restart it... And the pre-game menu uses %32 of my CPU. So, here is a screenshot, of all this happening at once.
    2011-12-14-164413_1600x1200_scrot.png
    It contains all the reliant info, in the different terminals. (Unless I'm missing something.) But yeah, bit curious on why this is happening.
    edit: as you can see in the IRC chat, I'm not particularly happy about this.
     
  2. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    It shouldn't be, that's bizzare. In-game CPU usage ramps up (especially with collapses or large numbers of players) but I get approximately 6% utilisation of CPU resources in any of the menus. Even that seems kinda high, but considering that's literally us telling irrlicht to draw the menu and listening for mouse events, it's likely irrlicht being CPU heavy rather than our code.
     
  3. trelawney

    trelawney KAG Guard Tester

    Messages:
    771
    That's odd. In Debian stable and binary nvidia drivers the load rarely spikes over 40%. On an even older OSX box (2006 macmini) when idling it doesn't go over 10%. Plus, looking at your htop, why has KAG spawned 5 processes?

    Attached an xrg/htop screenie from mac:
     

    Attached Files:

    • kag.png
      kag.png
      File size:
      257.3 KB
      Views:
      127
  4. HA1TER

    HA1TER Shopkeep Stealer

    Messages:
    172
    wow,i can run 50 programs in background whit KAG and everything works fine :s You have some problem mate??
     
  5. fu-fu

    fu-fu Shipwright

    Messages:
    3
    Well, after some testing i noticed this happening to alot of programs, including A entirely empty OpenGL window. I think Xorg or GLX is messing up. Hopefully I'll figure out soon. (I mean, A window that is just black, using 100% of my cpu... would porbably use more if it was multi threaded.)

    Ohh, fyi it was some problem with my gfx card and has since been resolved.