-
Notifications
You must be signed in to change notification settings - Fork 28.7k
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
Hardware Acceleration and (maybe) Big Sur - screen corruption #111412
Comments
/assign @deepak1556 |
/needsMoreInfo Could you check if this issue is reproducible with Insiders build https://code.visualstudio.com/insiders/? |
Just got the same issue |
@thblt-thlgn could you please try Insiders build (has latest Electron version) https://code.visualstudio.com/insiders/ and check if its reproducible there ? |
At first glance it looks like the insider build may be working! Is it using a different chromium version or something like that? |
Yes, Stable build should have Electron 9.3 (Chromium 83), while Insiders has 11.0 which comes with Chromium 87. So it has a great chance that render was fixed in lates 4 versions (I'm on Windows so can't tell for sure). December 9 Expected release date for stable (this may change), hope that there wouldn't be any blockers for Electron 11. |
Thanks for checking with insiders, we don't plan to release Electron 11 for November stable release since it only got a short time testing in insiders and also it is right before vacation. So instead we will keep Electron 9 for upcoming stable release and update to Electron 11 right after. This will give enough time for insiders testing, as the next-to-next stable release will happen in January 2021. |
I confirm that I also no longer have the issue on the insider version. And more strangely, after rebooting my laptop, VSCode 1.51.1 is working fine again and I cannot reproduce the bug anymore (not sure I should complain about it though) |
That happened to me too after a reboot, but it came back soon after. When it did happen, it also happened in some of Chrome's tabs as well, until I disabled hardware acceleration in the browser as well. No other apps affected so far, so it looks like Chromium is involved here somehow. Edit: apparently a 'known issue' since May? :( https://discussions.apple.com/thread/251352707 |
I have similar nasty behavior with all v8 apps (vscode too) - hardware acceleration is full broken and I see a lot of lags, but there are not graphic artifacts. It happen when I work with with external 2k display, Big Sur cleanly installed on Macbook Pro 16" |
Any update on this? I'm experiencing the same issueI only see corruption in the Explorer workspace area. This has been a consistent occurrence over this past week. Using VSCode
On a MacBook Pro
Stranger thingsThe sudden shift in corruption when resizing the window is surely a bug. This behavior persists after quitting the app and even after restarting the computer. However, it's extremely distracting; I've found that I can skirt around the issue by
My attempts to troubleshoot
The issue seems to be with discrete graphics. I'm on a 5K monitor with Automatic graphics switching checked; unchecking this results in discrete graphics always being used, but I can't use my monitor without discrete graphics; so it seems VSCode will not work reliably with a thunderbolt display connected. 🤔 VSCode should render properly regardless of the underlying hardware. FWIW
|
@iAmWillShepherd as was mentioned above Electron 11 should have updated Chromium that contain fix. |
This is still an issue. Visual Studio Code behaves exactly as described by @iAmWillShepherd . Using VSCode
On a MacBook Pro
My MacBook is connected by Thunderbolt to an external 4K-Screen. |
@rweisse Can you quit the app and restart with |
Thx @deepak1556 . After the glitch suddenly appeared I set the setting |
I am also still seeing this issue on the 16-inch MacBook Pro.
Only solution is to disable hardware acceleration. Any chance we'll see a fix for this soon? |
@Ivan0xFF the fix needs to be addressed in chromium, currently tracked at https://bugs.chromium.org/p/chromium/issues/detail?id=1068170 |
Steps to Reproduce:
To temporary fix: disable hardware acceleration
This also appears to happen in some Chrome tabs. Thus, I assume it is Chromium related? Only started to happen in the last few days, not immediately after Big Sur update, so probably the issue lies somewhere with Chrome?
Seems to happen mostly with a second screen attached.
Does this issue occur when all extensions are disabled?: Yes
--disable-gpu fixes it for the moment
The text was updated successfully, but these errors were encountered: