I have a freshly installed Raspberry Pi OS on my Raspberry Pi 3 Model B. According to cat /proc/device-tree/model
, the OS name is "Raspbian GNU/Linux 10 (buster)". I have installed Stellarium 0.18.3 from the default repositories (sudo apt-get install stellarium
). When I start Stellarium, it starts in full screen, and the frame rate is very low — around 1 fps, which is unusable.
I found that I could increase the frame rate by reducing the size of the Stellarium window, so in ~/.stellarium/config.ini
, I configured:
fullscreen = false
screen_h = 480
screen_w = 640
With this change, Stellarium runs at around 5 fps, but this frame rate is still too choppy, and the window size is too small to be comfortable. What is the root problem that is causing Stellarium to be so slow? How can I make it run faster?
Perhaps this has something to do with the graphics drivers? When I start Stellarium from the command line, Stellarium prints some information about the graphics drivers. Excerpt:
OpenGL supported version: "OpenGL ES 3.1 Mesa 19.3.2"
Current Format: QSurfaceFormat(version 3.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, colorSpace QSurfaceFormat::ColorSpace(DefaultColorSpace), profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
StelMainView::init
Detected: OpenGL ES "3.1"
Driver version string: "OpenGL ES 3.1 Mesa 19.3.2"
GL vendor is "VMware, Inc."
GL renderer is "llvmpipe (LLVM 9.0.1, 128 bits)"
GL Shading Language version is "OpenGL ES GLSL ES 3.10"
MESA Version Number detected: 19.3
Mesa version is fine, we should not see a graphics problem.
GLSL ES Version Number detected: 3.1