Version 1.19.2
Fixation 490ef761b76b3f3b3832eff7a588aac891e5fe80
Date 2018-01-10T15: 55: 03.538Z
Shell 1.7.9
Drawer 58.0.3029.110
Host 7.9.0
Architecture x64
Steps to Reproduce:
there are unpleasant flickering, orange in full screen mode
On which operation system?
Can you share a screen cast?
@bpasero, @jhasse
I can not, because there is a flicker for a second. The effect is amplified if the virtual desktop changes
Microsoft Windows [Version 10.0.16299.192]
orange color - my color cheme in windows....
@soveckyFonarik does it reproduce when you run "code --disable-gpu"?
@bpasero Cool, apparently my amd radeon hd 7750 is to blame? 馃憤 :D
with this flicker key I do not watch
I am recently experiencing the same behavior on Ubuntu 16.04. Parts of the screen flicker briefly.
The --disable-gpu argument suggested by @bpasero seems to resolve the issue.
Had the same issue and --disable-gpu resolved it. My GPU is the R9 270X.
I'm experiencing the same flickers on Ubuntu 17.10. Very annoying
same here in ubuntu!! I've been experiencing the issue for like 2-3 months. It's not a new issue
Same on Ubuntu 17.10 with external monitor (in full screen mode only)
I'm running Debian Sid, kernel 4.16.0-1-amd64, with Intel HD Graphics 630 & NVIDIA GeForce GTX 1050 Mobile, and was able to remove all flickering in vscode 1.23.1 with Bumblebee by not using --disable-gpu, and running optirun code.
Same on Ubuntu 18.04 LTS with GTX1080Ti with removed stock drivers and installed latest nvidia drivers. --disable-gpu fixed problem.
Same on Ubuntu 18.04 with a GeForce GT 610.
However, for other GNOME users here's a workaround that seems to behave fine for me:
Super+F11)This works without flickering for me, though I imagine it might not bring with it any GPU fullscreen optimisations (on that front it is probably better, performance-wise, than disabling GPU acceleration altogether!).
Hi, I'm experiencing the same problem on Manjaro with Gnome. Using Super+F11 to enter gnome's "fullscreen" mode does not help, while "--disable-gpu" fixed it for me.
Same problem with VSCode 1.26.1, Ubuntu 18.04.1, GeForce GTX 760
Have the same issue with nvidia-driver-390, nvidia-340 drivers.
--disable-gpu solves the problem.
Question: Is there anybody who does not have this issue? :D
Yes, my windows machines don't have this issue.
I dont have this issue on windows 7 too.
The issue is just on Linux-based systems.
@radutomy not entirely true, soveckyFonarik the issue creator has windows 10. The issue is more likely to be some error caused by electron or the driver/hardware constellation.
Apparently most or maybe all nvidia-driver-* packages on linux are affected which explains the high density of this issue on Linux based systems. The strange part is it works on my gnome ubuntu 16.04 without any issues but my Debian installation still flickers on the same machine (Dualboot).
Ubuntu 18.04 same issue, maybe it's related to Intel HD Graphics 520 (Skylake GT2) video card
Win10 Latest + VSCode 1.27.2 still has this issue.
Using AMD HD 7850..
Same issue.
Ubuntu 18.04
GPU: Intel Corporation HD Graphics 5500
Same Issue, Windows 10. Happens when switching tabs or switching apps.
Vscode 1.27.2
AtI R9 280
Happens only on fullscreen or zen mode.
Changed theme back to default colors. (without restart) and still eperienced the same issue.
--disable-gpu flag fixed it for me.
Just to add on. I've also experienced this on Git Kraken on fullscreen. and I come to understand that both VsCode and Git Kraken are built on electron. I have a feeling this is an issue with electron itself?
I have the same problem - with Ubuntu 18.04.1. I see the flickering
vscode was working perfectly. However, after update 1.28.1 while fullscreen I get a persistent flicker in the vscode window making it unusable. If the window is not maximized it seems to be fine.
OS: Centos 7.5
Graphics: AMD RX 470
Same issue as @tkuraku described
VS Code Version: 1.28.2
Ubuntu: 16.04
Grpahics: Integrated
I have a similar issue I think. I'm currently running Feodora 29, but also noticed this issue on ubuntu 18.04 on the same hardware setup described below.
For all my notes below I had started VS Code with the disable gpu flag.
Specifically I'm getting flicker when in full screen mode primarily when a tool tip pops in the explorer bar and my mouse runs through it (the cursors passes through the tool tip). This also seems to happen for tool tips in the tab bar as well, however not an issue for completion pop ups etc.
Oddly enough if I click to on a second monitor to put focus on what ever is on that monitor and then move my mouse back to VS Code (not clicking to bring focus back) and hover over items in the explorer that pop tool tips the flicker goes away. However, simply click to bring focus back to VS Code the flicker returns.
A few other things that I have noted:
System Info
code --version
1.28.2
7f3ce96ff4729c91352ae6def877e59c561f4850
x64
uname -a
Linux localhost.localdomain 4.18.16-300.fc29.x86_64 #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci -k | grep -EA3 VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
Subsystem: Gigabyte Technology Co., Ltd Device 371a
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 410.66 Wed Oct 10 12:01:53 CDT 2018
GCC version: gcc version 8.2.1 20180801 (Red Hat 8.2.1-2) (GCC)
xrandr
Screen 0: minimum 8 x 8, current 4160 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
2560x1080 60.00*+
1920x1080 60.00 59.94 50.00 29.97 60.05 60.00 50.04
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-1 connected 1600x900+2560+0 (normal left inverted right x axis y axis) 442mm x 249mm
1600x900 60.00*+
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
cat /usr/share/gnome/gnome-version.xml
<?xml version="1.0"?>
<gnome-version>
<platform>3</platform>
<minor>30</minor>
<micro>1</micro>
<distributor>GNOME.Org</distributor>
<date>2018-09-26</date>
</gnome-version>
ubuntu 18.04 - same issue
Switched to wayland - no flickering
--disable-gpu is really not an option.
Guys, let's try to fix it.
Thanks!
Having this issue on Ubuntu 18.10 on a Librem13 laptop.
Got this issue in Ubuntu 18.10 with VSCode 1.28.2, please fix this soon.
Upgraded my Dell XPS 13 9370 to Ubuntu 18.04 from 16.04 and started having this problem.
$ code --version
1.29.0
5f24c93878bd4bc645a4a17c620e2487b11005f9
x64
$ lsb_release -irc
Distributor ID: Ubuntu
Release: 18.04
Codename: bionic
[update]
issue seems to disappear when I revert to using the native title bar
"window.titleBarStyle": "native"
I believe this is related to the version of Electron that is shipped with VSCode by default, which I believe is still 1.x? I first ran into this issue a few months back, when I switched to an Ubuntu 18.04 Dell XPS laptop. I noticed the same issues in another app, Slack, which also uses Electron 1.x. Same flickering, only on Linux, and only when the apps are fullscreen (or maximized) on an external 4K monitor. After trying a bunch of things, I switched to VSCode Insiders, which uses Electron 2.x, and the flickering went away. I know Insiders isn't for everyone, but maybe this will help someone until VSCode ships Electron 3.x, which seems to be in the works.
For VSCode devs, some symptoms:
My hardware:
Ubuntu 18.04
Dell XPS 13 2018 9370
i7-8550U Processor
Intel庐 UHD Graphics 620
[edit]
This bug describes the issue perfectly: https://github.com/Microsoft/vscode/issues/45492
I had been experiencing the same problem intermittently for a couple weeks after setting "window.titleBarStyle": "custom". Setting it back to "native" as referred to by @mofax fixed it for me.
code --version
1.29.1
Distributor ID: Debian
Release: 9.6
Codename: stretch
Using Dell 24" Ultrasharp UHD monitor and an AOC 27" UHD with onboard Intel graphics on an ASRock K6 Z370 mboard.
Weird. Ubuntu 18.04 and setting title bar style to custom fixed it for me.
Else the entire window when full screen would flicker in brightness...
Okay switching back to native cured it there too.
Had the same problem on Debian 9.6 Gnome 3.22.2
Adding the --disable-gpu fixed the issue
@eldarshamukhamedov
"window.titleBarStyle": "native"
adding this configuration literally solves the problem for me. I remember that the last time I updated VSCode on my Mint Linux machine, the window title bar style was changed to Microsoft Windows style, and after that the flickering problem started to happen. The solution was to force the editor back to the native styled title bar.
"window.titleBarStyle": "native"
Had the same problem, solves also for me.
OS: Debian 9.5
Kernel: Linux 4.19.0-rc4-amd64
Videocard: ASUSTeK Computer Inc. Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560] [1043:054d]
another discovery I made on a different computer
if you set
"window.titleBarStyle": "native"
but the flikering continues ... also add this
"terminal.integrated.rendererType": "dom",
completely solved the flickers on all my machines, on both regular and insider releases
--disable-gpu - did trick for me :)
Adding this worked for me, on ubuntu 16.04 .
"window.titleBarStyle": "native"
On a fresh install and machine, changing my display resolution back to my 'recommended' setting did it for me it seems.
For me it was "Dynamic Brightness" on my dell xps 13. Why they though this was a good idea I don't know. When sections on the screen got bright enough, it'd bounce off my shirt, triggering the light sensor, causing the brightness to adjust. Scrolling would cause a flicker as brighter areas of the screen would scroll into/out of view.
So dumb.
If you own a fancy laptop, check in the bios for "Dynamic Brightness" and turn it off.
--disable-gpu seems to solve for me as well. Now, how can I make this permanent?
"window.titleBarStyle": "native" . fixed it for me on my MacOS Mojave 10.14
Same for me: :sleeping:
https://youtu.be/Wedcs-Pu-gw
Version: 1.34.20-insider
Commit: e83e24a0c9225becd7341e56952177a20d5d4629
Date: 2019-05-14T16:08:09.042Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-30deepin-generic
On a fresh install and machine, changing my display resolution back to my 'recommended' setting did it for me it seems.
Are you saying _toggling_ to recommended and back to the setting you actually wanted, or just leaving it on Recommended? Because that's not really a solution.
I get this on windows as well. --disable-gpu seems to fix it.
When I press F11 or when I enter Zen-Mode my screen flashes black and certain elements would vibrate around as well. I also notice that I get a shadowplay notification when going full-screen. That only tends to happen when a game is ran or something. I am on a 2080ti with driver version 425.31. This seems to happen to others on Intel and AMD gpus though and might just be a rendering issue with Electron like some of the other tickets say.
I hope the --disable-gpu mitigation doesn't have to be required anymore.
This can be configured now. Closing as duplicate of https://github.com/microsoft/vscode/issues/15211
Most helpful comment
Upgraded my Dell XPS 13 9370 to Ubuntu 18.04 from 16.04 and started having this problem.
[update]
issue seems to disappear when I revert to using the native title bar