Closed Bug 1952428 Opened 1 year ago Closed 1 year ago

[webgpu] Demo at https://www.babylonjs.com/Demos/WebGPU/forestWebGPU.html flickers and doesnt render anything on the screen

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mayankleoboy1, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file about:support
Severity: -- → S3

This demo is mostly working now. It still apparently wants to use the external texture API (bug 1827116):

WebGPU compilation info for shader module "BabylonWebGPUDevice0_CopyVideoToTexture_FragmentShader_DontInvertY" (1 error(s), 0 warning(s), 0 info)

Shader 'BabylonWebGPUDevice0_CopyVideoToTexture_FragmentShader_DontInvertY' parsing error: unknown type: `texture_external`
  ┌─ wgsl:3:45
  │
3 │     @group(0) @binding(1) var videoTexture: texture_external;
  │                                             ^^^^^^^^^^^^^^^^ unknown type

Ah, actually, I see no rendering differences with Chrome. I'll close this for now; we have ample follow-up for the external texture API.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

The demo doesnt render for me on Nightly. On chrome it renders.

Mayank: Are you using the latest Nightly? At the time I had written, the Nightly build fixing things was fresh off the presses.

If so, I'd love to see a profile and any console logs messages that may be relevant to WebGPU from your execution of the page.

Flags: needinfo?(mayankleoboy1)

Latest Nightly.
Profile with logging: https://share.firefox.dev/4jumea3
Error message: attached.

Flags: needinfo?(mayankleoboy1)
Flags: needinfo?(egubler)

Oh, nuts, I can reproduce that log on my Windows machine, but not macOS; the culprit there seems to be an OOM error on DX12. I must not have tested on Windows, and that's a mistake on my part. Sorry for the noise, and thank you for the logs! 😀

Status: RESOLVED → REOPENED
Flags: needinfo?(egubler)
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: