Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bobboau on March 21, 2004, 03:23:45 am

Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:23:45 am
http://freespace.volitionwatch.com/blackwater/fs2_open_Bobboau_3-21-04.zip

see if the issue with texture loading in game time (things spaz out for bout half a second when you look at a ship for the first time) still is happening.
Title: check something for me quick
Post by: Singh on March 21, 2004, 03:25:19 am
ok. got a few missions I can test this on too :)
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:27:35 am
something with a lot of (diferent) ships that you don't start out looking at
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:29:45 am
like the first mission of the FS2 campaign :)

ill test this when my PC is booted.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:37:52 am
well that one you start out looking at them,
the _last_ mission of the FS2 campain isn't a bad one though, all those ships are just off to your right
compare results to the other recent build that I put in the corect forum.
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:39:22 am
what about those hercs, the hat and the deimous in that mission?

BTW, -allslev doesn't work if you haven't played at least one mission of a campaign.
Title: check something for me quick
Post by: Singh on March 21, 2004, 03:40:10 am
ok. wont work.

I try to turn to look at Omni's akira, but it STILL slowed down like before - this time it was worse, since it ate up all my Virtual memory, gave me the expanding virtual memory message, made me click ok, switched to desktop and then give me a program error when I tried to switch back.

Plus the mission loading time was HUGE.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:43:16 am
as compared to the other exe?
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:43:31 am
loading times have indeed increases, especially the part where the laoding anim is - .. (only the first dash and 2 dots) which is the texture part as far as i know.
edit: looking at different nebs, and firing weapons for a first time, will cause a major slowdown.
also, looking at a fighter turning to a newly warped in fighter gives me some slowdown, if the fighter is viewed for the first time in mission or not. but looking at a cap (the psamtik in this case)  gives me no slowdown.

spec still doesn't work on my card, btw.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:48:26 am
by how much?
a whole damned  lot?
:wtf:

the other exe that sould be used as controle
http://freespace.volitionwatch.com/blackwater/fs2_open_r_Bobboau_3-16-04.zip

if you are running out of memory (not in game) hit ctrl-alt-del (this is in XP BTW) go to procese, close everything else you have running, kill explorer, everything exept your desktop background will disapear, go to the applications tab, left click in the white box and select new task, type in explorer, everything should come back to life and you should have nearly no memory used.
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:49:58 am
i am typing this while flying around, but the slowdowns are less then the old ones, call it .25 seconds. explosions stopped causing slowdown as well.
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:51:44 am
loading times have increased by, i dunno, 50 or 60 percent compared to 03-05, and 200% compared to FS2 retail.
Title: check something for me quick
Post by: kasperl on March 21, 2004, 03:53:06 am
interestingly enough, the 3d ship select causes me to not see anything in the ship select ani window. it's just empty.


edit: turning towards that iceni rock thingy causes slowdown as well. explosions observed from under 300 meters seem to cause slowdown too, however, that bellisarius blast didn't cause any, but that was observed from long range.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 03:56:27 am
so the in game slowdowns have been niticably reduced?
good
Title: check something for me quick
Post by: RandomTiger on March 21, 2004, 04:12:58 am
What have you done?
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 04:17:52 am
well when you told me to fix the spec mapping comand, I realized there was abolutely no slow down when you looked at stuff, then I though, well there must be some were were the defuse textures are getting loaded but the others arn't so I spent about two hours rooting through all the diferent code paths for models that get loaded and stuf untill I came uppon the ship page in textures function were I saw that the defuse maps were getting paged in but the glow and spec maps weren't, so I had them page in, and it seems that a lot of the slow down is gone now.

so, textures don't actualy get loaded from the hard drive untill they get locked for the first time.
Title: check something for me quick
Post by: kasperl on March 21, 2004, 04:28:06 am
texture mem usage has dramaticly reduced too, now i look at it. this is truly great, commited yet?
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 04:32:08 am
it has?
as compared to 3-16?
Title: check something for me quick
Post by: RandomTiger on March 21, 2004, 04:33:38 am
Yep, the normal ship textures are forced to lock a load time though.

You should make sure any textures you are adding to the system get cached at that point as well.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 04:43:15 am
I thought I had done this already is the odd thing
Title: check something for me quick
Post by: RandomTiger on March 21, 2004, 04:44:18 am
Perhaps you have, I dont know.
Title: check something for me quick
Post by: [BoA]_Scoob on March 21, 2004, 07:16:20 pm
I still get those stutters (last mission of FS2), in addition, the afterburner trails seem to have broken again.
Title: check something for me quick
Post by: Bobboau on March 21, 2004, 07:19:51 pm
do the studders seem to be better or worse, or unchanged?
Title: check something for me quick
Post by: [BoA]_Scoob on March 21, 2004, 07:29:23 pm
they are unchanged.  There seems to be more efficient memory usage though.  BTW the afterburner trails were cool, i'm sticking with the 3-16 build for now.
Title: check something for me quick
Post by: [BoA]_Scoob on March 21, 2004, 07:36:05 pm
HT&L is on by default in your builds, Bobboau?  The -htl command line switch has not worked for me for a while.  It's not recognized by SCP.
Title: check something for me quick
Post by: ChronoReverse on March 21, 2004, 08:00:06 pm
It's been changed so that HTL is on by default now.  The launcher needs to be updated.


First, the good news.

It seems to use less memory now.

The helios, cyclops and trebuchet load the correct texture.

The pegasus animated maps still work.

Loading times are not noticeably longer for me.

Although nothing was supposed to have been changed, I can't get the 'y' bug to work anymore (yay!).

The example of the lighting problem in the FS2 Lighting Thread (of the ulysses) isn't the case.  The lighting along the wing is smooth.


Now, the bad new.

The stutters are still there.  Whenever something new shows up the texture memory free goes down a bit (something is loaded) and it stutters.

The nebula looks funny, as if it's washed out or there's too much light.  I'll try testing without ambient lighting to see if this occurs then too.






Finally, since this is a Bobboau build, I'll assume the reason why the intro movie doesn't play is because it isn't enabled.


Sidenote.  I've found out something quite interesting.  If I don't uncheck the -multilog flag, the game runs a lot slower and the sound stutters.