Make CompileComprehensiveGLSL complete on Linux Vulkan

Open
#1,877 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

ShaderCompilation.CompileComprehensiveGLSL does not complete with the Linux Vulkan/lavapipe configuration being added by #1859. The shader compilation reports an error, but the test continues waiting for setSceneReady, so the full UnitTests process hangs.

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 UnitTests
cd build/Linux/Apps/UnitTests
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/lvp_icd.json \
  xvfb-run --auto-servernum ./UnitTests \
  --gtest_filter=ShaderCompilation.CompileComprehensiveGLSL

Observed output includes:

=== Shader Cross-Compilation Test ===
Unable to compile effect:
...
Error: get@app:///Assets/babylon.max.js:56862:36

The process remains in the render loop waiting for setSceneReady; a 45-second isolated run and a 20-minute full-suite run both time out at this test.

Expected

The comprehensive shader test should either compile successfully on Vulkan or fail the gtest promptly with the underlying shader diagnostic. Once fixed, remove the narrow negative filter from the Vulkan Linux CI lane.

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.