Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Fps drops [HB ]  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

Nigga

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Fps drops [HB ]
« on: April 26, 2020, 02:29:49 pm »
Hello, i need help.
I have a problem with droping fps in old game maked with sfml.
When player open any box from game ui, fps still dropping,no matter what system u using.(but in windows 7 fps average are higher)

example:
https://images92.fotosik.pl/348/48fb389b9283b66amed.jpg
i opened 2 dialog boxes, fps drop to 175 where average is 1k+ (windows 7) in windows 8/10 even droping to ~10 fps< and it's tragedy for gaming.
Resolution of game = 640x800
Kind Regards  8)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11037
    • View Profile
    • development blog
    • Email
Re: Fps drops [HB ]
« Reply #1 on: April 26, 2020, 03:07:36 pm »
If you need help with anything, you may want to ask a question and provide some actual information. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Nigga

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Fps drops [HB ]
« Reply #2 on: April 26, 2020, 03:39:22 pm »
sorry, and i understand.
I dont know how to reduce fps drops when "players use  ui in game".
And  question is what we can do to repair or reduce this. We personally have no ideas. Such symptoms appear on every other graphics engine, starting with directx, etc.
The game is writed in C++ with SDK 10.0 on visual studio 2017 (I don't know if it's important)


if you need more something please tell me.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Fps drops [HB ]
« Reply #3 on: April 26, 2020, 04:05:17 pm »
What I would do, as a developer, would be to track the source of the FPS drop. Is it the box itself? Is it the text it contains? Is it proportional to the number of glyphs rendered? ...

That's how you'll find how to reduce the drop and improve performances ;)
Laurent Gomila - SFML developer

Nigga

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Fps drops [HB ]
« Reply #4 on: May 08, 2020, 04:31:02 pm »
Okay, after massive test we check all "options" with this boxes, and problem with drops fps is from text. (anything, from all boxes) and what we can do with that? We dont have ideas to fix this problem with text/font.

Kind Reegards!