Creality Print 5.1.7 crash on Ubuntu 24.04

Hello,

When I launch Creality Print 5.1.7 AppImage, the software starts but crash in few seconds :

./Creality_Print-v5.1.7.10514-x86_64-Release.AppImage
Initializing StaticPrintConfigsCXBinManager open file size [377984]
parse binary stl …face 7558

parse binary stl success…

Computing bounding box… Done.
x = -3.4333 … 3.4334, y = -3.0001 … 3.0002, z = -0.0046 … 13.7387
Computing bounding box… Done.
x = -57.2188 … 57.2205, y = -49.9992 … 50.0008, z = -0.0766628 … 228.967
Computing bounding box… Done.
x = -3.4333 … 3.4334, y = -3.0001 … 3.0002, z = -0.0046 … 13.7387
Computing bounding box… Done.
x = -3.4333 … 3.4334, y = -3.0001 … 3.0002, z = -0.0046 … 13.7387
XIO: fatal IO error 2 (Aucun fichier ou dossier de ce nom) on X server “:1”
after 741 requests (741 known processed) with 0 events remaining.
terminate called after throwing an instance of ‘std::system_error’
what(): Propriétaire mort
Abandon (core dumped)

Could you investigate for it please ?

I’m using 22.04.
No problems on that. But also have a 24.04 machine. Might try and see what happens.

Was your OS a clean install or upgrade from an older version?

Hi Karl,

Thanks for your reply

My OS is from a clean install.

Linux AppImage creality print on mint 22,it crashes.

My PC is the same age as me.

CPU:i7 -2600

Memory:16GB

Graphics card NVIDIA GeForce GTX 1060 3GB

Graphics card driver: nvidia-driver-550
creality print 5.1.7.10514 …Not working (crashes)
creality print 5.1.6.10470 …Not working (crashes)
creality print 4.3.7.6627 …Working

Graphics card driver: xserver-xorg-video-nouveau
creality print 5.1.7.10514 …Working

So I’m currently removing the nvidia driver.

Hello yuchang,

So, can I assume that that graphics driver is one that Linux selected itself ?
If it is, does anything else you use the computer for suffer by not having an nvidia driver installed ?
If all else runs well, keep 5.1.7.10514 going … don’t contemplate version 6 at this point.

Cheers.

Hi, Radical_Data
It was automatically selected when installing mint,
but I’ve since updated it, so it may have initially been a version earlier than nvidia-driver-550.

As suggested, I will use the xserver-xorg-video-nouveau driver until it starts interfering with other applications.

Regards.

Hello yuchang,

Happy 3D printing.

Cheers.

I am using 22.04 and it is crashing on me with same error

I suspect graphics card related.

  • Run your ubuntu briefly in a standard video setting and see if it runs
  • Or you can ran your OS in safe mode and then see if it works - in both cases if it works it is related to unsupported graphics configuration
  • I had some software over the years whereby I’ve ended up using application specific screen resolution. - Info on how to setup such settings can be found online
  • Also found in regards to nvidia cards there been many problems reported over the years. One sticking point appears to be the support provided (driver) by your specific OS, might not be the latest version available. I found in one case the OS supplied version was about 4 versions behind compared to the official manufacturers version.
    Sometimes you can find the latest version and install it yourself - overwriting the OS supplied version.
  • Yet another possible issue could be system wide scaling settings. - You may have opted for larger fonts and icons when first setting up your OS. If this is set to a system wide custom scale it can interfere with som applications which don’t support such custom scale.

Well I tried my laptop also Ubuntu 20.04, same issue as my desktop and both do have Nvidia graphics cards, they are different models . I updated my driver to the latest listed on Nvidia 550.144.03 still crashes. Booted Live version of Fedora 41 and it works, so it definitely related to Ubuntu

This is a fix for Nvidia people. Forcing use of mesa drivers when running the AppImage works:

env __NV_PRIME_RENDER_OFFLOAD=0 __GLX_VENDOR_LIBRARY_NAME=mesa __VK_LAYER_NV_optimus=NVIDIA_only ./Creality_Print-v5.1.7.10514-x86_64-Release.AppImage

Good luck!

1 Like

this works on fedora 41 as well thank you!

1 Like

Any chance you would be willing to explain where to stick that line of code? New to linux and trying to parse it is giving me a headache… Would really love to not use Mesa drivers for the entire computer just to run this one program.

Thanks!

@Dimitry Copy and paste that while in your Terminal in the same directory as the Creality app. Or you can create a launch script that you can double-click by pasting the command inside a “CrealityPrintLauncher.sh” file (don’t forget to make the first line #!/bin/bash).

@DannyMac Thanks so much! will apply that immediately!

Hey, there are two sections in this line, first section sets some environment variables and the second section executes an application.

This is the first section where we set environment variables, you can save it for future use with other applications as well (if you don’t want that application to use Nvidia):

env __NV_PRIME_RENDER_OFFLOAD=0 __GLX_VENDOR_LIBRARY_NAME=mesa __VK_LAYER_NV_optimus=NVIDIA_only

The second section of the command is where you execute an application, for which you’ve just set a bunch of environment variables. So if you download another version of Creality Print, you only need to change this part of the command:

./Creality_Print-v5.1.7.10514-x86_64-Release.AppImage

Here’s the releases page where you might find newer versions of the AppImage.

Awesome! it works like a charm! … well, your code does, the actual slicer is still a bit of a hot mess, but hey! I can get it working and actually use my printer rather than having a $1500 paper weight!.

Thanks for the info on how that line works, honestly the more I learn about Linux the happier I am I switched to daily driving it. Didnt even realize you could run a second driver in the background for a specific appimage like that.

1 Like