Skip to content

Enable full Playground validation on Linux Vulkan #1878

Description

@bkaradzic-microsoft

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions