Skip to content

SBS video tile disappears from the page after a GPU-process restart (samples/windows, inline3d 1.6.1) #32

Description

@dfattal

After a GPU-process restart the SBS video tile disappears from the page (samples/windows, SDK 1.6.1)

Observed on the win box, 2026-09-10, during browser-pvt#100 Test C (deliberate gpu-process kill under a live weave; Chrome reinitialised the GPU process in 829 ms).

  • Page: local copy of samples/windows with the importmap pinned to @displayxr/inline3d@1.6.1. Video via wall.addVideo(document.getElementById('movie'), makeSbsVideo()).
  • Before the kill: video tile present and woven (David's eyeball: "everything else woven 3D").
  • After the kill: "the video element is not here at all" — gone from the layout. The browser's own log agrees: the tile is no-join@0,0 0x0 / offscreen tile … registered but not composited; no quad expected in every post-restart frame — a zero-size element, not an off-screen one.
  • three.js logged Context Lost → Context Restored and its crate came back. The SDK's video path paints through a 2D canvas (getContext('2d')) — no WebGL involved — so this is not a context-loss gap. The likely chain: the <video> decoder lived in the killed GPU process; when it died the media element lost its metadata / went to an error or empty state; whatever sizes the movie canvas from the video's dimensions then collapsed it to 0×0. The sample's makeSbsVideo() has a play().catch(kick) for autoplay policy but no error/emptied/stalled handling, and I could not find a videoWidth resize path in the bundle to point at.

Not a browser (viz) issue: the tile's quad was never suppressed, so there is no hole; it is a page/SDK recovery gap after GPU restart. Filed here because the SDK owns the canvas sizing. Repro: any page with an SBS video tile → Shift+Esc → end the GPU process.

Browser log preserved on the win box: C:\dxr-99-hwcheck\capture-testC\browser-A2b-postC.log.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions