Vscode: Flickering Screen on 1.22.2

Created on 13 Apr 2018  路  15Comments  路  Source: microsoft/vscode

  • 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.

electron gpu needs more info upstream

Most helpful comment

All 15 comments

I experience the problem even without full screen.

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

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

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).

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

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

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.

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

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

@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/

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

@bpasero seems it's already fixed

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

Great.

Was this page helpful?
0 / 5 - 0 ratings