Open TimingSpace opened 4 years ago
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.
Hello, do you fix the problem now?
I also meet the problem on mac M1
Did anyone ever success this on mac M1? It troubles me!!! Thx!!!
Has anyone been able to fix this on an M1 MacBook?
Has anyone been able to fix this on an M1 MacBook?
I remember use the latest open3D can solve the problem
@Jianghanxiao Do you remember how you did it? I had compiled Open3D v0.13.0, but still the visualizations didn't show up and neither the point cloud data was read.
@Jianghanxiao Do you remember how you did it? I had compiled Open3D v0.13.0, but still the visualizations didn't show up and neither the point cloud data was read.
Based on my current environment, the open3D I use is 0.12.0. It's installed through pip
Can you import a pcd file, and then show me the visualization?
I'm having the same issue on a M1 Max with 0.14.1 installed though pip
@DenisTome Please try the development pip packages available here. Some fixes have been made since 0.14.1 to support Apple Silicon (M1).
They have changed how the visualizer is accessed in 0.14.0. Try the new one @DenisTome.
Tested with 0.15.1.
Calling both: open3d.visualization.draw_geometries
and open3d.visualization.draw
raise:
[Open3D WARNING] GLFW Error: Cocoa: Failed to find service port for display
The GUI opens, but displays an empty scene:
@YajJackson I had a similar issue, then noticed that the object is actually there but you need to rotate the viewport to see it (left click + move your mouse/zoom in-out until you see something). My guess is that it does not render properly when normals are aligned in certain directions. Setting mesh_show_wireframe=True
in o3d.visualization.draw_geometries([mesh], mesh_show_wireframe=True)
helps, in the sense that you can see the mesh wireframe so the object becomes more visibile even for small meshes.
Any update on this? Running M2 Macbook air
Same issue on Mac M1. open3d 0.11.2 and python 3.8.13.
@schauppi Update to Open3D 0.15.1, your version doesn't have support for Apple Silicon.
I have the same problem. The python crashed when I tried to close the visualization window with the same message: "[Open3D WARNING] GLFW Error: Cocoa: Failed to find service port for display"
Apple M1 chip iOS Ventura 13.0.1 Python 3.8 open3d 0.16.1
@azadeh-sharafi Experiment with a newer version of Python and also try using open3d v0.15.1
I meet the problem on mac M2
me too. on MacOS Ventura 13.1, Apple M1
I created a Conda env with x86 architecture on my m1 Mac and I also have this problem.
Environment:
OS: macOS Ventura 13.2 Python version: 3.9.15, arch=x86_64 Open3D version:0.16.1 Is this remote workstation?: no How did you install Open3D?: pip
Me too. With M1 Pro, python=3.9, and open3d 0.15.1
I have the same issue. Python GUI opens up, but crashes when I try to close the window. python: 3.10.9 open3d: 0.16.1
Was having this issue as well. I noticed that switching from draw_geometries
to simply using the new draw
fixed my issues.
Same problem M1 Pro; Open3d 0.17.0.
Is there a prebuilt wheel with Jupyter visualisation set to ON?
Same issue.
I experience the same issue on my M1 MacBook Pro when running draw_geometries: [error] GLFW error: Cocoa: Failed to find service port for display
Problem persists
same here for my M1 laptop. I have to switch to intel Mac right now temporarily.
I am using open3d==0.17.0
on a Macbook M1 with python==3.9.12
and am able to view the visualizer with o3d.visualization.draw_geometries([pcd])
But I still get the error [Open3D WARNING] GLFW Error: Cocoa: Failed to find service port for display
.
On the other hand if I use the following code,
vis = open3d.visualization.Visualizer()
vis.create_window()
vis.add_geometry(pcd)
vis.run()
vis.close()
and if I close the visualizer and run more code (while inside a python interpreter), it hangs and gives the following error
[Open3D WARNING] GLFW Error: The GLFW library is not initialized
[Open3D WARNING] [PhongShaderForTriangleMesh] Compiling shaders failed.
Then I have to restart the terminal again which slows down my debugging process.
Sorry that this is no help to the people still seeing this problem, but for whatever help it is to isolate the cause:
I’m able to run Open3D 0.17.0 without these problems, using macOS Monterey 12.6.4 on a 2021 MacBook Pro M1 Max. I’m using Python 3.10.10 via a Conda environment. In case it is relevant, I installed GLEW and GLFW via Homebrew, for use from c++, in the last few months.
I’m able to use o3d.visualization.draw_geometries()
as in the original test code for this issue. Normally I use the “non blocking” API o3d.visualization.Visualizer()
, update_geometry()
, etc. I’ve also run the newer o3d.visualization.draw()
tools.
I do see this message once: “[Open3D WARNING] GLFW Error: Cocoa: Failed to find service port for display” but everything seem to work OK.
Encounter following bug using GLFW "0.52.0" with rust version "1.26.0" on macOS 13.4.1 with 2021 Apple M1 Pro Chip.
Bug Info: "thread 'main' panicked at 'GLFW Error: Cocoa: Failed to find service port for display'"
same problem with M2 Pro Mac mini.
same issue with Mac M1 pro
same problem with M2 pro
+1
+1
same problem on m1 pro
Same problem here on my Apple MacBook Pro M1 (Sonoma 14.4.1).
I noticed that the latest Open3D version I can install using pip is 0.16.1, not the latest release 0.18. If I try to manually install the 0.18 release wheels I get system compatibility errors; e.g.:
$ pip install https://github.com/isl-org/Open3D/releases/download/v0.18.0/open3d-0.18.0-cp310-cp310-macosx_13_0_arm64.whl
--> ERROR: open3d-0.18.0-cp310-cp310-macosx_13_0_arm64.whl is not a supported wheel on this platform.
I suspect one could build Open3D locally on the machine or using docker to get the latest working wheels...
Same issue here for Mac M2, any updates ?
Same issue for MacBookPro M2.
Same problem with open3d 0.18.0 M3 Pro Sonoma 14.4
same problem here
same problem here M2 AIR Sonoma 14.6.1
Omg, same problem, M3 Pro, Sequoia 15.0
Same problem:
I'm glad that MacOS keeps making trouble to Open3D. Love this phenomenon. Should have installed a linux.
Has anyone found a solution?
Has anyone found a solution?
I recommend just using the plotly visualization functions. It has limited functionality but it unblocked me for my use case. The nice thing is you can visualize within a Jupyter Notebook. You'll need to convert to legacy before plotting.
o3d.visualization.draw_plotly([pcd.legacy()])
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
Expected behavior Expected to visualize the point cloud
Environment (please complete the following information):