mirror of
https://github.com/Comfy-Org/comfy-angle.git
synced 2026-11-04 23:37:28 +00:00
[GH-ISSUE #7] Both ANGLE backends fail on Linux + NVIDIA (610.43.3.0, RTX 4090): EGL_BAD_ATTRIBUTE on default backend, VK_ERROR_INITIALIZATION_FAILED on Vulkan backend #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-angle#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Taithrah on GitHub (Jul 25, 2026).
Original GitHub issue: https://github.com/Comfy-Org/comfy-angle/issues/7
Environment
vulkaninfo --summary: instance 1.4.350, device fully conformant)comfy_extras/nodes_glsl.py)Summary
Both ANGLE backends fail on this system, in different ways, while native NVIDIA EGL/GLES works fine for the identical call sequence.
eglGetDisplay(EGL_DEFAULT_DISPLAY), reports asGoogle Inc. (NVIDIA Corporation)): initializes fine, andeglChooseConfigreturns a fully valid config (EGL_SURFACE_TYPEincludesPBUFFER_BIT,EGL_RENDERABLE_TYPEincludesES3_BIT). ButeglCreatePbufferSurfacewith onlyEGL_WIDTH/EGL_HEIGHTfails withEGL_BAD_ATTRIBUTE— even with explicitEGL_TEXTURE_FORMAT/EGL_TEXTURE_TARGET = EGL_NO_TEXTUREadded.EGL_PLATFORM_ANGLE_TYPE_VULKAN_ANGLE, same platform ComfyUI's own headless fallback requests): fails ateglInitializeitself withVK_ERROR_INITIALIZATION_FAILED(-3). Not a layer conflict (same failure withVK_LOADER_LAYERS_DISABLE=~all~), and Vulkan is otherwise healthy on this system.Workaround
Replacing the bundled ANGLE binaries in the installed
comfy_anglepackage with the system's nativelibglvnddispatch libraries resolves it completely:This bypasses ANGLE's translation layer and routes straight to the native NVIDIA driver, which handles the same calls without error.
Flagging in case it's a known limitation worth documenting, or fixable via a different Linux ANGLE build in this package.