isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.22k stars 2.28k forks source link

open3D crashes with wglCreateContextAttribs() failed, whdc=000000001F011110 #5770

Open geppi opened 1 year ago

geppi commented 1 year ago

Checklist

Describe the issue

This is happening in a Windows 10 21H2 virtual machine under VMware Workstation 16 Pro with the latest VMware tools. I've tried with Python 3.10.6 and open3D 0.16 as well as Python 3.10.9 and open3D 0.16.1+9ca1c11.

None of the examples works nor my own code. As soon as the window frame comes up the error message:

wglCreateContextAttribs() failed, whdc=000000001F011110

is issued on the console and the application crashes. I've seen a few other whdc error codes like FFFFFFFF8E01138C or 000000002F010E8E

There is no problem to run open3D in an Ubuntu 22.04 virtual machine under VMware Workstation 16 Pro on the same host.

Steps to reproduce the bug

open3d example geometry/point_cloud_paint

Error message

wglCreateContextAttribs() failed, whdc=000000001F011110

Expected behavior

Working open3D applications like in the Ubuntu 22.04 virtual machine on the same VMware host.

Open3D, Python and System information

- Operating system: Windows 10 64-bit in a VMware Workstation 16.2.x virtual machine
- Python version: Python 3.10.9
- Open3D version: 0.16.1+9ca1c11
- System architecture: x86
- Is this a remote workstation?: yes or no
- How did you install Open3D?: pip

Additional information

No response

ssheorey commented 1 year ago

HI @geppi Open3D needs a GPU for visualization and Windows VMs normally don't have one. There is support for CPU rendering (when no GPU is available) but only in Linux as yet. This is through the Mesa3D graphics drivers. They are available for Windows as well. If you are interested, please contribute CPU rendering support for Windows and we would be happy to add it to Open3D.

References: