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
Switched from 0.10 package to latest code, FPS dropped from 25 to 0.5 - filament? #2157
Comments
confirming its the change from open3d-0.10.0.0 to open3d-0.10.0.1 (checkout from 7 August 2020) that causes big drop in performance. |
No. Filament is only used for the gui app for now.
Try compiling with (Also @prewettg ) |
+1 |
I am also facing this same issue with a significant drop in fps for 0.10.0 compared to 0.9.0. I am providing a reproducible examples for both the meshes and code below. Here is the script to load meshes. Simply interact with the visualizer (rotate). Please also press 'w' to turn on wireframe. This causes an even larger slowdown. """Demo of Open3D 0.10.0 Slowdown
Please modify DIRECTORY to point to the folder of meshes attached to this issue reply
"""
import os
import open3d as o3d
DIRECTORY = 'o3d_slow_down'
def main():
all_meshes = []
all_files = sorted(list(os.listdir(DIRECTORY)))
for filename in all_files:
print(filename)
mesh = o3d.io.read_triangle_mesh(os.path.join(DIRECTORY, filename))
all_meshes.append(mesh)
o3d.visualization.draw_geometries(all_meshes)
if __name__ == "__main__":
main() To switch back and forth between opend3d==0.10.0 and open3d==0.9.0 please perform the following in a python virtual environment:
I have notices this issue on Windows and Ubuntu 18.04. Here are more details: OS: Windows 10 and Ubuntu 18.04 QuantificationOn Winows 10 I could provide hard numbers quantifying the fps drop because I can use MSI afterburner to display fps overlay on OpenGL screens. However on linux I can not figure out how to do this with an open source program. I think the issue is my closed source nvidia driver I am using. If you want the fps drop number let me know and I will reboot back into windows 10 and provide that data. |
Can you try the |
Hey @prewettg thanks for suggesting this fix. I am almost positive that this is my issue as well. I will try and test this out sometime this week, but will have to compile from scratch and will probably only test on Ubuntu 18.04. Note that I am not sure if this is the same issue that @keithahern is facing. |
So I have pulled from master with PR #2523. I have installed on a Windows 10 Machine X64. Here are the results for the script above:
So it looks the PR has successfully handled my issue. |
I needed access to the new GUI api and so I checked out the latest code and built it with RealSense support on OSX. Now the FPS has dropped from around 25 (rendering 2 x 640x480 point clouds) to 0.5 in my application. I noticed "Filament library loaded. is output when I run the app, is Open3D now defaulting to a high quality (but slower) renderer? How can I control this and restore a faster FPS.
I have reproduced this with the simplest of code, just load and render a point cloud in the visualiser.
I expected performance to be closer to the pre-filament rendered in the 0.10 public build, any help much appreciated, thank you.
The text was updated successfully, but these errors were encountered: