Author Topic: My performance is ****.  (Read 9551 times)

0 Members and 1 Guest are viewing this topic.

Offline Kolgena

  • 211
Re: My performance is ****.
I've said this before, but I also get massive slowdown whenever flak is exploding, but it only seems to happen 80% of the time. IIRC it's independent of display resolution (still happens on 1024x768 vs 1080p) so it's probably CPU related. Otherwise my framerates are fine. Jumps between 60 and 30 does sound like vync though, because my jumps are between 65-90 and 15-45.

@Battuta: Did you ever try removing all mv_effects (or whereever sprites and scripts for particles are--it's in one VP I can't be bothered to double check right now) from Mediavps 2014 and seeing if you still get framedrops? Doing that completely eliminates the problem, but I'm obviously looking at retail flak and lasers instead (yay blobs)

(How are people getting OAL soft to work at all on windows 8.0 and wxlauncher? Am I the only one having troubles getting it to work by putting it in the system folder or in the fs2 directory?)

 

Offline Kobrar44

  • On Suspended Sentence
  • 29
  • Let me tilerape it for you!
    • Steam
Re: My performance is ****.
Separate from all the audio shenanigans, even with vsync off I am getting wild framerate peaks and crashes. During the closing frames of Artemis Station, before the fadeout, my framerate is zagging between 80 and 120 FPS every second or two.
Sounds kinda familiar. I once compiled a build with msvc 2010 and profiling code to track the lagspikes and I experienced none. Nightlies etc are still msvc 2008 IIRC. I do not possess the knowledge to determine how relevant this may be. I did not investigate further, waiting for move to msvc 2012 for nightlies to test again.
Oh guys, use that [ url ][ img ][ /img ][ /url ] :/

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: My performance is ****.
Battuta, if you need I can make a 2012 build for you.  Or 2013, whatever the latest I have on my PC is.  Then you can compare.  I plan on updating to a new compiler for nightlies after 3.7.2 anyway, for FreeBSD, Windows, and Linux.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: My performance is ****.
My only slowdown comes from FS1 bombs (tsunami & harbinger) when they explode and when framebuffer explosions are enabled. The screen freezes for 0,2 seconds for every explosion. Strangely enough, FS2 bombs (cyclops and Helios) work perfectly with framebuffer explosions.

 

Offline Kolgena

  • 211
Re: My performance is ****.
Sorry for necro, but any updates on this? I was revisiting FSO with both the 3.7.2 RC3 and latest nightly (today), and neither build was playable for me. Any time that scripted effect (piercing impact explosions, presumably) where cluster flak spawns a ton of particles still drops my fps from 80 to 10. Turning off FXAA, smooth particles, framebuffer shockwaves, and/or enabling that ATI input lag flag thing do nothing.

If nothing else, I'd like to know if anyone is getting similar problems in big insane-difficulty (the only difficulty with uncapped AI fire rates) firefights.
« Last Edit: August 12, 2014, 02:46:59 am by Kolgena »

 

Offline ngld

  • Administrator
  • 29
  • Knossos dev
Re: My performance is ****.
If the compiler version is the problem, this nightly might work. It's compiled with MSVC 2013.

 

Offline Kolgena

  • 211
Re: My performance is ****.
Sorry, that build doesn't fix it. For giggles I tried playing the game at 1366x768, but still no dice. I go from 120 fps (seems to be a hard cap even without vsync) to 12 fps in firefights.

 (Also, I've noticed with the last couple nightlies I've tried, the ATI black model bug in weapon/ship selection appears to be fixed, BUT briefing screen grid (the one where ship/wing icons appear) appears to be zoomed way in. The icons themselves aren't larger, but a lot of them aren't being drawn because they're way off the screen.
« Last Edit: August 15, 2014, 03:28:29 am by Kolgena »

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: My performance is ****.
briefing screen grid (the one where ship/wing icons appear) appears to be zoomed way in. The icons themselves aren't larger, but a lot of them aren't being drawn because they're way off the screen.
This is actually the result of this bug being fixed. You may want to look at this game_settings.tbl setting.

I go from 120 fps (seems to be a hard cap even without vsync) to 12 fps in firefights.
Did you use both -no_vsync and -no_fps_capping?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: My performance is ****.
It's a longshot, but have you tried "Disable Lightshafts"? And was there an old version of FSO that doesn't have the problem?

(I feel like I've had a similar problem with the APE gun explosions from The Antagonist, but only that gun in that mod, and I haven't found a solution yet.  I'm using an nVidia card as well, so it may be completely unrelated)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Re: My performance is ****.
Shot in the dark here, but could this be collision code related?  I know you said the slowdown usually happens with flak, but you never know.  Does the slowdown happen outside firefights when there are lots of asteroids in mission?

I think there's a launcher flag to use the old system in the troubleshooting section.

 

Offline Kolgena

  • 211
Re: My performance is ****.
Good question. I went and tried with the old collision code, but I still get flak slowdowns. Asteroids (like those nav buoey missions in Derelict) can drop my framerates to the 50s, but that's always steady fps and totally fine. The symptom I describe is more like frame drops, wherein your screen freezes for a few hundred milliseconds and stutters like mad before going back instantaneously to reasonably fluid, before dropping to zero again momentarily when the next round of flak explodes.

briefing screen grid (the one where ship/wing icons appear) appears to be zoomed way in. The icons themselves aren't larger, but a lot of them aren't being drawn because they're way off the screen.
This is actually the result of this bug being fixed. You may want to look at this game_settings.tbl setting.

I go from 120 fps (seems to be a hard cap even without vsync) to 12 fps in firefights.
Did you use both -no_vsync and -no_fps_capping?

Thanks for the tip about briefing icons. I haven't checked retail briefings (which I presume are now fixed), but mods assuming old behavior (such as BP) have broken briefings as a result. They'll probably need to roll out a patch at some point to address this.

I didn't use -no_fps_capping. Either way, as long as vsync isn't on, I shouldn't expect framerate stepping of 60/30/20/15/12/10 etc etc.


It's a longshot, but have you tried "Disable Lightshafts"? And was there an old version of FSO that doesn't have the problem?

(I feel like I've had a similar problem with the APE gun explosions from The Antagonist, but only that gun in that mod, and I haven't found a solution yet.  I'm using an nVidia card as well, so it may be completely unrelated)

I have disabled lightshafts and still see the problem. (Conversely, I never play with them on, so don't know if the bug would disappear if I turned them on...)

I use an ATI card (8870m) paired to an i7 3635QM. It's been a long time since I've played FSO, but I remember my old laptop didn't have the stuttering problem before I got rid of it a year ago. That used to run an ATI 3650 mobility which could actually float decent framerates at 1366x768 in firefights.

I take it essentially no one else is experiencing these sorts of framedrops?

(As an aside, I just realized that my device manager thinks that my 8870m is an r9 m270x despite being on CCC 14.4 official. I wonder if that might be causing all this, lol. I'll hunt for different graphics drivers and see what's up)
« Last Edit: August 16, 2014, 05:04:41 pm by Kolgena »

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: My performance is ****.
I take it essentially no one else is experiencing these sorts of framedrops?
Obviously other people experience poor performance, but I'm not one of them, so I can only throw out random ideas and see what happens.

Speaking of, and just out of curiosity, does anything happen if you remove -no_vsync?
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Kolgena

  • 211
Re: My performance is ****.
If I turn vsync back on, the performance doesn't get better. During firefights my max gets capped to 30 (interestingly), and my frame drops still push me into the 15-12 fps range. Overall, however, it does feel a bit smoother because the variance is much less between 30-12 and 60-12. Unfortunately, I can't stand vsync input lag.

 
Re: My performance is ****.
If you are running an nvidia GPU, here is what you can do to eliminate your framerate drops: (worked for me)
Go to your nvidia control panel and change the energy saving mode (found in 3d settings) to prefer maximum performance.
I hope this helps some nvidia users out there, maybe there is an amd equivalent for that specific setting as well.
« Last Edit: August 31, 2014, 12:38:49 pm by Pacman110 »

 

Offline Kolgena

  • 211
Re: My performance is ****.
So... on a whim I decided to use the no sound command flag. My frame drops disappeared.

wtf?

K, so details:

Running the Razer 5.1 virtual surround sound driver. Turning it off doesn't make a difference to performance.
OpenAL soft might be running a tad worse than Creative OpenAL. Both run worse than sound disabled.
I've got some sort of Realtek laptop sound card.
Precaching mission sounds doesn't improve performance.
Forcing 2D sound doesn't improve performance.
Worst freezes still happen when cluster flak explodes all at once.
« Last Edit: October 28, 2014, 06:47:34 pm by Kolgena »

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: My performance is ****.
What version of OpenAL Soft/Creative OpenAL are you running?  There was a recent Soft release, as well as a Creative OpenAL 2.1.0.0 that is available from some DL sites which might be an improvement over the one on their website.  It was bundled with a sound card but never officially released for download.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Kolgena

  • 211
Re: My performance is ****.
I used Openal soft 1.16.0.
I haven't tried (or heard of until now) 2.1, but I'll give it a shot and see what happens.
One some OEM drivers for a realtek card that I'd really really prefer not to upgrade. They come with speaker sound cancellation for the mic, which is pretty useful and seems to break if I use any other version of driver.

 
Re: My performance is ****.
I had poor performance as well. For some reason it happened when looking at Nebulae.

I am aware this doesn't make any sense.