Skip to content

Commit

Permalink
fix[x11]: crash in gpu process with software compositor (#215954)
Browse files Browse the repository at this point in the history
* fix[x11]: crash in gpu process with software compositor

* chore: bump distro
  • Loading branch information
deepak1556 authored Jun 18, 2024
1 parent 40c845e commit b555511
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
disturl "https://electronjs.org/headers"
target "29.4.0"
ms_build_id "9593362"
ms_build_id "9728852"
runtime "electron"
build_from_source "true"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "code-oss-dev",
"version": "1.90.2",
"distro": "4729d9dae7d87c18fbe0614f875a60672e2b8603",
"distro": "337309ecc166d98d0bce49869ee0cf7713ded698",
"author": {
"name": "Microsoft Corporation"
},
Expand Down
2 changes: 1 addition & 1 deletion resources/linux/snap/electron-launch
Original file line number Diff line number Diff line change
Expand Up @@ -261,4 +261,4 @@ fi

wait_for_async_execs

exec "$@" "--no-sandbox" "--use-gl=angle" "--use-angle=swiftshader"
exec "$@"
7 changes: 5 additions & 2 deletions resources/linux/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ parts:
- libcurl3-gnutls
- libcurl3-nss
- libcurl4
- libegl1
- libdrm2
- libgbm1
- libgl1
- libgles2
- libglib2.0-0
- libgtk-3-0
- libibus-1.0-5
- libnss3
- libpango-1.0-0
- libsecret-1-0
- libwayland-egl1
- libxcomposite1
- libxdamage1
- libxfixes3
Expand Down Expand Up @@ -74,8 +77,8 @@ parts:
apps:
@@NAME@@:
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --no-sandbox
common-id: @@NAME@@.desktop

url-handler:
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url
command: electron-launch $SNAP/usr/share/@@NAME@@/bin/@@NAME@@ --open-url --no-sandbox

0 comments on commit b555511

Please sign in to comment.