You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've verified that this approach works by manually modifying the code. However, I would appreciate any feedback on this fix before submitting a PR.
I would also be happy to submit a PR with this fix if it looks good.
The text was updated successfully, but these errors were encountered:
Problem Description
When running in WSL environment, ComfyUI-3D-Pack fails to load with the following error:
RuntimeError: Cuda error: 304[cudaGraphicsGLRegisterBuffer(&s.cudaPosBuffer, s.glPosBuffer, cudaGraphicsRegisterFlagsWriteDiscard);]
Root Cause
The issue stems from an inconsistency in how the rasterizer is selected:
multiview_color_projection_texture()
function offers aforce_cuda_rast
parameter that allows choosing between OpenGL and CUDA rasterizersPix2FacesRenderer
class inproject_mesh.py
always initializes withRasterizeGLContext
during module loadingProposed Fix
The solution is to make the CUDA rasterizer option consistent throughout the codebase:
I've verified that this approach works by manually modifying the code. However, I would appreciate any feedback on this fix before submitting a PR.
I would also be happy to submit a PR with this fix if it looks good.
The text was updated successfully, but these errors were encountered: