Cl_drawhud 0

Discussion in 'Archive' started by LordDz_2, May 2, 2013.

  1. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    Guys, can you do a small test for me.
    In the console, first type net_graph 1. Note your fps.
    Then type cl_drawhud 0
    Note the fps.

    Tested on duststorm:
    Driving forward with cv, hud on: 30 fps.
    Driving forward with cv hud off: 60 fps.
     
    Last edited: May 2, 2013
  2. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    If you do a showbudget, you can see that the Empires GUI does tend to take up a lot of FPS. It's just shitty, there's not a great deal more to it.
     
  3. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    Anyway of improving this easily?
     
  4. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Look at the thread title :rolleyes: We should have a hudless pug one day.
     
  5. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    paint dot in the center of your screen, disable hud, enjoy higher fps?
     
  6. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    Some of the people in my school did that to play Counter Strike. We play Obsidian Conflict without the crosshair at all and we don't care anyways, after years of gaming you just know where the shots go by heart.
     
  7. LordDz_2

    LordDz_2 Strange things happens here

    Messages:
    2,956
    Likes Received:
    93
    Trophy Points:
    0
    I did use minimap_toggle, or what it's command was. It didn't seem to effect the fps much..

    Will do some more tests, but it weird that something in the GUI takes over 20 fps, is there something in there that is calculating every frame or so?
     
  8. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    This is more what I was talking about DDD
     
  9. ImSpartacus

    ImSpartacus nerf spec plz

    Messages:
    8,598
    Likes Received:
    7
    Trophy Points:
    0
    It didn't have a noticeable effect for me, but I'm running on a 35W Penryn CPU and a 9400M, so I can't expect a whole lot.
     
  10. D.D.D. Destroyer

    D.D.D. Destroyer Member Staff Member Moderator

    Messages:
    9,509
    Likes Received:
    111
    Trophy Points:
    0
    I was talking to flasche though :(
     
  11. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    if i talk to dz we close the circle ...

    ... so wealthy, sup? :D
     
  12. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Three options:

    1. Change the code so it only updates on events instead of drawing everything every frame.

    2. Swap the GUI toolkit for chrome embedded, you'll lose about the same performance but the gui can at least be worked on.

    3. Pray to a pink invisible magic unicorn

    Unless someone has a lot of time on their hand, not really :(
     
  13. Beerdude26

    Beerdude26 OnThink(){ IsDownYet(); }

    Messages:
    7,243
    Likes Received:
    13
    Trophy Points:
    0
    Yes, all of it. Well, except for the Class menu and some other small bits. Everything else is calculated, repositioned and redrawn loads of times per second. I think MOOtant said that the minimap alone causes a performance hit of about 60,000 tris (think around 10 player models). Redoing the GUI would be a lot of work, perhaps doing something like Brutos says may be more sane
     
  14. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Makes sense to me.
     
  15. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    Not when you quoted me though
     
  16. wealthysoup

    wealthysoup Lead Tester

    Messages:
    1,857
    Likes Received:
    0
    Trophy Points:
    0
    The solution to all Empires problems :)
     
  17. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    oh pink invisible magic unicorn, hallowed be your name, your kingdom come, your will be done, on the forums as in game. give us today our daily game.
    forgive us our sins as we forgive those who sin against us. save us from frame drops and deliver us from the current GUI.
    for the servers, the power and the glory are yours now and for ever.
    amen


    this shit better helps brutos :D
     
    Last edited: May 2, 2013
  18. Ikalx

    Ikalx Member

    Messages:
    6,210
    Likes Received:
    9
    Trophy Points:
    0
    I like that the devs know about the problem and know of solutions. That's really encouraging, actually, even if they don't have time to work on it :)

    Edit: The FPS drop when the engine moved to the orange box system, wouldn't be due to the GUI being processed in a different way, would it? Just a thought...
     
  19. bitchslap

    bitchslap Member

    Messages:
    1,217
    Likes Received:
    0
    Trophy Points:
    0

    lol, that was awesome dude, thank you...
     
  20. urethra franklin

    urethra franklin Member

    Messages:
    541
    Likes Received:
    6
    Trophy Points:
    0
    Paint health bar in bottom left corner also.
     

Share This Page