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

[5.x] AppImage fails to start on debian trixie #19837

Open
t-cc opened this issue Oct 30, 2024 · 10 comments
Open

[5.x] AppImage fails to start on debian trixie #19837

t-cc opened this issue Oct 30, 2024 · 10 comments
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.

Comments

@t-cc
Copy link

t-cc commented Oct 30, 2024

Cura Version

5.8.1

Operating System

Linux debian trixie, kde desktop

Printer

all printers

Reproduction steps

Try to start cura from the App Image file on debian trixie

Actual results

qt.qpa.gl: Xcb EGL gl-integration initialize failed
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
Abortado (`core' generado)

Expected results

Cura starts

Add your .zip and screenshots here ⬇️

stderr.log

@t-cc t-cc added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Oct 30, 2024
@ohagandavid
Copy link

I have this issue on a trixie install too. 5.6.0 and 5.8.1 appImages affected. Apt logs have a bunch of updates to qt6 on 10/26. libqt6opengl6?

@witenite
Copy link

witenite commented Nov 2, 2024

I am having the same issue on Trixie, with 5.8.1 and 5.9.0-Beta1

As a normal user and under Sudo....

@susno762
Copy link

susno762 commented Nov 3, 2024

Same issue here with Debian Trixie and 5.8.1. Output of --debug attached.

debug.log

@TheRealOne78
Copy link

TheRealOne78 commented Nov 5, 2024

This seems to happen only on AMD GPUs, not necessarily just on trixie.

This happens even on the older modern builds

❯ ./UltiMaker-Cura-5.9.0-beta.2-linux-X64.AppImage
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
[1]    460 IOT instruction  ./UltiMaker-Cura-5.9.0-beta.2-linux-X64.AppImage

❯ ./UltiMaker-Cura-5.4.0-linux-modern.AppImage
PyInstaller/loader/pyimod02_importers.py:352: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
/tmp/.mount_UltiMafnHDhi/AppRun: line 25:   635 Aborted                 $scriptdir/UltiMaker-Cura "$@"

❯ ./UltiMaker-Cura-5.4.0-linux.AppImage
PyInstaller/loader/pyimod02_importers.py:352: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
/tmp/.mount_UltiMaikIZfw/AppRun: line 25:  2000 Aborted                 $scriptdir/UltiMaker-Cura "$@"

@JeanLucCoulon
Copy link

JeanLucCoulon commented Nov 6, 2024 via email

@madebyTimo
Copy link

I also have the problem on Intel GPU (8. gen CPU with Intel UHD Graphics 620).
On Nvidia GPU (RTX 3070) with proprietary drivers it works fine.

Both systems have latest Debian Trixie. The problem startet with an recent apt upgrade where some libqt6 packages were updated.

@SpyroTEQ
Copy link

SpyroTEQ commented Nov 9, 2024

I just made an apt dist-upgrade on my Kali machine (so Debian based too), and got a Python crash on starting cura 5.0.0-3 (the software stats, but crashes right away):

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UM/Qt/ListModel.py", line 54, in data
    return self._items[index.row()][self._role_names[role].decode("utf-8")]
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'material_name'

So I turned to latest AppImage, and got the same issue as described here (Could not initialize GLX) on a core2duo with a HD6770:

┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ md5sum ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
16bd0c4a7afcb60f08b0da882095809d  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ ./UltiMaker-Cura-5.8.1-linux-X64.AppImage       
Gtk-Message: 21:46:24.039: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:46:24.044: Failed to load module "canberra-gtk-module"
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
zsh: IOT instruction  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping	: 6
microcode	: 0xd0
cpu MHz		: 2404.075
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
vmx flags	: tsc_offset vtpr
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips	: 4808.15
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping	: 6
microcode	: 0xd0
cpu MHz		: 2404.071
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
vmx flags	: tsc_offset vtpr
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips	: 4808.15
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       produit: Juniper XT [Radeon HD 6770]
       fabriquant: Advanced Micro Devices, Inc. [AMD/ATI]
       identifiant matériel: 0
       information bus: pci@0000:08:00.0
       nom logique: /dev/fb0
       version: 00
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=radeon latency=0 resolution=1920,1080
       ressources: irq:28 mémoire:d0000000-dfffffff mémoire:ff9e0000-ff9fffff portE/S:c800(taille=256) mémoire:c0000-dffff
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ lsb_release -a                     
No LSB modules are available.
Distributor ID:	Kali
Description:	Kali GNU/Linux Rolling
Release:	2024.3
Codename:	kali-rolling

--debug shows:

┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug
trimesh/curvature.py:12: DeprecationWarning: Please use `coo_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.coo` namespace is deprecated.
  from scipy.sparse.coo import coo_matrix
Gtk-Message: 21:52:15.665: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:52:15.667: Failed to load module "canberra-gtk-module"
[MainThread] UM.Application.initialize [163]: Initializing UltiMaker Cura
[MainThread] UM.Application.initialize [164]: App Version 5.8.1
[MainThread] UM.Application.initialize [165]: Api Version 8.8.0
[MainThread] UM.Application.initialize [166]: Build type None
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/../Resources/share/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/../Resources/share/cura/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib64/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib32/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/cura/plugins must be a folder.
[MainThread] UM.Resources.__initializeStoragePaths [481]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [491]: Config storage path is /home/xenos/.config/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [499]: Data storage path is /home/xenos/.local/share/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [511]: Cache storage path is /home/xenos/.cache/cura/5.8
UM/Qt/QtApplication.py:701: DeprecationWarning: QEvent constructor is deprecated
  super().__init__(self.QtFunctionEvent)
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/cura/resources/bundled_packages/bundled_CuraEngineGradualFlow.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [124]: Trying OpenGL context 4.1...
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
Fatal Python error: Aborted

Current thread 0x00007efe75526740 (most recent call first):
  File "UM/View/GL/OpenGLContext.py", line 36 in setContext
  File "UM/View/GL/OpenGLContext.py", line 125 in detectBestOpenGLVersion
  File "UM/Qt/QtApplication.py", line 178 in initialize
  File "cura/CuraApplication.py", line 348 in initialize
  File "UM/Application.py", line 288 in run
  File "UM/Qt/QtApplication.py", line 385 in run
  File "cura/CuraApplication.py", line 880 in run
  File "cura_app.py", line 243 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtNetwork, PyQt6.QtGui, PyQt6.QtWidgets, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg.lapack_lite, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, _cffi_backend, PyQt6.QtOpenGL, PyQt6.QtQml, PyQt6.QtQuick, pyArcus, PyQt6.QtSvg, pyclipper._pyclipper, pynest2d, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, shapely.lib, shapely._geos, shapely._geometry_helpers, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label (total: 87)
zsh: IOT instruction  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug

Same with ./UltiMaker-Cura-5.9.0-beta.2-linux-X64.AppImage and weirdly, with Ultimaker-Cura-5.0.0-linux.AppImage too (to 5.0.0-3 from apt boots then crashes, but the AppImage in the releases crashes before any screen shows up).

I kept trying older versions, and the Ultimaker_Cura-4.13.0.AppImage is working.

I hope that helps

@witenite
Copy link

I just made an apt dist-upgrade on my Kali machine (so Debian based too), and got a Python crash on starting cura 5.0.0-3 (the software stats, but crashes right away):

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UM/Qt/ListModel.py", line 54, in data
    return self._items[index.row()][self._role_names[role].decode("utf-8")]
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'material_name'

So I turned to latest AppImage, and got the same issue as described here (Could not initialize GLX) on a core2duo with a HD6770:

┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ md5sum ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
16bd0c4a7afcb60f08b0da882095809d  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ ./UltiMaker-Cura-5.8.1-linux-X64.AppImage       
Gtk-Message: 21:46:24.039: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:46:24.044: Failed to load module "canberra-gtk-module"
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
zsh: IOT instruction  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping	: 6
microcode	: 0xd0
cpu MHz		: 2404.075
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
vmx flags	: tsc_offset vtpr
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips	: 4808.15
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
stepping	: 6
microcode	: 0xd0
cpu MHz		: 2404.071
cache size	: 4096 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm pti tpr_shadow dtherm
vmx flags	: tsc_offset vtpr
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown
bogomips	: 4808.15
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ sudo lshw -C display
  *-display                 
       description: VGA compatible controller
       produit: Juniper XT [Radeon HD 6770]
       fabriquant: Advanced Micro Devices, Inc. [AMD/ATI]
       identifiant matériel: 0
       information bus: pci@0000:08:00.0
       nom logique: /dev/fb0
       version: 00
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm pciexpress msi vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=radeon latency=0 resolution=1920,1080
       ressources: irq:28 mémoire:d0000000-dfffffff mémoire:ff9e0000-ff9fffff portE/S:c800(taille=256) mémoire:c0000-dffff
                                                                                                                                                                                                                                              
┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ lsb_release -a                     
No LSB modules are available.
Distributor ID:	Kali
Description:	Kali GNU/Linux Rolling
Release:	2024.3
Codename:	kali-rolling

--debug shows:

┌──(xenos㉿homefixe)-[~/Téléchargements]
└─$ ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug
trimesh/curvature.py:12: DeprecationWarning: Please use `coo_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.coo` namespace is deprecated.
  from scipy.sparse.coo import coo_matrix
Gtk-Message: 21:52:15.665: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:52:15.667: Failed to load module "canberra-gtk-module"
[MainThread] UM.Application.initialize [163]: Initializing UltiMaker Cura
[MainThread] UM.Application.initialize [164]: App Version 5.8.1
[MainThread] UM.Application.initialize [165]: Api Version 8.8.0
[MainThread] UM.Application.initialize [166]: Build type None
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/../Resources/share/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/../Resources/share/cura/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib64/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib32/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaVHV0x7/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/cura/plugins must be a folder.
[MainThread] UM.Resources.__initializeStoragePaths [481]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [491]: Config storage path is /home/xenos/.config/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [499]: Data storage path is /home/xenos/.local/share/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [511]: Cache storage path is /home/xenos/.cache/cura/5.8
UM/Qt/QtApplication.py:701: DeprecationWarning: QEvent constructor is deprecated
  super().__init__(self.QtFunctionEvent)
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/cura/resources/bundled_packages/bundled_CuraEngineGradualFlow.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaVHV0x7/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [124]: Trying OpenGL context 4.1...
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
Fatal Python error: Aborted

Current thread 0x00007efe75526740 (most recent call first):
  File "UM/View/GL/OpenGLContext.py", line 36 in setContext
  File "UM/View/GL/OpenGLContext.py", line 125 in detectBestOpenGLVersion
  File "UM/Qt/QtApplication.py", line 178 in initialize
  File "cura/CuraApplication.py", line 348 in initialize
  File "UM/Application.py", line 288 in run
  File "UM/Qt/QtApplication.py", line 385 in run
  File "cura/CuraApplication.py", line 880 in run
  File "cura_app.py", line 243 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtNetwork, PyQt6.QtGui, PyQt6.QtWidgets, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg.lapack_lite, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, _cffi_backend, PyQt6.QtOpenGL, PyQt6.QtQml, PyQt6.QtQuick, pyArcus, PyQt6.QtSvg, pyclipper._pyclipper, pynest2d, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, shapely.lib, shapely._geos, shapely._geometry_helpers, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label (total: 87)
zsh: IOT instruction  ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug

Same with ./UltiMaker-Cura-5.9.0-beta.2-linux-X64.AppImage and weirdly, with Ultimaker-Cura-5.0.0-linux.AppImage too (to 5.0.0-3 from apt boots then crashes, but the AppImage in the releases crashes before any screen shows up).

I kept trying older versions, and the Ultimaker_Cura-4.13.0.AppImage is working.

I hope that helps

My debug results looks pretty much the same.

@boorcecom
Copy link

boorcecom commented Nov 12, 2024

Same here on Debian trixie on a Lenovo Laptop.
Ryzen 7 5800H (amggpu) + Nvidia RTX4060, using wayland.
1st, need to run with QT_QPA_PLATFORM=xcb (to avoid an error with wayland...)

But it fails with the same error.

QT_QPA_PLATFORM=xcb ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug
trimesh/curvature.py:12: DeprecationWarning: Please use coo_matrix from the scipy.sparse namespace, the scipy.sparse.coo namespace is deprecated.
  from scipy.sparse.coo import coo_matrix
Gtk-Message: 11:34:35.056: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:34:35.056: Failed to load module "canberra-gtk-module"
[MainThread] UM.Application.initialize [163]: Initializing UltiMaker Cura
[MainThread] UM.Application.initialize [164]: App Version 5.8.1
[MainThread] UM.Application.initialize [165]: Api Version 8.8.0
[MainThread] UM.Application.initialize [166]: Build type None
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaANLMru/../Resources/share/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaANLMru/../Resources/share/cura/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib64/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib32/uranium must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMaANLMru/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/uranium/plugins must be a folder.
[MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/cura/plugins must be a folder.
[MainThread] UM.Resources.__initializeStoragePaths [481]: Initializing storage paths
[MainThread] UM.Resources.__initializeStoragePaths [491]: Config storage path is /home/[email protected]/.config/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [499]: Data storage path is /home/[email protected]/.local/share/cura/5.8
[MainThread] UM.Resources.__initializeStoragePaths [511]: Cache storage path is /home/[email protected]/.cache/cura/5.8
[MainThread] UM.Qt.QtApplication.initialize [164]: Preferences file not found, ignore and use default language 'en_US'
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaANLMru/share/uranium/resources/bundled_packages/uranium.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaANLMru/share/cura/resources/bundled_packages/bundled_CuraEngineGradualFlow.json
[MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMaANLMru/share/cura/resources/bundled_packages/cura.json
[MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [124]: Trying OpenGL context 4.1...
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::CoreProfile)
Could not initialize GLX
Fatal Python error: Aborted

Current thread 0x00007f74d82c2740 (most recent call first):
  File "UM/View/GL/OpenGLContext.py", line 36 in setContext
  File "UM/View/GL/OpenGLContext.py", line 125 in detectBestOpenGLVersion
  File "UM/Qt/QtApplication.py", line 178 in initialize
  File "cura/CuraApplication.py", line 348 in initialize
  File "UM/Application.py", line 288 in run
  File "UM/Qt/QtApplication.py", line 385 in run
  File "cura/CuraApplication.py", line 880 in run
  File "cura_app.py", line 243 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtNetwork, PyQt6.QtGui, PyQt6.QtWidgets, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg.lapack_lite, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, _cffi_backend, PyQt6.QtOpenGL, PyQt6.QtQml, PyQt6.QtQuick, pyArcus, PyQt6.QtSvg, pyclipper._pyclipper, pynest2d, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, shapely.lib, shapely._geos, shapely._geometry_helpers, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label (total: 87)
[1]    73878 IOT instruction (core dumped)  QT_QPA_PLATFORM=xcb ./UltiMaker-Cura-5.8.1-linux-X64.AppImage --debug

@gigem
Copy link

gigem commented Nov 19, 2024

This problem seams to be related to the libz3-4 package. Cura works with version 4.8.12-3.1+b2 but not with version 4.8.12-3.1+b3 and later. Because b3 is simply a rebuild with different tools and libraries, the real problem probably lies elsewhere but I've yet to find it. My work around for now is to extract libz3.so.4 from the b2 package and put it in a custom LD_LIBRARY_PATH when running cura.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

10 participants