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

[EMSUSD-660] Viewport FPS drop when using USD #3240

Open
arnaudTAT opened this issue Jul 20, 2023 · 8 comments
Open

[EMSUSD-660] Viewport FPS drop when using USD #3240

arnaudTAT opened this issue Jul 20, 2023 · 8 comments
Assignees
Labels
bug Something isn't working reproduced Issue has been reproduced

Comments

@arnaudTAT
Copy link

arnaudTAT commented Jul 20, 2023

Hello,

If we have several panels with different parameters (Textured on/off or wireframe on/off and use default Mat) we have a drop in FPS when we click to navigate in the viewport (drop to 1 FPS).
Note that if we have different panels with identical parameters (e.g. textured off everywhere), the scenes are ultra-smooth.

Many options have been tested:

  • viewport 2.0 openGL/directX
  • We also tested on other machines and had the same problem, on 2023.3 too.
  • We thought it was coming from the usd shader (UsdPreviewSurface), but no more.
  • We even tested it with the basic Kitchen.usd example, and by duplicating it 4/5 times we got the same problem. (you need a scene with content for the fps to drop).

Another point, as soon as it's slow, I have this in the script editor in "Echo all commands", if that helps.

displayRGBColor -q "polymeshDormant";
// Result: 0.0287189 0.0158851 0.185738
displayRGBColor -q "polymeshActive";
// Result: 16.299908 16.299908 16.299908
displayRGBColor -q "lead";
// Result: 0.263 1 0.639
displayRGBColor -q "templateDormant";
// Result: 0.272876 0.272876 0.272876
displayRGBColor -q "templateActive";
// Result: 1 0.69 0.69
displayRGBColor -q "referenceLayer";
// Result: 0 0 0

When i tied with "Use default Material" i got:

// Error: Failed verification: ' result == MStatus::kSuccess '
// Error: Failed verification: ' success '
@arnaudTAT arnaudTAT added the bug Something isn't working label Jul 20, 2023
@santosg87
Copy link
Collaborator

Hi @arnaudTAT thanks for reporting this issue. Unfortunately, i haven't been able to reproduce the behavior internally. would you be able to share a sample file or something we can use for comparison?

thank you!

@arnaudTAT
Copy link
Author

First of all, many thanks for your reply.

I've redone a series of tests and still have the same problem. But I installed Maya 2022 and I don't have any problems.
We're going to have a few heavy scenes all the same, but when all the viewports are set identically, it's very, very smooth.

For the test with the kitchen I was wrong, we're starting to see (on our side) slowdowns around 30 duplicates.

Have you tested with many duplicates?

Kind regards

@arnaudTAT
Copy link
Author

arnaudTAT commented Aug 28, 2023

Hello,
I hope you're well

I'm here to find out if you've had time to re-test the problem we're having, and if you've been able to reproduce it on your side with the latest informations I've given you?

Thank you in advance for all you do.

Exemple with free asset :
To imagine it a little, it goes like this:
I move the scenery, it gets sluggish then fluid
When it freezes, it's because I lift my fingers and then click again to redo the scenery. Then it's fluid again, and so on.

loss_perf_usd

@santosd
Copy link
Collaborator

santosd commented Aug 29, 2023

I tested this on my end and I am seeing the issue that you are seeing. I will have to dig a little deeper and run some tests in 2022, but otherwise I will log the issue internally and see if we can investigate.

@arnaudTAT
Copy link
Author

Thank you Santosd,

I remain at your entire disposal, if you need anything, don't hesitate.

Kind regards,

@arnaudTAT
Copy link
Author

Hi, there,
I'm here if you have news,
Did you do some investigating for this ticket?

Kind regards

@santosd
Copy link
Collaborator

santosd commented Sep 28, 2023

Hi @arnaudTAT, I have logged this issue internally, but we have not put it on the schedule at this point. I will mention it to the team to see if we can put some focus on it.

@santosd santosd added the reproduced Issue has been reproduced label Sep 28, 2023
@santosd santosd assigned santosd and unassigned santosg87 Sep 28, 2023
@santosd santosd changed the title Viewport FPS drop when using USD [EMSUSD-660] Viewport FPS drop when using USD Sep 29, 2023
@maya-usd-git-sync
Copy link

Issue synced internally to EMSUSD-794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reproduced Issue has been reproduced
Projects
Status: Needs triage
Development

No branches or pull requests

3 participants