Public bug reported:

$ 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

When using Wayland, I expect the application to display a window with
controls and sky display. Instead a blank window with a black background
is displayed.  There are no controls or sky displayed.  Running under
x-org works as expected.

Graphics:
OpenGL version string: 4.6.0 NVIDIA 510.60.02

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)

** Affects: stellarium (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Just displays a blank window
+ Just displays a blank window using Wayland

** Summary changed:

- Just displays a blank window using Wayland
+ Just displays a blank window when running on Wayland

** Description changed:

  $ 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
+   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.
  
+ Graphics:
+ OpenGL version string: 4.6.0 NVIDIA 510.60.02
+ 
+ 
  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"
+   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)

** Description changed:

  $ 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.
+ When using Wayland, 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 under x-org works as expected.
  
  Graphics:
  OpenGL version string: 4.6.0 NVIDIA 510.60.02
- 
  
  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)

** Description changed:

  $ 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
  
- When using Wayland, 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 under x-org works as expected.
+ When using Wayland, I expect the application to display a window with
+ controls and sky display. Instead a blank window with a black background
+ is displayed.  There are no controls or sky displayed.  Running under
+ x-org works as expected.
  
  Graphics:
  OpenGL version string: 4.6.0 NVIDIA 510.60.02
  
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967698

Title:
  Just displays a blank window when running on Wayland

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stellarium/+bug/1967698/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to