-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Prevent crash in _nvapi_disable_threaded_optimization
when attached to renderdoc
#85121
Conversation
I'd suggest doing the change from #85012 in this commit, so we reduce the PR backlog a bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change, in case the project was started at least once with nvidia_disable_threaded_optimization
enabled, unchecking it later probably would not work since profile is already exist and set to disable optimization.
8be9e81
to
56afd21
Compare
Is it crashing in the |
You are right, the |
update outdated link
56afd21
to
a3f44cd
Compare
_nvapi_disable_threaded_optimization
to avoid crash after renderdoc attach_nvapi_disable_threaded_optimization
when attached to renderdoc
lgtmi |
Thanks! |
_nvapi_disable_threaded_optimization
when attached to renderdoc_nvapi_disable_threaded_optimization
when attached to renderdoc
Cherry-picked for 4.1.4. |
A workaround, should fix #84880 when
nvidia_disable_threaded_optimization
is disabled in project setting ( although the root cause is still not solved ) . And this change should probably be there at the first place, it will sightly increase start up time if the user did not want to disable nv's optimization, it's a double win anyway.cc @EIREXE You might want to take a look.