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

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

Open
3 tasks done
trebory6 opened this issue Oct 13, 2024 · 26 comments
Open
3 tasks done

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

trebory6 opened this issue Oct 13, 2024 · 26 comments
Labels
bug Something isn't working

Comments

@trebory6
Copy link

Is there an existing issue for this problem?

  • 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

  • Log file
  • 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 trebory6 added the bug Something isn't working label Oct 13, 2024
@sharkovich
Copy link

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

@CitrusIntellect
Copy link

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

@trebory6
Copy link
Author

trebory6 commented Oct 15, 2024

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
Copy link
Author

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

@dkowis
Copy link

dkowis commented Oct 26, 2024

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
Copy link

dkowis commented Nov 2, 2024

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

@trebory6
Copy link
Author

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 trebory6 reopened this Nov 18, 2024
@mstraciak
Copy link

mstraciak commented Nov 21, 2024

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.

@anarsoul
Copy link
Contributor

Please try if flatpak from #3949 (comment) fixes the issue

@aaravrav
Copy link

@anarsoul It does not.

@aaravrav
Copy link

aaravrav commented Nov 22, 2024

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

@dkowis
Copy link

dkowis commented Nov 22, 2024

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

@aaravrav
Copy link

That's 2.2.0, not 2.2.2

@trebory6
Copy link
Author

trebory6 commented Nov 23, 2024

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.

@aaravrav
Copy link

aaravrav commented Nov 23, 2024

@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.

@trebory6
Copy link
Author

trebory6 commented Nov 24, 2024

@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

@D0m-Sch
Copy link

D0m-Sch commented Nov 26, 2024

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

@trebory6
Copy link
Author

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.

@D0m-Sch
Copy link

D0m-Sch commented Nov 26, 2024

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.

@trebory6
Copy link
Author

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.

@n00b0ss
Copy link

n00b0ss commented Nov 26, 2024

@aaravrav
Copy link

aaravrav commented Dec 1, 2024

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
Copy link

aaravrav commented Dec 1, 2024

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

@stfngnsch
Copy link

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.

@n00b0ss
Copy link

n00b0ss commented Dec 6, 2024

@stfngnsch try add a port to the hostname or IP

@stfngnsch
Copy link

stfngnsch commented Dec 6, 2024

@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:

#7210 (comment)

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

10 participants