-
-
Notifications
You must be signed in to change notification settings - Fork 10.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
low ms/frame when sharing/recording screen #8218
Comments
You would need to investigate this on your own but it seems like a problem of your recording software, if not a feature (perhaps they are hijacking something to make vsync simulate 20 hz, is the 20 fps framerate stable?) |
I will try to find the issue. |
Is that also when recording? We create new windows and swapchains so there is a cost but normally it should be relatively negligible. |
2nd issue is without recording: ms/frame values without vsync: |
Profiling would be needed, but unfortunately this can be due to so many things:
One thing that may be worth trying
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD; to sd.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD; And the other more modern FLIP modes.
I would be curious to know if it makes a difference for you. |
Version/Branch of Dear ImGui:
v1.91.6 WIP , docking branch
Back-ends:
imgui_impl_dx11
Compiler, OS:
Windows 10
Full config/build information:
example_win32_directx11 build from v1.91.6 WIP - docking branch
Details:
high ms / frame (worse performance) when sharing screen on discord or recording screen with OBS
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: