question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Screen Flickering with macOS 10.14.5 & VSCode 1.34.0

See original GitHub issue

Issue Type: Bug

I have my MBP (docked, laptop lid closed) connected to an external 4K display, and the screen flickering is getting pretty obnoxious. Happens routinely when switching tabs. I tried disabling all extensions and running with code --disable-gpu and --ignore-gpu-blacklist which didn’t solve it in my testing. Any ideas on other workarounds?

Ideally I’d want this fixed, and not need to open it from the command line every time.

VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:22.738Z) OS version: Darwin x64 18.6.0

System Info
Item Value
CPUs Intel® Core™ i7-7700HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 16.00GB (0.25GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (105)
Extension Author (truncated) Version
better-comments aar 2.0.5
html-snippets abu 0.2.1
scss-lint ada 0.1.8
vscode-caniuse aga 0.5.0
vscode-javascript-snippet-pack aka 0.1.5
project-manager ale 10.5.1
spellright ban 3.0.38
color-info bie 0.5.1
markdown-checkbox bie 0.1.3
markdown-emoji bie 0.0.9
markdown-preview-github-styles bie 0.1.6
markdown-yaml-preamble bie 0.0.4
htmltagwrap bra 0.0.7
better-toml bun 0.3.2
markdown-jira chi 1.1.0
npm-intellisense chr 1.3.0
path-intellisense chr 1.4.2
regex chr 0.2.0
open-html-in-browser cod 0.1.21
gitignore cod 0.6.0
bracket-pair-colorizer-2 Coe 0.0.28
compulim-vscode-closetag Com 1.2.0
vscode-svgviewer css 2.0.0
scala dal 0.0.5
vue-peek dar 1.0.2
vscode-markdownlint Dav 0.26.0
vscode-eslint dba 1.9.0
vscode-dash dee 2.1.0
xml Dot 2.4.0
gitlens eam 9.7.4
vscode-html-css ecm 0.2.0
EditorConfig Edi 0.13.0
vscode-npm-script eg2 0.3.7
LogFileHighlighter emi 2.5.0
vscode-great-icons emm 2.1.47
json-tools eri 1.0.2
prettier-vscode esb 1.9.0
vscode-todo-plus fab 4.13.0
vimL fal 0.0.3
markdown-table-formatter fcr 1.4.3
git-project-manager fel 1.7.1
file-icons fil 1.0.17
auto-close-tag for 0.5.6
auto-rename-tag for 0.0.15
code-runner for 0.9.9
shell-format fox 4.0.11
vscode-javac geo 0.2.19
nightswitch gha 1.1.0
beautify Hoo 1.5.0
output-colorizer IBM 0.1.2
applescript idl 0.14.2
golang-tdd joa 0.0.9
intellij-idea-keybindings k– 0.2.32
swift Kas 0.0.3
vscode-gutter-preview kis 0.19.0
vscode-fix-checksums leh 1.1.0
expand-region let 0.1.2
scratchpad mac 0.0.3
MagicPython mag 1.1.0
terraform mau 1.3.11
rainbow-csv mec 1.0.0
HTMLHint mka 0.6.0
python ms- 2019.4.12954
cpptools ms- 0.23.1
csharp ms- 1.19.1
Go ms- 0.10.2
debugger-for-chrome msj 4.11.3
vuejs-extension-pack mub 1.1.3
vetur oct 0.21.0
advanced-new-file pat 1.2.0
vscode-css-peek pra 2.2.0
itunes-vscode Psy 0.9.1
seti-icons qin 0.1.3
java red 0.45.0
vscode-yaml red 0.4.0
vscode-sort-json ric 1.13.0
bash-debug rog 0.3.5
rust rus 0.6.1
partial-diff ryu 1.4.0
crates ser 0.4.3
code-settings-sync Sha 3.2.9
markdown-preview-enhanced shd 0.3.13
vscode-fileutils sle 2.13.7
guides spy 0.9.3
autoimport ste 1.5.3
rewrap stk 1.9.1
ayu tea 0.18.0
vscode-status-bar-format-toggle tom 1.5.0
terminal-tabs Tyr 0.2.0
vscode-lldb vad 1.2.3
vscodeintellicode Vis 1.1.6
vscode-swift-development-environment vkn 2.7.1
vscode-java-debug vsc 0.18.0
vscode-java-dependency vsc 0.4.0
vscode-java-pack vsc 0.7.1
vscode-java-test vsc 0.16.0
vscode-maven vsc 0.17.0
vscode-icons vsc 8.6.0
vscode-todo-highlight way 1.0.4
vscode-import-cost wix 2.12.0
change-case wma 1.0.0
vscode-jumpy wma 0.3.1
JavaScriptSnippets xab 1.7.2
markdown-all-in-one yzh 2.3.1
propertylist zho 0.0.2

(7 theme extensions excluded)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:16
  • Comments:88 (16 by maintainers)

github_iconTop GitHub Comments

7reactions
Gin-Quincommented, Dec 15, 2020

I had the issue with VSCode 1.52 and MacOS 14.0. Resolved it by setting the option “disable-color-correct-rendering” to false (was true by default).

Open VSCode, cmd+shift+p, Preferences : Configure Runtime Arguments to open the configuration file, then set the property “disable-color-correct-rendering” to false.

4reactions
crazyrabbitLTCcommented, Nov 30, 2019

This is a problem for me as well. Each tab that I switch causes flickering, if I switch tabs frequently it will get so bad as to cause the monitor to go back, before resetting after a moment. Then the problem will continue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

8 Ways to Fix Screen Flickering after Updating to macOS 10.15
Step 1: First, restart your Mac by going to the "Apple" menu and click on "Restart."
Read more >
Screen flickering after Mojave update - Apple Community
After I updated to Mojave 10.14.2, the screen started flickering intermittently. The flickering happens mainly when I have graphics switching ...
Read more >
April 2019 (version 1.34) - Visual Studio Code
VS Code now optimistically caches CodeLens locations and restores them immediately after switching editors. This fixes an issue where CodeLens lines would shift ......
Read more >
[macOS Ventura] Screen flickering after OS update when IDE ...
After latest update, flickering has reduced significantly, in my case, when IDE is in full screen. But I still get one of my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found