Comment 0 for bug 1967698

Revision history for this message
Paul Broadhead (pjbroad) wrote : Just displays a blank window

$ lsb_release -rd
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04

$ apt-cache policy stellarium
stellarium:
  Installed: 0.20.4-3
  Candidate: 0.20.4-3
  Version table:
 *** 0.20.4-3 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

I expect the application to display window with controls and sky display. Instead a blank, window with a black background is displayed. There are no controls or sky displayed.

Running from a terminal gives this text:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
 -----------------------------------------------------
[ This is Stellarium 0.20.4 - https://stellarium.org/ ]
[ Copyright (C) 2000-2021 Fabien Chereau et al. ]
 -----------------------------------------------------
Writing log file to: "/home/paul/.stellarium/log.txt"
File search paths:
  0 . "/home/paul/.stellarium"
  1 . "/usr/share/stellarium"
Config file is: "/home/paul/.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)
Desired surface format: QSurfaceFormat(version 2.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
StelGLWidget constructor
StelGraphicsScene constructor
QOpenGLWidget: Failed to make context current
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

Running with QT_QPA_PLATFORM=wayland stellarium core dumps with (non of the suggestions work):
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)