Closed Bug 1732726 Opened 4 years ago Closed 3 years ago

Use PBO uploads on Windows

Categories

(Core :: Graphics: WebRender, enhancement, P3)

enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: nical, Assigned: nical)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

No description provided.
Pushed by nsilva@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa3496e5bb76 Use PBO uploads on Windows. r=gfx-reviewers,gw
Flags: needinfo?(nical.bugzilla)

I see two flavors of what is probably the same issue, both of which coming from gl::map_buffer_range:

  • One shows up as out-of-memory errors raised by the GL implementation (gl error 0x505) (picked up by the assertion on gl errors pref).
  • The other is with HRESULT 0x887A000A (DXGI_ERROR_WAS_STILL_DRAWING) leading to "Failed to transiently map PBO of size 1048576 bytes" in get_pbo. That size is the default PBO size, not surprising nor unreasonable.

The latter is a bit worrying since we use fence objects to ensure upload PBOs are not recycled while they are still in use.

I ran tsvgx locally and didn't find content in there causing us to upload an unreasonable amount of blob pixels in the same frame.

Flags: needinfo?(nical.bugzilla)

With ANGLE we can run into DXGI_ERROR_WAS_STILL_DRAWING errors when trying to map a PBO even if we are using a fence to ensure the GPU is done.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Attachment #9243703 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: