How do you get good frame rates in Oolite?

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
luminous
Dangerous
Dangerous
Posts: 80
Joined: Tue Jan 11, 2011 7:34 pm

How do you get good frame rates in Oolite?

Post by luminous »

I am sitting here playing the game on a Quad core machine. Overall CPU usage is about 60% and spread nicely amongst all my cores. My GPU has a temp sensitive fan, but it NEVER ramps up when playing Oolite. However, I do suffer some dropped frames and lag when near stations.

This only happens with OXPs installed. I have nice nebular effects, griff ships and stations etc. So I know I have added a lot to the demands of the game. The question is where is the bottle neck in my machine? If the CPU is not flat out, and the GPU is not ramping up, there must be something else slowing things down?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: How do you get good frame rates in Oolite?

Post by JensAyton »

Most likely loading. Textures and sounds are loaded on demand (sounds will be preloaded in 1.75; texture loading is asynchronous, but you only get the full benefit of that for ships that appear completely out of drawing range). The first time a particular type of ship is loaded, its model needs to be parsed and its collision volume needs to be calculated, which is one of the biggest hits. (This was done at loading time in an experimental branch, but there was some problem I don’t remember.)

At this time, my best tip for minimizing loading stutter is to let it run through the entire set of demo ships after loading when you’ve added or removed OXPs. Not ideal, I know.
luminous
Dangerous
Dangerous
Posts: 80
Joined: Tue Jan 11, 2011 7:34 pm

Re: How do you get good frame rates in Oolite?

Post by luminous »

Ahruman wrote:
Most likely loading. Textures and sounds are loaded on demand (sounds will be preloaded in 1.75; texture loading is asynchronous, but you only get the full benefit of that for ships that appear completely out of drawing range). The first time a particular type of ship is loaded, its model needs to be parsed and its collision volume needs to be calculated, which is one of the biggest hits. (This was done at loading time in an experimental branch, but there was some problem I don’t remember.)

At this time, my best tip for minimizing loading stutter is to let it run through the entire set of demo ships after loading when you’ve added or removed OXPs. Not ideal, I know.
Yes, that could fit in nicely with my experience. When my box is doing heavy IO doing network backups etc there is noticeable stutter. It most probably is when new things are being loaded.

How do you let the game run through the demo ships? Mine seems to let the Cobra spin for a long period of time without changing. Is it this screen that I can try leaving running for longer?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How do you get good frame rates in Oolite?

Post by Cody »

luminous wrote:
How do you let the game run through the demo ships?
At the 'Load Previous Commander', press no... Oolite will then cycle through the demo parade.
When done, press space, F2, load commander.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: How do you get good frame rates in Oolite?

Post by DaddyHoggy »

El Viejo wrote:
luminous wrote:
How do you let the game run through the demo ships?
At the 'Load Previous Commander', press no... Oolite will then cycle through the demo parade.
When done, press space, F2, load commander.
You can speed this process up, by tapping the Right cursor key a moment after the ship has appeared on the screen... (and left if you want to see a particular ship again)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
luminous
Dangerous
Dangerous
Posts: 80
Joined: Tue Jan 11, 2011 7:34 pm

Re: How do you get good frame rates in Oolite?

Post by luminous »

Cool, thanks 8)
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2278
Joined: Tue Jan 02, 2007 12:38 pm

Re: How do you get good frame rates in Oolite?

Post by Killer Wolf »

what is the collision volume, is it a set of coordinates of a box around the ship or something?
Makandal
Deadly
Deadly
Posts: 129
Joined: Tue Jun 12, 2007 3:48 pm
Location: Frenchman lost in Africa

Re: How do you get good frame rates in Oolite?

Post by Makandal »

Talking about the demo run at the beginning, I play the game normally, all ships are there. But I can't see the Griff's ships in the demo. Why ? I am sad.
There is no theory of evolution. Just a list of creatures Chuck Norris has allowed to live.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How do you get good frame rates in Oolite?

Post by Cody »

That can be done, but it shames me to admit that I've forgotten how... summon a wizard.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: How do you get good frame rates in Oolite?

Post by Commander McLane »

You need a demoships.plist, preferably in the OXP's Config-folder, containing all ships you want to be seen.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: How do you get good frame rates in Oolite?

Post by Cody »

Griff's all-in-one shipset already has a demoships.plist... you should see them Makandal.
Try the 'left' cursor key, instead of the 'right'.

Oh and thanks, McLane, for jogging my memory.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Post Reply