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

Stuttering and Frame Pacing Issues with 4k streaming on DX12 or windowed mode optimized games (Flip Model Swap Chain) #38

Open
Nonary opened this issue Sep 14, 2022 · 0 comments

Comments

@Nonary
Copy link

Nonary commented Sep 14, 2022

Describe the bug
Any game that is utilizing the new FullScreen optimizations in Windows will run into streaming problems if you have vsync applied or capping framerate using NVIDIA Profile settings.
This issue also only applies to 4k streams, it does not apply to lower resolutions.

Steps to reproduce
Play any game that is either DirectX 12, or a game you know personally that uses the new flip model swap chain for low latency borderless windowed/fullscreen gaming.
Enable vsync on game OR apply NVIDIA Max Framerate on GPU Profile
Stream game at 4k resolution

Symptoms
Game will stream fine for a few moments, then stream will drop to around 45fps and will not be smooth, regardless of frame pacing settings.
Changing the streaming resolution to under 4k, appears to resolve this issue.
Streaming at 30fps also does not appear to be affected by this issue.

Affected games
All Direct X 12 supported games
Any game that uses the new swap chain flip model API in Windows for Exclusive Full Screen
If using 22H2 and also enabling the new windowed mode optimization feature, almost all games will be affected.

Additional context
This issue has been reported to NVIDIA.
The cause of this issue is a bug on NVIDIA's power management mode, which is causing some of the cores used for encoding to be underclocked and not have enough speed to be able to encode at 60fps in this scenario.

Workarounds

It is NOT recommended to disable the new windowed mode optimization as it has a significant reduction to input latency, instead it is suggested to workaround this issue.

Only one of the workarounds mentioned below have to be done, you can pick and choose which works best for you.
I've ordered them in the order I feel is best, but you may think otherwise.

  1. Disable VSYNC in game and remove NVIDIA Max Framerate setting on game if applied; Then, apply Framerate cap using RTSS via MSI Afterburner.
  2. Set performance mode to maximum performance in GPU Profile for game, although this can more than double the power usage on some cards.
  3. Lower the resolution of the stream to something under 4k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant