Skip to content

Crash in WSL with GLFW Error #65

@saltedfisssh

Description

@saltedfisssh

I am encountering a crash while running train_gui.py within Windows Subsystem for Linux (WSL). The error occurs during the training process, specifically when the GUI is initialized (using the --gui flag).
I have confirmed that dearpygui itself is functional within my WSL environment. I was able to create and display a simple window using dearpygui without any issues.
Without GUI, it can be trained normally.

python train_gui.py --source_path /mnt/e/data/dnerf/hellwarrior/ --model_path outputs/hellwarrior --deform_type node --node_num 512 --hyper_dim 8 --is_blender --eval --gt_alpha_mask_as_scene_mask --local_frame --resolution 2 --W 800 --H 800 --gui
Use original torch svd!
Setting up [LPIPS] perceptual loss: trunk [alex], v[0.1], spatial [off]
/home/saltyfish/miniconda3/envs/scgs/lib/python3.12/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
  warnings.warn(
/home/saltyfish/miniconda3/envs/scgs/lib/python3.12/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=AlexNet_Weights.IMAGENET1K_V1`. You can also use `weights=AlexNet_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
Loading model from: /home/saltyfish/miniconda3/envs/scgs/lib/python3.12/site-packages/lpips/weights/v0.1/alex.pth
/home/saltyfish/miniconda3/envs/scgs/lib/python3.12/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=VGG16_Weights.IMAGENET1K_V1`. You can also use `weights=VGG16_Weights.DEFAULT` to get the most up-to-date weights.
  warnings.warn(msg)
Optimizing outputs/hellwarrior_node
Output folder: outputs/hellwarrior_node [01/04 13:38:41]
Building Learnable Gaussians for Nodes! [01/04 13:38:41]
Loading trained model at iteration None [01/04 13:38:41]
Found transforms_train.json file, assuming Blender data set! [01/04 13:38:41]
Reading Training Transforms [01/04 13:38:41]
Read Train Transforms with 100 cameras [01/04 13:38:45]
Loading Training Cameras [01/04 13:38:46]
Loading Test Cameras [01/04 13:38:49]
Number of points at initialisation :  100000 [01/04 13:38:49]
Initialize nodes with Random point cloud. [01/04 13:38:49]
Initialize Learnable Gaussians for Nodes with Point Clouds! [01/04 13:38:50]
Control node initialized with 512 from 100000 points. [01/04 13:38:50]
Training progress:   0%|                                                                                                                                                                                        | 0/80000 [00:00<?, ?it/s]Glfw Error 65542: GLX: No GLXFBConfigs returned
Glfw Error 65545: GLX: Failed to find a suitable GLXFBConfig
python: /home/runner/work/DearPyGui/DearPyGui/thirdparty/glfw/src/window.c:533: glfwSetWindowPos: Assertion `window != NULL' failed.
[1]    1276 IOT instruction (core dumped)  python train_gui.py --source_path /mnt/e/data/dnerf/hellwarrior/ --model_path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions