getsolus / packages

Solus Package Monorepo & Issue Tracker
65 stars 81 forks source link

vscode doesn't launch in gnome wayland session #3459

Open malfisya opened 2 months ago

malfisya commented 2 months ago

Please confirm there isn't an existing open bug report

Summary

vscode doesn't launch in gnome wayland session

Steps to reproduce

launch vscode in gnome wayland session

Expected result

launches fine

Actual result

crash

 alfisya  ~  code-oss                                                                                                                                                  
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
[main 2024-08-02T15:38:36.281Z] update#setState disabled
[main 2024-08-02T15:38:36.282Z] update#ctor - updates are disabled as there is no update URL
[10159:0802/223836.670796:ERROR:wayland_event_watcher.cc(43)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a 

[0802/223836.691221:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[0802/223836.692065:ERROR:elf_dynamic_array_reader.h(64)] tag not found
fish: Job 1, 'code-oss' terminated by signal SIGTRAP (Trace or breakpoint trap)

Environment

Repo

Unstable

Desktop Environment

GNOME

System details

System: Host: desktop-solus Kernel: 6.9.12-297.current arch: x86_64 bits: 64 Desktop: GNOME v: 46.3.1 Distro: Solus 4.5 resilience Machine: Type: Desktop Mobo: Wibtek model: H77-M v: V1.3 serial: BIOS: American Megatrends v: 4.6.5 date: 09/03/2012 CPU: Info: quad core Intel Core i5-3570K [MCP] speed (MHz): avg: 1649 min/max: 1600/3800 Graphics: Device-1: Intel IvyBridge GT2 [HD Graphics 4000] driver: i915 v: kernel Device-2: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel Device-3: Jieli USB PHY 2.0 driver: snd-usb-audio,uvcvideo type: USB Display: wayland server: X.Org v: 24.1.1 with: Xwayland v: 24.1.1 compositor: gnome-shell driver: X: loaded: amdgpu,modesetting unloaded: fbdev,radeon,vesa dri: radeonsi,crocus gpu: amdgpu,i915 resolution: 1: 1366x768~60Hz 2: 1366x768~60Hz API: OpenGL v: 4.6 compat-v: 4.2 vendor: amd mesa v: 24.1.5 renderer: AMD Radeon RX 550 / 550 Series (radeonsi polaris12 LLVM 18.1.8 DRM 3.57 6.9.12-297.current) Network: Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet driver: r8169 Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter driver: rtl8xxxu type: USB Drives: Local Storage: total: 700.51 GiB used: 364.67 GiB (52.1%) Info: Memory: total: 16 GiB available: 15.52 GiB used: 3.17 GiB (20.4%) Processes: 280 Uptime: 9m Shell: fish inxi: 3.3.35

Other comments

No response

TraceyC77 commented 2 months ago

It took a long time to launch in Plasma (nVidia) today. There is no crash, but I see some of the same output as in the original report. The warnings are a possible secondary issue, let me know if I should break those out into a separate but report. The repeated error also looks concerning.

Launching with the options in the menu:

❯ code-oss --disable-crash-reporter --unity-launch %U
Warning: 'ozone-platform-hint' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'enable-features' is not in the list of known options, but still passed to Electron/Chromium.
Warning: 'unity-launch' is not in the list of known options, but still passed to Electron/Chromium.
[main 2024-08-04T19:50:24.903Z] update#setState disabled
[main 2024-08-04T19:50:24.904Z] update#ctor - updates are disabled as there is no update URL

[26004:0804/145054.848456:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[25926:0804/145054.850743:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=512
[26004:0804/145125.070096:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[25926:0804/145125.070938:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=512
[26004:0804/145155.252127:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[25926:0804/145155.254040:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=512
[26004:0804/145155.423940:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

Stable, up to date

ReillyBrogan commented 1 month ago

Still an issue? We've seen a few updates since.

malfisya commented 1 month ago

Just tried it again. No luck.