Page MenuHome

Fullscreen causes stutters and flickering in viewport
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 10
Graphics card: GTX 1070

Blender Version
Broken: 2.80, 4c31bed6b46, 2018-11-30

Short description of error

When fullscreen (Window > Toggle Window Fullscreen) is used, lots of stutters, flickering and lag happens in the viewport. Especially when moving the viewport around.
This ONLY happens in Window > Toggle Window Fullscreen but if I go windowed mode and maximize, the issue goes away.

This has been an issue in the new Blender 2.8 viewport since I can remember so it is nothing new (for me at least).
I have tried recording a video of said issue but my screen recorder didn't pick it up.

Hope this helps!

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.Dec 10 2018, 1:43 PM

Can you try out a later blender beta version and additionally if updating your GPU drivers helps?

If that doesn't help, report back here and we'll see what we can do.

Hi Sebastian thanks for replying.

I have updated my graphics drivers from Nvidia Experience to the latest one and I used the latest Blender 2.8 beta build from december the 10th yet the issue still persists I'm afraid.
Are there any other steps I should try?

Thanks!

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Normal.EditedDec 10 2018, 3:19 PM

You can try running blender with "--debug-gpu" and attach a file with the output here (DO NOT paste the output into the comment section)
And you could also try if "--debug-gpu-force-workarounds" help solve the issue.

@Clément Foucault (fclem), I do not get any rendering artifacts when I try to reproduce this, but I seem to get lower fps (IE the cube doesn't spin as smoothly when I rotate the default view). I'm on linux though and using a AMD 290x...

I'm sorry, I'm not very tech savvy. How can I save the output from cmd into a text file?
Thanks! > textfile.txt doesn't output everything

I do not know how it should work on windows but it that way as described here: https://helpdeskgeek.com/how-to/redirect-output-from-command-line-to-text-file/
Does not work, then I do not know. I guess you could try to copy paste the output manually?

Manually you can : Click + drag in the console to highlight selection . Then right click. The selection disappear and gets copy to the clipboard. Just Ctrl+V in a text editor and save file for upload.

Thanks guys, I manged to save it into a file

Also I would like to add that --debug-gpu-force-workarounds didn't work sadly.

I'd like to update you guys that I am almost 100% sure this issue is related to the refresh rate of the screen somehow.

I have a three monitor setup - one main 144hz monitor and two 60hz monitors. I have checked and this issue only happens when I fullscreen on the 144hz monitor.
I really don't know much about the behind the scenes of displaying and updating everything, but could it be that there is a desync between my refresh rate and Blender's?

Thanks!

I have found out what it is!

G-SYNC is the culprit. If you have G-SYNC enabled in the new 2.80 viewport (OpenGL perhaps?), it could cause issues especially in fullscreen mode.
I have seen the same issue happen in Unity's viewport but only now have I found a solution.

The temporary fix is to disable G-SYNC for Blender 2.8 in the Nvidia Control Panel.

If anyone can find a fix for it that could save a lot of headache for people.

Thanks!

Thanks for letting us know about the workaround! Closing then.