vscode: VS Code doesn't work on Fedora 35/Wayland/Nvidia
Does this issue occur when all extensions are disabled?: Yes
-
VS Code Version:
1.61.0-insider83b7d33abba1fbc9ba6dbf25b53b47821086b22f x64 -
OS Version:
Fedora 35
Steps to Reproduce:
- Install VS Code Insiders Edition
- Start
How reproducible:
- Always
Actual results:
- VS Code doesn’t work on Fedora 35/Wayland/Nvidia. It shows completely blank white window with title bar reads
Get Started - Visual Studio Code
Additional info:
- works on Xorg.
- works on Wayland with
--no-sandboxflag set but laggy - works on Wayland with
--disable-gpuflag set - works on Wayland with
-enable-features=UseOzonePlatform --ozone-platform=waylandflags set but the window doesn’t have title bar in this case due to issue - similar issue: issue
Software Details:
- kernel:
5.14.7-300 - Nvidia driver:
470.74 - gnome-shell:
41.0-1 - glibc:
2.34-6 - xorg-x11-server-Xwayland:
21.1.2-2 - egl-wayland:
1.1.7-2 - libwayland:
1.19.0-2
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 20
- Comments: 29 (5 by maintainers)
--enable-features=Vulkanalso works for me and has better performance than--disable-gpuThis should be addressed once we update to Electron version that contains fix for https://github.com/electron/electron/issues/32436
On Fedora 35, updating to the latest version of VS Code fixed the problem for me, so it seems like as of
1.63.2this problem has been fixed.It would be End of April
@larsks the issue you are facing has been addressed in current insiders via https://github.com/microsoft/vscode/issues/133593 and the fix will be available in upcoming
1.61stable release.This works and gets great performance, far better than the ozone workaround, thanks!
They might be related.
Chromeshows completely transparent windowVS Codewindow is non-transparent and has title barChromeis on the left side andVS Codeis on the right side:Workaround