Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04 Snap version fails to start with "Failed to initialize Wayland platform" error #12119

Open
1 task done
KissesRefined opened this issue Nov 24, 2024 · 2 comments
Labels
bug desktop Desktop Application

Comments

@KissesRefined
Copy link

Steps To Reproduce

  1. Install Ubuntu 24.04.1 LTS on a machine with NVIDIA GeForce RTX™ 2070 SUPER GPU. Probably other NVIDIA GPUs will be able to help in reproducing the bug as well
  2. Launch GNOME Wayland session with ELECTRON_OZONE_PLATFORM_HINT=wayland and QT_QPA_PLATFORM=wayland env vars (last one probably has nothing to do with Bitwarden)
  3. Install Bitwarden Snap packaged app
  4. Remove user_dir* files as suggested in Bitwarden installed as Snap is not working #2629 (comment) to stop Security Center from bugging you about access to various ~/$HOME folders
  5. run /snap/bin/bitwarden %U or click the desktop icon and read the journalctl -b | grep bitwarden output

Expected Result

Bitwarden app launched and functional.

Actual Result

$ /snap/bin/bitwarden %U
MESA-LOADER: failed to open nouveau (search paths /snap/bitwarden/126/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: nouveau
MESA-LOADER: failed to open kms_swrast (search paths /snap/bitwarden/126/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/bitwarden/126/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
10:00:47.759 › State version: 68
10:00:47.763 › Migrator MinVersionMigrator (to version 3) should migrate: false - up
10:00:47.763 › Migrator RemoveEverBeenUnlockedMigrator (to version 4) should migrate: false - up
10:00:47.763 › Migrator AddKeyTypeToOrgKeysMigrator (to version 5) should migrate: false - up
10:00:47.764 › Migrator RemoveLegacyEtmKeyMigrator (to version 6) should migrate: false - up
10:00:47.765 › Migrator MoveBiometricAutoPromptToAccount (to version 7) should migrate: false - up
10:00:47.765 › Migrator MoveStateVersionMigrator (to version 8) should migrate: false - up
10:00:47.765 › Migrator MoveBrowserSettingsToGlobal (to version 9) should migrate: false - up
10:00:47.765 › Migrator EverHadUserKeyMigrator (to version 10) should migrate: false - up
10:00:47.765 › Migrator OrganizationKeyMigrator (to version 11) should migrate: false - up
10:00:47.765 › Migrator MoveEnvironmentStateToProviders (to version 12) should migrate: false - up
10:00:47.765 › Migrator ProviderKeyMigrator (to version 13) should migrate: false - up
10:00:47.766 › Migrator MoveBiometricClientKeyHalfToStateProviders (to version 14) should migrate: false - up
10:00:47.766 › Migrator FolderMigrator (to version 15) should migrate: false - up
10:00:47.766 › Migrator LastSyncMigrator (to version 16) should migrate: false - up
10:00:47.766 › Migrator EnablePasskeysMigrator (to version 17) should migrate: false - up
10:00:47.766 › Migrator AutofillSettingsKeyMigrator (to version 18) should migrate: false - up
10:00:47.766 › Migrator RequirePasswordOnStartMigrator (to version 19) should migrate: false - up
10:00:47.766 › Migrator PrivateKeyMigrator (to version 20) should migrate: false - up
10:00:47.766 › Migrator CollectionMigrator (to version 21) should migrate: false - up
10:00:47.766 › Migrator CollapsedGroupingsMigrator (to version 22) should migrate: false - up
10:00:47.766 › Migrator MoveBiometricPromptsToStateProviders (to version 23) should migrate: false - up
10:00:47.766 › Migrator SmOnboardingTasksMigrator (to version 24) should migrate: false - up
10:00:47.767 › Migrator ClearClipboardDelayMigrator (to version 25) should migrate: false - up
10:00:47.767 › Migrator RevertLastSyncMigrator (to version 26) should migrate: false - up
10:00:47.767 › Migrator BadgeSettingsMigrator (to version 27) should migrate: false - up
10:00:47.767 › Migrator MoveBiometricUnlockToStateProviders (to version 28) should migrate: false - up
10:00:47.767 › Migrator UserNotificationSettingsKeyMigrator (to version 29) should migrate: false - up
10:00:47.767 › Migrator PolicyMigrator (to version 30) should migrate: false - up
10:00:47.767 › Migrator EnableContextMenuMigrator (to version 31) should migrate: false - up
10:00:47.767 › Migrator PreferredLanguageMigrator (to version 32) should migrate: false - up
10:00:47.767 › Migrator AppIdMigrator (to version 33) should migrate: false - up
10:00:47.767 › Migrator DomainSettingsMigrator (to version 34) should migrate: false - up
10:00:47.767 › Migrator MoveThemeToStateProviderMigrator (to version 35) should migrate: false - up
10:00:47.767 › Migrator VaultSettingsKeyMigrator (to version 36) should migrate: false - up
10:00:47.768 › Migrator AvatarColorMigrator (to version 37) should migrate: false - up
10:00:47.768 › Migrator TokenServiceStateProviderMigrator (to version 38) should migrate: false - up
10:00:47.768 › Migrator MoveBillingAccountProfileMigrator (to version 39) should migrate: false - up
10:00:47.768 › Migrator OrganizationMigrator (to version 40) should migrate: false - up
10:00:47.768 › Migrator EventCollectionMigrator (to version 41) should migrate: false - up
10:00:47.768 › Migrator EnableFaviconMigrator (to version 42) should migrate: false - up
10:00:47.768 › Migrator AutoConfirmFingerPrintsMigrator (to version 43) should migrate: false - up
10:00:47.768 › Migrator UserDecryptionOptionsMigrator (to version 44) should migrate: false - up
10:00:47.768 › Migrator MergeEnvironmentState (to version 45) should migrate: false - up
10:00:47.768 › Migrator DeleteBiometricPromptCancelledData (to version 46) should migrate: false - up
10:00:47.768 › Migrator MoveDesktopSettingsMigrator (to version 47) should migrate: false - up
10:00:47.768 › Migrator MoveDdgToStateProviderMigrator (to version 48) should migrate: false - up
10:00:47.769 › Migrator AccountServerConfigMigrator (to version 49) should migrate: false - up
10:00:47.769 › Migrator KeyConnectorMigrator (to version 50) should migrate: false - up
10:00:47.769 › Migrator RememberedEmailMigrator (to version 51) should migrate: false - up
10:00:47.769 › Migrator DeleteInstalledVersion (to version 52) should migrate: false - up
10:00:47.769 › Migrator DeviceTrustServiceStateProviderMigrator (to version 53) should migrate: false - up
10:00:47.769 › Migrator SendMigrator (to version 54) should migrate: false - up
10:00:47.769 › Migrator MoveMasterKeyStateToProviderMigrator (to version 55) should migrate: false - up
10:00:47.769 › Migrator AuthRequestMigrator (to version 56) should migrate: false - up
10:00:47.769 › Migrator CipherServiceMigrator (to version 57) should migrate: false - up
10:00:47.769 › Migrator RemoveRefreshTokenMigratedFlagMigrator (to version 58) should migrate: false - up
10:00:47.769 › Migrator KdfConfigMigrator (to version 59) should migrate: false - up
10:00:47.769 › Migrator KnownAccountsMigrator (to version 60) should migrate: false - up
10:00:47.770 › Migrator PinStateMigrator (to version 61) should migrate: false - up
10:00:47.770 › Migrator VaultTimeoutSettingsServiceStateProviderMigrator (to version 62) should migrate: false - up
10:00:47.770 › Migrator PasswordOptionsMigrator (to version 63) should migrate: false - up
10:00:47.770 › Migrator GeneratorHistoryMigrator (to version 64) should migrate: false - up
10:00:47.770 › Migrator ForwarderOptionsMigrator (to version 65) should migrate: false - up
10:00:47.770 › Migrator MoveFinalDesktopSettingsMigrator (to version 66) should migrate: false - up
10:00:47.770 › Migrator RemoveUnassignedItemsBannerDismissed (to version 67) should migrate: false - up
10:00:47.770 › Migrator MoveLastSyncDate (to version 68) should migrate: false - up
[11824:1124/100047.772752:ERROR:wayland_connection.cc(198)] Failed to connect to Wayland display: No such file or directory (2)
[11824:1124/100047.772787:ERROR:ozone_platform_wayland.cc(264)] Failed to initialize Wayland platform
[11824:1124/100047.772792:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
Segmentation fault (core dumped)

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

Ubuntu 24.04.1 LTS (Linux hws 6.8.0-49-generic #49-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 4 02:06:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux)

Installation method

Snap

Build Version

2024.11.2

Issue Tracking Info

  • I understand that work is tracked outside of GitHub. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@KissesRefined KissesRefined added bug desktop Desktop Application labels Nov 24, 2024
@bitwarden-bot
Copy link

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-15228

@mtb-xt
Copy link

mtb-xt commented Nov 27, 2024

We're also affected by this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug desktop Desktop Application
Projects
None yet
Development

No branches or pull requests

3 participants