SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.07k stars 833 forks source link

LINUX - WAYLAND - NO 3D VIEW AFTER NVIDIA DRIVER UPDATE #6433

Open deddroid opened 2 months ago

deddroid commented 2 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.1.1

Operating System (OS)

Linux

OS Version

Cachyos

Additional system information

Kernel: Linux 6.10.4-2-cachyos CPU: AMD Ryzen 9 3900X (24) @ 4,67 GHz GPU: NVIDIA GeForce RTX 4060 Memory: 15,44 GiB

Printer

FLSUN SR with Speederpad (klipper)

How to reproduce

open the .appimage

Actual results

can't see nothing in the right border of the screen (where the stl have the 3d view)

Expected results

normally the screen load every panels

Project file & Debug log uploads

THE LOG:

[2024-08-12 11:42:16.015638] [0x00007c8c48b9ab80] [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:16702): Gtk-CRITICAL **: 11:42:16.524: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.524: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.524: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.524: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.524: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.525: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.525: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.525: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.525: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.525: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.526: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.526: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.527: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.527: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.528: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.528: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.529: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.529: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.530: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.530: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.531: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.531: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:16.531: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.531: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.691: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.694: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.700: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.700: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.700: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.795: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.795: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.804: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.804: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.807: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.807: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.813: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.813: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.819: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.819: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.825: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.825: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.831: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.831: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.836: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.836: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): CRITICAL : 11:42:16.872: Cannot register URI scheme wxfs more than once

(orca-slicer:16702): CRITICAL : 11:42:16.872: Cannot register URI scheme memory more than once

(orca-slicer:16702): CRITICAL : 11:42:16.987: Cannot register URI scheme wxfs more than once

(orca-slicer:16702): CRITICAL : 11:42:16.987: Cannot register URI scheme memory more than once

(orca-slicer:16702): CRITICAL : 11:42:16.991: Cannot register URI scheme wxfs more than once

(orca-slicer:16702): CRITICAL : 11:42:16.991: Cannot register URI scheme memory more than once

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:16.996: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.005: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.006: gtk_window_resize: assertion 'width > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.006: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.058: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.058: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.058: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.059: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.059: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.059: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.060: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.060: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.060: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.060: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.061: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.061: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.063: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.063: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.063: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.177: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.177: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.177: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.178: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.178: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.178: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.179: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.179: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.179: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.180: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.180: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.180: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.181: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.181: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.181: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.402: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.402: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.402: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.402: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.402: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.403: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.403: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.404: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.405: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.405: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.406: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.406: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.409: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.409: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.410: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.410: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:17.410: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.410: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.436: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.436: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.436: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.437: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.437: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.437: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.446: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.446: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.453: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.453: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.453: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.454: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.454: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.454: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.454: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.454: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.458: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.458: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.458: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.463: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.464: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.464: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.464: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.472: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.472: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.472: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.473: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.473: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.473: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.874: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:17.874: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.814: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.814: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.815: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.815: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed Failed to create GBM buffer of size 1567x1099: Invalid argument

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.822: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.822: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.823: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.823: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.827: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.827: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.829: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.829: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:16702): GLib-GObject-CRITICAL **: 11:42:18.829: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:16702): Gtk-CRITICAL **: 11:42:18.829: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

Checklist of files to include

Anything else?

Schermata_20240812_114348

nicman23 commented 2 months ago

i have been dealing with this as well. slicing works and even uploading the gcode, even if you cannot see anything

spusuf commented 2 months ago

Same issue with nvidia 560 on arch with 4070ti

fivetide commented 2 months ago

same, but with nouveau, not proprietary drivers. Could it be a wayland issue?

python-pywayland 0.4.18-1
qt5-wayland 5.15.14+kde+r59-1
qt6-wayland 6.7.2-4
wayland 1.23.0-1
wayland-protocols 1.36-1
xorg-xwayland 24.1.2-1
xwaylandvideobridge 0.4.0-2

linux 6.10.4.arch2-1
linux-api-headers 6.10-1
linux-firmware 20240809.59460076-1
linux-headers 6.10.4.arch2-1
linux-lts-headers 6.6.45-1
syslinux 6.04.pre2.r11.gbf6db5b4-4
util-linux 2.40.2-1
util-linux-libs 2.40.2-1

vulkan-headers 1:1.3.285-1
vulkan-icd-loader 1.3.285-1
vulkan-intel 1:24.1.5-2
vulkan-mesa-layers 1:24.1.5-2
vulkan-nouveau 1:24.1.5-2
vulkan-tools 1.3.269-1
vulkan-validation-layers 1.3.275-1
GyrasS commented 2 months ago

tried it on x11 with the same result, so it's more likely to do with the gpu drivers

nicman23 commented 2 months ago

i switched to a different vt and startx. it worked fine there, so it is not an general issue with orca but rather something with wayland.

i am running self compiled master

deddroid commented 2 months ago

is there a workaround?

deddroid commented 2 months ago

