PSA: VSCode 1.66 breaks native wayland support
I just upgraded to the latest stable version of visual-studio-code-bin from the AUR (1.66). This version appears to break running it as a native wayland application.
Previously I had setup ~/.config/code-flags.conf with the following:
--enable-features=UseOzonePlatform
--ozone-platform=wayland
And VSCode would run as a native wayland application. Now it will crash and won't start. You can follow some discussions on the issue here: https://github.com/microsoft/vscode/issues/109176 (towards the end of the thread), and here: https://github.com/microsoft/vscode/issues/146349.
It appears this first started happening with the 1.66 code-insiders build.
Note: I've also attached a coredump file to the github discussion thread in case anyone is interested.
For now the solution is to run VSCode under XWayland (not ideal if you have a hidpi monitor as you might have blurry fonts).
I hope this helps others that are confused about why it's no longer starting.
Edit: added additional link to github discussion.
Edited 30 Mar 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 208 · 98% up
- Kind
- Text
- ID
- tsk8iu
1 comment
thanks a lot. its working for me.