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

Flickering Screen on 1.22.2 #47787

Closed
arb opened this issue Apr 12, 2018 · 15 comments
Closed

Flickering Screen on 1.22.2 #47787

arb opened this issue Apr 12, 2018 · 15 comments
Assignees
Labels
electron Issues and items related to Electron gpu Issues concerning GPU related items info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@arb
Copy link

arb commented Apr 12, 2018

  • VSCode Version: 1.22.2
  • OS Version: macOS 10.13.4

Steps to Reproduce:

  1. Start 3 instances of VSC

Does this issue occur when all extensions are disabled?: Yes/No

When I have 3 instances of VSC open at a time; the screen starts flickering like crazy. I have attached a gif demonstrating the behavior. This just started after the update today to 1.22.2.

vsc

Going out of full screen seems to stop the issue, but is hardly a solution.

@vscodebot vscodebot bot added editor editor-contrib Editor collection of extras labels Apr 12, 2018
@bpasero bpasero added upstream Issue identified as 'upstream' component related (exists outside of VS Code) electron Issues and items related to Electron gpu Issues concerning GPU related items and removed editor editor-contrib Editor collection of extras labels Apr 13, 2018
@bermanboris
Copy link

I experience the problem even without full screen.

@arb
Copy link
Author

arb commented Apr 13, 2018

UPDATE now it's happening even with a single instance open

@vityas-off
Copy link

Try this #45492 (comment)

@jlmaners
Copy link

This only happens for me on my external, HiDPI display. Only work around I've found so far is to run my HiDPI display in native resolution. That stops the flickering but isn't ideal.

macOS 10.13.4, mid-2015 15" MBP with AMD Radeon R9 M370X, Dell 4K display

@dinvlad
Copy link

dinvlad commented Apr 14, 2018

This started happening to me again as well on the built-in MBP (15-inch, 2017) screen (i.e. no external monitors are attached), with or without fullscreen, using a single instance :( Prior to that, the setting "editor.disableTranslate3d": true temporarily solved the issue. Looks like that no longer works :(

UPDATE: starting it from terminal /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron --ignore-gpu-blacklist (from @vityas-off's link above) seems to help, but is not ideal (of course, we can create/update a shortcut, just pointing out this is a hindrance).

@selipso
Copy link

selipso commented Apr 15, 2018

@vityas-off great find. Going to add code-insiders . --ignore-gpu-blacklist to my bash alias now.

@eedwards-sk
Copy link

Started getting this on the latest update (Version 1.22.2 (1.22.2)), single instance. Wasn't happening prior to update.

Running as per above (/Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron --ignore-gpu-blacklist) does seem to fix or improve it.

Mac OSX 10.13.4, Retina 15-Inch, Mid 2015, using external Acer B276HK through DisplayPort

@enkia
Copy link

enkia commented May 8, 2018

I get this while playing video (via an Epichrome 'app')

macOS 10.13.4, iMac (Retina 5K, 27-inch, 2017), with the video running on external LG 27UD58-B 27-Inch 4K UHD display.

Starting the Epichrome app after Vscode is running seems to help.

@stevarino
Copy link

Just upgraded to 1.23.1 on macOS 10.13.4 (15 inch 2015 model) today and this behavior started.

Disabled all extensions and it still occurs. Single instance of vscode is enough.

Strangely the behavior does not happen at initial launch but seems to be triggered by scrolling behavior in the terminal window:

  • start vscode, observe normal behavior.
  • press enter repeatedly in the terminal docked at the bottom of the screen. Notice flicker upon scroll.
  • move mouse over code, notice flicker.
  • move mouse over explorer pane, notice flicker.
  • only area not affected by flicker that i have found is the release notes view

@studentIvan
Copy link

iMac (Retina 5K, 27-inch, 2017)
Mac OS High Sierra 10.13.5 (17F77)
VS Code version 1.23.1
Same problem, --ignore-gpu-blacklist helped from terminal but it doesn't look like a good way

@bpasero
Copy link
Member

bpasero commented Aug 17, 2018

@arb (or anyone) do you still see this in our insiders release? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@bpasero bpasero added the info-needed Issue requires more information from poster label Aug 17, 2018
@eedwards-sk
Copy link

I have not encountered this issue recently on the last couple releases.

@studentIvan
Copy link

@bpasero seems it's already fixed

@dinvlad
Copy link

dinvlad commented Aug 17, 2018

Just switched to Insiders, no more flickering on a 4k Dell monitor!

@bpasero
Copy link
Member

bpasero commented Aug 18, 2018

Great.

@bpasero bpasero closed this as completed Aug 18, 2018
@bpasero bpasero added this to the August 2018 milestone Aug 18, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron gpu Issues concerning GPU related items info-needed Issue requires more information from poster upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests