Is there an existing issue for this problem?
Snapmaker_Orca Version
2.3.1
Operating System (OS)
Linux
OS Version
CachyOS (Arch-based)
Additional system information
- Kernel: linux-cachyos with
linux-cachyos-nvidia-open 7.0.0-1 modules
- DE/WM: KDE Plasma 6 / KWin (Wayland session)
- GPU: NVIDIA GeForce RTX 2070 SUPER
- NVIDIA driver:
nvidia-open 595.58.03
- OpenGL renderer (default, no Snapmaker env):
NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 (native proprietary GLX — not Zink)
- Mesa EGL vendor files present:
/usr/share/glvnd/egl_vendor.d/10_nvidia.json, /usr/share/glvnd/egl_vendor.d/50_mesa.json
Printer
SnapMaker U1
How to reproduce
On NVIDIA proprietary drivers (version > 555) under KDE Plasma Wayland, Snapmaker Orca crashes during slicing with VK_ERROR_MEMORY_MAP_FAILED due to the forced-Zink workaround in AppRun. Disabling that workaround (via ZINK_DISABLE_OVERRIDE=1) avoids the crash but leaves the 3D viewport completely black with no hardware-accelerated rendering path functional. This appears to be the same class of bug that was recently fixed upstream in OrcaSlicer PR OrcaSlicer#12308 ("Fixed EGL/GLX mismatch causing a blank 3D preview when running on Linux with Wayland").
Current release installed as AppImage at /opt/snapmaker-orca-appimage/snapmaker-orca-appimage.AppImage (please let me know how to retrieve the exact version string if needed — it did not print in --debug 5 output).
Steps to Reproduce
- Launch
snapmaker-orca on a KDE Plasma Wayland session with an NVIDIA GPU running driver version > 555.
- Load any moderately complex model.
- Trigger slicing.
Actual results
The app crashes with the following console output:
MESA: error: zink: couldn't allocate memory: heap=3 size=4194304
MESA: error: zink: couldn't allocate memory: heap=3 size=4194304
MESA: error: zink: couldn't allocate memory: heap=3 size=2097152
MESA: error: zink: couldn't allocate memory: heap=3 size=2097152
MESA: error: ZINK: vkMapMemory failed (VK_ERROR_MEMORY_MAP_FAILED)
zsh: segmentation fault (core dumped) /usr/bin/snapmaker-orca --debug 5
This happens because AppRun detects NVIDIA driver > 555 on Wayland and sets MESA_LOADER_DRIVER_OVERRIDE=zink / GALLIUM_DRIVER=zink, forcing the app down a Zink code path that fails to map Vulkan memory on this configuration.
Expected results
Slicing completes without crashing, using hardware-accelerated rendering on the native NVIDIA OpenGL stack.
Project file & Debug log uploads
body.zip
orca-direct.log
orca-nozink.log
Checklist of files to include
Anything else?
I extracted the AppImage and tested every reasonable combination of environment variables. Results:
| Configuration |
3D viewport |
Slicing |
| Default (AppRun forces Zink on NVIDIA > 555) |
Works |
Crashes (vkMapMemory) |
ZINK_DISABLE_OVERRIDE=1 (AppRun escape hatch) |
Black/blank |
Works |
ZINK_DISABLE_OVERRIDE=1 + QT_QPA_PLATFORM=xcb (Xwayland) |
Black/blank |
Works |
ZINK_DISABLE_OVERRIDE=1 + explicit __GLX_VENDOR_LIBRARY_NAME=nvidia + __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json |
Black/blank |
Works |
ZINK_DISABLE_OVERRIDE=1 + GBM_BACKEND=nvidia-drm + NVIDIA GLX |
Black/blank |
Works |
QT_QPA_PLATFORM=xcb + WAYLAND_DISPLAY= (pure X11 via Xwayland) |
Black/blank |
Works |
/tmp/squashfs-root/bin/snapmaker-orca direct (bypass AppRun, no env vars) |
Black/blank |
Works |
LIBGL_ALWAYS_SOFTWARE=1 |
Works |
Works (but unusably slow) |
GBM_BACKEND=dri (no hw accel) |
Works |
Works (but unusably slow) |
Key findings:
- The binary in
bin/snapmaker-orca links to libGL.so.1, libEGL.so.1, libGLX.so.0, and libwayland-egl.so.1 — all system libraries, no bundled Mesa.
glxgears runs smoothly under both native Wayland and Xwayland, so the NVIDIA GL stack is healthy.
glxinfo reports the native NVIDIA proprietary renderer by default — the system is not using Zink unless the AppRun explicitly forces it.
- With Zink disabled by any method, the 3D viewport is blank regardless of which fallback GL path is forced, indicating the app's GL context initialization does not work on NVIDIA + Wayland without Zink.
- Only software rendering fallbacks produce a usable (but impractically slow) viewport.
Is there an existing issue for this problem?
Snapmaker_Orca Version
2.3.1
Operating System (OS)
Linux
OS Version
CachyOS (Arch-based)
Additional system information
linux-cachyos-nvidia-open7.0.0-1 modulesnvidia-open595.58.03NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2(native proprietary GLX — not Zink)/usr/share/glvnd/egl_vendor.d/10_nvidia.json,/usr/share/glvnd/egl_vendor.d/50_mesa.jsonPrinter
SnapMaker U1
How to reproduce
On NVIDIA proprietary drivers (version > 555) under KDE Plasma Wayland, Snapmaker Orca crashes during slicing with
VK_ERROR_MEMORY_MAP_FAILEDdue to the forced-Zink workaround inAppRun. Disabling that workaround (viaZINK_DISABLE_OVERRIDE=1) avoids the crash but leaves the 3D viewport completely black with no hardware-accelerated rendering path functional. This appears to be the same class of bug that was recently fixed upstream in OrcaSlicer PR OrcaSlicer#12308 ("Fixed EGL/GLX mismatch causing a blank 3D preview when running on Linux with Wayland").Current release installed as AppImage at
/opt/snapmaker-orca-appimage/snapmaker-orca-appimage.AppImage(please let me know how to retrieve the exact version string if needed — it did not print in--debug 5output).Steps to Reproduce
snapmaker-orcaon a KDE Plasma Wayland session with an NVIDIA GPU running driver version > 555.Actual results
The app crashes with the following console output:
This happens because
AppRundetects NVIDIA driver > 555 on Wayland and setsMESA_LOADER_DRIVER_OVERRIDE=zink/GALLIUM_DRIVER=zink, forcing the app down a Zink code path that fails to map Vulkan memory on this configuration.Expected results
Slicing completes without crashing, using hardware-accelerated rendering on the native NVIDIA OpenGL stack.
Project file & Debug log uploads
body.zip
orca-direct.log
orca-nozink.log
Checklist of files to include
Anything else?
I extracted the AppImage and tested every reasonable combination of environment variables. Results:
ZINK_DISABLE_OVERRIDE=1(AppRun escape hatch)ZINK_DISABLE_OVERRIDE=1+QT_QPA_PLATFORM=xcb(Xwayland)ZINK_DISABLE_OVERRIDE=1+ explicit__GLX_VENDOR_LIBRARY_NAME=nvidia+__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.jsonZINK_DISABLE_OVERRIDE=1+GBM_BACKEND=nvidia-drm+ NVIDIA GLXQT_QPA_PLATFORM=xcb+WAYLAND_DISPLAY=(pure X11 via Xwayland)/tmp/squashfs-root/bin/snapmaker-orcadirect (bypass AppRun, no env vars)LIBGL_ALWAYS_SOFTWARE=1GBM_BACKEND=dri(no hw accel)Key findings:
bin/snapmaker-orcalinks tolibGL.so.1,libEGL.so.1,libGLX.so.0, andlibwayland-egl.so.1— all system libraries, no bundled Mesa.glxgearsruns smoothly under both native Wayland and Xwayland, so the NVIDIA GL stack is healthy.glxinforeports the native NVIDIA proprietary renderer by default — the system is not using Zink unless the AppRun explicitly forces it.