Window blink black when Toggle window fullscreen switch back #62780

Closed
opened 2019-03-20 15:03:40 +01:00 by Robert Zhang · 21 comments
Member

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-18 21:39, hash: d47f827019
Worked: (optional)

Short description of error
Window blink blink black when Toggle window fullscreen switch back, by another way to say, Toggle winows fullscreen, click Alt + Tab back will blink black screen.

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13 **Blender Version** Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-18 21:39, hash: `d47f827019` Worked: (optional) **Short description of error** Window blink blink black when Toggle window fullscreen switch back, by another way to say, Toggle winows fullscreen, click Alt + Tab back will blink black screen.
Author
Member

Added subscriber: @zhanghua

Added subscriber: @zhanghua
Author
Member

Toggle winows fullscreen, click Alt + Tab to switch back, move mouse will blink black screen.

Toggle winows fullscreen, click Alt + Tab to switch back, move mouse will blink black screen.

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Your driver is severely outdated. Please download and install the latest nvidia drivers and try again.

Your driver is severely outdated. Please download and install the latest nvidia drivers and try again.
Author
Member

Just update driver to NVIDIA 419.35, still blink black when Alt+Tab switch blender back, other any application in fullscreen haven't this problem.

Just update driver to NVIDIA 419.35, still blink black when Alt+Tab switch blender back, other any application in fullscreen haven't this problem.

Added subscriber: @browneggz

Added subscriber: @browneggz

Another dupe of #59802 ?

Another dupe of #59802 ?

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo

@LazyDodo can you reproduce?

@LazyDodo can you reproduce?
Author
Member

In #62780#645091, @browneggz wrote:
Another dupe of #59802 ?

I reproduce you problem, that is a same isue maybe when get system fullscreen api.

> In #62780#645091, @browneggz wrote: > Another dupe of #59802 ? I reproduce you problem, that is a same isue maybe when get system fullscreen api.

In #62780#645102, @zhanghua wrote:
I reproduce you problem, that is a same isue maybe when get system fullscreen api.

It's not my report originally, just referencing it as it has a lot more activity from other users...

I suspect both the flickering and the hidden windows are related to the same cause, which seems to be something to do with how 2.8 handles fullscreen on Win 10. My guess is 2.79 makes a borderless window and 2.8 goes into a proper fullscreen context? Or the driver is forcing it into a different context. Devs obviously know more about it.

> In #62780#645102, @zhanghua wrote: > I reproduce you problem, that is a same isue maybe when get system fullscreen api. It's not my report originally, just referencing it as it has a lot more activity from other users... I suspect both the flickering and the hidden windows are related to the same cause, which seems to be something to do with how 2.8 handles fullscreen on Win 10. My guess is 2.79 makes a borderless window and 2.8 goes into a proper fullscreen context? Or the driver is forcing it into a different context. Devs obviously know more about it.
Member

Added subscribers: @fclem, @mano-wii

Added subscribers: @fclem, @mano-wii
Member

I can reproduce, but the instructions for reproduction were somewhat 'unclear'

  1. Start Blender with Factory Defaults
  2. Select Window->Toggle Full Screen
  3. Play with the UI a bit just to be sure it works (optional)
  4. Alt-Tab out of blender.
  5. Alt-Tab back into blender.
  6. Move the mouse cursor over any UI element that will trigger a redraw (button, slider , anything)
  7. Observe a single black frame before the UI renders fully

@mano-wii or @fclem can probably figure out whats going on with renderdoc

I can reproduce, but the instructions for reproduction were somewhat 'unclear' 1) Start Blender with Factory Defaults 2) Select Window->Toggle Full Screen 3) Play with the UI a bit just to be sure it works (optional) 4) Alt-Tab out of blender. 5) Alt-Tab back into blender. 6) Move the mouse cursor over any UI element that will trigger a redraw (button, slider , anything) 7) Observe a single black frame before the UI renders fully @mano-wii or @fclem can probably figure out whats going on with renderdoc
Clément Foucault was assigned by Sebastian Parborg 2019-03-21 09:30:27 +01:00

@LazyDodo are you able to confirm the issue when opening the preferences window too? E.g. the window appears behind/invisible, but is actually there and clickable? It seems to be about 80% of the time, if done repeatedly.

I also noticed when using Blender for a while in Fullscreen that when some of these flickers occur, an outdated image appears on the screen, like it's displaying the 3D view from minutes before from a cache or something. It can happen when switching the display to rendered or lookdev...

Would a video be of any help?

@LazyDodo are you able to confirm the issue when opening the preferences window too? E.g. the window appears behind/invisible, but is actually there and clickable? It seems to be about 80% of the time, if done repeatedly. I also noticed when using Blender for a while in Fullscreen that when some of these flickers occur, an outdated image appears on the screen, like it's displaying the 3D view from minutes before from a cache or something. It can happen when switching the display to rendered or lookdev... Would a video be of any help?
Member

Please don't conflate multiple issues into a single ticket, it'll just muddy the waters. Sounds like a duplicate of #57648 (same problem, different window)

Please don't conflate multiple issues into a single ticket, it'll just muddy the waters. Sounds like a duplicate of #57648 (same problem, different window)
Member

not sure why phab decided to change prio.

not sure why phab decided to change prio.

@LazyDodo apologies, wasn't my intention. Just seemed that whatever is causing the flicker and the other windows/message boxes being hidden were both related to the same issue, as the fullscreen behaviour seems different compared to 2.79. I see a very similar flicker other applications/games that use a fullscreen context instead of a borderless window.

@LazyDodo apologies, wasn't my intention. Just seemed that whatever is causing the flicker and the other windows/message boxes being hidden were both related to the same issue, as the fullscreen behaviour seems different compared to 2.79. I see a very similar flicker other applications/games that use a fullscreen context instead of a borderless window.

Forgive cross-posting on this one, but the other task is unassigned so I don't know if it'll get seen.

I've made a diff that changes the window style flags and solves both the flickering and hidden windows issues (for me at least). I mentioned it in #59802 - would it be ok to submit it? Needs testing on systems where the issue isn't present, which is something I can't do unfortunately.

Forgive cross-posting on this one, but the other task is unassigned so I don't know if it'll get seen. I've made a diff that changes the window style flags and solves both the flickering and hidden windows issues (for me at least). I mentioned it in #59802 - would it be ok to submit it? Needs testing on systems where the issue isn't present, which is something I can't do unfortunately.
Member

putting a diff in a ticket is almost a sure way to have it overlooked, please submit the a diff for review either [here ]] or if possible using [ https:*wiki.blender.org/wiki/Tools/CodeReview#Use_Arcanist | arcanist

putting a diff in a ticket is almost a sure way to have it overlooked, please submit the a diff for review either [here ]] or if possible using [[ https:*wiki.blender.org/wiki/Tools/CodeReview#Use_Arcanist | arcanist ](https:*developer.blender.org/differential/diff/create/)

This issue was referenced by c6d1ae2f8a

This issue was referenced by c6d1ae2f8aa246c009e3cbace0ab0860be8acf3a

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#62780
No description provided.