vscodium: v1.90.0 snap COMPLETELY STOPPED WORKING AND WON'T STAY OPEN

Describe the bug After the latest update, snap codium v1.90.0 won’t stay open. It closes immediately after opening without any sort of crash message or any message at all. I’ve also tried with codium --disable-extensions, same thing.

Please confirm that this problem is VSCodium-specific The flatpak I have for MS VSCode didn’t update to 1.90.0 yet, so I’m not sure I can confirm this yet.

Please confirm that the issue/resolution isn’t already documented

To Reproduce Steps to reproduce the behavior:

  1. Just try to open the app in any way

Expected behavior It works, or at least should give me a crash message or log describing the problem.

Versions: codium snap v1.90.0 cc102f3a62bd35f39ed059b99c5cce90e50a16e2 Operating System: Kubuntu 24.04 LTS x64 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.8.0-35-generic (64-bit) Graphics Platform: X11 Graphics Processor: Mesa Intel® HD Graphics 5500

Additional context Was working fine just yesterday. I didn’t do anything different, just had snap update. If there’s any sort of log I can provide, please tell me where I should find it.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

Ok, the fix 1.90.1 is to switch to the software gl backend (https://github.com/microsoft/vscode/pull/214549) but it’s slow down VSCode.

Per https://github.com/microsoft/vscode/issues/214830, the issue seems to be regression in Chromium (fixed the 8th Dec 2023) so the real fix will, I think, in 1.91.0 when they will update to a newer electron version.

I think it’s better to wait for the real fix.

Hey, over on the MS version of VSCode, there is a related issue, see: https://github.com/microsoft/vscode/issues/212494

The workaround is to launch code with code --use-gl=angle --use-angle=swiftshader, so my suggestion would be to try and launch codium with:

codium --use-gl=angle --use-angle=swiftshader

The new release of the snap package of codium hasn’t made through to the snap store yet, so I unfortunately cannot confirm myself yet.

I just checked that I’m on stable 1.93, I believe I have been using stable for quite a while, without any issues. I think this can be closed @daiyam, thanks!

OK, this time the 1.92.1.24225 is really available on the edge channel…

(The previous version wasn’t published because the pub key was expired…)

Just wanted to check back on this, because there’s news:

The new release of the snap package of codium hasn’t made through to the snap store yet, so I unfortunately cannot confirm myself yet.

I did revert to the older version after the report of the issue.

I’ve switched to the edge channel, snap list codium returns:

Name    Version       Rev  Tracking     Publisher  Notes
codium  1.90.2.24171  398  latest/edge  vscodium   classic

Unfortunately, VSCodium on the edge channel still crashes on startup. I’ve checked the changes in (Edit: one of, the one to release/1.90, the other one to main PR #216661 did not highlight the changes, version in package.json is 1.91.0) the pull request related to issue https://github.com/microsoft/vscode/issues/212494 in VSCode (PR #215954) and compared them to VSCodiums insiders snapcraft.yaml and the stable snapcraft.yaml.

In section stage-packages, three libraries were added to VSCode’s snapcraft.yaml. Those are still missing from VSCodium’s insider snapcraft.yaml (in the stable snapcraft.yaml file as well, as expected). The gl in the names suggests that those libraries might be OpenGL/graphics related:

diff --git a/resources/linux/snap/snapcraft.yaml b/resources/linux/snap/snapcraft.yaml
index ???????..40c845e 100644
--- a/resources/linux/snap/snapcraft.yaml
+++ b/resources/linux/snap/snapcraft.yaml
@@ -22,30 +22,33 @@ 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

Maybe this is why the crashes are still there for VSCodium 1.90.2.24171?