Skip to content

Native Wayland test build (WIP) — a8beca80b

Pre-release
Pre-release

Choose a tag to compare

@mindrunner mindrunner released this 07 Aug 10:57

Unofficial test build of the native Wayland work in bambulab/BambuStudio#11821. Work in progress — expect bugs.

Built from commit a8beca80b of the linux-wayland-support branch.

What's new in this build

  • Fixed: 3D viewport blank after loading a model. The render loop was disabled at startup whenever the app was started without a file argument and never re-enabled on Wayland — the viewport was dead for the whole session, and loading a model just made it visible. See the PR for the full analysis.

How to test

chmod +x BambuStudio_wayland-test_ubu24_a8beca80b.AppImage

# unchanged, X11 / XWayland (this is still the default)
./BambuStudio_wayland-test_ubu24_a8beca80b.AppImage

# native Wayland
GDK_BACKEND=wayland ./BambuStudio_wayland-test_ubu24_a8beca80b.AppImage

Please especially re-test the previously broken flow: start the app without a file, then import a model (File → Import, drag & drop, or double-click a file) and check that the 3D view renders.

Known issues

  • Window move/resize can feel laggy under native Wayland.
  • gtk_window_resize assertion warnings from the dropdown popup code under native Wayland.
  • Passing a file to an already-running instance (single_instance) does nothing — pre-existing upstream bug on all Linux backends, fix in bambulab/BambuStudio#11826.

Requirements

Built on Ubuntu 24.04, so it needs glibc 2.39 or newer (Ubuntu 24.04+, Fedora 40+, Debian 13, current Arch). It is not fully self-contained — GTK3, WebKitGTK and GStreamer come from your system:

  • Debian/Ubuntu: libgtk-3-0 libwebkit2gtk-4.1-0 libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 libfuse2
  • Fedora: gtk3 webkit2gtk4.1 gstreamer1 gstreamer1-plugins-base fuse-libs
  • Arch: gtk3 webkit2gtk-4.1 gstreamer gst-plugins-base fuse2

Reporting back

Please comment on PR #11821 with:

  • distro, compositor (GNOME/KDE/Hyprland/sway/…), GPU and driver version
  • whether you launched with or without GDK_BACKEND=wayland
  • whether the 3D view renders (a) at startup, (b) after importing a model, (c) after slicing and switching to Preview
  • for a blank viewport: a screenshot plus GDK_BACKEND=wayland ./BambuStudio*.AppImage 2>&1 | tail -40

Tested so far on Arch Linux + Hyprland with an NVIDIA RTX 4090 (proprietary driver) and, for earlier commits, Intel/Mesa. GNOME, KDE, AMD and pure-X11 sessions are untested.