usually for this type of problems i prefer flatpak packages, but orca didnt have a flatpak version

Nathan22211 commented 2 months ago

what DE are you running? because there's a lot of different wayland implementations out there right now

deddroid commented 2 months ago

I am on KDE Plasma 6.1.4

ereenke commented 2 months ago

I have the same situation with no 3D view. Switching from Wayland to X11 fixes the problem.

CachyOS linux (arch based) KDE 6.1.4 NVIDIA 560.31.02

ktw commented 2 months ago

Same here: Fedora 40, 64 bit Gnome 46 / Wayland NVIDIA 560.31.02 Card: 1080 TI

deddroid commented 2 months ago

from "journalctl -xe" this is what I read:

"Unità tmp-.mount_OrcaSllmdoUY.mount entrata con successo nello stato 'dead' (morto). ago 19 20:54:17 cachyos-x8664 kwin_wayland[134599]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11 ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11 ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11 ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: Failed to focus 0x4c00037 (error 3) ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: Failed to focus 0x4c00037 (error 3) ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: Failed to focus 0x4c00037 (error 3) ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: XCB error: 3 (BadWindow), sequence: 12380, resource id: 79691831, major code: 129 (SHAPE), > ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: XCB error: 3 (BadWindow), sequence: 12381, resource id: 79691831, major code: 129 (SHAPE), > ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: XCB error: 3 (BadWindow), sequence: 12394, resource id: 79691831, major code: 129 (SHAPE), > ago 19 20:54:18 cachyos-x8664 kwin_wayland[134599]: kwin_core: XCB error: 3 (BadWindow), sequence: 12395, resource id: 79691831, major code: 129 (SHAPE), > ago 19 20:56:24 cachyos-x8664 systemd[997]: Reload requested from client PID 146083 ('systemctl') (unit app-org.kde.konsole@17dfee98acb04d88b399a6a212970f> ago 19 20:56:24 cachyos-x8664 systemd[997]: Reloading... ago 19 20:56:24 cachyos-x8664 systemd-xdg-autostart-generator[146089]: /home/cachy/.config/autostart/discover_overlay.desktop: stat() failed, ignoring: No> ago 19 20:56:24 cachyos-x8664 systemd-xdg-autostart-generator[146089]: /home/cachy/.config/autostart/discover_overlay_configure.desktop: stat() failed, ig> ago 19 20:56:24 cachyos-x8664 systemd[997]: Reloading finished in 166 ms. ago 19 20:56:24 cachyos-x8664 kernel: orcaslicer_main[146095]: segfault at 6fdf ip 00005a16cc3dbe74 sp 00007ffe3c35a7b8 error 4 in orca-slicer[3be9e74,5a1> ago 19 20:56:24 cachyos-x8664 kernel: Code: 0f 83 48 ff ff ff 44 89 d3 eb bf 0f 1f 00 48 03 45 10 e9 d3 fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40> ago 19 20:56:24 cachyos-x8664 systemd[1]: tmp-.mount_OrcaSluNEbkP.mount: Deactivated successfully. ░░ Subject: Unità terminata ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ Unità tmp-.mount_OrcaSluNEbkP.mount entrata con successo nello stato 'dead' (morto).

"

amdavidson commented 1 month ago

Same for me, happened with the 560 driver update and is consistent on Arch and Fedora.

This issue also exists on the bambu studio side of things: https://github.com/bambulab/BambuStudio/issues/4669

deddroid commented 1 month ago

with last nvidia driver update it seems tro work again

nvidia driver: 560.35.03 cachyos kde 6

nicman23 commented 1 month ago

no it does not.... arch linux 560.35.03

xPakrikx commented 1 month ago

Same problem on Fedora 40.

amdavidson commented 1 month ago

arch / nvidia-dkms 560.35.03 / plasma 6.1-1 / wayland still has the same issue.

downgrading to nvidia-dkms 555.58.02-1 corrects it again.

spusuf commented 1 month ago

Since this is an issue that is present in upstream BambuSlicer, I checked their issue repo and the solution is to add the following environment variables to enable software rendering (until the bug is resolved): __GLX_VENDOR_LIBRARY_NAME=mesa and __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

Tested working on Arch with Nvidia 560.35.03 on GNOME wayland.

mikezila commented 1 month ago

That does work for me on Arch with the latest Nvidia drivers. KDE 6, Wayland.

nicman23 commented 1 month ago

wtf how does that even make sense? does it switch to llvmpipe?

e: yes

harry42203 commented 1 week ago

Since this is an issue that is present in upstream BambuSlicer, I checked their issue repo and the solution is to add the following environment variables to enable software rendering (until the bug is resolved): __GLX_VENDOR_LIBRARY_NAME=mesa and __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json

Tested working on Arch with Nvidia 560.35.03 on GNOME wayland.

How do I set these, will it be set for just orca or is it generally enabling software rendering for everything?

amdavidson commented 1 week ago

if you edit your .desktop file you can add the environment vars to just orcaslicer. Attached is an image of the editor in Plasma. image