Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

black screen on Wayland/Sway, with QT5

Open swordhui opened this issue 3 years ago • 1 comments

Describe the bug I compiled Celestia from source code on my linux system which runing wayland/sway. the main window showed up but nothing is rendered. it's same with or without -DENABLE_GLES=ON.

To Reproduce Steps to reproduce the behavior:

  1. install wayland/wlroots/sway
  2. install qt5 with wayland support
  3. compile Celestia with -DENABLE_GLES=ON
  4. run celestia-qt5 on wayland/sway

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. 3c31100bebcb4d918c05b626ef8e0b4 9cbe748151fe8fcd600bcef67c639fc 0cfd4d1d6fcf1c11173f5d127aff57c a43ac6ea60834cd2f127a55ea235d4a

Desktop (please complete the following information):

  • OS: [e.g. GNU/Linux, Windows, macOS]
  • Frontend: [e.g. Qt, native Win, native Mac]
  • Version: [e.g. 1.7.0]

Additional context Add any other context about the problem here.

swordhui avatar Oct 10 '20 04:10 swordhui

i think the problem is with legacy GL widget, unfortunately recommended to use one has a lot of issues in fullscreen mode.

375gnu avatar Oct 10 '20 12:10 375gnu

@swordhui for quite a while we use QOpenGLWidget which should work in OpenGL ES mode and so it should be compatible with Wayland. Could you check?

You can also check it with Qt6.

375gnu avatar Oct 25 '22 21:10 375gnu

it seems that wayland is working now, sop closing this

375gnu avatar Jan 15 '23 10:01 375gnu