Bug 91 - Low FPS issue
: Low FPS issue
Product: Salem
Classification: Unclassified
Component: Client
: unspecified
: PC Windows
: High normal
Assigned To: loftar
Depends on:
  Show dependency treegraph
Reported: 2012-11-24 18:49 CET by Serdar Demir
Modified: 2012-11-29 00:26 CET (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Serdar Demir 2012-11-24 18:49:49 CET
Hello o/

I have been having performance issues with the game client (both original and custom) and tried a lot of ways to fix it. I even formatted my computer and did a clean installation but nothing fixed it. I'm used to playing on high fps and very pick on fps drops and spikes so it made me really unhappy to wonder how can I fix it. The problem is, while I'm playing the game my fps is around 40-50 changing regardless of where I am, what I'm doing or if shadows/antialiasing is enabled.

1- When I doubleclick the game windows to make it full screen my fps drops (when the client window snaps to the top and sides etc) but when I resize it with holding mouse button and arranging the borders its okey

2- When hold *any key* and play like that, I have stable 60fps not even 59 but if I don't do that I always experience performance issues

3- When I use any borderless fullscreener programs such as ShiftWindows I experience the fps drop (just as I explained on 1)

Here is my computer configuration
Mainboard : Asus Maximus IV Gene-Z Intel Z68
CPU : Inter Core i5 2500K @ 4400GHz
Ram : 2x4 GB Corsair Vengeance DDR3 1600MHz
GPU : PowerColor Radeon HD 5970 Dual GPU with 2GB Ram 1450/2000 MHz
Monitor : 24" Samsung 1920x1080 resolution
My igpu (onboard) is disabled, so the game is using my GPU. We confirmed that with loftar with me crushing and him checking the log

I'm really looking to some permanent solution to this because I REALLY LOVED the game and have been playing like 10h a day since I started playing a week ago. I would really appreciate if you could me out on this problem. I have also checked that many other people are having the same issue on irc but they are not exactly accustomed to smooth fps as far as I could understand so they dont even feel it untill I told them to check.

Thanks in advanced ^^
Comment 1 bjofoss2 2012-11-25 06:50:24 CET
The game normally runs at about 50 FPS for me, but when I hold down a keyboard key it changes to about 60 FPS (pressing keys increases FPS by 2 - 4 for a second or two).

Intel i7-920
Asus P6T
Corsair Dominator GT DDR3 1600MHz 3x2GB
HIS Radeon HD 4890 1GB GDDR5
Creative SB X-Fi XtremeGamer
Chieftec Super Series 750W PSU
Comment 2 loftar 2012-11-25 06:57:27 CET
Wait a minute; are we talking about a difference in FPS from 40 or 50 to 60? When this issue was first presented to me on IRC, it was in the terms "sometime its like 10fps cant even run".

Trying to solve a problem where the client lags to the point of unusability would be a completely different thing from simply increasing the FPS, not least because the usual FPS of 50 simply is a result of the client limiting its own framerate to 50 in order to preserve general system resources.

So let's be clear about what the issue actually is to begin with, please. :)

It is true that the FPS generally goes up when handling input events, but that's more like a bug, since the wait loop is interrupted by new input events.
Comment 3 Serdar Demir 2012-11-25 12:26:01 CET
Loftar, the hold key fps increase is just an extra info. It becomes *unplayable* for me, and when it does I use the hold key to play. I even made a autohotkey macro that holds my W button so I can play in this situtation. 

Also, sometimes eventhough it says 50fps its like 10 fps and you cant even move hardly. I've played first person shooter games for 10 years competitively so believe me when I say I can feel the difference in fps, there is something wrong here.
Comment 4 loftar 2012-11-25 16:25:17 CET
(In reply to comment #3)
> Also, sometimes eventhough it says 50fps its like 10 fps and you cant even
> move hardly.

That sounds a bit interesting. If the client says 50 FPS, then it literally means that it has actively drawn 50 frames during the last second. If, in spite of that, you have only seen some 10 or less different frames during that period, then I think that has to mean that there's something else on your system preventing those frames to be emitted to the monitor. Do you have any weird programs or driver installed or some system graphics settings that could cause such interference?

Oh, and if that is not the case; since you can see the client's FPS meter, then that means that you're capable of turning on the client's debug mode. I would suggest, then, that you also turn on the profiling mode and use it to check just what it is that's taking time. With profiling mode on, use the ` and ~ keys to open the global and the mapview profiles, respectively.
Comment 5 Serdar Demir 2012-11-25 21:28:33 CET
I'm just using fraps / MSI Afterburner to see the fps of the client. I dont have the console active but I can open the MV and Glob graphs, take some screenshots and post the links. I have nothing weired installed and all my drivers are up to date. I'm not having problems with any other games, and I recently reinstalled windows 7 just for the problem but nothing has changed.
Comment 6 Serdar Demir 2012-11-25 21:43:42 CET
Here is the images, they are kinda low quality since I uploaded to imgur first time. You can check the description of the each image for more info. When I hold any key, you can see the change in graph

Comment 7 loftar 2012-11-26 23:22:40 CET
I do see that the peak frame in the glob profile you posted says about 25 ms, which really isn't a lot and couldn't be causing a drop below 40 FPS, at least, so there has to be something outside the client causing some kind of weird interference.

I do, however, seem to recall that some people using FRAPS to capture footage from the client reported similar problems, so it could actually be some weird interaction between the client and FRAPS. Have you tried turning it off to see if that makes a difference?
Comment 8 Serdar Demir 2012-11-27 01:59:02 CET
I dont use fraps, I just use it to show you fps and see myself. Everything aside, is it even normal to get 40-50 fps with a computer such as mine?
Comment 9 loftar 2012-11-27 02:17:20 CET
(In reply to comment #8)
> I dont use fraps, I just use it to show you fps and see myself.
Ah, but even if you're not recording, it's clearly doing something with the client in order to monitor the FPS.

> Everything aside, is it even normal to get 40-50 fps with a computer such as mine?
Well, as I stated, the client limits itself to 50 FPS, so you wouldn't get more than that. :)
Comment 10 Serdar Demir 2012-11-28 21:25:52 CET
Well I fixed my problem. First of all, obviously Salem just does not use enough of my GPU. Actually, my GPU just does not think it is needed to perform for Salem. What I did to fix this was I maxed out everything possible from the catalyst center AA 16x, Anisotropic Filtering 16x, HQ Mipmap, Super-sample AA and a predefined CrossFireX profile (3dMark Demo).

After those settings, when I run Salem it stats as before with looks like low fps but after 20-25 seconds the both of the GPU use increases from %5 to %60-70 and I have a smoother gameplay. Still, its not the perfect performance but at least its playable unless I open another client which causes %100 GPU use and my card cant handle it. At the moment, my fps is around 40-45 (previously it was 50-53) but its way smoother so I'm not sure if it is about fps at all but I can assure you that you have a serious performance issues and everybody I have met/asked has a *meh* computer and they dont mind playing with low performance since its not a fast paced game.

PS : I can assure you that this is not a personal problem, I asked my friends with same or better configurations to run the game and they all experience the performance issue.
Comment 11 loftar 2012-11-28 23:44:56 CET
That does seem exceedingly weird. :)

I'm sorry to say that I have no clue what that means.
Comment 12 Serdar Demir 2012-11-29 00:26:58 CET
Its just a problem about my gpu actually. They update the driver according to games and softwares but a java game is not on their list I guess. So I left an email to them already. What I'm doing basicly is that forcing my gpu to work at 80% and this is only to play Salem. At least works for now ^^