Enable full Playground validation on Linux Vulkan

Open
#1,878 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@bkaradzic-microsoft is already working on this.

Since Sep 17, 2026.

Assessment

This issue has not been assessed yet.

Description

Summary

Track enabling the full Playground image-validation suite on the Linux Vulkan/lavapipe CI lane introduced by #1859. The suite is not currently compatible with the existing shared reference images, and one early test crashes the process.

Reproduction

Source: #1859 at 3c3cbac799ad23e26c1f63a1cb504f80e2e2c398

cmake -G Ninja -B build/Linux \
  -D JAVASCRIPTCORE_LIBRARY=/usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so \
  -D NAPI_JAVASCRIPT_ENGINE=JavaScriptCore \
  -D CMAKE_BUILD_TYPE=RelWithDebInfo \
  -D BX_CONFIG_DEBUG=ON \
  -D GRAPHICS_API=Vulkan \
  -D BABYLON_DEBUG_TRACE=ON .
cmake --build build/Linux --target Playground
cd build/Linux/Apps/Playground
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json \
  xvfb-run --auto-servernum ./Playground app:///Scripts/validation_native.js

The X11 host treats every argument as a script URL; Windows-only --headless, --once, and --test flags are not valid here.

Measured result

On Ubuntu with Mesa lavapipe, the first 23 tests all complete with pixel-comparison failures. The 24th test, Glow layer and LODs, then terminates with SIGSEGV. Examples include:

Test 'Gaussian Splatting Compressed ply SH' failed (pixel comparison)
Test 'Native Canvas' failed (pixel comparison)
Test 'Outline' failed (pixel comparison)
Running Glow layer and LODs
SIGSEGV - Segmentation violation signal
Playground: Finished in 42.588s. (exit 3)

No thresholds or exclusions should be changed to hide these differences. Two cases were separately measured as compatible when selected through a script-URL options shim:

Running Capsule
Running Multi camera rendering
Run complete. ran=2 passed=2 failed=0 missingRef=0 skipped=0

Expected

Diagnose the Vulkan image differences and Glow layer and LODs crash, establish appropriate Vulkan reference behavior, and expand the Vulkan CI selection until the complete automatic validation suite runs.

Dominant language
C++
Stars
931
Forks
169
Avg merge
2d 17h
Merged PRs (30d)
66

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BabylonJS/BabylonNative

All issues in BabylonJS/BabylonNative

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.