Atmosphere visual tests are excluded on WebGPU: device lost on the CI WARP adapter

Open
#2,136 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, github-actions

Research direction

Start by locating the nine Atmosphere visual tests and the CI WebGPU job that excludes them; the issue does not name their files or test entry points. Investigate the WARP device loss and whether scene settings such as LUT resolution or ray-marching steps affect readiness. Done means the tests pass on the CI WebGPU job or a hardware-GPU WebGPU lane runs them, and the exclusions are removed.

Written by the indexing model from the issue text.

Description

testing

Problem

All nine Atmosphere visual tests are excluded on WebGPU (excludedGraphicsApis: ["WebGPU"]), and none of these exclusions links a tracking issue:

  • Atmosphere Day
  • Atmosphere Day (Planet Origin), (Ray Marching) and (Reverse Depth)
  • Atmosphere Sunset and Atmosphere Sunset (Planet Origin)
  • Atmosphere Night and Atmosphere Night (Planet Origin)
  • Atmosphere Space View

The recorded reason: on the CI software adapter (Microsoft Basic Render Driver / WARP) the scene never becomes ready and the D3D12 device is lost (DXGI_ERROR_DEVICE_REMOVED). Later scenes then stall until the readiness timeout. On a hardware GPU the scene renders in seconds.

The result is that the Atmosphere addon has no WebGPU visual coverage in CI.

To investigate

  • Whether the device loss comes from a shader or resource pattern that Dawn on WARP can't handle (for example, a TDR from long-running compute or LUT generation), or from a Native WebGPU backend bug.
  • Whether the scenes can run on WARP with a lower LUT resolution or fewer ray-marching steps, without changing what they verify.

Removal condition

Remove the WebGPU exclusion from each Atmosphere test once it passes on the CI WebGPU job, or once CI has a hardware-GPU WebGPU lane that runs them.

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.