Framerate decreases if importing mpc data

Bug #1350418 reported by Claus on 2014-07-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

The framerate decreased drastically (100fps --> 5 fps) if I import mpc data (e.g. all observable comets).
Clicking on default settings will cure the problem, however.

Tested on two computers (desktop with core i7, ATI 7950 and Laptop with core i5, Intel HD4600) both on Windows 7_x64 with the latest drivers for the video cards.

best regards

Related branches

Claus (sualci) wrote :

I forgot to mention :
Stellarium version 0.13

Changed in stellarium:
status: New → Confirmed
Changed in stellarium:
importance: Undecided → High
gzotti (georg-zotti) wrote :

Hmm, something I never had expected, I had expected observers just selected 5-10 really interesting comets.

Importing "all" means about 730 comets. All of them have orbit_good=1000 (i.e. orbits, tails etc are computed for perihel date +/- 1000 days). This may indeed be too much, with computation of 1460 rotated tail parabola.

As short workaround: can you please edit your ssystem.ini in a regular text editor and replace all strings "orbit_good=1000" with "orbit_good=100". This should at least reduce the number of periodic comets.

Else, for now please reset your ssystem.ini and download only a handful of comet elements.

Alexander Wolf (alexwolf) wrote :

Georg, can you test it: lp:~stellarium/stellarium/planets-bounding-cap ?

I tested with big ssystem.ini file ( and get around 8 FPS (without patch I have around 4 FPS on this file).

Claus (sualci) wrote :

edited ssystem.ini as you suggested but without an effect (framerate stays low).

I had no problems to import all comets on version 0.12.4

gzotti (georg-zotti) wrote :

@Alex: Sorry, not before weekend.

@Claus: 0.12.4 did not have coment tails, just positions. It's considerably more computation.

Please then delete the comets you don't need. Keep the 20 most needed, not 730. This situation should be improvable in the next release.

gzotti (georg-zotti) on 2014-08-02
Changed in stellarium:
milestone: none → 0.13.1
gzotti (georg-zotti) on 2014-08-03
Changed in stellarium:
status: Confirmed → In Progress
assignee: nobody → gzotti (georg-zotti)
Alexander Wolf (alexwolf) wrote :
Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers