Stellarium 0.11.2 Very slow frame rate 0.00234 FPS

Asked by Daniel

System Details :

Stellarium 0.11.2
Running on Ubuntu 11.10
Dell Dimension 4600
nVidia GeForce 6200
I have used two Drivers without any change : NVIDIA accelerated graphics driver (Ver 173) & (Version current) [Recommended]
3 Gb Ram
P4 2.8Ghz
Dual Display Samsung SyncMaster 570s & 151s

Fault :

When starting Stellarium, about 5% of the time it runs fine

Mostly it takes a long time to start up and is then totally unusable because of lack of response due to frame rate.

If I leave it running for a short while the frame rate steadily decreases, I have seen rates below 0.00055 FPS.

Pressing F11 and dragging to the other screen then F11 again can sometimes wake it up and it then runs fine
but mostly makes it worse, more often this results in the screen display totally messing up,
then I have to stop the process and try again.

Some times on start up the splash screen is missing,
sometimes there is a black triangle partly obscuring the splash screen

I hope this fixable because Stellarum is a brilliant program

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Solved by:
Matthew Gates
Solved:
Last query:
Last reply:
Revision history for this message
treaves (treaves) said :
#1

The frame rate being low is not in-and-of itself a problem. The application is written to slow frame rate down when the display is largly static.

Now, it seems that there is more than this going on in your case. If I understand what you are saying, there are times when the application runs normal, and is responsive?

Revision history for this message
Matthew Gates (matthew-porpoisehead) said :
#2

Very low frame rates are an indication that the OpenGL hardware acceleration on your video card is not working for some reason. Please check your video card driver supports OpenGL. If it claims to, it might fallback to software rendering when it is asked to perform an operation it doesn't like. I've known this to be triggered by too-large or irregular sized textures, and very occasionally sometimes by shaders.

You could try to run Stellarium in safe mode and see if this will help (for Windows use the "Stellarium (No OpenGL 2)" option from the start menu, for other OSes run with the --safe-mode option), but I suspect the only option is to upgrade your video driver.

M

Revision history for this message
Daniel (bsddmail) said :
#3

Hi Treaves,
Yes you are correct in thinking, that a small amount of times that I start the application and it runs without any problems at all and works like a dream, for as long as I want. Frame rate about 17 - 25 FPS

Most of the time it takes ages to start (2 - 3 mins)
Then if I put the cursor at the bottom of the screen to open the control panel I will have to wait about 2 mins for the panel to pop up.
Then if I click something I have to wait another two mins for it to happen
This long wait it true for any thing I do
It takes about 4 mins to close, two to wait for the panel to open and two more after clicking the close button

Its not the frame rate is self I am talking about its the resulting inability to use it when in that state.

Hi Matthew,
I have tried --safe-mode switch and there is no change
From the log file I noted :-
          OpenGL supported version: "2.1.2 NVIDIA 280.13"
          Qt GL paint engine is: "OpenGL"
I also suspect that there is something strange going on in the Driver
there are many other random ways that I totally lose control and have to kill the process to get control again
Interestingly I can coax it into life some times by using F11 to put stellarium into a window and drag the window to the other screen and then F11 to put it back into full screen, only some times this will kick it back into life, then it works fine.
I have the latest available driver I know of.

So it looks like its a new PC with a new Graphics card and a modern driver, unless someone can come up with a work around.

Many thanks for your help so far

Revision history for this message
Daniel (bsddmail) said :
#4

PS

Without the --safe-mode option
The Log reports
          OpenGL supported version: "2.1.2 NVIDIA 280.13"
          Qt GL paint engine is: "OpenGL2"

just thought this might be of help

Revision history for this message
Best Matthew Gates (matthew-porpoisehead) said :
#5

Are you running a compositing window manager which does stuff with OpenGL? e.g. desktop effects turned on in KDE, Compiz/Fusion or the latest gnome offering? All of these (and others) can interfere with OpenGL acceleration in applications. It's not a happy state of affairs. To test this idea, you can turn off desktop effects and/or install something like fluxbox and see if it makes a difference.

M

Revision history for this message
Daniel (bsddmail) said :
#6

Hi

The above lead me to some more googling and the many articles regarding Unity/OpenGL and Games not working,
in turn that lead me to trying the Unity 2D option at startup (accessed by clicking the gear on the login box)

This has solved the problem

I can now run Stellarium and it works every time as long as I start up in Unity 2D

Thanks for all your help

Daniel

Revision history for this message
Daniel (bsddmail) said :
#7

Thanks Matthew Gates, that solved my question.