Huge framerate drop in the presence of certain objects (SVN)

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Did anyone get the error report? I know hellcat and ace were talking about putting in a option to reduce the size of the textures to solve this problem.
eddit
Merchant
Merchant
Posts: 61
Joined: Wed Jan 12, 2005 1:02 am
Location: Hobart, Australia

Turning wormhole animation off

Post by eddit »

I have a huge dropoff in framerate whenever the wormhole animation appears. It's particularly bad when you are inside the animation coming out the other side. I'd like to be able to disable the animation as it's the only thing that kills performance for me.
"beauty is skin deep
but samples with keratin
are just plain ugly"
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

disabling the animation is simple: just copy glow_net_stable.bfxm to cyl_stable.bfxm


however...I was looking at that mesh---really really low polygon count--nothing special... not sure why it's slowing you down---
my suspicion is that you're running at high rez---with a card like yours, 800x600 would be the max I could forsee playing the animation...


also it may be slow cus ships in the next system are loading
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Yeah. It sometimes freezes on me when I jump. Always has. I think it has to do with loading the next system.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

freezes..then starts up again I presume? or crashes for good after waiting 2-3 mins
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

In the current dataset, it launches hundreds of ships in each system, and that can easily take minutes on slower computers (basically most of the fime from when you load a game to when you are in your ship is launching ambient traffic, so that should give you a good estimate of the amount of time it will take to jump to a system as well.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

That mesh (wormholesomething.bfxm) is using shaders, that's why it's slowing things down. Removing the specmap should fix it. I'll do when I get a chance, but it may not be very soon, so if anyone feels up to it...

BTW: I think traffic launch was made incremental to avoid just that. However, it may very well be that the time between ship launches isn't big enough to avoid an unplayable slowdown, so it may be time to tune that (in something_launch.py and related files). Also, if the game is running low on memory and swapping, no amount of incrementality will stop it from stuttering like crazy when launching ships.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Yes. It freezes and then starts back up about 5-10 seconds later. It looks really cool when it DOESN'T freeze but it's not a bug that annoys me enough to complain.

Now, as far as my video card is concerned, I have convinced my wife to let me install Linux on the desktop (primarily her computer) which has an nvidia card in it. While I would LOVE to get this working smoothly on this computer, if worst comes to worst, I wouldn't be surprised if a change of cards fixes the problem. I don't foresee ATI helping me out any time soon.
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Hmm. Is there any way to turn shaders off for *everything*?
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

rename the programs folder where they live so they are not found at execution time :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Ohh... Never mind, that was tried and was ineffective.
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

So, it looks like you can choose your ship in the latest svn. I chose a llama and I got the same result when I viewed my ship. I chose anything other than that (haven't tried them all) and I don't get a drop in framerate when I view my ship.
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Hmm. I never got a framerate drop when viewing my ship, that might be unique to the latest version though.
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

It's always been that way for me in svn. It's nice and smooth when I'm not in a llama but when I'm in a llama I can't view my own ship without a framerate drop.
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Curiosity has gotten the best of me. I'm downloading the SVN onto windows to see if the hardware change affects the performance issues.

Edit: This machine has a nvidia card as well as a 3GHz P4, 1.5 GB of ram.
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Ok, it appears that my problem is fixed on the other box. However, I still get the weird pulse problem where the framerate will sometimes drop when I approach a base or something and the view will pulse in and out from zoomed in to normal. Ace knows what I'm talking about.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

That's SPEC-FOV acting weird when there is irregular stuttering. I've noticed it happening when there's too much swapping to-from virtual memory (but might happen with other forms of stuttering).
Perhaps SPEC-FOV code should be revised a bit - I'll do when I get home.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
bassmannate
Merchant
Merchant
Posts: 37
Joined: Mon Jul 31, 2006 4:30 pm

Post by bassmannate »

Looks like it's fixed! Thanks!
vegastriker1000
Insys Pilot
Insys Pilot
Posts: 2
Joined: Tue Aug 11, 2009 4:12 pm

Re: Huge framerate drop in the presence of certain objects (SVN)

Post by vegastriker1000 »

Hey guys, i just downloaded VegaStrike and I'm still experiencing the big frame rate drop problem when in presence of big ships or objects - which you have been discussing through this thread, which by the way is the only one addressing this problem.

I was wondering if any solution or fix has been found, since last post has been written 2 years ago.

I tried with moving away the /programs folder but it didnt fix things up.

Here are my system specs:

intel cpu @ 1.73Ghz
ram 1gb
video adapter: Ati Radeon Xpress 200M Series with 256Mb of memory

running windows xp sp3

When i see my own ships or planets framerate is about 60/s
When i see big ships it goes down to 3-4-5 per second.

Any advice? :)
Thanks for your collaboration! :)

See ya around in vegastrike space, if i can fix this! :)
TBeholder
Elite Venturer
Elite Venturer
Posts: 753
Joined: Sat Apr 15, 2006 2:40 am
Location: chthonic safety

Re: Huge framerate drop in the presence of certain objects (SVN)

Post by TBeholder »

It happens... may depend on drivers, of course. And driver's parameters (set in Control Center). Try to tweak them to "performance" side.
Also, try to change details and shaders grade into vssetup.
"Two Eyes Good, Eleven Eyes Better." -Michele Carter
vegastriker1000
Insys Pilot
Insys Pilot
Posts: 2
Joined: Tue Aug 11, 2009 4:12 pm

Re: Huge framerate drop in the presence of certain objects (SVN)

Post by vegastriker1000 »

ok i fixed that myself by updating ati drivers to latest version.
But that has been a pain in the ass because ati drivers would constatly refuse to install and the installer kept saying "setup will stop because there is no compatible hardware for the driver you are trying to install" and that tricked me out into thinking i was installing the wrong driver package so i kept looking for the right one on and on... But first one was the "exactly appropriate" one and the only way i found to get it going was avoiding using the ati installer and rather letting windows xp ask me for a new driver (i did this by uninstalling the previous video device driver in control panel-system-hardware, and then by deleting all default ati drivers included in windows using driver cleaner pro 1.5 freeware so that when i rebooted, the system was forced to ask me for a path to new drivers for the newly detected video device) and then by browsing to the folder where i previously had ati installer extract the files to (C:\ATI\Support\_name_of_the_driver_package_\Driver\Driver\XP_INF), selecting the .inf file and then choosing the right video card model from the list.
It worked so now framerate doesn't slow down anymore... so...
..Hope this can help :)

See you in space :)
Post Reply