Stellarium won't start after upgrade to Ubuntu Linux 22.04.5

58 views
Skip to first unread message

Troy Galebach

unread,
Aug 11, 2025, 11:38:47 AMAug 11
to Stellarium
Has anyone else seen this issue?  After my upgrade of Ubuntu to 22.04 Stellarium will no longer start. installing the latest snap doesn't clear up the issue either.
Regards,
Troy

Paul Gilmartin

unread,
Aug 11, 2025, 12:00:31 PMAug 11
to stell...@googlegroups.com
On 8/11/25 09:24, Troy Galebach wrote:
> Has anyone else seen this issue?  After my upgrade of Ubuntu to 22.04 Stellarium will no longer start. installing the latest snap doesn't clear up the issue either.
> ...
o What command are you using to start it?
Can you try "type stellarium">
o What error messages do you see?
o What do you see in log.txt?

--
gil

Michael Kibat

unread,
Aug 23, 2025, 11:34:14 AMAug 23
to Stellarium
I too have this problem. My shortcut is pinned to my and when I select it it highlights for a second, then nothing ever appears on the screen. My log file reads:

2025-08-22T11:20:00
Operating System: Ubuntu 24.04.3 LTS
Compiled using GCC 13.2.0
Qt runtime version: 5.15.13
Qt compilation version: 5.15.13
Addressing mode: 64-bit
MemTotal:       16169820 kB
MemFree:        11007356 kB
MemAvailable:   13116832 kB
SwapTotal:       3905532 kB
model name : Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
cpu MHz : 1197.760
model name : Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
cpu MHz : 1462.486
model name : Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
cpu MHz : 1348.772
model name : Intel(R) Core(TM) i5 CPU         650  @ 3.20GHz
cpu MHz : 1492.171
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Kernel driver in use: i915
Kernel modules: i915
/usr/bin/stellarium -f no
 -------------------------------------------------------------
[ This is Stellarium 24.4 (v24.4.0) - https://stellarium.org/ ]
[ Copyright (C) 2000-2024 Stellarium Developers               ]
 -------------------------------------------------------------
Writing log file to: /home/kibatme/.stellarium/log.txt
File search paths:
 [0]: /home/kibatme/.stellarium
 [1]: /usr/share/stellarium
Config file: /home/kibatme/.stellarium/config.ini
Default surface format:  QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
OpenGL module type: desktop OpenGL
Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing.
Default surface format:  QSurfaceFormat(version 3.3, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile)
OpenGL module type: desktop OpenGL
StelGLWidget constructor
StelGraphicsScene constructor
QWaylandGLContext: failed to create EGLContext, error=3009
QOpenGLWidget: Failed to create context
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::save: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::setWorldTransform: Painter not active
QPainter::end: Painter not active, aborted
QWaylandGLContext: failed to create EGLContext, error=3009
QWaylandGLContext: failed to create EGLContext, error=3009
qt.qpa.backingstore: composeAndFlush: QOpenGLContext creation failed

Georg Zotti

unread,
Aug 23, 2025, 11:36:35 AMAug 23
to Stellarium
I see an error around wayland. On some systems (and I guess your 15-year old) you must force X11.

Alexander V. Wolf

unread,
Aug 23, 2025, 11:37:43 AMAug 23
to stell...@googlegroups.com
Please try to use package from our PPA

With best regards, Alexander Wolf.


Сб, 23 авг. 2025 г. в 22:36, Georg Zotti <georg...@univie.ac.at>:
--
You received this message because you are subscribed to the Google Groups "Stellarium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stellarium+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/stellarium/4eead14c-85c2-4222-93d9-18e2d3112d14n%40googlegroups.com.

Paul Gilmartin

unread,
Aug 23, 2025, 12:26:51 PMAug 23
to stell...@googlegroups.com
On 8/23/25 09:29, Michael Kibat wrote:
> I too have this problem. My shortcut is pinned to my and when I select it it highlights for a second, then nothing ever appears on the screen. My log file reads:
>
> 2025-08-22T11:20:00
> Operating System: Ubuntu 24.04.3 LTS
> ...
> /usr/bin/stellarium -f no
> ...
Is an Ubuntu "shortcut" like a POSIX symbolic link?
Guided by the meager information in :
5.1.2 macOS
installation directory This is found inside the application bundle, Stellarium.app. See The
Anatomy of macOS App Bundles4 or Bundle Programming Guide5 for more information.
4https://www.maketecheasier.com/anatomy-macos-app-bundles/

To avoid typing a long command, I tried creating a symbolic link:
506 $ ls -l bin/stellarium
lrwxr-xr-x 1 paulgilm admin 54 Dec 29 2024 bin/stellarium -> /Applications/Stellarium.app/Contents/MacOS/stellarium

I saw no reason that should not have worked, but repeatably:
507 $ bin/stellarium
[ 0.003][WARN] Could not find the Qt platform plugin "cocoa" in ""
[ 0.003][FATAL] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Abort trap: 6 bin/stellarium

I have alternatives, but I suspect this surprise could
be mitigated by adding early in startup something similar to:
argv[ 0 ] = realpath( argv[ 0 ], NULL );

... but I haven't the coding skill to try a build or even to find
the point in the source where such a change could be made.

--
Thanks,
gil

Michael Kibat

unread,
Aug 23, 2025, 12:29:30 PMAug 23
to stell...@googlegroups.com
Thanks for the advice, Alexander. I did add your PPA and reinstalled to version 25.2. Same problem.

HOWEVER, when I right click on the pinned icon I see multiple options for launching, and selecting 'Open with QPA platform XCB' it loads right up and works just fine...problem solved.

--Mike
You received this message because you are subscribed to a topic in the Google Groups "Stellarium" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/stellarium/rgNKfvEqi_o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stellarium+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/stellarium/CAMbJEmUAcNXqQEiWTbKJv4iCm2L5uRCrqZwbTiVSRwsMZer_eQ%40mail.gmail.com.

Jonathan Roumie

unread,
Aug 24, 2025, 6:09:08 PMAug 24
to stell...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages