-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Open
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.
Description
Custom Node Testing
- I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
The new GLSL shader node should be working, at least in the default configuration.
Actual Behavior
On attempt to run it on an image, the following error is shown:
GLSLShader
No array-type handler for type <class 'numpy.uintc'> (value: np.uint32(2)) registered
Steps to Reproduce
- Load the workflow
- Run it
Debug Logs
[START] Security scan
[DONE] Security scan
** ComfyUI startup time: 2026-02-22 21:52:02.380
** Platform: Windows
** Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
** Python executable: E:\GIT\ComfyUI-dev\venv\Scripts\python.exe
** ComfyUI Path: E:\GIT\ComfyUI-dev
** ComfyUI Base Folder Path: E:\GIT\ComfyUI-dev
** User directory: E:\GIT\ComfyUI-dev\user
** ComfyUI-Manager config path: E:\GIT\ComfyUI-dev\user\__manager\config.ini
** Log path: E:\GIT\ComfyUI-dev\user\comfyui.log
[PRE] ComfyUI-Manager
E:\GIT\ComfyUI-dev\venv\Lib\site-packages\torch\cuda\__init__.py:65: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
Found comfy_kitchen backend triton: {'available': False, 'disabled': True, 'unavailable_reason': "ImportError: No module named 'triton'", 'capabilities': []}
Found comfy_kitchen backend eager: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
Found comfy_kitchen backend cuda: {'available': True, 'disabled': False, 'unavailable_reason': None, 'capabilities': ['apply_rope', 'apply_rope1', 'dequantize_nvfp4', 'dequantize_per_tensor_fp8', 'quantize_nvfp4', 'quantize_per_tensor_fp8', 'scaled_mm_nvfp4']}
Checkpoint files will always be loaded safely.
Total VRAM 16303 MB, total RAM 32168 MB
pytorch version: 2.10.0+cu130
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 5080 Laptop GPU : cudaMallocAsync
Using async weight offloading with 2 streams
Enabled pinned memory 14475.0
working around nvidia conv3d memory bug.
Using pytorch attention
Python version: 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
ComfyUI version: 0.14.1
ComfyUI frontend version: 1.39.14
[Prompt Server] web root: E:\GIT\ComfyUI-dev\venv\Lib\site-packages\comfyui_frontend_package\static
[START] ComfyUI-Manager
[ComfyUI-Manager] network_mode: public
[ComfyUI-Manager] The matrix sharing feature has been disabled because the `matrix-nio` dependency is not installed.
To use this feature, please run the following command:
E:\GIT\ComfyUI-dev\venv\Scripts\python.exe -m pip install matrix-nio
Skipping loading of custom nodes
Context impl SQLiteImpl.
Will assume non-transactional DDL.
Assets scan(roots=['models']) completed in 0.024s (created=0, skipped_existing=11, orphans_pruned=0, total_seen=11)
Starting server
To see the GUI go to: http://127.0.0.1:8188
got prompt
GLSL context initialized in 1200.9ms (glfw) - NVIDIA GeForce RTX 5080 Laptop GPU/PCIe/SSE2 (NVIDIA Corporation), GL 3.3.0 NVIDIA 581.57
GLSL shader executed in 1233.4ms (1 batch, 906x512)
!!! Exception during processing !!! No array-type handler for type <class 'numpy.uintc'> (value: np.uint32(2)) registered
Traceback (most recent call last):
File "E:\GIT\ComfyUI-dev\execution.py", line 524, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\execution.py", line 333, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\execution.py", line 307, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "E:\GIT\ComfyUI-dev\execution.py", line 295, in process_inputs
result = f(**inputs)
^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\comfy_api\internal\__init__.py", line 149, in wrapped_func
return method(locked_class, **inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\comfy_api\latest\_io.py", line 1748, in EXECUTE_NORMALIZED
to_return = cls.execute(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\comfy_extras\nodes_glsl.py", line 842, in execute
all_batch_outputs = _render_shader_batch(
^^^^^^^^^^^^^^^^^^^^^
File "E:\GIT\ComfyUI-dev\comfy_extras\nodes_glsl.py", line 720, in _render_shader_batch
gl.glDeleteTextures(tex)
File "src/latebind.pyx", line 52, in OpenGL_accelerate.latebind.Curry.__call__
File "E:\GIT\ComfyUI-dev\venv\Lib\site-packages\OpenGL\GL\exceptional.py", line 59, in glDeleteTextures
ptr = arrays.GLuintArray.asArray( size )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/arraydatatype.pyx", line 174, in OpenGL_accelerate.arraydatatype.ArrayDatatype.asArray
File "src/arraydatatype.pyx", line 57, in OpenGL_accelerate.arraydatatype.HandlerRegistry.c_lookup
TypeError: No array-type handler for type <class 'numpy.uintc'> (value: np.uint32(2)) registered
Prompt executed in 1.29 secondsOther
Tested on the latest commit: caa43d2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Potential BugUser is reporting a bug. This should be tested.User is reporting a bug. This should be tested.