Author Topic: 20040401 test build - memory footprint reduction  (Read 9297 times)

0 Members and 1 Guest are viewing this topic.

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
20040401 test build - memory footprint reduction
Please test this build: 20040401-win32.zip

This build has fixes for three problems that need testing:

1. reduction in memory usage, level load time - Please verify that you don't get any crashes on level loads and no (new) large stutters when in mission

2. transparent ship/weapon texture fix - It shouldn't use interface graphics for ship textures now so please make sure that anything that was transparent isn't now

3. movie loading - The movie playing code will now ignore the file extension and cycle through support formats to find one that it can load.  Also, movies no longer have to be in the main directory to be found and played.

 

Offline Drew

  • 29
    • http://www.galactic-quest.com
20040401 test build - memory footprint reduction
kewl
*goes of to test*

15-25 second load times: hell yeah
i got almost no performance hiccups past 10 seconds into the mission. On older builds when somthing likea  missle was shot, id get a %50 fps drop for a second or 2.

I got solid +100 FPS on my FSO goodie test mission, including skybox, all the Lightspeeds recent art, and Karmas high poly fenris. NO slowdowns looking at the highres planets or trails either, those  used to kill FPS on older builds. And that one minit section of time after FSO shut down where my system practically locked up wasnt there either.


rock on tayor :D
« Last Edit: April 02, 2004, 12:57:06 am by 1243 »
[(WWF - steroids + ties - spandex) / Atomic Piledrivers] - viewing audience = C-SPAN

My god.. He emptied the gasoline tank from the van onto your cat, lit him on fire, threw him in the house and dove for cover.  :wtf: Family indeed.  ~ KT

Happiness is belt fed.

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
So, I know MVE wont work on the movies, will it??
And where can we find these other movie formats??
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
20040401 test build - memory footprint reduction
jdjtcagle:  No MVE still and because of the legal issues probably never (possible - yes, going to happen - never).  Though it can be easily added to, the currently supported movie formats are AVI and MPG.  If you don't have the converted FS2 movies (you can do a search on the forum to try and find download locations but I think they've been removed) then just rename any AVI or MPG that you have (ie. some-kOOl-movie.avi -> intro.avi) and it will play.  Not as good as the real FS2 movies but good for testing.  I'm using the original "Tripping the Rift" short as my intro which is rather fun ;)

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
Mine goes to the Pre_load screen and then shuts off without any warnings

Holy **** now none of my builds work!!!:confused:
« Last Edit: April 02, 2004, 01:04:19 am by 1472 »
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
20040401 test build - memory footprint reduction
jdjtcagle: If you put in a test intro movie then take it out and try again.  If that fixed it then I'd like to know what kind of movie it was (codecs, play length, etc.).

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
nothing, I have no kind of movie at all but none of my builds work now
It says when I click on registry tab that an error has eccured.:confused:
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years

 

Offline Drew

  • 29
    • http://www.galactic-quest.com
20040401 test build - memory footprint reduction
turn of the "use flags when running direclty button"?
[(WWF - steroids + ties - spandex) / Atomic Piledrivers] - viewing audience = C-SPAN

My god.. He emptied the gasoline tank from the van onto your cat, lit him on fire, threw him in the house and dove for cover.  :wtf: Family indeed.  ~ KT

Happiness is belt fed.

 
20040401 test build - memory footprint reduction
Hmmm, did you by any chance turn off the audio pre-caching?


In any case.

The good.  Loading time is MUCH shorter now.  Rather incredible considering I have all the goodies turned on.

Memory usage is also down by 100MB.


The not-so-good.  The stutters for the texture load is still there.

The bad.  Every time a new line is spoken, it seems to stutter now.  I'll try more missions later to see if this was just a fluke.



Overall I like it since fast loading times == good.

BTW can I put the avis in the /movies folder now?

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
20040401 test build - memory footprint reduction
No audio related changes, only to preloads of starfield bitmaps.  Previously it was loading all starfield bitmaps (bg nebula, suns, planets) and now those preloads are restricted to what the mission is actually going to use.  Also the briefing bitmaps weren't closed out while in a mission so that was just wasting memory that could be better used by something else.  If you keep getting sound problems please let me know and I'll look in to it.

Are the stutters worse though?  They will hopefully be reduced but definitely not gone.  Much more work still needs to be done to get better stutter reduction.  I have more ideas that should give a massive reduction in load times and probably reductions to stutter but there is no way they'll get into 3.6.

Movies should go in /data/movies but can be anywhere in /data or even on a CD/DVD.

 
20040401 test build - memory footprint reduction
The stutters are no worse.  Exactly the same in fact.  But i've only tested the first mission, so I can't say what happens in the other missions.  In any case, still a great improvement in load time and the mission didn't crash :)

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
20040401 test build - memory footprint reduction
none of my changes from my last two builds are in this, I haven't commited anything in like two weeks
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Singh

  • Hasn't Accomplished Anything Special Or Notable
  • 211
  • Degrees of guilt.
20040401 test build - memory footprint reduction
I just tried this build - excellent performance improvement, I must say. I get FPS of >14 where I used to get just 4. :D
"Blessed be the FREDder that knows his sexps."
"Cursed be the FREDder that trusts FRED2_Open."
Dreamed of much, accomplished little. :(

 
20040401 test build - memory footprint reduction
Quote
Originally posted by Bobboau
none of my changes from my last two builds are in this, I haven't commited anything in like two weeks


isn't that going to cause major merging issues?
just another newbie without any modding, FREDding or real programming experience

you haven't learned masochism until you've tried to read a Microsoft help file.  -- Goober5000
I've got 2 drug-addict syblings and one alcoholic whore. And I'm a ****ing sociopath --an0n
You cannot defeat Windows through strength alone. Only patience, a lot of good luck, and a sledgehammer will do the job. --StratComm

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
20040401 test build - memory footprint reduction
posably
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Lightspeed

  • Light Years Ahead
  • 212
20040401 test build - memory footprint reduction
Compile it with Bob's new changes please?

It's committed so if you do a build Bob, it should be in it. :)
Modern man is the missing link between ape and human being.

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
****, looks like I have to reinstall again :sigh:
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
20040401 test build - memory footprint reduction
You could try deleting the registry entries and then running the launcher. It should then rebuild everything. (you may need to take out the launcher.ini too but I'm not certain about that one).
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
Haha... Your a guenius (SP?)
Anway, thanks!!! :)
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years

 

Offline jdjtcagle

  • 211
  • Already told you people too much!
20040401 test build - memory footprint reduction
Wait I'm having problems again, It would only read as vannilla
So, I said screw it and reinstalled everything and downloaded this build and I'm still having problems

Nevermind, ***** slapped it and it works
Loads way!!!! faster great job:D
« Last Edit: April 02, 2004, 02:39:20 pm by 1472 »
"Brings a tear of nostalgia to my eye" -Flipside
------------------------------------------
I'm an Apostolic Christian (Acts: 2:38)
------------------------------------------
Official Interplay Freespace Stories
Predator
Hammer Of Light - Omen of Darkness
Freefall in Darkness
A Thousand Years