neovide: Neovide fails to run after snap install

After installation with snap, typing >neovide will cause the following error message:

libGL error: MESA-LOADER: failed to retrieve device information
libGL error: Version 4 or later of flush extension not found
libGL error: failed to load driver: i915
libGL error: MESA-LOADER: failed to retrieve device information
libEGL warning: MESA-LOADER: failed to retrieve device information

libEGL warning: MESA-LOADER: failed to retrieve device information

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CreationErrors([NoAvailablePixelFormat, NoAvailablePixelFormat])', src/window/window_wrapper/mod.rs:281:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

To Reproduce Steps to reproduce the behavior:

  1. snap install neovide
  2. neovide

Expected behavior Neovide should launch normally

Desktop (please complete the following information):

  • OS: Pop_os 21.04
  • Neovide Version 0.6.0
  • Neovim Version: latest

Please run neovide --log and paste the contents of the .log file here: thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: GlobError { path: “.”, error: Os { code: 13, kind: PermissionDenied, message: “Permission denied” } }’, /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:150:5 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 7
  • Comments: 22 (9 by maintainers)

Most upvoted comments

Installing with --devmode makes it work!

Note: you might be able to work around the problems by installing the snap in devmode snap install --devmode https://forum.snapcraft.io/t/snap-confinement/6233. If you do that it should output a debug output, with all unspecified interfaces, so, please post that log here.

The snap package is very outdated, and can most likely not be fixed without upstream help, or by some snap expert https://forum.snapcraft.io/t/need-help-with-the-snap-for-neovide/35978, until then I think we should remove the snap package completely.

Closing this for now.