Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on Linux using flatpak, window content is black #8337

Open
1 of 3 tasks
nuxeh opened this issue Feb 6, 2025 · 6 comments
Open
1 of 3 tasks

Running on Linux using flatpak, window content is black #8337

nuxeh opened this issue Feb 6, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@nuxeh
Copy link

nuxeh commented Feb 6, 2025

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

V2.3.0-dev

Operating System (OS)

Linux

OS Version

NixOS

Additional system information

No response

Printer

n/a

How to reproduce

  1. Obtain OrcaSlicer-Linux-flatpak_V2.3.0-dev.flatpak from github releases page
  2. run flatpak --user install ~/Downloads/OrcaSlicer-Linux-flatpak_V2.3.0-dev.flatpak
  3. run flatpak --user run io.github.softfever.OrcaSlicer

Actual results

Image

Expected results

Program runs correctly

Project file & Debug log uploads

$ flatpak --user run io.github.softfever.OrcaSlicer

Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/ed/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

[2025-02-06 22:03:05.051265] [0x00007f6f7bf933c0] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.399: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.400: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.403: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.405: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.406: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.407: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.408: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.409: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.410: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.410: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.534: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.538: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.538: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.539: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.547: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.548: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.548: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.634: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.634: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.644: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.644: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.647: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.647: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.654: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.654: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.661: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.661: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.667: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.667: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.674: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.674: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.679: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.679: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): GLb-GObject-CRITICAL **: 22:03:05.714: g_object_set_is_valid_property: object class 'GstPlayer' has no property named 'audio-sink'
** (orca-slicer:2): CRITICAL **: 22:03:05.714: Cannot register URI scheme wxfs more than once
** (orca-slicer:2): CRITICAL **: 22:03:05.714: Cannot register URI scheme memory more than once
** (orca-slicer:2): CRITICAL **: 22:03:05.829: Cannot register URI scheme wxfs more than once
** (orca-slicer:2): CRITICAL **: 22:03:05.829: Cannot register URI scheme memory more than once
** (orca-slicer:2): CRITICAL **: 22:03:05.842: Cannot register URI scheme wxfs more than once
** (orca-slicer:2): CRITICAL **: 22:03:05.842: Cannot register URI scheme memory more than once
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.851: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.862: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.863: gtk_window_resize: assertion 'width > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.863: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.917: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.917: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.917: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.918: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.918: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.918: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.920: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.920: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.920: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.921: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.921: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.921: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.925: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.925: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:05.925: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.045: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.046: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.046: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.047: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.047: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.047: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.048: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.048: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.048: gtk_widget_set_size_request: assertion 'width>= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.049: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.049: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.049: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.052: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.052: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.052: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.325: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.325: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.327: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.328: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.331: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.333: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.334: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.358: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.359: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.376: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.376: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.376: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.377: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.378: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.378: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.378: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.378: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.383: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.389: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.389: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.389: gtk_widget_set_size_request: assertion 'width >= -1' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.390: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.399: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:06.399: gtk_window_resize: assertion 'height > 0' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.910: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.910: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.915: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.917: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.920: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.925: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
(orca-slicer:2): Gtk-CRITICAL **: 22:03:07.925: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
** (orca-slicer:2): CRITICAL **: 22:03:07.934: Cannot register URI scheme wxfs more than once
** (orca-slicer:2): CRITICAL **: 22:03:07.934: Cannot register URI scheme memory more than once

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

@nuxeh nuxeh added the bug Something isn't working label Feb 6, 2025
@Athoskal
Copy link

Athoskal commented Feb 7, 2025

Work around

Switch to x11. 🤢

Getting this as well on flatpak, and appimage. It seems to be related to Wayland/XWayland.

Don't know if this helps but I had the same issue on windows 10 until I let microsoftedgeupdate though a firewall.

OrcaSlicer Version

V2.3.0-dev

Operating System (OS)

Linux

OS Version

Arch, KDE Plasma 6.2.5

Additional system information

Kernel Version: 6.13.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 30XX/PCIe/SSE2
Nvidia driver 570.86.16

@nuxeh
Copy link
Author

nuxeh commented Feb 7, 2025

Oh, thank you. But :/ switching back to X really isn't on the cards due to the problems it would cause elsewhere.

It's a real shame (and unclear what the reason is...) that, of all the major slicers, Orca is the only one I've used which isn't trivial to run as an appimage on Linux. The Orca AppImage has serious issues and it seems the new flatpak still has teething problems. Closest yet, though.

I will probably end up building it myself to finally be able to try Orca.

@Noisyfox
Copy link
Collaborator

Noisyfox commented Feb 8, 2025

export WEBKIT_DISABLE_COMPOSITING_MODE=1 then run the app.

@nuxeh
Copy link
Author

nuxeh commented Feb 8, 2025

export WEBKIT_DISABLE_COMPOSITING_MODE=1 then run the app.

Incredible, that seems to have done the trick. It now works and displays the window contents. Thanks!

@nuxeh
Copy link
Author

nuxeh commented Feb 8, 2025

Can confirm that after the above fix, the flatpak is fully functional, I've tested it quite thoroughly in actual use now

@Athoskal
Copy link

Athoskal commented Feb 9, 2025

Glad it seems to be working for some! still broken on both flatpak and appimage for me. I at least can see the startup wizard now after adding WEBKIT_DISABLE_COMPOSITING_MODE=1 but the main preview still does not render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants