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

NVidia NSight profiling #75

Open
jodysowald opened this issue Dec 27, 2023 · 7 comments
Open

NVidia NSight profiling #75

jodysowald opened this issue Dec 27, 2023 · 7 comments
Assignees
Labels
question Question

Comments

@jodysowald
Copy link

I have a question*
Is there any way to collect data with NVidia NSight while using OpenGLFX?

@jodysowald jodysowald added the question Question label Dec 27, 2023
@husker-dev husker-dev self-assigned this Dec 27, 2023
@husker-dev
Copy link
Owner

As I remember, NSight can only connect to DirectX and Vulkan

@jodysowald
Copy link
Author

I have never used it before, but was given the advice, relative to working with OpenGL, that it can automatically give me performance profiling and comparison of multiple runs of the code. NSight does appear to have information collection for OpenGL looking at its front page
image

@husker-dev
Copy link
Owner

I'll see how it can be used soon

@jodysowald
Copy link
Author

Thank you!

@husker-dev
Copy link
Owner

Unfortunately, Nsight can only capture windows with a single rendering (created through glfw, for example).
And since openglfx renders everything inside "offscreen" buffer and then glues the result to javaFX, this makes it impossible to catch.


Alternatively, you can use RenderDoc - it has support for such buffers.
Look at the readme to enable it in openglfx.

@husker-dev
Copy link
Owner

Theoretically it is possible to create a "debug" mode, in which openglfx rendering will occur in a separate window. This will make it possible to use NSight

@husker-dev husker-dev reopened this Jan 6, 2024
@yetyman
Copy link

yetyman commented Jan 6, 2024

Thank you!

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

No branches or pull requests

3 participants