Skip to content

Unable to launch on latest wl_roots due to Chromium bug #141964

Closed
@akselaase

Description

@akselaase

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: visual-studio-code-bin 1.63.2-1 (899d46d)
  • OS Version: Arch Linux per February 1st 2022 with sway 1:1.7-1 and wlroots 0.15.0-4

Also happens on 1.64.0-insider (7b9e5c3)

Steps to Reproduce:

  1. Start VS Code with code --enable-features=UseOzonePlatform --ozone-platform=wayland --verbose
  2. Observe output:
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'ozone-platform' is not in the list of known options, but still passed to Electron/Chromium.
[2358162:0201/181136.563772:WARNING:wayland_drm.cc(68)] Failed to get drm magic
interface 'wl_output' has no event 4
tcmalloc: large alloc 1073741824 bytes == 0x1fe4e4cf4000 @  0x56537807d735 0x7fdda29e7047
/dev/fd/3: No such file or directory
Server response:
/dev/fd/3: No such file or directory
Server response:
/usr/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland    27.83s user 1.06s system 99% cpu 29.026 total

(last line printed by shell)

The issue is caused by this Chromium issue and is also reported to Electron and wlroots. The fix is backported to Electron 13 (electron/electron#32652).

This issue makes vscode unable to launch on Wayland. A workaround is running through XWayland, but that is blurry on hidpi-displays.

I can send a crash-dump on email if you wish.

Metadata

Metadata

Assignees

Labels

chromiumIssues and items related to Chromiumelectron-17-updateIssues related to electron 17 updateinsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on Linuxupstream-issue-fixedThe underlying upstream issue has been fixedwaylandIssue related to wayland display server

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions