Cura
Cura copied to clipboard
Cura Master not running on Ubuntu 21.10 ???
Has anyone had problems running Cura (Master branch) on the newest Ubuntu (21.10) ? Probably something simple/stupid but it just will not start up ... no errors either.. When run from terminal, I get the following message:
Further info - Although this problem showed up when trying to run the most recent release (Nov), the same thing happens when trying to run the previous release that ran fine on the previous version of Ubuntu (21.03 I think) so it seems to be related to upgrading Ubuntu.
Hi, that's because your system is using wayland and Cura expects X11 to be present. I'll take a look at whether it is possible to build Cura with wayland support.
A quick investigation shows that building Cura to run natively on wayland would take some effort which, in the long term, may need to be done. In the short term, could you investigate the possibility of running Cura within Xwayland?
After switching to X11 windowing mode, the following slightly different error displays in the terminal:
Hmm, it's probably missing some libraries. Let's see if we can find out. Run the AppImage again but this time add the --appimage-mount option, i.e. ./Desktop/Cura-mb-master-x86_64-20211110.AppImage --appimage-mount
It should print the name of the directory that the image has been mounted on, this will be different for you but for me it was
/tmp/.mount_Cura-mt2qqzl
.
With the appimage mounted, we can inspect its contents.
Now run the following command to list the dynamic libraries that the qpa xcb plugin requires (don't forget to use the directory that you get rather than my example):
ldd /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libqxcb.so
You should get output rather like this:
/tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libqxcb.so: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libqxcb.so)
/tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libqxcb.so: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.15' not found (required by /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libQt5XcbQpa.so.5)
linux-vdso.so.1 (0x00007fff74d21000)
libQt5XcbQpa.so.5 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libQt5XcbQpa.so.5 (0x00007f9a90a1b000)
libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f9a9040b000)
libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f9a8fec2000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f9a8fce0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9a8faee000)
libfontconfig.so.1 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libfontconfig.so.1 (0x00007f9a8faa3000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f9a8f9e4000)
libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f9a8f948000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9a8f925000)
libX11-xcb.so.1 => /lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f9a8f920000)
libxcb-icccm.so.4 => /lib/x86_64-linux-gnu/libxcb-icccm.so.4 (0x00007f9a8f919000)
libxcb-image.so.0 => /lib/x86_64-linux-gnu/libxcb-image.so.0 (0x00007f9a8f712000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f9a8f70d000)
libxcb-keysyms.so.1 => /lib/x86_64-linux-gnu/libxcb-keysyms.so.1 (0x00007f9a8f708000)
libxcb-randr.so.0 => /lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007f9a8f6f5000)
libxcb-render-util.so.0 => /lib/x86_64-linux-gnu/libxcb-render-util.so.0 (0x00007f9a8f6ee000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f9a8f6df000)
libxcb-shape.so.0 => /lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007f9a8f6d8000)
libxcb-sync.so.1 => /lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f9a8f6ce000)
libxcb-xfixes.so.0 => /lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007f9a8f6c4000)
libxcb-xinerama.so.0 => /lib/x86_64-linux-gnu/libxcb-xinerama.so.0 (0x00007f9a8f6bf000)
libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f9a8f6a1000)
libxcb-xinput.so.0 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libxcb-xinput.so.0 (0x00007f9a8f676000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f9a8f64a000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9a8f50d000)
libSM.so.6 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libSM.so.6 (0x00007f9a8f501000)
libICE.so.6 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libICE.so.6 (0x00007f9a8f4e1000)
libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f9a8f4d6000)
libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f9a8f494000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f9a8f369000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9a8f21a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9a8f1ff000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f9a8f177000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f9a8f13f000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f9a8f121000)
libharfbuzz.so.0 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libharfbuzz.so.0 (0x00007f9a8f018000)
libicui18n.so.66 => /lib/x86_64-linux-gnu/libicui18n.so.66 (0x00007f9a8ed19000)
libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f9a8eb33000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9a8eb2d000)
libpcre2-16.so.0 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libpcre2-16.so.0 (0x00007f9a8eaa9000)
libdouble-conversion.so.3 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libdouble-conversion.so.3 (0x00007f9a8ea8f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9a90ba5000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f9a8ea61000)
libuuid.so.1 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libuuid.so.1 (0x00007f9a8ea57000)
libdbus-1.so.3 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libdbus-1.so.3 (0x00007f9a8ea02000)
libxcb-util.so.1 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libxcb-util.so.1 (0x00007f9a8e7fb000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f9a8e7f3000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f9a8e7eb000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f9a8e7d1000)
libpcre.so.3 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libpcre.so.3 (0x00007f9a8e75d000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f9a8e6a5000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f9a8e66f000)
libgraphite2.so.3 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libgraphite2.so.3 (0x00007f9a8e641000)
libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f9a8cb80000)
libsystemd.so.0 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libsystemd.so.0 (0x00007f9a8cacc000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f9a8cabf000)
liblzma.so.5 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/liblzma.so.5 (0x00007f9a8ca95000)
liblz4.so.1 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/liblz4.so.1 (0x00007f9a8ca73000)
libgcrypt.so.20 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libgcrypt.so.20 (0x00007f9a8c953000)
libgpg-error.so.0 => /tmp/.mount_Cura-mt2qqzl/usr/bin/qt/plugins/platforms/libgpg-error.so.0 (0x00007f9a8c92f000)
Please report the output you get, thanks.
Type ^C to unmount the appimage.
Once I figured out that I needed to open a second terminal window to run the ldd command, things went according to plan :)
I see a number of 'not found' lines .... doesn't an appimage carry all of it's dependencies and files within the appimage file ?
I see a number of 'not found' lines .... doesn't an appimage carry all of it's dependencies and files within the appimage file ?
In this case, some of the dependencies are in the appimage and some (those dependencies that are standard system files) are not. The libQt5 files are in the appimage, the one that could be causing the problem is libxcb-xinerama.so.0. So install that by doing sudo apt install libxcb-xinerama0
and see if that helps.
Just noticed that I do include libxcb-xinput.so.0 and libxcb-util.so.1 in the appimage but I needn't as they should be installed on the system along with the other libxcb libraries. I'll probably take those out for future releases.
For anyone that reads this thread, doing sudo apt install libxcb-xinerama0 fixed the issue. Thank you Mark !
Thanks, I'm going to mention the need to install libxcb-xinerama0 in the notes in case others have a similar problem.
Hi @Jens5395, maybe getting Cura to run under wayland isn't too hard, I've built a release that includes the Qt wayland module but can't test it here. See https://github.com/Ultimaker/Cura/issues/10815
Hi @smartavionics - I tried your Wayland build, it gives an error message "Could not probe OpenGL. This program requires OpenGL 2.0 or higher. Please check your video card drivers."
Here is the console output:
> QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20211110-wayland.AppImage
<frozen zipimport>:259: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ("xcomposite-glx")
Here is the ldd
output as above, just in case:
ldd /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libqxcb.so
/tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libqxcb.so: /lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libqxcb.so)
/tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libqxcb.so: /lib64/libQt5Core.so.5: version `Qt_5_PRIVATE_API' not found (required by /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libQt5XcbQpa.so.5)
/tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libqxcb.so: /lib64/libQt5Gui.so.5: version `Qt_5_PRIVATE_API' not found (required by /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libQt5XcbQpa.so.5)
linux-vdso.so.1 (0x00007ffce5ee6000)
libQt5XcbQpa.so.5 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libQt5XcbQpa.so.5 (0x00007f0675f45000)
libQt5Gui.so.5 => /lib64/libQt5Gui.so.5 (0x00007f06757ff000)
libQt5Core.so.5 => /lib64/libQt5Core.so.5 (0x00007f0675241000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f0675028000)
libc.so.6 => /lib64/libc.so.6 (0x00007f0674e1e000)
libfontconfig.so.1 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libfontconfig.so.1 (0x00007f0674dd3000)
libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f0674d0a000)
libQt5DBus.so.5 => /lib64/libQt5DBus.so.5 (0x00007f0674c76000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0674c71000)
libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f0674c6c000)
libxcb-icccm.so.4 => /lib64/libxcb-icccm.so.4 (0x00007f0674c64000)
libxcb-image.so.0 => /lib64/libxcb-image.so.0 (0x00007f0674c5b000)
libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f0674c56000)
libxcb-keysyms.so.1 => /lib64/libxcb-keysyms.so.1 (0x00007f0674c51000)
libxcb-randr.so.0 => /lib64/libxcb-randr.so.0 (0x00007f0674c3e000)
libxcb-render-util.so.0 => /lib64/libxcb-render-util.so.0 (0x00007f0674c37000)
libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f0674c27000)
libxcb-shape.so.0 => /lib64/libxcb-shape.so.0 (0x00007f0674c1f000)
libxcb-sync.so.1 => /lib64/libxcb-sync.so.1 (0x00007f0674c15000)
libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0 (0x00007f0674c0b000)
libxcb-xinerama.so.0 => /lib64/libxcb-xinerama.so.0 (0x00007f0674c06000)
libxcb-xkb.so.1 => /lib64/libxcb-xkb.so.1 (0x00007f0674be8000)
libxcb-xinput.so.0 => /lib64/libxcb-xinput.so.0 (0x00007f0674bc3000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f0674b96000)
libX11.so.6 => /lib64/libX11.so.6 (0x00007f0674a51000)
libSM.so.6 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libSM.so.6 (0x00007f0674a45000)
libICE.so.6 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libICE.so.6 (0x00007f0674a25000)
libxkbcommon-x11.so.0 => /lib64/libxkbcommon-x11.so.0 (0x00007f0674a1b000)
libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007f06749d3000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f067489a000)
libm.so.6 => /lib64/libm.so.6 (0x00007f06747be000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f06747a4000)
libGL.so.1 => /lib64/libGL.so.1 (0x00007f0674717000)
libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f06746ce000)
libz.so.1 => /lib64/libz.so.1 (0x00007f06746b4000)
libharfbuzz.so.0 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libharfbuzz.so.0 (0x00007f06745a9000)
libsystemd.so.0 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libsystemd.so.0 (0x00007f06744f5000)
libdouble-conversion.so.3 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libdouble-conversion.so.3 (0x00007f06744dd000)
libicui18n.so.69 => /lib64/libicui18n.so.69 (0x00007f06741ad000)
libicuuc.so.69 => /lib64/libicuuc.so.69 (0x00007f0673fba000)
libpcre2-16.so.0 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libpcre2-16.so.0 (0x00007f0673f34000)
libzstd.so.1 => /lib64/libzstd.so.1 (0x00007f0673e40000)
/lib64/ld-linux-x86-64.so.2 (0x00007f06760cf000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f0673e0b000)
libuuid.so.1 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libuuid.so.1 (0x00007f0673e01000)
libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f0673de2000)
libbrotlidec.so.1 => /lib64/libbrotlidec.so.1 (0x00007f0673dd5000)
libdbus-1.so.3 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libdbus-1.so.3 (0x00007f0673d7e000)
libxcb-util.so.1 => /lib64/libxcb-util.so.1 (0x00007f0673d76000)
libXau.so.6 => /lib64/libXau.so.6 (0x00007f0673d71000)
libbsd.so.0 => /lib64/libbsd.so.0 (0x00007f0673d58000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f0673ccd000)
libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f0673c99000)
libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f0673be1000)
libgraphite2.so.3 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libgraphite2.so.3 (0x00007f0673bb3000)
librt.so.1 => /lib64/librt.so.1 (0x00007f0673bae000)
liblzma.so.5 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/liblzma.so.5 (0x00007f0673b84000)
liblz4.so.1 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/liblz4.so.1 (0x00007f0673b60000)
libgcrypt.so.20 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libgcrypt.so.20 (0x00007f0673a40000)
libicudata.so.69 => /lib64/libicudata.so.69 (0x00007f0673a3d000)
libbrotlicommon.so.1 => /lib64/libbrotlicommon.so.1 (0x00007f0673a1a000)
libgpg-error.so.0 => /tmp/.mount_Cura-muYhB7Q/usr/bin/qt/plugins/platforms/libgpg-error.so.0 (0x00007f06739f6000)
Hi @phrxmd , thanks for the speedy feedback. What happens if you try QT_QPA_PLATFORM=wayland-xcomposite-glx
?
Nothing. I get this in the console:
> QT_QPA_PLATFORM=wayland-xcomposite-glx ./Cura-mb-master-x86_64-20211110-wayland.AppImage
<frozen zipimport>:259: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Using XComposite-GLX
...and then it hangs, and can't be terminated with Ctrl+C either.
OK, well, I'll work on this when I can (quite busy) and report progress here.
Hi @phrxmd, I have made some progress. I installed weston which provides wayland in a window on X11 and have managed to build an appimage that appears to work with QT_QPA_PLATFORM=wayland. So I have updated the release, the link is the same as before, make sure you get a new download.
Hmm, there's a problem with the menus (File, Edit, ...) but maybe that's just with weston?
Hi @smartavionics - some progress, I see the splash screen now, but before the main window opens I get a segfault:
QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20211110-wayland-2.AppImage
<frozen zipimport>:259: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
Cyclic dependency detected between "file:///tmp/.mount_Cura-mrS9YbY/usr/bin/resources/qml/Actions.qml" and "file:///tmp/.mount_Cura-mrS9YbY/usr/bin/resources/qml/Actions.qml"
WARNING: Cannot find style "default" - fallback: "/tmp/.mount_Cura-mrS9YbY/usr/bin/qt/qml/QtQuick/Controls/Styles/Desktop"
/tmp/.mount_Cura-mrS9YbY/usr/bin//cura.sh: line 40: 25006 Segmentation fault (core dumped) cura "$@"
Could you please post the ~/.local/share/cura/master/cura.log and ~/.local/share/cura/stderr.log files? Thanks.
A little background reading...
https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277
As for the menu problem, I have found that if you open the desired menu using the keyboard (i.e. alt-f or alt-v, etc.) then the correct menu will stay open.
However, I have also discovered that opening some file dialogs causes the app to hang.
To be honest, I don't think Cura is usable under wayland yet.
To be honest, I don't think Cura is usable under wayland yet.
I would disagree with that statement. The version of Cura provided by the Arch Linux repositories does indeed work for me under Wayland (specifically Sway), out of the box. Unfortunately, this version does have this bug: https://github.com/Ultimaker/Cura/issues/10785
I'd be willing to help you do some more testing, if you're willing.
I'd be willing to help you do some more testing, if you're willing.
What happens when you try the following with the latest release?
QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20220111.AppImage
I'd be willing to help you do some more testing, if you're willing.
What happens when you try the following with the latest release?
QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20220111.AppImage
Huh. It runs. Without issue. I imported an STL file, sliced it, saved the gcode, and without any obvious issues.
I'm not sure what you did since I necro'd this issue, but thanks!
Meanwhile, Ultimaker_Cura-4.13.0.AppImage only runs properly if I run "QT_QPA_PLATFORM=xcb ./Ultimaker_Cura-4.13.0.AppImage" . So congratulations!
I'd be willing to help you do some more testing, if you're willing.
What happens when you try the following with the latest release?
QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20220111.AppImage
Hm. I still get segfaults with that one:
> QT_QPA_PLATFORM=wayland LANGUAGE=C ./Cura-mb-master-x86_64-20220111.AppImage
<frozen zipimport>:259: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Attribute Qt::AA_UseDesktopOpenGL must be set before QCoreApplication is created.
Cyclic dependency detected between "file:///tmp/.mount_Cura-mmSkIjQ/usr/bin/resources/qml/Actions.qml" and "file:///tmp/.mount_Cura-mmSkIjQ/usr/bin/resources/qml/Actions.qml"
WARNING: Cannot find style "default" - fallback: "/tmp/.mount_Cura-mmSkIjQ/usr/bin/qt/qml/QtQuick/Controls/Styles/Desktop"
/tmp/.mount_Cura-mmSkIjQ/usr/bin//cura.sh: line 40: 11962 Segmentation fault (core dumped) cura "$@"
Here's the cura.log
from ~/.local/share/cura/master
(note: no stderr.log
is generated):
cura.log
Hi @phrxmd. Unfortunately, your cura.log doesn't show anything helpful so I'm no wiser as to what's going wrong. Sorry.
Hi @phrxmd. Unfortunately, your cura.log doesn't show anything helpful so I'm no wiser as to what's going wrong. Sorry.
No problem. Is there any way I can provide further information - increase the verbosity of the output, extra logging or something else?
Hi, I've just uploaded https://github.com/smartavionics/Cura/releases/download/20220111/Cura-mb-master-x86_64-20220111-gdb.AppImage which lets you run gdb on the cura process. To do that, prefix the command line with CURA_GDB=gdb, so the whole command line would be...
CURA_GDB=gdb QT_QPA_PLATFORM=wayland ./Cura-mb-master-x86_64-20220111-gdb.AppImage
When it starts you should get a gdb prompt so type "run" to that to start cura running and lets see what gets reported when it crashes...