OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Crashing on Linux. Again. Old fix no longer works.

Open trebory6 opened this issue 1 year ago • 27 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

OrcaSlicer Version

2.2.0 Beta

Operating System (OS)

Linux

OS Version

Nobara Linux 40 (KDE Plasma) x86_64

Additional system information

Kernel: 6.11.3-200.fsync.fc40.x86_64 Uptime: 4 hours, 23 mins Packages: 3286 (rpm), 55 (flatpak) Shell: bash 5.2.26 Resolution: 2560x1440 DE: Plasma 6.2.0 WM: kwin CPU: AMD Ryzen 5 5600X (12) @ 4.651GHz GPU: NVIDIA GeForce RTX 4070 SUPER Memory: 32009MiB

Printer

Elegoo Neptune 3 Pro

How to reproduce

Trying to open v2.2.0 Beta on Linux after recent package updates results in immediate crash of Orca Slicer.

Actual results

Trying to open v2.2.0 Beta on Linux after recent package updates results in immediate crash of Orca Slicer.

Expected results

Open and use Orca Slicer without issue.

Project file & Debug log uploads

Ultimate Drybox.zip

debug_Sun_Oct_13_15_.zip

Checklist of files to include

  • [X] Log file
  • [X] Project file

Anything else?

So originally the steps in this reddit post worked to fix the issue. At some point recently it no long works and now crashes as it did before.

Log File consists of the following:

[error] 2024-10-13 15:37:06.440864[Thread 0x00007ffb62ef1700]:calc_exclude_triangles:Unable to create exclude triangles [warning] 2024-10-13 15:37:06.686551[Thread 0x00007ffb62ef1700]:03:37:06 PM: Warning: Error running JavaScript: Unsupported result type [warning] 2024-10-13 15:37:06.692066[Thread 0x00007ffb62ef1700]:03:37:06 PM: Warning: Error running JavaScript: Unsupported result type [warning] 2024-10-13 15:37:06.692606[Thread 0x00007ffb62ef1700]:03:37:06 PM: Warning: Error running JavaScript: Unsupported result type [warning] 2024-10-13 15:37:06.734383[Thread 0x00007ffb62ef1700]:03:37:06 PM: Warning: Error running JavaScript: Unsupported result type [error] 2024-10-13 15:37:08.130639[Thread 0x00007ffb62ef1700]:calc_exclude_triangles:Unable to create exclude triangles

trebory6 avatar Oct 13 '24 22:10 trebory6

For me OrcaSlicer also stopped working today. Opens up, worsk for like 5seconds then hangs and closes. Console says segmentation fault. Worked fine just few hours earlier till the system auto update kicked in. 2.2.0-rc from AppImage. Did a rollback and we are back to normal. Please let me know what could I provide.

Operating System: Bazzite 40
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.9.12-210.fsync.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2
Manufacturer: ASUS

sharkovich avatar Oct 14 '24 18:10 sharkovich

Same issue on Arch Linux, I am 99% sure an nvidia GPU causes the issue as on my other device with an AMD GPU, there are no issues

citr0net avatar Oct 15 '24 00:10 citr0net

Same issue on Arch Linux, I am 99% sure an nvidia GPU causes the issue as on my other device with an AMD GPU, there are no issues

Yeah it's something to do with the Nvidia GPU and the Webkit that Orca uses, since the previous fix had you installing a specific webkit and forcing Orca to use it. Super frustrating as it has been an issue for a while now(#5171, #1841, #3479) with no movement on an official fix.

trebory6 avatar Oct 15 '24 01:10 trebory6

I will add that downgrading to 2.1.1 seems to still work with the linked WebKit fix.

trebory6 avatar Oct 15 '24 01:10 trebory6

I am using the 2.1.1 official version, and I have to do the linked Webkit fix:

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json ./OrcaSlicer_Linux_V2.1.1.AppImage

I'm on Pop!_OS 22.04 LTS x86_64 Kernel: 6.9.3-76060903-generic CPU: AMD Ryzen 9 3950X (32) @ 3.500GHz GPU: NVIDIA GeForce RTX 3080 Ti

I think it started happening with the latest version of the nvidia drivers: nvidia-driver-560

dkowis avatar Oct 26 '24 02:10 dkowis

Still happens on 2.2.2, but the EGL fix is usable.

dkowis avatar Nov 02 '24 18:11 dkowis

This was working for a while, but for some reason does not work anymore.

Here is the errors I get when I run it from the terminal:

/usr/bin/AppImageLauncher: /lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-gnu/appimagelauncher/libappimageupdate.so)
[2024-11-17 19:40:53.648131] [0x00007fb354a867c0] [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:31393): Gtk-CRITICAL **: 19:41:33.305: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.305: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.305: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.305: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.306: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.306: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.306: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.306: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.307: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.307: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.307: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.307: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.308: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.308: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.309: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.309: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.310: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.310: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.310: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.310: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.311: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.311: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.311: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.311: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.312: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.312: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.312: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.312: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.346: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.348: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.354: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.354: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.354: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.449: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.449: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.456: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.459: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.459: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.464: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.464: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.469: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.469: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.474: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.474: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.479: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.479: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.482: gtk_widget_set_size_request: assertion 'width >= -1' failed

** (orca-slicer:31393): CRITICAL **: 19:41:33.519: Cannot register URI scheme wxfs more than once

** (orca-slicer:31393): CRITICAL **: 19:41:33.519: Cannot register URI scheme memory more than once

** (orca-slicer:31393): CRITICAL **: 19:41:33.616: Cannot register URI scheme wxfs more than once

** (orca-slicer:31393): CRITICAL **: 19:41:33.616: Cannot register URI scheme memory more than once

** (orca-slicer:31393): CRITICAL **: 19:41:33.624: Cannot register URI scheme wxfs more than once

** (orca-slicer:31393): CRITICAL **: 19:41:33.624: Cannot register URI scheme memory more than once

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.630: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.638: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.639: gtk_window_resize: assertion 'width > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.639: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.678: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.679: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.679: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.679: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.679: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.679: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.680: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.680: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.680: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.681: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.681: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.681: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.684: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.684: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.684: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.784: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.784: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.784: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.785: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.785: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.785: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.786: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.786: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.786: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.787: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.787: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.787: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.788: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.789: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.789: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.894: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:33.895: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:33.895: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.050: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.050: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.050: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.050: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.050: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.050: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.051: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.051: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.051: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.051: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.051: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.051: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.051: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.052: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.052: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.052: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.052: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.053: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.053: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.053: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.054: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.054: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.054: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.054: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:34.054: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.054: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.055: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.055: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.055: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.079: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.081: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.095: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.095: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.095: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.095: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.096: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.096: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.096: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.096: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.099: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.104: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.104: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.104: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.105: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.112: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.112: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.355: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.355: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.355: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:34.355: gtk_widget_set_size_request: assertion 'width >= -1' failed
No such file or directory

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.962: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.962: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.962: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.962: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.966: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.966: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.966: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.966: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.966: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.966: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.968: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.968: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.970: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.970: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.970: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.970: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:31393): GLib-GObject-CRITICAL **: 19:41:35.970: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:31393): Gtk-CRITICAL **: 19:41:35.970: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

trebory6 avatar Nov 18 '24 03:11 trebory6

i have the same issue. i have mxlinux (debian 11) for me works uninstall libwebkit2gtk-4.0-37 and libjavascriptcoregtk-4.0-18 packages. manualy install these packages:

libjavascriptcoregtk-4.0-18_2.44.2-1~deb11u1_amd64.deb

libwebkit2gtk-4.0-37_2.44.2-1~deb11u1_amd64.deb

probably package libwebkit2gtk-4.0-37_2.46.3 is incompatible with orcaslicer appimage.

mstraciak avatar Nov 21 '24 16:11 mstraciak

Please try if flatpak from https://github.com/SoftFever/OrcaSlicer/issues/3949#issuecomment-2483844840 fixes the issue

anarsoul avatar Nov 22 '24 06:11 anarsoul

@anarsoul It does not.

aaravrav avatar Nov 22 '24 11:11 aaravrav

Still happens on 2.2.2, but the EGL fix is usable.

I can't seem to find the "2.2.2" version, although I did try this with 2.2.0 and 2.1.1, with all of them crashing instantly or after clicking a few buttons. Where is the 2.2.2 version?

Although, 1.9.0 is usable (at the least) with the following environment variables:

__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json WEBKIT_DISABLE_COMPOSITING_MODE=1

aaravrav avatar Nov 22 '24 12:11 aaravrav

Still happens on 2.2.2, but the EGL fix is usable.

I can't seem to find the "2.2.2" version, although I did try this with 2.2.0 and 2.1.1, with all of them crashing instantly or after clicking a few buttons. Where is the 2.2.2 version?

https://github.com/SoftFever/OrcaSlicer/releases/tag/v2.2.0

dkowis avatar Nov 22 '24 15:11 dkowis

That's 2.2.0, not 2.2.2

aaravrav avatar Nov 23 '24 12:11 aaravrav

So this is a bit of a workaround but I just got a Saturn 4 Ultra and I needed to print some stuff for an HVAC/Ventilation setup so I can start printing ASAP and I got absolutely fed up with the constant issues that OrcaSlicer has on anything other than Ubuntu and brute forced my way into finding a way to get Orcaslicer to run reliably on my Fedora desktop.

Theoretically this should work on any distro, including incompatible versions of Ubuntu, since it uses Distrobox to create a Ubuntu 22.04 terminal environment with known compatibility and known working dependencies and runs a compiled version from there.

With Environment Variables I was able to get OrcaSlicer 60% working with occasional crashes and with some things that just didn't work like viewing the devices tab. The way I've now done it now has no crashes(so far) and everything works the way it's supposed to. ONLY slight issue is that I've noticed that viewing things in 3D isn't as smooth, so if you move it around it feels like low FPS. But it doesn't crash and slices perfectly so I'll take the win.

I wrote a tutorial on Reddit here explaining the process. Forgive the crudeness, I was working on a lack of sleep and months of built up frustration at constantly fighting with Orcaslicer for a semblance of stability, and I'm mostly self taught so admittedly I'm not an expert.

trebory6 avatar Nov 23 '24 18:11 trebory6

@trebory6 Following your procedure, running ./BuildLinux.sh -dsir gets

[1/130] Performing patch step for 'dep_OpenEXR'
FAILED: dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch 
cd /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR && /usr/bin/git apply --verbose --ignore-space-change --whitespace=fix /home/aarav/Downloads/OrcaSlicer/deps/OpenEXR/0001-OpenEXR-GCC13.patch && /usr/bin/cmake -E touch /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch
fatal: unknown style 'zdiff3' given for 'merge.conflictstyle'

...

[10/130] Creating directories for 'dep_OpenSSL'
ninja: build stopped: subcommand failed.

aaravrav avatar Nov 23 '24 22:11 aaravrav

@trebory6 Following your procedure, running ./BuildLinux.sh -dsir gets

[1/130] Performing patch step for 'dep_OpenEXR'
FAILED: dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch 
cd /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR && /usr/bin/git apply --verbose --ignore-space-change --whitespace=fix /home/aarav/Downloads/OrcaSlicer/deps/OpenEXR/0001-OpenEXR-GCC13.patch && /usr/bin/cmake -E touch /home/aarav/Downloads/OrcaSlicer/deps/build/dep_OpenEXR-prefix/src/dep_OpenEXR-stamp/dep_OpenEXR-patch
fatal: unknown style 'zdiff3' given for 'merge.conflictstyle'

...

[10/130] Creating directories for 'dep_OpenSSL'
ninja: build stopped: subcommand failed.

The error fatal: unknown style 'zdiff3' given for 'merge.conflictstyle' typically occurs when the merge.conflictstyle=zdiff3 configuration option is set in Git, but the version of Git being used does not support the zdiff3 merge style. The zdiff3 merge style was introduced in Git 2.39, so using an older version of Git (pre-2.39) can lead to this error.

If all else fails, you can delete the distrobox, delete the git clone, and try again. That's the good thing about Distrobox is that it's contained, so every time it's a fresh slate.

I'm running git version 2.34.1 within the Ubuntu 22.04 container. Make sure you're running the right version by running this command while inside your Ubuntu distrobox:

git --version

trebory6 avatar Nov 24 '24 00:11 trebory6

It doesn't work on Ubuntu-Studio 24.04 either. Same crash even with the special Ubuntu version of the .AppImage.

D0m-Sch avatar Nov 26 '24 00:11 D0m-Sch

It doesn't work on Ubuntu-Studio 24.04 either. Same crash even with the special Ubuntu version of the .AppImage.

I will say that the tutorial I linked is confirmed, at least on my own personal end, to work with the Ubuntu 22.04 Distrobox terminal environment. Haven't tested it on anything other than my Linux system, but I can't see why it wouldn't work for other distros.

trebory6 avatar Nov 26 '24 00:11 trebory6

I will give it at try when I have time. But having to find a workaround misses a bit the point, doesn't it. Especially since there is a specific Ubuntu2404 version of the software. And who knows how long the current workaround will work. I personally have a separate SSD with Win10 and it works just fine with that setup. But, I wouldn't call that an acceptable solution.

D0m-Sch avatar Nov 26 '24 02:11 D0m-Sch

I mean, theoretically the workaround I linked to should work indefinitely since it's technically Ubuntu 22.04 being run inside a terminal container. You can update your OS all you want, but the container will remain version 22.04.

And trust, me I know. Orcaslicer's linux support definitely needs improvement, but I am of the "Fine, I'll do it myself" mentality.

trebory6 avatar Nov 26 '24 03:11 trebory6

https://myside-yourside.net/@StarkRG/113526784879479099

n00b0ss avatar Nov 26 '24 05:11 n00b0ss

The error fatal: unknown style 'zdiff3' given for 'merge.conflictstyle' typically occurs when the merge.conflictstyle=zdiff3 configuration option is set in Git, but the version of Git being used does not support the zdiff3 merge style. The zdiff3 merge style was introduced in Git 2.39, so using an older version of Git (pre-2.39) can lead to this error.

If all else fails, you can delete the distrobox, delete the git clone, and try again. That's the good thing about Distrobox is that it's contained, so every time it's a fresh slate.

I'm running git version 2.34.1 within the Ubuntu 22.04 container. Make sure you're running the right version by running this command while inside your Ubuntu distrobox:

git --version

Nope, it does not work on the version. You need to update git first, using the following commands:

sudo apt-get install software-properties-common 
sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update # this will update git if you already have it. Install git if you don't already

aaravrav avatar Dec 01 '24 05:12 aaravrav

Can confirm it works, but it is terribly slow. This is because distrobox by default does not have access to your GPU. Now for me, if I try to add my gpu to distrobox (the way it is supposed to be added), it fails to do so. Even if it could, I fear that due to nvidia orca-slicer would crash again

aaravrav avatar Dec 01 '24 06:12 aaravrav

My problems are only related to network issues. Without adding the Hostname or IP for my physical printer, the slicer does not crash. When I add a remote connection, it crashes within 5 seconds.

stfngnsch avatar Dec 06 '24 08:12 stfngnsch

@stfngnsch try add a port to the hostname or IP

n00b0ss avatar Dec 06 '24 08:12 n00b0ss

@stfngnsch try add a port to the hostname or IP

Thank you very much, this kinda works. 7125 is the port for moonraker. Now I can slice and upload without crashing. But I can not access to moonrakers front end.

This solution was already presented here:

https://github.com/SoftFever/OrcaSlicer/issues/7210#issuecomment-2440350811

stfngnsch avatar Dec 06 '24 09:12 stfngnsch

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Mar 07 '25 00:03 github-actions[bot]

Orca bot: This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Mar 15 '25 00:03 github-actions[bot]

I have Ubuntu 25.04, and the Orca Slicer crashes immediately after loading. The first time I opened it after installation, it was stable, but the second time, it crashed immediately after the page opened.

[error]	2025-05-27 22:52:30.458302[Thread 0x00007cf85e1ff6c0]:Unable to open connection to spacenavd
[error]	2025-05-27 22:52:30.459976[Thread 0x00007cf85d1fd6c0]:DBus Request name Error: org.freedesktop.DBus.Error.ServiceUnknown
[error]	2025-05-27 22:52:30.459996[Thread 0x00007cf85d1fd6c0]:Dbus Messages listening terminating.
[error]	2025-05-27 22:52:30.787733[Thread 0x00007cf8e3bab3c0]:calc_exclude_triangles:Unable to create exclude triangles
[warning]	2025-05-27 22:52:31.154050[Thread 0x00007cf8e3bab3c0]:10:52:31 PM: Warning: Error running JavaScript: Unsupported result type
[warning]	2025-05-27 22:52:31.156120[Thread 0x00007cf8e3bab3c0]:10:52:31 PM: Warning: Error running JavaScript: Unsupported result type
[warning]	2025-05-27 22:52:31.157144[Thread 0x00007cf8e3bab3c0]:10:52:31 PM: Warning: Error running JavaScript: Unsupported result type
[warning]	2025-05-27 22:52:31.166119[Thread 0x00007cf8e3bab3c0]:10:52:31 PM: Warning: Error running JavaScript: Unsupported result type
[error]	2025-05-27 22:52:31.832679[Thread 0x00007cf8e3bab3c0]:calc_exclude_triangles:Unable to create exclude triangles

ztobs avatar May 27 '25 20:05 ztobs

im currently experiencing this with the latest fedora and updates i have a amd cpu with amd igpu and nvidia dgpu fedora is using hybrid graphics. im not sure where to go from here

EDIT: it seems that using my integrated graphic card works fine

ramonskie avatar Sep 22 '25 14:09 ramonskie