Skip to content
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

Graph view has extremely low FPS in desktop app (Arch Linux/x11/Nvidia GTX 1070) #6052

Closed
Vectorrent opened this issue Jul 15, 2022 · 2 comments
Labels

Comments

@Vectorrent
Copy link

Vectorrent commented Jul 15, 2022

What happened?

I have a relatively small graph (less than 300 pages), that I am trying to render in "Graph view." This page opens quickly, but takes 30+ seconds for each node to "shift" into position. The more pages, the worse it is. Everything moves at like 1 FPS.

If I export my graph, and open it in the web app (Chrome or Firefox), it works great. "Graph view" loads in about 5 seconds.

Mobile app (Android) works great as well.

Reproduce the Bug

  1. Click on "Graph view."
  2. Wait 30+ seconds for everything to shift into place.

Expected Behavior

I would expect "Graph view" to render at least as fast as in the web app - if not faster.

Screenshots

No response

Desktop Platform Information

Arch Linux
Logseq v0.7.6 (from the AUR)
Nvidia GTX 1070 (proprietary driver)
X11
i7-4790K

Mobile Platform Information

No response

Additional Context

No response

@Vectorrent
Copy link
Author

It appears that updating to a modern version of Electron fixes the problem. I updated to 19.0.8, as recommended in #6032, and it addresses the graph lag completely. I'll keep testing, and post any issues that come from the upgrade in that PR.

@Vectorrent
Copy link
Author

Resolved by #6032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants