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

Reconstruction Viewer Performance Degradation On Linux #69

Closed
carshadi opened this issue Oct 9, 2021 · 1 comment
Closed

Reconstruction Viewer Performance Degradation On Linux #69

carshadi opened this issue Oct 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@carshadi
Copy link
Member

carshadi commented Oct 9, 2021

Describe the bug
When Reconstruction Viewer is opened alongside an active SNT instance, the entire GUI slows down dramatically to the point of being nearly unusable. This only appears to affect Linux distributions (I don't know about mac, as I do not own one). I have encountered this both on my Manjaro KDE plasma box with a discrete GPU (GTX 1080), and on my Fedora 34 Workstation laptop with intel integrated graphics. Windows is not affected, at least perceptually...

The standalone Reconstruction Viewer is not affected, unless an SNT instance is opened after starting the viewer, or if an SNT instance was closed prior to starting viewer.

To Reproduce
Steps to reproduce the behavior:

  1. Start SNT
  2. Open Reconstruction Viewer (either standalone or from the SNT dialog's 3D tab)

or

  1. Open standalone Reconstruction Viewer
  2. Start SNT

or

  1. Start SNT
  2. Close SNT
  3. open standalone Reconstruction Viewer
@carshadi carshadi added the bug Something isn't working label Oct 9, 2021
@tferr
Copy link
Member

tferr commented Oct 12, 2021

I noticed this too. Really frustrating. What I had never noticed is that the last sequence can also trigger it.
Things we could try:

  1. If we suppress all of the legacy 3D Viewer calls in SNTUI, does it still happen (i.e., suppress the "Legacy 3D Viewer" widget). If I recall correctly, there are some static calls to jogl code. I guess another way to test this would be to see if opening the legacy 3D viewer also degrades things
  2. Are resources from SNTService /SNTUtils not being disposed properly?

tferr added a commit that referenced this issue Nov 16, 2021
WIP: This is a massive refactoring to address  #69
- OverlayAnnotations are broken
- mvn package fails due to duplicated classes

TODO: replace zy3d-native-jogl-awt depencies w/ >jzy3d-native-jogl-swing
@tferr tferr closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants