Open3d: Failed to find service port for display

Created on 1 Apr 2020  路  1Comment  路  Source: intel-isl/Open3D

Describe the bug
On mac OS,10.15.1 Failed to find service port for display when trying to visualize a ply file.

To Reproduce
Steps to reproduce the behavior:
xzy = np.random.random((100,3))*10
pcd = o3d.geometry.PointCloud()
pcd.points = o3d.utility.Vector3dVector(xyz)
o3d.visualization.draw_geometries([pcd])

then

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: [Open3D ERROR] GLFW Error: Cocoa: Failed to find service port for display

Expected behavior
Expected to visualize the point cloud

Environment (please complete the following information):

  • OS: [ OSX Catalina]
  • Python version: 3.7.3
  • Open3D version:0.9.00
  • Is this remote workstation?: no
  • How did you install Open3D?: pip
possible bug

Most helpful comment

I am running a Macbook with a second display provided by airplaying to an iPad (new OS X feature). When I disconnected the airplay display I no longer got this error.

>All comments

I am running a Macbook with a second display provided by airplaying to an iPad (new OS X feature). When I disconnected the airplay display I no longer got this error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taochenshh picture taochenshh  路  3Comments

DKandrew picture DKandrew  路  3Comments

Prakash19921206 picture Prakash19921206  路  4Comments

Timu777 picture Timu777  路  3Comments

lordlycastle picture lordlycastle  路  3Comments