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

Snap won't start on Ubuntu 20.04 with AMD GPU #1372

Closed
jes opened this issue Jun 27, 2022 · 2 comments
Closed

Snap won't start on Ubuntu 20.04 with AMD GPU #1372

jes opened this issue Jun 27, 2022 · 2 comments
Labels
bug Something isn't working snap Snap and surronding packaging

Comments

@jes
Copy link

jes commented Jun 27, 2022

Describe the bug
I installed the snap on Ubuntu 20.04 with sudo snap install neovide. I tried to start neovide, but instead I got a load of graphics-related error messages, seemingly stemming from neovide trying to load amdgpu_dri.so from inside the snap directory instead of the main filesystem:

libGL error: MESA-LOADER: failed to open amdgpu: /snap/neovide/132/usr/lib/x86_64-linux-gnu/dri/amdgpu_dri.so: cannot open shared object file: No such file or directory (search paths /snap/neovide/132/usr/lib/x86_64-linux-gnu/dri)

I'm now building from source, but reporting the bug anyway in case it helps.

To Reproduce
Steps to reproduce the behavior:

  1. sudo snap install neovide
  2. neovide

Expected behavior
I expected neovide to start and run.

Screenshots
Screenshot from 2022-06-27 08-58-20

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Neovide Version 0.8.0
  • Neovim Version 0.4.3

Please run neovide --log and paste the contents of the .log file created in the current directory here:
Since this is a snap it doesn't seem to have permission to write a .log file to my working directory. I managed to get one under /tmp, but one of the files is very long, so I've attached it instead of pasting:
neovide_rCURRENT.log. The other one is just:

$ cat /tmp/snap.neovide/tmp/neovide_r2022-06-27_09-07-35.log 
TRACE [neovide] Neovide version: 0.8.0

Additional context

@jes jes added the bug Something isn't working label Jun 27, 2022
@AlexvZyl
Copy link

AlexvZyl commented Jul 8, 2022

Could be related to #1081 and #1208?

@MultisampledNight MultisampledNight added the snap Snap and surronding packaging label Aug 6, 2022
@fredizzimo
Copy link
Member

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.

@fredizzimo fredizzimo closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snap Snap and surronding packaging
Projects
None yet
Development

No branches or pull requests

4 participants