habitat-sim icon indicating copy to clipboard operation
habitat-sim copied to clipboard

Platform::GlfwApplication::tryCreate(): cannot create a window with core OpenGL context, falling back to compatibility context

Open Buddies-as-you-know opened this issue 1 year ago • 8 comments

Device Specifications OS: Windows 10 WSL: ubuntu 18.04.6LTS GPU: NVIDIA Geforce 3090, Driver Version: 4

Steps to reproduce the error Followed the instructions detailed in the README

To test the interactive viewer I ran the commandpython examples/viewer.py --scene ./data/scene_datasets/habitat-test-scenes/skokloster-castle.glb Platform: can't get Xft.dpi property for virtual DPI scaling, falling back to physical DPI GLX: Failed to create context: GLXBadFBConfig Platform::GlfwApplication::tryCreate(): cannot create a window with core OpenGL context, falling back to compatibility context GLX: Failed to create context: GLXBadFBConfig Platform::GlfwApplication::tryCreate(): cannot create a window with OpenGL context malloc_consolidate(): invalid chunk size Aborted (core dumped)

Buddies-as-you-know avatar May 03 '23 05:05 Buddies-as-you-know

@0mdc thoughts?

aclegg3 avatar May 18 '23 15:05 aclegg3

@YuminosukeSato What version of Habitat-Sim are you using? I recall a similar issue that was fixed here: #2055

0mdc avatar May 25 '23 20:05 0mdc

@0mdcI use git cloned habitat sim and conda install habitat-sim -c conda-forge -c aihaveat in last month.

Buddies-as-you-know avatar May 29 '23 06:05 Buddies-as-you-know

@YuminosukeSato Did you manage to find a solution for this?

0mdc avatar Jul 04 '23 17:07 0mdc

No. I don't find a solution. I think that wsl is problem.

Buddies-as-you-know avatar Jul 05 '23 14:07 Buddies-as-you-know

It's possible. I am not set up to reproduce on WSL at the moment.

Could you try if this solution addresses the problem: https://stackoverflow.com/questions/66497147/cant-run-opengl-on-wsl2

0mdc avatar Jul 05 '23 15:07 0mdc

i have the same problem in Ubuntu20.04, RTX3090

wzjscut avatar Dec 25 '23 03:12 wzjscut