FPS issues


(morphdoc) #1

Hi guys,

I do not understand what is happening, but there are parts on my map where FPS drop by 30-40…this is annoying. I have no leaks on the maps.

Please, help!


(FrostyChilli) #2

If you had leaks, then you wouldn’t be able to even compile your map.

Have you done the basic performance techniques?

  1. Caulk surfaces that are not visible
  2. Make items into Detail and Structural accordingly.

Have you used any Hint brushes? How big is your map?

Cheers,
Frosty!


(morphdoc) #3
  1. Yea, I used Caulk whenever I could.

  2. I did that too (I hope at least)

The map is the adlernest map (I am just editing it with the permission)


(morphdoc) #4

What is really funny is that I don’t even have to change the position to have a drop in FPS. All I have to do is to look toward a different direction and FPS drop…


(FrostyChilli) #5

Is ET installed on the same HDD or SDD that your operation system is? I mean a disk, not a partition. I have a problem that my OS is installed on 1 disk and a copy of ET on another, and there ET lags. But that is the case in all maps.

Does your pc run other maps smoothly? Is your PC powerful enough?
Have you tested the same map on another computer?
Because it seems to me that extra drawing of Vertices causes that. Though if you are not moving, then extra portals are not loaded( I think…).
And does the lag happen in the game or in GtkRadiant editor?

Cheers,
Frosty!


(stealth6) #6

Does the readme.txt file in aldernest tell you which compile options he used? The changes you made - was it small things like adding a ladder, or did you put underground tunnels everywhere / removed walls. If you changes the structure of the map without thinking about the -vis then you’ll probably create FPS drops.

Load your map and go to the spot where you have the problem. Open console and type r_speeds 4 take a screenshot and change r_speeds to 0. Then type r_showtris 2 take a screenshot and then turn it off again. Do the same thing in the same spot in the original map -> compare screenshots.


(morphdoc) #7

Yes, I did add one tunnel and one bigger structure. I made the tunnel structural, I also made sure that it is surrounded by culk brushes.

I will do the screenshots now


(morphdoc) #8

wow, so after r_showtris, on my map there is a LOT MORE white lines than in original map at the spot where the FPS drops…what can I do to make it less?


(Mateos) #9

Have you done a VIS compile?


(stealth6) #10

I think he did otherwise you’d have bad FPS everywhere, not just in select places.
If you have a lot more lines in the same face, then try to fix T-juncs. If more of the map is being drawn then try to optimize the portals (structural brushes & hint brushes).

T-juncs are pretty easy fix.
If it’s not that then you need to find some tutorials on -vis compile / hint brushes / portals which will be a lot harder. (too much for me to type :D)


(WuTangH) #11

Can you post a screenshot of stuctural brushes in tunnel? … Maybe they are too complicated?


(Mateos) #12

If you look from a corner or the middle of the map to different directions, it can justify the rate gaps if no VIS, that’s what I thought

T-juncs in such tiny map shouldn’t affect a lot the performances (tiny terrain part).


(Teuthis) #13

My suspicion is that lots of Stuff you Put in is structural. You can go use the ‘view’ Menue to Hide all Detail Brushes. Now you should See basically a caulked nutshell of your map. If you see your changes Here as structurals you found the error. You need to make as much as you can Detail and only what Blocks visibility structural. Can you post pictures of the Same Area, Once with detail included and Once only structural. PC’s nowadays should tolerate a Lot of Mapping mistakes. If you see FPS Drops without any Other player and in devmap Mode the Problem is serious. These Things are quite easy to fix. I suggest you ready some of our Tutorials on r_speed, Map Performance, hint Brushes and func_detail. If you follow what is described there your map has to Run Smooth or you have a Map so Big that you can Look from one end to the Other and you thus Drive the Engine grazy. But since you work on Adlernest you will be good following Those essential Tutorials. All on TWT Website.

BTW, how did you compile and how Long was the compile Time? The fact that you see the FPS Drops when you turn around Screams for a Problem with too many structurals. Then your compile Time, especially the VIS Part of Compiling should then be Very Long. As a hint, Teuthonia had 24.000 Brushes and compiled in less than 3 Minutes.


(Mateos) #14

I have doubts on this possibility, since he’s started on an already existing and well-optimized map; But if he really modified the structure of the map, it could have modified the way the space is split, and result in bad FPS :confused:

The tunnel should be detail, and the caulk all around structural; Each tunnel face would affect VIS for nothing btw

Can you take a screen of the 2D view with only structural stuff enabled, and HINT/SKIP brushes? (CTRL + D to hide Detail, ALT + 7 for Clips, SHIFT + M for models).


(morphdoc) #15

wow, guys, so much help here! I made few brushes details, some structural, the FPS drop is much less (around 10), but still annoying. Will do all of the above tomorrow!


(Teuthis) #16

[QUOTE=Mateos;515712]I have doubts on this possibility, since he’s started on an already existing and well-optimized map; But if he really modified the structure of the map, it could have modified the way the space is split, and result in bad FPS :confused:

The tunnel should be detail, and the caulk all around structural; Each tunnel face would affect VIS for nothing btw

Can you take a screen of the 2D view with only structural stuff enabled, and HINT/SKIP brushes? (CTRL + D to hide Detail, ALT + 7 for Clips, SHIFT + M for models).[/QUOTE]

We need to See Screenshots +- Details shown and Maybe a screenshot After turning r_speeds on. I wanna See the vert values. I bet they are Sky High.

If you have an optimized Map and you add more structurals, you can easily make the original hints useless. Would be good to load the prt file in radiant to Check VIS Blocks. If Nothing Works i suggest you send your map file to One of us. Happy to Check and then i can give you a Detailed answer on what has to be done. You Used custom made Textures or Originals?


(RayBan) #17

It’s an old engine… that the developers have no care to continue and work on it being better for modern puters… it is was what is is… I thought with last years xmas bonus… I used it to buy an asus mobo, with a 760 asus 2 gig card, 8 gig of mem, and a bulldoser proc would have made it run fast… nah… a six core proc, and a lotta wishes… I still get low fps… The game is what it is… but it’s still mega fun =)


(Mateos) #18

Then you have not well configured it (like r_primitives for instance) ^^’ With an i3 I have 125 capped FPS on all maps everywhere :slight_smile: