Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.14k stars 2.07k forks source link

[5.8.1] Cura won't start on Ubuntu 24.10 #19739

Open csetera opened 2 weeks ago

csetera commented 2 weeks ago

Cura Version

5.8.1

Operating System

Ubuntu 24.10 - Wayland as default

Printer

Ender 3 Pro

Reproduction steps

Attempted to start Cura Appimage on Ubuntu 24.10 and it failed to start. Trying to launch from terminal shows the following error for me:

/tmp/.mount_ultimaD1nZbh/UltiMaker-Cura: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_display_create_queue_with_name

Actual results

Attempted to start Cura Appimage on Ubuntu 24.10 and it failed to start. Trying to launch from terminal shows the following error for me:

/tmp/.mount_ultimaD1nZbh/UltiMaker-Cura: symbol lookup error: /lib/x86_64-linux-gnu/libEGL_mesa.so.0: undefined symbol: wl_display_create_queue_with_name

Signing in to an X11 session allows Cura to run OK.

Expected results

Appimage starts

Add your .zip and screenshots here ⬇️

Should be covered above

mechano commented 2 weeks ago

Same problem just discovered yesterday after upgrade to 24.10.

skandalfo commented 2 weeks ago

Happens to me too. Same error message. Using an AMD graphics card if that helps.

csetera commented 2 weeks ago

Good thought on the comment about graphics card. I have the Intel/Nvidia graphics card.

mechano commented 2 weeks ago

I've MSI Radeon RX 6750 XT using Wayland.

saintaardvark commented 2 weeks ago

Seeing this problem on Debian trixie/sid with Wayland:

$ lspci  | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux trixie/sid
Release:    n/a
Codename:   trixie

$ uname -a
Linux melodia 6.9.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1 (2024-06-27) x86_64 GNU/Linux

Workaround, in case it's useful:

$ WAYLAND_DISPLAY="" UltiMaker-Cura-5.8.0-linux-X64.AppImage
csetera commented 2 weeks ago

I also thought I'd mention that I've been running with Wayland since before the 24.10 upgrade. So, while this is clearly Wayland-related, something must have changed in Ubuntu 24.10 to trigger this.

EmilEmilchen commented 1 week ago

Happens to me as well, just upgraded yesterday, wanted to print something but no luck!

WAYLAND_DISPLAY="" UltiMaker-Cura-5.8.0-linux-X64.AppImage

worked like a charm, Thanks!

Would probably be nice if this got fixed though.

mechano commented 1 week ago

Found the way to pass the ENV variable WAYLAND_DISPLAY="" to the application icon into menu.

I've $HOME/.appimage directory where I save all my applimages files. Into this directory Cura's app is named: UltiMaker-Cura.AppImage

I created the .desktop file:

$HOME/.local/share/applications/UltimakerCura.desktop

and put the Cura icon into: $HOME/.local/share/icons/ultimaker-cura.png

into the .desktop file copy this entries (change /home/mechano with you home directory):

[Desktop Entry]
Name=UltimakerCura
GenericName=3D Printing Software
Icon=ultimaker-cura
Exec=env WAYLAND_DISPLAY="" /home/mechano/.appImage/UltiMaker-Cura.AppImage %F
Terminal=false
Type=Application
MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;
Categories=Graphics;3DGraphics;Engineering;
Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
StartupNotify=false
StartupWMClass=ultimaker-cura

You will have the icon into App->Graphics menu, and Cura will start.