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

[Bug]: libGL error #17

Closed
dynamodan opened this issue Aug 2, 2022 · 1 comment
Closed

[Bug]: libGL error #17

dynamodan opened this issue Aug 2, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@dynamodan
Copy link

What happened?

Tried to start minetest from the cli using /snap/bin/minetest.

What should have happened?

When I type /snap/bin/minetest, minetest should run. The old minetest version 0.4.17 runs, but not the snap version 5.4.1.

Output of snap info $snap_name

name:      minetest
summary:   Minetest
publisher: Snapcrafters
store-url: https://snapcraft.io/minetest
contact:   https://github.com/snapcrafters/minetest/issues
license:   unset
description: |
  Minetest is a minecraft-inspired game written from scratch and licensed
  under the LGPL (version 2.1 or later). It supports both survival and
  creative modes along with multiplayer support, dynamic lighting, and an
  "infinite" map generator.
  
  This snap is maintained by the Snapcrafters community, and is not
  necessarily endorsed or officially maintained by the upstream developers.
commands:
  - minetest
snap-id:      DtXxirDGfOc8LeUJVENXGTir4Oq0F7Ts
tracking:     latest/stable
refresh-date: today at 17:11 EDT
channels:
  latest/stable:    5.4.1 2021-04-13 (1742) 60MB -
  latest/candidate: \u2191                            
  latest/beta:      \u2191                            
  latest/edge:      5.4.1 2022-01-30 (1812) 60MB -
installed:          5.4.1            (1742) 60MB -

Output of snap connections $snap_name

Interface        Plug                      Slot             Notes
desktop          minetest:desktop          :desktop         -
desktop-legacy   minetest:desktop-legacy   :desktop-legacy  -
home             minetest:home             :home            -
network          minetest:network          :network         -
network-bind     minetest:network-bind     :network-bind    -
opengl           minetest:opengl           :opengl          -
pulseaudio       minetest:pulseaudio       :pulseaudio      -
removable-media  minetest:removable-media  -                -
x11              minetest:x11              :x11             -

Output of snap version

snap      2.56.2
snapd     2.56.2
series    16
raspbian  10
kernel    5.10.17-v7l+

Relevant log output

pi@raspberrypi:~ $ dmesg | grep DENIED
pi@raspberrypi:~ $

Teminal output of app

ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
2022-08-02 17:57:11: WARNING[Main]: system-wide share not found at "/share/minetest"
2022-08-02 17:57:11: WARNING[Main]: system-wide share found at "/snap/minetest/1742/bin/../share/minetest"
2022-08-02 17:57:11: WARNING[Main]: Couldn't find a locale directory!
libGL error: MESA-LOADER: failed to open vc4 (search paths /snap/minetest/1742/usr/lib/armhf-linux-gnu/dri)
libGL error: failed to load driver: vc4
libGL error: MESA-LOADER: failed to open vc4 (search paths /snap/minetest/1742/usr/lib/armhf-linux-gnu/dri)
libGL error: failed to load driver: vc4
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/minetest/1742/usr/lib/armhf-linux-gnu/dri)
libGL error: failed to load driver: swrast
X Error:  GLXBadContext
  Request Major code 152 (GLX)
  Request Minor code 6 ()
  Error Serial #50
  Current Serial #49
@dynamodan dynamodan added the bug Something isn't working label Aug 2, 2022
@jnsgruk
Copy link
Member

jnsgruk commented Mar 14, 2024

This should now be fixed by #28. If you could test out the new revisions in candidate that would be great. I'll close this for now (given the age), but if you run into the same problem then I'll happily reopen and investigate :)

@jnsgruk jnsgruk closed this as completed Mar 14, 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
Projects
None yet
Development

No branches or pull requests

2 participants