Skip to content

ANGLE SwapChain11 fails with EGL_BAD_ALLOC (Steam CEF black window) #141

Description

@cyyever

Environment

  • DXMT v0.74 (builtin)
  • Wine 11.5 (upstream, x86_64 via Rosetta 2)
  • macOS 26.4 (Tahoe), Apple M2
  • Steam client (steamwebhelper using Chromium CEF with ANGLE D3D11 backend)

Problem

Steam's CEF uses ANGLE to translate OpenGL ES to D3D11. With DXMT, ANGLE's SwapChain11::reset() fails:

SwapChain11.cpp:636 (virtual rx::SwapChain11::reset): Could not create additional swap chains or offscreen surfaces, HRESULT: 0x80004005
EGL Driver message (Critical) eglCreateWindowSurface: Bad allocation.
eglCreateWindowSurface failed with error EGL_BAD_ALLOC

The GPU process crashes repeatedly and Steam shows a black window.

Steps to reproduce

  1. Build Wine 11.5 from source on macOS (x86_64 via Rosetta)
  2. Install DXMT v0.74 builtin DLLs
  3. Create a Wine prefix and install Steam
  4. Launch Steam — observe black window
  5. Check Steam/logs/cef_log.txt for the SwapChain11 errors

Related

Issue #79 (ANGLE D3D11 Backend dEQP tests)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions