Revert "Reland "Move Dawn Ozone Image Representation over to Shared Texture Memory"" [chromium/src : main]

0 views
Skip to first unread message

Peter McNeeley (Gerrit)

unread,
Mar 22, 2026, 7:15:30 PM (21 hours ago) Mar 22
to Chromium LUCI CQ, Vasiliy Telezhnikov, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger
Attention needed from Michael Spang and Vasiliy Telezhnikov

Peter McNeeley has uploaded the change for review

Peter McNeeley would like Chromium LUCI CQ, Vasiliy Telezhnikov and Michael Spang to review this change.

Commit message

Revert "Reland "Move Dawn Ozone Image Representation over to Shared Texture Memory""

This reverts commit ccff0a208cb087dc006d881143b47197d63c6a30.

Reason for revert: May be failing chromeos generic mailbox tests

Original change's description:
> Reland "Move Dawn Ozone Image Representation over to Shared Texture Memory"
>
> Attempt #4. Resolving Cast build failures.
>
> This is a reland of commit e36bb082f72c0049cc8a54af29e70e0f756434e1
>
> Original change's description:
> > Move Dawn Ozone Image Representation over to Shared Texture Memory
> >
> > (Attempt #3)
> >
> > TESTED again on chromeos device using webgpu meets.
> >
> > This is done as far as ozone is concerned but the issue with opaque fences still remains. Basically ozone backing works with sync fences
> > and the external_vk_image_backing doesnt not.
> >
> > We are able to make this change only because webGPU for LINUX is not
> > enabled and will not be for the foreseeable future. WebGPU on linux
> > will work with this change if it uses the external_vk_image_backing
> > and associated representations.
> >
> > This is dependent on:
> > https://dawn-review.googlesource.com/c/dawn/+/194440
> >
> > This means that we must use single copy for linux video import as we
> > cannot use zero copy through ozone image backing (again due to
> > the fence sync vs opaque issue)
> >
> > See: 'CanImportNativePixmapToWebGPU' function
> >
> > Bug: 330385376
> > Change-Id: Ifaf2b8de9e9186a9f9e44ab0a74f2774de9035f6
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6173060
> > Reviewed-by: Michael Spang <sp...@chromium.org>
> > Commit-Queue: Peter McNeeley <peterm...@google.com>
> > Reviewed-by: Vasiliy Telezhnikov <vas...@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#1589395}
>
> Bug: 330385376
> Change-Id: I240b8d2c46b36b38e13f7e0f65044dd48b13e568
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7603194
> Reviewed-by: Vasiliy Telezhnikov <vas...@chromium.org>
> Reviewed-by: Michael Spang <sp...@chromium.org>
> Commit-Queue: Peter McNeeley <peterm...@google.com>
> Cr-Commit-Position: refs/heads/main@{#1599166}
Bug: 330385376
Change-Id: I375b93d46a281d352f952fa60638ab6d45acc50f

Change diff


Change information

Files:
  • M gpu/command_buffer/service/BUILD.gn
  • M gpu/command_buffer/service/shared_image/dawn_ozone_image_representation.cc
  • M gpu/command_buffer/service/shared_image/dawn_ozone_image_representation.h
  • M gpu/command_buffer/service/webgpu_decoder_impl.cc
  • M ui/gfx/linux/BUILD.gn
Change size: M
Delta: 5 files changed, 58 insertions(+), 159 deletions(-)
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Spang
  • Vasiliy Telezhnikov
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I375b93d46a281d352f952fa60638ab6d45acc50f
Gerrit-Change-Number: 7688916
Gerrit-PatchSet: 1
Gerrit-Owner: Peter McNeeley <peterm...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: David Worsham <dwor...@google.com>
Gerrit-CC: Robert Kroeger <rjkr...@chromium.org>
Gerrit-CC: Sasha Kunitskaya <sask...@google.com>
Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Michael Spang <sp...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Rubber Stamper (Gerrit)

unread,
Mar 22, 2026, 7:16:22 PM (21 hours ago) Mar 22
to Peter McNeeley, Chromium LUCI CQ, Vasiliy Telezhnikov, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
Attention needed from Michael Spang and Vasiliy Telezhnikov

Rubber Stamper voted Bot-Commit+1

Bot-Commit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Michael Spang
  • Vasiliy Telezhnikov
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I375b93d46a281d352f952fa60638ab6d45acc50f
    Gerrit-Change-Number: 7688916
    Gerrit-PatchSet: 1
    Gerrit-Owner: Peter McNeeley <peterm...@google.com>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
    Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: David Worsham <dwor...@google.com>
    Gerrit-CC: Robert Kroeger <rjkr...@chromium.org>
    Gerrit-CC: Sasha Kunitskaya <sask...@google.com>
    Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Michael Spang <sp...@chromium.org>
    Gerrit-Comment-Date: Sun, 22 Mar 2026 23:16:14 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Peter McNeeley (Gerrit)

    unread,
    10:09 AM (6 hours ago) 10:09 AM
    to Rubber Stamper, Chromium LUCI CQ, Vasiliy Telezhnikov, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
    Attention needed from Michael Spang and Vasiliy Telezhnikov

    Peter McNeeley added 1 comment

    Patchset-level comments
    File-level comment, Patchset 1 (Latest):
    Peter McNeeley . unresolved
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Spang
    • Vasiliy Telezhnikov
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I375b93d46a281d352f952fa60638ab6d45acc50f
      Gerrit-Change-Number: 7688916
      Gerrit-PatchSet: 1
      Gerrit-Owner: Peter McNeeley <peterm...@google.com>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
      Gerrit-Reviewer: Rubber Stamper <rubber-...@appspot.gserviceaccount.com>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: David Worsham <dwor...@google.com>
      Gerrit-CC: Robert Kroeger <rjkr...@chromium.org>
      Gerrit-CC: Sasha Kunitskaya <sask...@google.com>
      Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 14:08:55 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Vasiliy Telezhnikov (Gerrit)

      unread,
      10:32 AM (6 hours ago) 10:32 AM
      to Peter McNeeley, Rubber Stamper, Chromium LUCI CQ, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
      Attention needed from Michael Spang and Peter McNeeley

      Vasiliy Telezhnikov added 1 comment

      Patchset-level comments
      Peter McNeeley . unresolved

      I am just testing the mailbox failures that exist on the farm right now
      https://ci.chromium.org/ui/p/chromium/builders/ci/ChromeOS%20FYI%20Release%20(amd64-generic)/17782/overview

      Attention is currently required from:
      • Michael Spang
      • Peter McNeeley
      Gerrit-Attention: Peter McNeeley <peterm...@google.com>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 14:32:14 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Peter McNeeley <peterm...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Peter McNeeley (Gerrit)

      unread,
      10:50 AM (6 hours ago) 10:50 AM
      to Rubber Stamper, Chromium LUCI CQ, Vasiliy Telezhnikov, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
      Attention needed from Michael Spang and Vasiliy Telezhnikov

      Peter McNeeley added 1 comment

      Patchset-level comments
      Peter McNeeley

      Yes but I have yet to draw the connection to my change.
      Also I cannot seem to replicate these failures.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Spang
      • Vasiliy Telezhnikov
      Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 14:50:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Peter McNeeley <peterm...@google.com>
      Comment-In-Reply-To: Vasiliy Telezhnikov <vas...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Vasiliy Telezhnikov (Gerrit)

      unread,
      11:14 AM (5 hours ago) 11:14 AM
      to Peter McNeeley, Rubber Stamper, Chromium LUCI CQ, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
      Attention needed from Michael Spang and Peter McNeeley

      Vasiliy Telezhnikov added 1 comment

      Patchset-level comments
      Peter McNeeley . unresolved

      I am just testing the mailbox failures that exist on the farm right now
      https://ci.chromium.org/ui/p/chromium/builders/ci/ChromeOS%20FYI%20Release%20(amd64-generic)/17782/overview

      Vasiliy Telezhnikov

      From logs it fails [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/angle/third_party/dawn/src/dawn/native/vulkan/PhysicalDeviceVk.cpp;drc=a5a289f9476fa269f837d7daef8bb12af6e464ca;l=239) and then crashes [here](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/tests/webgpu_mailbox_unittest.cc;drc=cad5903484d19fe15c828ee76c0a507ddc42184e;l=1492) because adapter is null.

      Peter McNeeley

      Yes but I have yet to draw the connection to my change.
      Also I cannot seem to replicate these failures.

      Vasiliy Telezhnikov

      The only change that might have effect is in `gpu/command_buffer/service/webgpu_decoder_impl.cc`, rest doesn't run in crashing tests.

      I guess it now fails to create adapter if we don't have `SharedFenceSyncFD`, which we probably don't on VM?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Spang
      • Peter McNeeley
      Gerrit-Attention: Peter McNeeley <peterm...@google.com>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 15:14:13 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Peter McNeeley (Gerrit)

      unread,
      11:16 AM (5 hours ago) 11:16 AM
      to Rubber Stamper, Chromium LUCI CQ, Vasiliy Telezhnikov, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
      Attention needed from Michael Spang and Vasiliy Telezhnikov

      Peter McNeeley added 1 comment

      Patchset-level comments
      Peter McNeeley . unresolved

      I am just testing the mailbox failures that exist on the farm right now
      https://ci.chromium.org/ui/p/chromium/builders/ci/ChromeOS%20FYI%20Release%20(amd64-generic)/17782/overview

      Vasiliy Telezhnikov

      From logs it fails [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/angle/third_party/dawn/src/dawn/native/vulkan/PhysicalDeviceVk.cpp;drc=a5a289f9476fa269f837d7daef8bb12af6e464ca;l=239) and then crashes [here](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/tests/webgpu_mailbox_unittest.cc;drc=cad5903484d19fe15c828ee76c0a507ddc42184e;l=1492) because adapter is null.

      Peter McNeeley

      Yes but I have yet to draw the connection to my change.
      Also I cannot seem to replicate these failures.

      Vasiliy Telezhnikov

      The only change that might have effect is in `gpu/command_buffer/service/webgpu_decoder_impl.cc`, rest doesn't run in crashing tests.

      I guess it now fails to create adapter if we don't have `SharedFenceSyncFD`, which we probably don't on VM?

      Peter McNeeley

      Right this was the original path I was thinking. But the log you mentioned also seems critical. I also noticed a change in vulkan-deps. Is it possible that that cause a change which results in that early log failure?

      Since this is all 'vm' I should be able to repo locally on my cloudtop.
      I also in all honesty dont know why the SyncFD wouldnt work even if virtualized.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Spang
      • Vasiliy Telezhnikov
      Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 15:16:33 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Vasiliy Telezhnikov (Gerrit)

      unread,
      11:19 AM (5 hours ago) 11:19 AM
      to Peter McNeeley, Rubber Stamper, Chromium LUCI CQ, Michael Spang, AyeAye, David Worsham, Sasha Kunitskaya, Code Review Nudger, chromium...@chromium.org, Robert Kroeger, ozone-...@chromium.org
      Attention needed from Michael Spang and Peter McNeeley

      Vasiliy Telezhnikov added 1 comment

      Patchset-level comments
      Peter McNeeley . unresolved

      I am just testing the mailbox failures that exist on the farm right now
      https://ci.chromium.org/ui/p/chromium/builders/ci/ChromeOS%20FYI%20Release%20(amd64-generic)/17782/overview

      Vasiliy Telezhnikov

      From logs it fails [here](https://source.chromium.org/chromium/chromium/src/+/main:third_party/angle/third_party/dawn/src/dawn/native/vulkan/PhysicalDeviceVk.cpp;drc=a5a289f9476fa269f837d7daef8bb12af6e464ca;l=239) and then crashes [here](https://source.chromium.org/chromium/chromium/src/+/main:gpu/command_buffer/tests/webgpu_mailbox_unittest.cc;drc=cad5903484d19fe15c828ee76c0a507ddc42184e;l=1492) because adapter is null.

      Peter McNeeley

      Yes but I have yet to draw the connection to my change.
      Also I cannot seem to replicate these failures.

      Vasiliy Telezhnikov

      The only change that might have effect is in `gpu/command_buffer/service/webgpu_decoder_impl.cc`, rest doesn't run in crashing tests.

      I guess it now fails to create adapter if we don't have `SharedFenceSyncFD`, which we probably don't on VM?

      Peter McNeeley

      Right this was the original path I was thinking. But the log you mentioned also seems critical. I also noticed a change in vulkan-deps. Is it possible that that cause a change which results in that early log failure?

      Since this is all 'vm' I should be able to repo locally on my cloudtop.
      I also in all honesty dont know why the SyncFD wouldnt work even if virtualized.

      Vasiliy Telezhnikov
      The log is present in a passing run too:
      ```
      Warning: Vulkan shaderUniform*ArrayDynamicIndexing required.
      - While initializing adapter (backend=BackendType::Vulkan)
      at InitializeImpl (third_party/dawn/src/dawn/native/vulkan/PhysicalDeviceVk.cpp:240)

      gpu/command_buffer/tests/webgpu_mailbox_unittest.cc:1494: Skipped
      info.backendType != wgpu::BackendType::D3D12
      ```

      But it is able to get adapter (maybe GL compat?) and skip the test, as the test is windows only anyway.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michael Spang
      • Peter McNeeley
      Gerrit-Attention: Peter McNeeley <peterm...@google.com>
      Gerrit-Attention: Michael Spang <sp...@chromium.org>
      Gerrit-Comment-Date: Mon, 23 Mar 2026 15:19:49 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages