You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS High Sierra: parts of the UI not rendering #35527
I’ve also recently had this begin happening after update to High Sierra, though it’s not specific to opening a file in tree. Completely random. It also appears to happen on other electron apps (Slack) though I haven’t been able to track down an electron issue for it anywhere yet.
I've experienced similar problems since upgrading to High Sierra. After a while the screen goes to a screen like EagleEYErus's. The after a minute or so it gradually comes back to life. I am using a MacBook Pro with a 4K external monitor, but I've experienced the same problems while not using the monitor.
Running "open Visual\ Studio\ Code.app --args --disable-gpu" from the terminal seems to have fixed the problem. It is running trouble-free for about an hour now.
After using insiders for the last 5 days i confirm no more strange problems. Will this be moved to the regular vscode or do i continue to use insiders? Benjamin Pasero (@bpasero)
@stenmuchow thanks for the confirmation. Yes, the "fix" will go into stable. It is not a real fix of the underlying problem, rather we disable certain GPU features on certain hardware. So I would still like to keep this open and see if a real fix lands. The real fix might actually require Apple to fix something in High Sierra, so it might not even be possible to fix it in Electron.
Another piece of info that I didn't see in this thread on quick glance... after the glitches happened, I quit VSCode and then can't reopen it. It crashes immediately on launch. It's in that state right now. This has happened once before and a reboot fixed the issue. Let me know if I can get you any more info before I reboot! (I tried launching through CLI with some of the flags mentioned in this post, but it still crashes on launch immediately). I'll wait till tomorrow to reboot my machine and use a diferent editor till then.
just for info and sorry if u already know all this.
Have OSX 10.13.1 with NVIDIA GeForce GTX 660M 512 MB and just downloaded nvidias own drivers from https://www.tonymacx86.com/nvidia-drivers. So far all glitches have gone for any app using electron. Im a happy man again :)
Activity
isidorn commentedon Oct 3, 2017
Can you reproduce this with vscode insiders?
https://code.visualstudio.com/Insiders/
EagleEYErus commentedon Oct 3, 2017
Isidor Nikolic (@isidorn) I will try, but I have not yet understood the sequence of steps to cause the crash. This happens randomly.
isidorn commentedon Oct 3, 2017
Alexander Saprykin (@EagleEYErus) without the sequence of steps there is not much we can do
chasegiunta commentedon Oct 4, 2017
I’ve also recently had this begin happening after update to High Sierra, though it’s not specific to opening a file in tree. Completely random. It also appears to happen on other electron apps (Slack) though I haven’t been able to track down an electron issue for it anywhere yet.
chasegiunta commentedon Oct 4, 2017
Alexander Saprykin (@EagleEYErus) are you using an external monitor by chance? Is it high dpi?
bpasero commentedon Oct 4, 2017
Chase Giunta (@chasegiunta) does it make a difference if you run "
code --disable-gpu" from the command line?elijnzaad commentedon Oct 4, 2017
I've experienced similar problems since upgrading to High Sierra. After a while the screen goes to a screen like EagleEYErus's. The after a minute or so it gradually comes back to life. I am using a MacBook Pro with a 4K external monitor, but I've experienced the same problems while not using the monitor.
Running "open Visual\ Studio\ Code.app --args --disable-gpu" from the terminal seems to have fixed the problem. It is running trouble-free for about an hour now.
bpasero commentedon Oct 4, 2017
Alexander Saprykin (@EagleEYErus) Edwin Lijnzaad (@elijnzaad) does it run any better with our insiders build (NOT using
--disable-gpu): http://code.visualstudio.com/Download#insiderselijnzaad commentedon Oct 4, 2017
No, it doesn't.
Although I'm not sure I actually got the insiders build. I did follow your link, but the 'about' still shows 1.16.1.
bpasero commentedon Oct 4, 2017
Edwin Lijnzaad (@elijnzaad) sorry, bad link: https://code.visualstudio.com/insiders/
73 remaining items
s10mcow commentedon Nov 2, 2017
After using insiders for the last 5 days i confirm no more strange problems. Will this be moved to the regular vscode or do i continue to use insiders? Benjamin Pasero (@bpasero)
bpasero commentedon Nov 2, 2017
@stenmuchow thanks for the confirmation. Yes, the "fix" will go into stable. It is not a real fix of the underlying problem, rather we disable certain GPU features on certain hardware. So I would still like to keep this open and see if a real fix lands. The real fix might actually require Apple to fix something in High Sierra, so it might not even be possible to fix it in Electron.
mehulkar commentedon Nov 4, 2017
Another piece of info that I didn't see in this thread on quick glance... after the glitches happened, I quit VSCode and then can't reopen it. It crashes immediately on launch. It's in that state right now. This has happened once before and a reboot fixed the issue. Let me know if I can get you any more info before I reboot! (I tried launching through CLI with some of the flags mentioned in this post, but it still crashes on launch immediately). I'll wait till tomorrow to reboot my machine and use a diferent editor till then.
stuartaccent commentedon Nov 9, 2017
just for info and sorry if u already know all this.
Have OSX 10.13.1 with NVIDIA GeForce GTX 660M 512 MB and just downloaded nvidias own drivers from https://www.tonymacx86.com/nvidia-drivers. So far all glitches have gone for any app using electron. Im a happy man again :)
trumbitta commentedon Nov 9, 2017
Stuart George (@stuartaccent) how come NVIDIA provides official drivers via tonymacx86.com?
stuartaccent commentedon Nov 9, 2017
thats just a page with links ie: macOS 10.13.1 High Sierra = https://images.nvidia.com/mac/pkg/378/WebDriver-378.10.10.10.20.107.pkg
bpasero commentedon Nov 16, 2017
Closing, since our workaround is in and Chrome has fixed this meanwhile, we just need to pick it up in one of our future Electron updates.
sledsworth commentedon Nov 17, 2017
Did this ever actually get fixed or is the ‘fix’ still disabling hardware on Macs with Nvidia cards?
s10mcow commentedon Nov 17, 2017
Seems updating NVIDIA drivers has given my machine a more stable feel... Using link from Stuart George (@stuartaccent)
FYI - i have a late 2014 15" MBP with 2GB NVIDIA 750 geforce