Comfy-Org / Comfy-Org/ComfyUI

3D preview does not show preview on linux

Open
#6,283 3 comments 0 reactions 1 assignee Claimed by @jtydhr88 View on GitHub
Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Expected Behavior

I expect it to function in the same way it does in the video in this post
https://x.com/jtydhr88/status/1870651668200829027

### Actual Behavior

however it doesnt even show a preview window inside the node
![Screenshot_20241230_124909](https://github.com/user-attachments/assets/5d0b70b3-d7e6-4e59-b64d-ac78f25abea5)

### Steps to Reproduce

I installed the new comfy update by "git pulling" my existing install's location
then I also updated the IF-TRELLIS custom nodes
plugged the nodes in as you see in the image above with, setting the preview widget to an input

### Debug Logs

```powershell
see the GUI go to: http://0.0.0.0:8188
To see the GUI go to: http://[::]:8188
Missing chrome or resource URL: chrome://browser/content/null
FETCH DATA from: /home/jordancruz/Tools/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json [DONE]
got prompt
[ATTENTION] Set backend to: flash_attn
Environment configured - Backend: spconv, Attention: flash_attn, Smooth K: True, SpConv Algo: implicit_gemm
[ATTENTION] Set backend to: flash_attn
Loading local model: ss_dec_conv3d_16l8_fp16
Loading local model: ss_flow_img_dit_L_16l8_fp16
Loading local model: slat_dec_gs_swin8_B_64l8gs32_fp16
Loading local model: slat_dec_rf_swin8_B_64l8r16_fp16
Loading local model: slat_dec_mesh_swin8_B_64l8m256c_fp16
Loading local model: slat_flow_img_dit_L_64l8p2_fp16
Loading DINOv2 model from /home/jordancruz/Tools/ComfyUI/models/classifiers/dinov2_vitl14_reg.pth
Using cache found in /home/jordancruz/.cache/torch/hub/facebookresearch_dinov2_main
UserWarning: xFormers is available (SwiGLU)
UserWarning: xFormers is available (Attention)
UserWarning: xFormers is available (Block)
using MLP layer as FFN
Input images tensor initial shape: torch.Size([1, 512, 512, 3])
torch_to_pil_batch input shape: torch.Size([1, 512, 512, 3])
Processed image 0, shape: (512, 512, 3), mode: RGB
Sampling: 100%|█████████████████████████████████| 24/24 [00:12<00:00, 1.96it/s]
Sampling: 100%|█████████████████████████████████| 24/24 [00:07<00:00, 3.24it/s]
Rendering: 300it [00:01, 206.62it/s]
Rendering: 300it [00:03, 79.86it/s]
Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process.
Full video path: /home/jordancruz/Tools/ComfyUI/output/trellis_output/trellis_output_preview.mp4, Processed video path: output/trellis_output/trellis_output_preview.mp4
Before postprocess: 134248 vertices, 268488 faces
Decimating Mesh: 100%|█████████████████████████████████████████████[00:01<00:00]
After decimate: 6716 vertices, 13424 faces
Rasterizing: 100%|█████████████████████████| 1000/1000 [00:01<00:00, 823.42it/s]
Found 6596 invisible faces
Dual graph: 20134 edges
Mincut solved, start checking the cut
Removed 6631 faces by mincut
INFO- Loaded 3399 vertices and 6793 faces.

100% done
After remove invisible faces: 3399 vertices, 6794 faces
Rendering: 100it [00:01, 92.63it/s]
Texture baking (fast): 100%|█████████████████| 100/100 [00:00<00:00, 638.91it/s]
Full GLB path: /home/jordancruz/Tools/ComfyUI/output/trellis_output/trellis_output.glb, Processed GLB path: output/trellis_output/trellis_output.glb
Prompt executed in 136.95 seconds
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:49:19.600: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:49:19.611: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:49:19.634: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:49:19.634: g_strv_length: assertion 'str_array != NULL' failed
got prompt
Prompt executed in 3.31 seconds
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:53:54.480: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:53:54.481: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:53:54.486: g_strv_length: assertion 'str_array != NULL' failed
[Parent 13185, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201

(FFPWA-01HSZ2Z73444DKV7YWHJVQGV1R:13185): GLib-CRITICAL **: 12:53:54.487: g_strv_length: assertion 'str_array != NULL' failed
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.