-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gz sim -g fails on Windows with error "wglMakeCurrent failed: The pixel format is invalid." #2089
Comments
The same happens to me with Intel HD Graphics 4600 and ogre2 (GPU should have OpenGL 4.3) on Harmonic. |
To progress on this issue, I backtracked down to gz-rendering . I am tring some gz-rendering examples, and while some do not work on Windows, some work. In particular simple_demo and simple_demo_qml do not work, while https://github.com/gazebosim/gz-rendering/tree/gz-rendering8/examples/wide_angle_camera works. |
I'll open a new issue for gz sim -g support on Windows as #168 is a a bit generic and contains a lot of confusing information.
Environment
OS Version: Microsoft Windows [Version 10.0.22000.2176]
Source or binary build?
Binary from conda-forge,
mamba list
included in detailsIf this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
Rendering plugin: [ogre2].
EGL headless mode:
Generally, mention all circumstances that might affect rendering capabilities:
Rendering system info:
dxdiag
and report the GPU-related information.Please, attach the ogre.log or ogre2.log file from
~/.gz/rendering
The logs were to big for an issue, see them at https://gist.github.com/traversaro/bb1adcc11ce1a3baf7e1a712c226fb31 .
Description
gz sim -s
crashes, whilegz sim -g
crashesgz sim -s
followed bygz sim -g
opens the simulation WindowsSteps to reproduce
mamba create -n gzsim7 gz-sim7
%CONDA_PREFIX%\Library\lib\ruby\gz\cmdsim7.rb
gz sim -s
followed bygz sim -g
Output
The text was updated successfully, but these errors were encountered: